Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant runs against eth0 (netplug?)
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
blandoon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2004
Posts: 136
Location: Oregon, USA

PostPosted: Sun Dec 03, 2006 5:19 am    Post subject: wpa_supplicant runs against eth0 (netplug?) Reply with quote

I have a laptop with a wired port (eth0) and a Broadcom wireless NIC (eth1) using bcm43xx. Recently, within the past several reboots, wpa_supplicant and the other wireless-related stuff sometimes tries to run on eth0 instead of eth1.

Weirder still, it apparently only does this on every second reboot (if I restart, or shutdown and power-on, it runs on eth1 again like normal).

I'm not sure where to look for this, or which logs I should post - any help is appreciated.
_________________
"Give a man a fire and he's warm for one night, but set fire to him and he's warm for the rest of his life..."


Last edited by blandoon on Tue Dec 05, 2006 11:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
dtulig
n00b
n00b


Joined: 01 Dec 2006
Posts: 9

PostPosted: Sun Dec 03, 2006 6:35 am    Post subject: Reply with quote

When starting wpa_supplicant, pass it which port to use. For example: "wpa_supplicant -Dwext -ieth1 -c/etc/wpa_supplicant.conf" (note: -D defines which drivers to use)
Back to top
View user's profile Send private message
blandoon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2004
Posts: 136
Location: Oregon, USA

PostPosted: Sun Dec 03, 2006 10:10 pm    Post subject: Reply with quote

Where do I pass this? wpa_supplicant is started automatically by netplug.
_________________
"Give a man a fire and he's warm for one night, but set fire to him and he's warm for the rest of his life..."
Back to top
View user's profile Send private message
dtulig
n00b
n00b


Joined: 01 Dec 2006
Posts: 9

PostPosted: Sun Dec 03, 2006 10:12 pm    Post subject: Reply with quote

I don't have netplug so I can't help you there. There is probably a setting somewhere within netplug to define which interface you want to use.
Back to top
View user's profile Send private message
blandoon
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2004
Posts: 136
Location: Oregon, USA

PostPosted: Tue Dec 05, 2006 11:56 pm    Post subject: Reply with quote

Anyone? I checked the netplug script, and I can't tell how netplug detects which interface it should run wpa_supplicant on. If there's another config file I need to check, I don't know where it is.
_________________
"Give a man a fire and he's warm for one night, but set fire to him and he's warm for the rest of his life..."
Back to top
View user's profile Send private message
gemini91
Guru
Guru


Joined: 27 Nov 2003
Posts: 317
Location: Naples, Fl

PostPosted: Wed Dec 06, 2006 3:15 pm    Post subject: Reply with quote

In my case eth0 or eth1 comes up as my wireless connection, and
the other gets backgrounded by netplug. If I plug in a cable it automatically
connects.

If it matters which name gets assigned to your wireless card then
go to the "Documentation Tips & Tricks" forum and search on netplug.
You will find a "How to statically map or rename network devices".
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