View previous topic :: View next topic |
Author |
Message |
blandoon Tux's lil' helper
Joined: 05 Apr 2004 Posts: 136 Location: Oregon, USA
|
Posted: Sun Dec 03, 2006 5:19 am Post subject: wpa_supplicant runs against eth0 (netplug?) |
|
|
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 |
|
|
dtulig n00b
Joined: 01 Dec 2006 Posts: 9
|
Posted: Sun Dec 03, 2006 6:35 am Post subject: |
|
|
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 |
|
|
blandoon Tux's lil' helper
Joined: 05 Apr 2004 Posts: 136 Location: Oregon, USA
|
Posted: Sun Dec 03, 2006 10:10 pm Post subject: |
|
|
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 |
|
|
dtulig n00b
Joined: 01 Dec 2006 Posts: 9
|
Posted: Sun Dec 03, 2006 10:12 pm Post subject: |
|
|
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 |
|
|
blandoon Tux's lil' helper
Joined: 05 Apr 2004 Posts: 136 Location: Oregon, USA
|
Posted: Tue Dec 05, 2006 11:56 pm Post subject: |
|
|
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 |
|
|
gemini91 Guru
Joined: 27 Nov 2003 Posts: 317 Location: Naples, Fl
|
Posted: Wed Dec 06, 2006 3:15 pm Post subject: |
|
|
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 |
|
|
|