SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-11 03:47:02

mrsilo
Member
Registered: 2011-09-11
Posts: 3

Network not working ( Realtek Ethernet Controller)

Hi, im new to linux and slitaz. Im having an issue: i can't connect to the internet after boot from usb. I have searched the forum for solution but still can get it working. i type lspci and see realtek ethernet controller. I use ifconfig eth0 and still got something like realtek harw, so i believe it still detected my realtek controller.

I tried lsmod and got snd_hda_intel as module in use. I tried cat /proc/net/dev and got bunch of zero in eth0, except for drop. I tried modprobe -v pcnet_cs but still not working. ifconfig eth0 up also cant get it working.

But when boot slitaz from mobalivecd ( some kind of virtual machine), network is working like charm. I think that maybe my network is not working due to lack of drivers. Please help me and tell me what to do

Thanks

Offline

#2 2011-09-11 16:07:14

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Network not working ( Realtek Ethernet Controller)

Verify the adapter hardware address is registered:

dmesg | grep -i eth0

For example: eth0: RTL8168c/8111c at 0xf808c000, 00:24:1d:23:a1:db, XID 3c4000c0 IRQ 17

If no, post output from:

1. uname -a

2. lspci -nn | grep -i eth

If yes:

Reboot (poweroff/on)the device(cable/dsl modem,router) the ethernet is getting it's ip address from.

Restart network on slitaz:

su

root

/etc/init.d/network.sh restart

Network config: /etc/network.conf

Offline

#3 2011-09-12 05:03:47

mrsilo
Member
Registered: 2011-09-11
Posts: 3

Re: Network not working ( Realtek Ethernet Controller)

Hi, thanks for your reply. As soon as i boot up slitaz with network cable unplugged, i type "dmesg | grep -i eth0" and got :

"eth0: RTL8169 at 0xf80cc0000, 60:eb:69:ff:84:06, XID40a00000 IRQ 16

r8169: eth0 link down"

Then i plug in the network cable, and power off/on the router, then i su root and type /etc/init.d/network.sh restart and i got something like: (i just take note some of the outpout

"...

ifconfig:SIOCGIFFLAG: no such device

Killing all daemons

...

Starting udhcpc client on eth0:

udhcpc (v.12.0) started

Sending discover... (x4 times)

No lease ,forking to background"

Then i type /etc/network.conf and get:

"sh: permission denied"  ( im already root)

But finally i still cant get network working, its status still disconnected. Then i also tried uname -a and lspci -nn |grep -i eth:

uname -a >> "Linux Slitaz 2.6.30.6-slitaz ... CEST 2010 i686 unknown"

lspci -nn |grep -i eth >> ".. Realtek Semiconductor.. RTL8101E/RTL8102E PCI express fast ethernet (rev5)"

Can you tell me what to do? What's the problem?

Thank you

Offline

#4 2011-09-13 01:44:55

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Network not working ( Realtek Ethernet Controller)

Maybe the r8169 driver in the cooking kernel will work with your realtek chipset.

Because the r8169 support is in kernel and not a module there is no way to stop it from loading.

Any other potential solution would require compiling a new kernel to remove it and getting updated source from realtek to compile a module.

Offline

#5 2011-09-13 01:54:02

mrsilo
Member
Registered: 2011-09-11
Posts: 3

Re: Network not working ( Realtek Ethernet Controller)

Hi i've thought of that solution too. But i cant get slitaz to compile a source code (realtek network driver) . I have manually downloaded slitaz-toolchain, ncurses-dev, binutils and perl and add it manually to slitaz but when i tried to compile the source, it said " make not found". And i tried to add "make" module as well but then it said something about the target error of make command.

About compiling a new kernel, i don't know where i can find the source, can you tell me? And i have read somewhere that i could patch the kernel to solve the problem, but i also dont know how to do it. Any advice on this situation?

Ah i also have tried the cooking slitaz but when i boot up i just got a bunch of weird output and stuck. Is ther anyway to copy the module from cooking version to stable version? It sounds a bit dumb but i really dont know what to to

Thanks

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]