View previous topic :: View next topic |
Author |
Message |
mserms Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/524189919421cf93cbd221.gif)
Joined: 13 Jan 2005 Posts: 162 Location: Edinburgh
|
Posted: Sun Feb 20, 2005 7:29 pm Post subject: Another wireless DHCP problem |
|
|
I've followed the wireless guide on the Gentoo wiki, and things are pretty much working. I have set my ESSID and encryption in /etc/conf.d/wireless and it all seems well.
Code: | /etc/init.d/net.eth1 start | runs fine until the DHCP section, when it bombs out. Here's my output:
Code: | * Starting eth1
* Loading networking modules for eth1
* modules: iwconfig essidnet iptunnel ifconfig dhcpcd apipa
* iwconfig provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring wireless network for eth1
* Scanning for access points
* Found "something" at 00:0D:88:98:D2:2B (WEP required)
* Connecting to "something" (WEP enabled - open) ... [ ok ]
* eth1 connected to "something" at 00:0D:88:98:D2:2B
* in auto mode (WEP enabled - open)
* Configuring eth1 for "something" ... [ ok ]
* Bringing up eth1
* dhcp
* Running dhcpcd ... [ !! ]
|
If I then run , I am given an IP address and am connected perfectly. Since actually getting assigned an IP is a pretty simple affair, I'm hoping it won't be too traumatic to get net.eth1 fully working for me. I've had a look in the init script, but it's not immediately obvious to me where the dhcpcd bit takes place.
Any thoughts? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Henning Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Sep 2002 Posts: 196 Location: Braunschweig
|
Posted: Wed Feb 23, 2005 9:11 pm Post subject: |
|
|
Hi,
same problem here.
But when using it without WEP I get an IP with DHCP
Henning |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mwiertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Sat Mar 19, 2005 7:41 pm Post subject: |
|
|
Hi,
same problem here, although, a bit different, I'm using a D-Link DWL-G650 (airplus xtreme g) cardbus adapter with a D-Link DI-624 wireless router... but same problem, without WEP everything works perfectly, with WEP (or wpa_psk) nothing goes anymore...
Maybe you already found a solution? I would love to have wep or wpa on my wireless lan. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Sat Mar 19, 2005 8:28 pm Post subject: |
|
|
Basically it means the WEP key isn't setup correctly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mserms Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/524189919421cf93cbd221.gif)
Joined: 13 Jan 2005 Posts: 162 Location: Edinburgh
|
Posted: Sat Mar 19, 2005 8:37 pm Post subject: |
|
|
Even if running dhcpcd immediately afterwards makes it all work? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mwiertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Sat Mar 19, 2005 10:32 pm Post subject: |
|
|
Hi,
Thanks for your replies. In the meanwhile I solved my problem: took the brandnew docs from the gentoo-wiki http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup and used the wpa_supplicant method, so by now I've got my wlan (a router D-Link DI-624 and a cardbuscard D-Link DWL-G650 AirPlus Extreme G) up and running with wpa_psk encryption.
That's what I wanted... ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Sun Mar 20, 2005 9:51 am Post subject: |
|
|
mserms wrote: | Even if running dhcpcd immediately afterwards makes it all work? |
Heh - I didn't read the last command you did :/
You could always try extending the timeout of dhcpcd of using another dhcp client (I use udhcpc from the unstable udhcp package myself) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mwiertz Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 07 Jul 2003 Posts: 88 Location: Selfkant, Germany
|
Posted: Sun Mar 20, 2005 11:51 am Post subject: |
|
|
Hi,
no, even setting a greater timeout, nor running running dhcpcd by hand fixed the problem... so I had to look further...
sorry for mentioning this befor... I was just so happy with my running config ![Embarassed :oops:](images/smiles/icon_redface.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|