LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   eth1 does not dhcpcd automatically, eth0 does? (https://www.linuxquestions.org/questions/slackware-14/eth1-does-not-dhcpcd-automatically-eth0-does-594602/)

Satriani 10-25-2007 03:31 PM

eth1 does not dhcpcd automatically, eth0 does?
 
Hi all,

Just finished my fresh install of slack12 (i tried the upgrade from slack11, but that gave me hell, so it was time for a clean machine anyway ;) )

However, several strange things I noticed... But the most annoying one is the not automatically getting my IP on boot.
It notices my eth0 (wired) is not connected (which is correct!) so it dhcpcd timeout is set to 10 sec (changed that to 3 ;) )
however, eth1 (my wireless card) does not get an IP, while every other setting is correct (essid, keys etc)
When I manually run dhcpcd eth1, i instantly get an IP. This should automatically work on boot???
Any ideas?
Thanks...

MannyNix 10-25-2007 03:49 PM

Quote:

Originally Posted by Satriani (Post 2936830)
Any ideas?

Take a look at /etc/rc.d/rc.inet1.conf
Try: USE_DHCP[1]="yes" and USE_DHCP[0]=""

Btw is your name Joe? ;-)

H_TeXMeX_H 10-25-2007 03:49 PM

Run 'netconfig eth1' and set it up to use DHCP. Or, yeah, do what mannyslack says, it's the faster way.

Satriani 10-25-2007 04:02 PM

Thanks... the tip manny gave was the trick.. netconfig does not do it.. It seems to only work on eth0??? strangeeeee....

But now it works! Have to figure out the rest of the unexpected errors I ran into... Maybe Ill post them here on the forum also... ;)


All times are GMT -5. The time now is 02:34 PM.