View previous topic :: View next topic |
Author |
Message |
Naive n00b
Joined: 07 Jan 2004 Posts: 7
|
Posted: Fri Feb 11, 2005 3:48 pm Post subject: Bootup wireless problem -- dhcp already on [SOLVED] |
|
|
Okay I've been fighting with this problem for the last day and I'm not sure how to fix it. I have my network setup working like the docs say to, but there seems to be a bug in the net.lo script because it keeps bringing up my dhcp before the net.eth0 script has time to set all the wireless configurations. So when eth0 comes around in default it gives the error "dhcpcd already running on eth0" and it is. I took out net.eth0 so I could run it manually to test, but after reboot I found dhcpcd was already running. So, I removed net.lo from boot and put net.eth0 back in default and it all runs smooth.
Does anyone know how to get more info from the rc-scripts on bootup or know a fix for the net.lo script so I can fix this myself?
I'm running:
baselayout-1.11.9-r1
wireless-tools-28_pre4
kernel 2.6.10-gentoo-r7
my net in /etc/conf.d
Code: | config_eth1=( "10.1.1.100/24" )
config_eth0=( "dhcp" ) |
my wireless is
Code: | preferred_aps=( "myessid" )
associate_order="preferredonly"
essid_eth0="myessid"
mode_eth0="managed"
iwconfig_eth0="sens 3"
channel_eth0="6"
key_myessid="HEX_HERE enc open"
dhcpcd_myessid="-t 20 -G 192.168.0.1"
fallback_myessid=( "192.168.0.6" )
|
Any help would be appreciated.
Last edited by Naive on Tue Feb 15, 2005 5:11 am; edited 1 time in total |
|
Back to top |
|
|
allan n00b
Joined: 24 Feb 2003 Posts: 48 Location: Ann Arbor,Michigan
|
Posted: Fri Feb 11, 2005 9:23 pm Post subject: |
|
|
I'm encountering the same issue.
baselayout-1.11.9-r1
wirelesstools-27
kernel 2.6.9-gentoo-13 (dev sources)
All my interfaces are managed by dhcp, so my /etc/conf.d/net file is the default blank one.
It does come up correctly if I do "/etc/net.eth0 restart" by hand. |
|
Back to top |
|
|
Naive n00b
Joined: 07 Jan 2004 Posts: 7
|
Posted: Fri Feb 11, 2005 10:49 pm Post subject: |
|
|
If you take net.lo out of boot your dhcp should come up right: at least the first one. I moved net.lo into my local.start file just to have it come up, though late.
Not a good fix but it'll work for now. |
|
Back to top |
|
|
sibov Tux's lil' helper
Joined: 09 Feb 2004 Posts: 147 Location: Germany
|
Posted: Sat Feb 12, 2005 11:57 am Post subject: |
|
|
same problem 2 me
I try to reboot without net.lo in rc-script. Let's see if it really works.
_________________ Gentoo 2.6.17-gentoo-r5 with dmraid Raid0 Dualboot
AMD64 X2 3800+, 4x512MB DDR PC3200Pro Corsair Geforce EN6600GT silencer @ 256MB
4x250GB SATAII Samsung SP120, Asus A8N Premium, Plextor PX712SA DVDRW
Logitech Dinovo, SB Audigy4 |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
Naive n00b
Joined: 07 Jan 2004 Posts: 7
|
Posted: Tue Feb 15, 2005 5:10 am Post subject: Thanks |
|
|
Just wanted to say thanks this was the problem and it solved it for me. The removing net.lo just worked on a warm reboot, guess it just sped up the boot enough that the config got set before dhcpcd quit ... |
|
Back to top |
|
|
kzan n00b
Joined: 08 Jan 2004 Posts: 50 Location: Grand Haven, MI
|
Posted: Sat Feb 19, 2005 5:06 pm Post subject: |
|
|
UberLord wrote: | https://bugs.gentoo.org/show_bug.cgi?id=78495 |
I have been struck with this problem and it seems to be directly related to the bug you have shown above. Forgive me if this is a really stupid question, but the link gives a description of the problem and a patch, but no clue on how or where to install the patch! Any help would be greatly appreciated....thank you. _________________ badger is my hero |
|
Back to top |
|
|
fjalvingh n00b
Joined: 10 Jun 2004 Posts: 6
|
Posted: Sun Feb 20, 2005 12:22 pm Post subject: |
|
|
Kzan:
You need to login as root, cd to /etc/hotplug (where the net.agent file lives) and do:
patch < /home/xxx/net.agent.patch
Good luck
Frits |
|
Back to top |
|
|
kzan n00b
Joined: 08 Jan 2004 Posts: 50 Location: Grand Haven, MI
|
Posted: Sun Feb 20, 2005 11:09 pm Post subject: |
|
|
fjalvingh wrote: | Kzan:
You need to login as root, cd to /etc/hotplug (where the net.agent file lives) and do:
patch < /home/xxx/net.agent.patch
Good luck
Frits |
ahhhhh...you rock..thanks. That patched worked perfect! _________________ badger is my hero |
|
Back to top |
|
|
|