View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Thu Jan 10, 2008 4:21 pm Post subject: native cd and eth0 |
|
|
Well, I have never had success with the native cd version. Live cd works great!
Here is the behavior I am experiencing:
After install, everything goes well, but server did not get DHCP. I manually tried to get DHCP by /etc/rc.d/rc.inet1. The message I get is that its polling but no carrier found. However, it finds eth1 nic and gives it an ip.
I know this was a problem in previous releases. Did it get re-introduced here?
This is not major other than I wasted a couple of hours trying to make it work. My solution was to put two nics in server. If I plug all three nics in, native finds the eth0 nic and assigns it as eth3. Stange.
I've used this box for sms installs many times and the onboard nic has always been recognized.
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Jan 10, 2008 5:40 pm Post subject: |
|
|
What kernel did you use on setup..?
You said LiveCD finds it always. After installation of NativeCD does the system recognize the nic, if you do ifconfig, or you need to modprobe a driver for it?
I've check on my test box an old 3com 10Mbit nic, needs to modprobe it to find it, but no problem with eth0 assignment or DHCP.
There are some changes between rc.modules scripts of hugesmp.s and livecd.s kernels.
Well if LiveCD version reacts better on your machine you should go with that, it's the same thing.
I've in mind alter the native cd when Slackware 13 released, and make it more flexible and less errors in installations...
I'm using a bsd style installation at the moment, and that might be the problem...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Jan 11, 2008 5:12 pm Post subject: |
|
|
Okay, I've now tried all the kernels just for the fun of it . Only two kernels actually see eth0 nic: hugesmp and livecd.
The hugesmp kernel sees eth0 but says no carrier found when trying to poll DHCP. But it does see eth1 and assigns ip.
The livecd kernel sees both nics. It sees eth0 as eth1 and eth1 as eth2. It does assign an ip to eth1 (really eth0).
While I can live with this behavior, no functionality is hindered, I just key everything off eth1 and eth2 settings.
My purpose in posting is to pass on my experiences with native cd.
thanks for replies |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Jan 11, 2008 5:52 pm Post subject: |
|
|
I see..
The problem might be on rc.modules srcipts
rc.modules -> livecd.s
rc.modules-2.6.21.5 -> huge.s
rc.modules-2.6.21.5-smp -> hugesmp.s
What /etc/udev/rules.d/75-network-devices.rules is saying?
Try to force udev to recognize it as eth0, and restart udev.
gerasimos_H _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Jan 11, 2008 6:32 pm Post subject: |
|
|
KERNEL=="eth?", ATTR{address}=="00:14:c1:32:81:5c", NAME="eth0"
KERNEL=="eth?", ATTR{address}=="00:30:1b:ac:fb:67", NAME="eth1" |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Jan 11, 2008 6:43 pm Post subject: |
|
|
Now cross info from /etc/udev/rules.d/75-network-devices.rules with /etc/rc.d/rc.inet1.conf
Is it correct?
if not edit /etc/udev/rules.d/75-network-devices.rules and where NAME="" put your ethernet number.
what's the output of ifconfig?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Sat Jan 12, 2008 4:20 pm Post subject: |
|
|
Well, I could not make it work. Also, when trying to login to webmin using ip:10000, it says server not found. However, it found sms index page.
At the bottom right corner of the index page, the text and graphic are messed up. You might want to correct that for esthetic's.
I've given up on native cd. I really hate to say this, since I like sms so much, but I have never been able to make native cd work right.
I downloaded late last night the livecd. Installed it and booted. On the boot I noticed it had the same message as nativecd, ' /sbin/udevtrigger --retry-failed'. Then it polled DHCP and said no carrier found on eth0.
Once I logged in, it had obtained an ip. But it renamed eth0 to eth1. This server has had sms installed on it many times with no problems. Well, no problems since you fixed the eth0 problem in the past.
Is it possible that some change in this release has introduced a glitch?
Everything appears to be working on the livecd version. I can login to webim with no problems. |
|
Back to top |
|
|