SliTaz SliTaz Forum

You are not logged in.

#1 2018-02-17 12:17:18

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

connection problem 3.2.98-slitaz

Hi,

I booted the latest Live-CD (32-bit) on an t41-laptop. No problem. With the slitaz-panel eth0 is shown as connected. The Wlan cable is plugged in. But with ifconfig I see eth0 not connected. A ping to the Internet does not work as well. The routing table shows 127.0.0.0 as the only destination.

"udhcpc eth0" gives no lease.

What might be the problem?

(Wifi works, though!)

Offline

#2 2018-02-17 13:29:25

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: connection problem 3.2.98-slitaz

ip link set eth0 up (or ifconfig eth0 up)

udhcpc -i eth0

but udhcpc only goes by default en eth0

Offline

#3 2018-02-17 13:55:43

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

Thanks, lm2

but unfortunately it does not work. In the Slitaz panel eth0 is shown as connected; but there is no lease possible with udhcpc -i eth0.

:-(

Michael

Offline

#4 2018-02-17 14:04:50

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: connection problem 3.2.98-slitaz

try in static ip, maybe, to ping the gateway..

if it's working, means the dhcp server have a problem..

if not, means the phy layer  (as the wire) have a problem...

Offline

#5 2018-02-17 14:24:45

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

Static ip - how do I apply that? Wlan is working now, I got the lease to wlan0.

root@slitaz:/etc# route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

0.0.0.0         192.168.178.1   0.0.0.0         UG  root@slitaz:/etc# route -n

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

0.0.0.0         192.168.178.1   0.0.0.0         UG    0      0        0 wlan0

127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 wlan0  0      0        0 wlan0

127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

192.168.178.0   0.0.0.0         255.255.255.0   U     0      0        0 wlan0

the ping to the gatewaz 192.168.178.1 works. That means the dhcp server has a problem. Hmmh, what problem, how to solve it? Excuse me, but a new answer is always a new question.

BTW. to install slitaz from this Live-CD is not possible. The button does not work.

Offline

#6 2018-02-17 14:45:24

lm2
Member
Registered: 2017-02-16
Posts: 155

Re: connection problem 3.2.98-slitaz

static ip :

ip a add 192.168.C.D/24 dev eth0

soyou did it in static or ip?

if it's in static, maybe your dhcp is down, not running or filtering mac addresses

if it's in dynamic, thats mean your problem is done.

you are using both eth and wlan?

for the last one ask to kultex. I'm a quality reporter, not a dev..

Offline

#7 2018-02-17 15:15:05

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

Now I have here this situation - Internet works but only via wlan0:

root@slitaz:/etc# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

    inet 127.0.0.1/8 scope host lo

    inet6 ::1/128 scope host

       valid_lft forever preferred_lft forever

4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq qlen 1000

    link/ether 00:1f:1f:74:73:87 brd ff:ff:ff:ff:ff:ff

    inet 192.168.178.85/24 brd 192.168.178.255 scope global wlan0

I could install slitaz. But it makes me nervous as the cable is plugged in, but eth0 does not seem to work. - I am a layman concerning these things! :-(

Offline

#8 2018-02-17 15:28:59

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

The installation is done. Internet works. The lease to wlan0 with udhcpc -i wlan0 worked as well. But if I open tazpanel the link to recharge the packages does not work. So another problem is there. Hmmh...

Second: slitaz is installed on /dev/sda1 but when installing grub it did not recognize /dev/sda2 with an ext4 installation.

Another thread to be opened for this question (ex4 support)?

Offline

#9 2018-02-17 20:37:03

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

On the same laptop booting a Debian based OS (q4os scorpion) the LAN works without problems.

root@debian:/home/adminq# ifconfig

enp2s1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500

        inet 192.168.178.89  netmask 255.255.255.0  broadcast 192.168.178.255

        inet6 fe80::e7e6:baa9:3e05:c05d  prefixlen 64  scopeid 0x20<link>

        ether 00:0d:60:ca:46:5f  txqueuelen 1000  (Ethernet)

        RX packets 16  bytes 2328 (2.2 KiB)

        RX errors 0  dropped 0  overruns 0  frame 0

        TX packets 21  bytes 2104 (2.0 KiB)

        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So it is still a riddle for me why it does not work under Slitaz.

Offline

#10 2018-02-17 21:20:45

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: connection problem 3.2.98-slitaz

post the output of

dmesg

Offline

#11 2018-02-17 22:09:38

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: connection problem 3.2.98-slitaz

Oh my friends,

as a layman one often gets humiliated on Linux! ;-)

I booted the machine without the cable plugged in and without the usb stick. Then I added the cable, saw nothing via dmesg. I added the stick and then I saw this:

pcmcia_socket pcmcia_socket1: cs: IO port probe 0xa00-0xaff: clean.

e1000 0000:02:01.0: eth1: (PCI:33MHz:32-bit) 00:0d:60:ca:46:5fhttp://forum.slitaz.org/edit.php?id=45752

e1000 0000:02:01.0: eth1: Intel(R) PRO/1000 Network Connection

airo(eth0): cmd:3 status:7f03 rsp0:0 rsp1:0 rsp2:0

IBM TrackPoint firmware: 0x0e, buttons: 3/3

input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input8

usb 1-4: new high-speed USB device number 3 using ehci_hcd

cfg80211: Calling CRDA to update world regulatory domain

usb 1-4: reset high-speed USB device number 3 using ehci_hcd

ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

Registered led device: rt2800usb-phy0::radio

Registered led device: rt2800usb-phy0::assoc

Registered led device: rt2800usb-phy0::quality

usbcore: registered new interface driver rt2800usb

So I did this:

ifconfig eth1

udhcpc -i eth1

and that was it:

root@slitaz:/home/tux# ifconfig

eth1      Link encap:Ethernet  HWaddr 00:0D:60:CA:46:5F

          inet addr:192.168.178.46  Bcast:192.168.178.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:315 errors:0 dropped:0 overruns:0 frame:0

          TX packets:303 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:266322 (260.0 KiB)  TX bytes:33226 (32.4 KiB)

(II opened Midori to write this message)

Then I stopped the connection:

/etc/init.d/network.sh stop

and started it again

/etc/init.d/network.sh restart

and then a

udhcpc -i wlan0

, works now.

Puh, your genius, Kultex. No other way to express it! :-)

And one thing more that I saw late today: the way you informed us about this Intel-problem is great!

What I learnt from it was to immediately use a new modern kernel, 3.9.2... something and therefore I installed Slitaz 5 on this machine!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]