Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another wireless DHCP problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mserms
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 162
Location: Edinburgh

PostPosted: Sun Feb 20, 2005 7:29 pm    Post subject: Another wireless DHCP problem Reply with quote

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
Code:
dhcpcd eth1
, 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
View user's profile Send private message
Henning
Apprentice
Apprentice


Joined: 08 Sep 2002
Posts: 196
Location: Braunschweig

PostPosted: Wed Feb 23, 2005 9:11 pm    Post subject: Reply with quote

Hi,

same problem here.
But when using it without WEP I get an IP with DHCP :?:

Henning
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Mar 19, 2005 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sat Mar 19, 2005 8:28 pm    Post subject: Reply with quote

Basically it means the WEP key isn't setup correctly.
Back to top
View user's profile Send private message
mserms
Apprentice
Apprentice


Joined: 13 Jan 2005
Posts: 162
Location: Edinburgh

PostPosted: Sat Mar 19, 2005 8:37 pm    Post subject: Reply with quote

Even if running dhcpcd immediately afterwards makes it all work?
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Mar 19, 2005 10:32 pm    Post subject: Reply with quote

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... :D
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Mar 20, 2005 9:51 am    Post subject: Reply with quote

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
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sun Mar 20, 2005 11:51 am    Post subject: Reply with quote

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 :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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