www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

No Link Detected - Realtek

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
teqie



Joined: 16 Feb 2012
Posts: 3

PostPosted: Thu Feb 16, 2012 12:15 pm    Post subject: No Link Detected - Realtek Reply with quote

Hi guys - loving Zeroshell, recommended it for someone and now I'm stuck Sad

Running beta 16 version of Zeroshell, now running from a USB stick (due to HDD install not working, I couldnt resolve the issue with it not seeing my SATA drive to boot from - it started to boot and then gives kernel panic after the 'looking for USB devices to boot from - that's another issue)

I have got as far as booting to the main linux menu but I can't get the box to talk on the network, can't ping in or out.

When I press N for show network interface, it tells me ETH00 status is No Link Detected. I've tried it connected via a switch, and direct with a crossover cable to my laptop.

The hardware is an Acer Aspire Revo R3700 and the network controller is detected as a Realtek RTL8111/8168B.

I did once have an issue running an Asterisk distribution with similar hardware, and found the resolution as detailed here;
http://pbxinaflash.com/forum/archive/index.php?t-9262.html
Not sure if it's related or anything, but I couldn't find Moprobe.conf in Zeroshell to change this.

As an aside, I also couldn't find any way to install Zeroshell on an already-running system, eg if I can get Centos running and happy, could I install Zeroshell as a 'application' rather than a 'turnkey' solution?

Cheers
Back to top
View user's profile Send private message
nickphx



Joined: 15 Feb 2012
Posts: 9

PostPosted: Mon Feb 20, 2012 6:35 pm    Post subject: Reply with quote

I have the same problem with a realtek device not detecting a link. What's weird is I can manually set it as up, see a link light, run tcpdump and see traffic.. but zeroshell says no link! I have not figured out how to get around this, fortunately the mini-itx machine I'm running has a 3 port gige daughter board I'm using.

As far as installing to a harddrive, there's a HOW-TO here: http://zeroshell.wikidot.com/hard-disk-install
Back to top
View user's profile Send private message
teqie



Joined: 16 Feb 2012
Posts: 3

PostPosted: Wed Feb 22, 2012 7:28 pm    Post subject: thanks but Reply with quote

thanks but the hard disk routine is what i had already done. I get a screen full of
Probing [1] USB and SATA devices to startup the system...
Probing [2-9] USB and SATA...

before getting
Bootstrap failure
Kernel Panic - not syncing : VFS: Unable to mount root fs on unknown-block(1,2)

I looked into it but i was unable to resolve, even setting the disk to IDE mode in BIOS didn't seem to help any.

And it doesn't matter for the system to boot from USB stick really, so long as the network works...

I looked into compiling a driver but i got scared off with talk of developer images and such. Any more clues?

with thanks and appreciation Smile
Back to top
View user's profile Send private message
nickphx



Joined: 15 Feb 2012
Posts: 9

PostPosted: Thu Feb 23, 2012 11:23 pm    Post subject: Reply with quote

I found the driver for realtek that resolves the problem with no link..

http://www.rvdavid.net/how-to-get-gigabit-speeds-from-rtl81118168b-pci-express-gigabit-ethernet-controller-on-ubuntu-linux/

The issue then becomes needing the kernel source and whatnot to compile the driver as a module. There's a recent forum post of zeroshell r16 development image.. I think I'm going to write that to a usb stick, boot, and see if I can't compile the module..
Back to top
View user's profile Send private message
nickphx



Joined: 15 Feb 2012
Posts: 9

PostPosted: Fri Feb 24, 2012 12:36 am    Post subject: Reply with quote

It looks like the version uploaded here: http://www.zeroshell.net/eng/forum/viewtopic.php?t=3198 uses the proper realtek driver. I just installed it and my realtek card works now.. yay.
Back to top
View user's profile Send private message
DrmCa



Joined: 12 Apr 2011
Posts: 121

PostPosted: Fri Feb 24, 2012 5:33 pm    Post subject: Reply with quote

I think you guys should know, that R8169 driver in Linux is badly flawed.
There are several problems with the driver that I am aware of.
Of course there could be other problems that I did not face due to broad variety of possible chip revisions etc.

1. The driver does not init the chip properly, specially after dual-boot into Windows (no link detected)
2. Driver is not able to detect gigabit connection and falls back to 100 Mb
3. For some weirdest reason actual xfer speed with Windows based hosts can be anywhere between 1 kB/s and 500 kB/s.

I struggled with the last one and found that sometimes initiating a xfer with another non-Windows host may temporarily bring Windows host's xfer rate to around 10 MB/s, but not all the time.

I wrote to the driver authors and distro maintainers but they all gave me a runaround or did not respond at all.

So R8169 is a bastard child of Realtek when it comes to Linux and the best solution is to replace it with 3com, Intel or another well supported chip.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group