Re: how do i tell NM to use eth1 instead of wlan0?



On Thu, 2008-07-17 at 22:16 -0600, Derek wrote:
> Hi All,
> 
> Can you please offer some suggestions on getting my laptop wireless 
> working with Network Manager? The problem seems to be that network 
> manager is trying to use device wlan0 rather than eth1. A more 
> linux-able person than I got the laptop to connect to another network 
> using *system-config-network*, so it seems my wireless card is working 
> (also see below), and I am now trying to connect using my home wireless 
> network using WPA-PSK security, and I gather *system-config-network 
> *doesn't work with WPA—hence I am using Network Manager
> 
> I should note that I have two wireless devices in this laptop. There is 
> an onboard Ratech RT2500 device, which is configured as wlan0. I haven't 
> been able to get the driver to work with Fedora Core 8, so I've 
> installed a Lucent Technologies card, and this one seems to be working 
> fine. It is configred as eth1, but unfortunately NM seems to want to use 
> wlan0.
> 
> Can someone please suggest how I can get NM to use the eth1 device?

You can lock connections to a particular wireless card's MAC address by
using system-config-network (make sure you keep "Controlled by
NetworkManager" checked!) or via the connection editor (right-click on
the applet's icon, choose "Edit connections...").

Dan

> Thanks,
> 
> Derek
> 
> _Network Manager Output:_
> *cat /var/log/messages*
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> starting connection 'Jerry Lucent'
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): device state 
> change: 3 -> 4
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) scheduled...
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) started...
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) scheduled...
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) complete.
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) starting...
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): device state 
> change: 4 -> 5
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation 
> (wlan0/wireless): access point 'Jerry Lucent' has security, but secrets 
> are required.
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): device state 
> change: 5 -> 6
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) complete.
> Jul 17 15:38:59 localhost NetworkManager: Missing or invalid key management
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) scheduled...
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) started...
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): device state 
> change: 6 -> 4
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) scheduled...
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) complete.
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) starting...
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): device state 
> change: 4 -> 5
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation 
> (wlan0/wireless): connection 'Jerry Lucent' has security, and secrets 
> exist. No new secrets needed.
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 'ssid' 
> value 'jerry'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 
> 'scan_ssid' value '1'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 
> 'key_mgmt' value 'WPA-PSK'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 'psk' 
> value '<omitted>'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 'proto' 
> value 'WPA RSN'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 
> 'pairwise' value 'TKIP CCMP'
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: added 'group' 
> value 'WEP40 WEP104 TKIP CCMP'
> Jul 17 15:38:59 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) complete.
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 2 -> 0
> Jul 17 15:38:59 localhost NetworkManager: <info> Config: set interface 
> ap_scan to 1
> Jul 17 15:38:59 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 0 -> 2
> Jul 17 15:39:00 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 2 -> 3
> Jul 17 15:39:14 localhost NetworkManager: <info> wlan0: link timed out.
> Jul 17 15:39:20 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 3 -> 0
> Jul 17 15:39:20 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 0 -> 2
> Jul 17 15:39:20 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 2 -> 3
> Jul 17 15:39:24 localhost NetworkManager: <info> Activation 
> (wlan0/wireless): association took too long.
> Jul 17 15:39:24 localhost NetworkManager: <info> (wlan0): device state 
> change: 5 -> 6
> Jul 17 15:39:24 localhost NetworkManager: <info> Activation 
> (wlan0/wireless): asking for new secrets
> Jul 17 15:39:24 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 3 -> 0
> Jul 17 15:39:39 localhost NetworkManager: <info> wlan0: link timed out.
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) scheduled...
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) started...
> Jul 17 15:40:04 localhost NetworkManager: <info> (wlan0): device state 
> change: 6 -> 4
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) scheduled...
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 1 of 5 (Device Prepare) complete.
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) starting...
> Jul 17 15:40:04 localhost NetworkManager: <info> (wlan0): device state 
> change: 4 -> 5
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation 
> (wlan0/wireless): connection 'Jerry Lucent' has security, and secrets 
> exist. No new secrets needed.
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 'ssid' 
> value 'jerry'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 
> 'scan_ssid' value '1'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 
> 'key_mgmt' value 'WPA-PSK'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 'psk' 
> value '<omitted>'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 'proto' 
> value 'WPA RSN'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 
> 'pairwise' value 'TKIP CCMP'
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: added 'group' 
> value 'WEP40 WEP104 TKIP CCMP'
> Jul 17 15:40:04 localhost NetworkManager: <info> Activation (wlan0) 
> Stage 2 of 5 (Device Configure) complete.
> Jul 17 15:40:04 localhost NetworkManager: <info> Config: set interface 
> ap_scan to 1
> Jul 17 15:40:04 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 0 -> 2
> Jul 17 15:40:04 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 2 -> 3
> Jul 17 15:40:24 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 3 -> 0
> Jul 17 15:40:24 localhost NetworkManager: <info> (wlan0): supplicant 
> connection state change: 0 -> 2
> 
> [derek localhost ~]$* /sbin/iwlist eth1 scanning eth1 * Scan completed :
> Cell 01 - Address: 00:1C:10:99:40:57
> ESSID:"jerry"
> Mode:Master
> Frequency:2.462 GHz (Channel 11)
> Signal level:-36 dBm Noise level:-87 dBm
> Encryption key:on
> Extra: Last beacon: 52446ms ago
> 
> [derek localhost ~]$ *rpm -qa | grep -i network*
> NetworkManager-gnome-0.7.0-0.6.9.svn3675.fc8
> NetworkManager-vpnc-0.7.0-0.7.7.svn3627.fc8
> NetworkManager-glib-0.7.0-0.6.9.svn3675.fc8
> system-config-network-tui-1.5.10-1.fc8
> NetworkManager-0.7.0-0.6.9.svn3675.fc8
> system-config-network-1.5.10-1.fc8
> NetworkManager-openvpn-0.7.0-10.svn3632.fc8
> 
> [derek localhost ~]$ uname -a
> Linux localhost.localdomain 2.6.25.10-47.fc8 #1 SMP Mon Jul 7 18:39:51 
> EDT 2008 i686 athlon i386 GNU/Linux
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]