Re: Restarting connection with dbus
On Wed, 2006-10-25 at 01:08 -0400, Dan Williams wrote: Once you've found it, use the setActiveDevice method call. Its arguments are: If wired: 1) DBUS_TYPE_OBJECT_PATH: path of device to activate I'm using wired here, it works but I get an exception. This is a bit strange. I'm getting the following exception: Traceback (most recent call last): File test.py, line 20, in ? nm.setActiveDevice(op) File /var/lib/python-support/python2.4/dbus/proxies.py, line 102, in __call__ reply_message = self._connection.send_with_reply_and_block(message, timeout) File dbus_bindings.pyx, line 455, in dbus_bindings.Connection.send_with_reply_and_block dbus_bindings.DBusException: NetworkManager::setActiveDevice called with invalid arguments. My script looks like this: #!/usr/bin/python import dbus NM_DBUS_SERVICE = org.freedesktop.NetworkManager NM_DBUS_INTERFACE = org.freedesktop.NetworkManager NM_DBUS_OPATH = /org/freedesktop/NetworkManager bus = dbus.SystemBus() nm_obj = bus.get_object(NM_DBUS_SERVICE, NM_DBUS_OPATH) nm = dbus.Interface(nm_obj, NM_DBUS_INTERFACE) devices = nm.getDevices() for op in devices: dev_obj = bus.get_object(NM_DBUS_SERVICE, op) dev = dbus.Interface(dev_obj, NM_DBUS_INTERFACE) props = dev.getProperties() if props[4] == True: nm.setActiveDevice(op) ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: List of DBus methods for talking to NetworkManager
Hello. On Tue, 2006-10-24 at 17:49, Jack Spaar wrote: List of DBus methods for talking to NetworkManager Thanks. I think this should go into the documentation in long term. But what is about put this information on the same location as external scripts?n short term? Darren? regards Stefan Schmidt signature.asc Description: Digital signature ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Restarting connection with dbus
On Wed, 2006-10-25 at 08:34 +0200, Christian Güdel wrote: On Wed, 2006-10-25 at 01:08 -0400, Dan Williams wrote: Once you've found it, use the setActiveDevice method call. Its arguments are: If wired: 1) DBUS_TYPE_OBJECT_PATH: path of device to activate I'm using wired here, it works but I get an exception. This is a bit strange. I'm getting the following exception: Traceback (most recent call last): File test.py, line 20, in ? nm.setActiveDevice(op) File /var/lib/python-support/python2.4/dbus/proxies.py, line 102, in __call__ reply_message = self._connection.send_with_reply_and_block(message, timeout) File dbus_bindings.pyx, line 455, in dbus_bindings.Connection.send_with_reply_and_block dbus_bindings.DBusException: NetworkManager::setActiveDevice called with invalid arguments. There are 3 cases where this may happen: 1) first argument is not a DBUS_TYPE_OBJECT_PATH. Try: if props[4] == True: nm.setActiveDevice(dbus.ObjectPath(op)) 2) You set a wireless network with invalid security information or essid. I don't think you do this. 3) An internal error. What does NM print out to syslog when you execute your python program? But this does show a real bug in the NM code, where NM returns an error reply on success, which is wrong. I guess the key here, for the moment, is to try #1, then find out what NM prints out to syslog when you execute that call. Dan My script looks like this: #!/usr/bin/python import dbus NM_DBUS_SERVICE = org.freedesktop.NetworkManager NM_DBUS_INTERFACE = org.freedesktop.NetworkManager NM_DBUS_OPATH = /org/freedesktop/NetworkManager bus = dbus.SystemBus() nm_obj = bus.get_object(NM_DBUS_SERVICE, NM_DBUS_OPATH) nm = dbus.Interface(nm_obj, NM_DBUS_INTERFACE) devices = nm.getDevices() for op in devices: dev_obj = bus.get_object(NM_DBUS_SERVICE, op) dev = dbus.Interface(dev_obj, NM_DBUS_INTERFACE) props = dev.getProperties() if props[4] == True: nm.setActiveDevice(op) ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Restarting connection with dbus
On Wed, 2006-10-25 at 08:02 -0400, Dan Williams wrote: 1) first argument is not a DBUS_TYPE_OBJECT_PATH. Try: if props[4] == True: nm.setActiveDevice(dbus.ObjectPath(op)) Tried that now. NM prints out the following in syslog: Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.host_name Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.nis_domain Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.nis_servers I don't know why I get /com/redhat/.. but this seems to be the error to me. // Christian ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
[Patch] Make vpnc file importing a bit nicer
Hey, There are some issues with importing .pcf files. First, we're trying to parse them with GKeyFile which is a bit different from pcf files: The character for comments is '#' (instead of ';'), section names and key names are case sensitive (instead of ... well, case insensitive). The .pcf file also has a format !key which means 'key' and it's not changeable by user instead of literal !key key. So here's a patch to implement a simple parser for pcf files. Additionally, this patch makes the importer use same rules as the UI for required keys (for example, there's no reason a .pcf file must contain key 'NTDomain'). As a bonus, it also fixes a memory leak (loaded routes were never freed). Tambet Index: properties/Makefile.am === RCS file: /cvs/gnome/NetworkManager/vpn-daemons/vpnc/properties/Makefile.am,v retrieving revision 1.1.2.2 diff -u -r1.1.2.2 Makefile.am --- properties/Makefile.am 27 Sep 2006 15:10:31 - 1.1.2.2 +++ properties/Makefile.am 25 Oct 2006 13:31:54 - @@ -3,6 +3,8 @@ lib_LTLIBRARIES = libnm-vpnc-properties.la libnm_vpnc_properties_la_SOURCES = \ +pcf-file.c \ +pcf-file.h \ nm-vpnc.c gladedir = $(datadir)/gnome-vpn-properties/vpnc Index: properties/nm-vpnc.c === RCS file: /cvs/gnome/NetworkManager/vpn-daemons/vpnc/properties/nm-vpnc.c,v retrieving revision 1.5.2.2 diff -u -r1.5.2.2 nm-vpnc.c --- properties/nm-vpnc.c 27 Sep 2006 15:10:32 - 1.5.2.2 +++ properties/nm-vpnc.c 25 Oct 2006 13:31:54 - @@ -32,6 +32,7 @@ #define NM_VPN_API_SUBJECT_TO_CHANGE #include nm-vpn-ui-interface.h +#include pcf-file.h typedef struct _NetworkManagerVpnUIImpl NetworkManagerVpnUIImpl; @@ -478,95 +479,85 @@ static gboolean import_from_file (NetworkManagerVpnUIImpl *impl, const char *path) { - char *basename; - GKeyFile *keyfile; - gboolean file_is_good; - - /*printf (path='%s'\n, path);*/ - - file_is_good = FALSE; - basename = g_path_get_basename (path); - - keyfile = g_key_file_new (); - if (g_key_file_load_from_file (keyfile, path, 0, NULL)) { - char *connectionname = NULL; - char *gateway = NULL; - char *groupname = NULL; - char *username = NULL; - char *domain = NULL; - char *tunneling_mode = NULL; - char *routes = NULL; - gboolean should_expand; - - if ((connectionname = g_key_file_get_string (keyfile, main, Description, NULL)) == NULL) - goto error; - if ((gateway = g_key_file_get_string (keyfile, main, Host, NULL)) == NULL) - goto error; - if ((groupname = g_key_file_get_string (keyfile, main, GroupName, NULL)) == NULL) - goto error; - if ((username = g_key_file_get_string (keyfile, main, Username, NULL)) == NULL) - goto error; - if ((domain = g_key_file_get_string (keyfile, main, NTDomain, NULL)) == NULL) - goto error; - if ((tunneling_mode = g_key_file_get_string (keyfile, main, TunnelingMode, NULL)) == NULL) - goto error; - - /* may not exist */ - if ((routes = g_key_file_get_string (keyfile, main, X-NM-Routes, NULL)) == NULL) - routes = g_strdup (); - - /* sanity check data */ - if (! (strlen (gateway) 0 - strlen (groupname) 0)) - goto error; - - gtk_entry_set_text (impl-w_connection_name, connectionname); - gtk_entry_set_text (impl-w_gateway, gateway); - gtk_entry_set_text (impl-w_group_name, groupname); - - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl-w_use_alternate_username), strlen (username) 0); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl-w_use_routes), strlen (routes) 0); - gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (impl-w_use_domain), strlen (domain) 0); - gtk_entry_set_text (impl-w_username, username); - gtk_entry_set_text (impl-w_routes, routes); - gtk_entry_set_text (impl-w_domain, domain); - gtk_widget_set_sensitive (GTK_WIDGET (impl-w_username), strlen (username) 0); - gtk_widget_set_sensitive (GTK_WIDGET (impl-w_routes), strlen (routes) 0); - gtk_widget_set_sensitive (GTK_WIDGET (impl-w_domain), strlen (username) 0); + GHashTable *pcf; + const char *buf; + gboolean have_value; + char *basename = NULL; + gboolean expand = FALSE; + gboolean success = FALSE; + + pcf = pcf_file_load (path); + if (pcf == NULL) + return FALSE; + + /* Connection name */ + if ((buf = pcf_file_lookup_value (pcf, main, Description)) == NULL || strlen (buf) 1) + goto error; + gtk_entry_set_text (impl-w_connection_name, buf); + + /* Gateway */ + if ((buf = pcf_file_lookup_value (pcf, main, Host)) == NULL || strlen (buf) 1) + goto error; + gtk_entry_set_text (impl-w_gateway, buf); + + /* Group name */ + if ((buf = pcf_file_lookup_value (pcf, main, GroupName)) == NULL || strlen (buf) 1) + goto error; + gtk_entry_set_text (impl-w_group_name, buf); + + /* Optional settings */ + + if ((buf = pcf_file_lookup_value (pcf, main, UserName))) + gtk_entry_set_text (impl-w_username, buf); + have_value = buf == NULL ? FALSE : strlen (buf) 0; + expand |=
Re: Restarting connection with dbus
On Wed, 2006-10-25 at 14:26 +0200, Christian Güdel wrote: On Wed, 2006-10-25 at 08:02 -0400, Dan Williams wrote: 1) first argument is not a DBUS_TYPE_OBJECT_PATH. Try: if props[4] == True: nm.setActiveDevice(dbus.ObjectPath(op)) I ran you python code and debugged stuff this morning; if you're using HEAD the 'fallback' variable exists, but on stable it does not. So for a wireless device on stable, you only need (1) object path, (2) essid, (3) security (optional). Just a note, which doesn't matter to you because you're doing wired. Tried that now. NM prints out the following in syslog: Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.host_name Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.nis_domain Oct 25 14:24:22 bluelagoon dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.nis_servers These are harmless, and they simply mean that your DHCP server is not returning any values for NIS servers or a hostname. But other than that, NM should reconnect. Can you post the section of logs from syslog (or the output if you ran NM with --no-daemon) of where where the reconnection attempt restarts? Dan I don't know why I get /com/redhat/.. but this seems to be the error to me. // Christian ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [Patch] Make vpnc file importing a bit nicer
On Wed, 2006-10-25 at 16:37 +0300, Tambet Ingo wrote: Hey, There are some issues with importing .pcf files. First, we're trying to parse them with GKeyFile which is a bit different from pcf files: The character for comments is '#' (instead of ';'), section names and key names are case sensitive (instead of ... well, case insensitive). The .pcf file also has a format !key which means 'key' and it's not changeable by user instead of literal !key key. So here's a patch to implement a simple parser for pcf files. Additionally, this patch makes the importer use same rules as the UI for required keys (for example, there's no reason a .pcf file must contain key 'NTDomain'). As a bonus, it also fixes a memory leak (loaded routes were never freed). Is this targetted for HEAD, stable, or both? Looks good from a quick check, feel free to commit to HEAD at least. I'll take a longer look if you want to commit to stable too, just let me know. Thanks! Dan Tambet ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [Patch] Make vpnc file importing a bit nicer
On Wed, 2006-10-25 at 12:02 -0400, Dan Williams wrote: Is this targetted for HEAD, stable, or both? Both. Looks good from a quick check, feel free to commit to HEAD at least. I'll take a longer look if you want to commit to stable too, just let me know. Please do. Thanks, Tambet ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
vpnc plugin doesn't connect without username/password
Hello, I have to connect to a cisco that only does grup authentication. If I manually start vpnc, it connects. If I import the (very simple) configuration file and I try to use NetworManager, it fails with the following output: Oct 25 18:31:57 altrove NetworkManager: information Will activate VPN connection 'Connection', service 'org.freedesktop.NetworkManager.vpnc', user_name 'adellam', vpn_data 'IPSec gateway / Remote Public IP / IPSec ID / Connection', route 'x.x.x.x/24'. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 1 of 4 (Connection Prepare) scheduled... Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 1 of 4 (Connection Prepare) ran VPN service daemon org.freedesktop.NetworkManager.vpnc (PID 3729) Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 1 of 4 (Connection Prepare) complete. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 2 of 4 (Connection Prepare Wait) scheduled... Oct 25 18:31:57 altrove NetworkManager: information VPN service 'org.freedesktop.NetworkManager.vpnc' signaled state change 1 - 6. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 2 of 4 (Connection Prepare Wait) waiting... Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 2 of 4 (Connection Prepare Wait) complete. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 3 of 4 (Connect) scheduled... Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 3 of 4 (Connect) sending connect request. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 3 of 4 (Connect) request sent, waiting for reply... Oct 25 18:31:57 altrove NetworkManager: information VPN service 'org.freedesktop.NetworkManager.vpnc' signaled state change 6 - 3. Oct 25 18:31:57 altrove NetworkManager: WARNING nm_vpn_service_process_signal (): VPN failed for service 'org.freedesktop.NetworkManager.vpnc', signal 'LaunchFailed', with message 'The VPN login failed because the VPN program could not be started.'. Oct 25 18:31:57 altrove NetworkManager: information VPN service 'org.freedesktop.NetworkManager.vpnc' signaled state change 3 - 6. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 3 of 4 (Connect) reply received. Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 4 of 4 (IP Config Get) timeout scheduled... Oct 25 18:31:57 altrove NetworkManager: information VPN Activation (Connection) Stage 3 of 4 (Connect) complete, waiting for IP configuration... Oct 25 18:31:57 altrove NetworkManager: WARNING nm_vpn_service_process_signal (): VPN failed for service 'org.freedesktop.NetworkManager.vpnc', signal 'ConnectFailed', with message 'The VPN login failed because the VPN program could not connect to the VPN server.'. Oct 25 18:31:57 altrove NetworkManager: WARNING nm_vpn_service_stop_connection (): (VPN Service org.freedesktop.NetworkManager.vpnc): could not stop connection 'Connection' because service was 6. 'Connection' is the name of the vpnc group ad the name of the NetworkManager entry. I'm using FC5 with the latest updates. Is there anything I can try do debug the session? Ciao andrea -- Do. Or do not. There is no try. (Yoda) signature.asc Description: This is a digitally signed message part ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
WPA auth not working, bcm43xx, FC6
Hi folks, I've just installed Fedora Core 6 on my Powerbook 12 notebook with a bcm43xx (Airport Express) interface and I can't get NetworkManager 0.6.4 to authenticate over WPA with my Motorola SBG900E access point/cable modem. If I use wpa_supplicant 0.4.8, then it works totally fine. Options for wpa_supplicant are -ieth1 -Dwext, and the configuration file is: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid=Motorola scan_ssid=1 key_mgmt=WPA-PSK psk=x } I have attached portions of /var/log/messages for the NetworkManager case (which fails) and wpa_supplicant (which succeeds). Any hints? How should I proceed? -- Alexander Oct 25 21:28:11 cs78142018 kernel: bcm43xx: PHY connected Oct 25 21:28:11 cs78142018 kernel: bcm43xx: Microcode rev 0x122, pl 0x9a (2005-08-15 18:44:03) Oct 25 21:28:11 cs78142018 kernel: bcm43xx: Radio turned on Oct 25 21:28:11 cs78142018 kernel: bcm43xx: Chip initialized Oct 25 21:28:11 cs78142018 kernel: bcm43xx: 32-bit DMA initialized Oct 25 21:28:11 cs78142018 kernel: bcm43xx: Keys cleared Oct 25 21:28:11 cs78142018 kernel: bcm43xx: Selected 802.11 core (phytype 2) Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:11 cs78142018 kernel: ADDRCONF(NETDEV_UP): eth1: link is not ready Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:11 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:12 cs78142018 kernel: SoftMAC: Unable to find matching network after scan! Oct 25 21:28:28 cs78142018 NetworkManager: information User Switch: /org/freedesktop/NetworkManager/Devices/eth1 / Motorola Oct 25 21:28:28 cs78142018 NetworkManager: information Deactivating device eth1. Oct 25 21:28:28 cs78142018 dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.reason Oct 25 21:28:28 cs78142018 NetworkManager: information Device eth1 activation scheduled... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) started... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) Stage 1 of 5 (Device Prepare) scheduled... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) Stage 1 of 5 (Device Prepare) started... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) Stage 2 of 5 (Device Configure) scheduled... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) Stage 1 of 5 (Device Prepare) complete. Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1) Stage 2 of 5 (Device Configure) starting... Oct 25 21:28:28 cs78142018 NetworkManager: information Activation (eth1/wireless): access point 'Motorola' is encrypted, but NO valid key exists. New key needed. Oct 25 21:28:29 cs78142018 NetworkManager: information Activation (eth1) New wireless user key requested for network 'Motorola'. Oct 25 21:28:29 cs78142018 NetworkManager: information Activation (eth1) Stage 2 of 5 (Device Configure) complete. Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:29 cs78142018 kernel: bcm43xx: set security called, .level = 0, .enabled = 0, .encrypt = 0 Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Associate: Scanning for networks first. Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Start scanning with channel: 1 Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning 14 channels Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Scanning finished Oct 25 21:28:29 cs78142018 kernel: SoftMAC: Unable to find matching network after scan! Oct 25 21:28:48 cs78142018 NetworkManager: information Activation (eth1) New wireless user key for network 'Motorola' received. Oct 25 21:28:48 cs78142018 NetworkManager: information Activation (eth1) Stage 1 of 5 (Device
EAP-TTLS/PAP dynamic WEP
I've been connecting to my school's wireless network--it uses EAP-TTLS with phase2 PAP authentication and dynamic WEP--via wpa_supplicant. Works well. I would like to start using network-manager. In doing some google research, I got conflicting information on whether network-manager supports PAP phase2 auth and dynamic WEP, and was wondering if I could get a definitive answer? If it's not supported, is there any way I can get network-manager to play with wpa_supplicant? I've got wpa_supplicant 0.4.8 and network-manager 0.6.2. I'm connected right now via wpa_supplicant, and I've also got nm-applet running. nm-applet reports no network connection, though I am most definitely connected. nm-applet sees the campus wireless network and reports the signal strength correctly; however, when I click on the SSID to connect, I am prompted for authentication via key or passphrase. My options are WEP 64/128-bit ASCII, WEP 64/128-bit Hex, or WEP 128-bit Passphrase. I don't have a key to give; again, its a EAP-TTLS/PAP auth with dynamic WEP encryption scheme so they keys should be obtained automatically after the authentication. Not sure if this is relevant to the problem, but just in case, this is my current wpa_supplicant.conf: # IEEE 802.1X with dynamic WEP keys using EAP-TTLS/PAP ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=zoid network={ ssid=AirPennNet key_mgmt=IEEE8021X eap=TTLS phase2=auth=PAP identity=me password=andmypassword } I run wpa_supplicant like so: sudo wpa_supplicant -c /etc/wpa_supplicant.conf -i eth1 -D wext -B ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Hang in libnm_glib_init
Gaim recently started using NetworkManager recently in order to properly reconnect when the network is disconnected and reconnected. I'm a Gaim developer looking for some guidance. When I installed libnm-glib-dev and recompiled Gaim from SVN, it now hangs at startup. The UI never loads. I use Network Manager, so I'm not sure what Gaim is waiting for. I tried unplugging the network cable and plugging it back in to force a network-up situation, but that didn't do it either. The existing Gaim is still hanging, and new copies of Gaim do the same. I'm running Ubuntu Dapper. Thanks, Richard (gdb) bt #0 0xe410 in __kernel_vsyscall () #1 0x47a5cd56 in __nanosleep_nocancel () from /lib/tls/i686/cmov/libpthread.so.0 #2 0x4ab84b04 in g_usleep () from /usr/lib/libglib-2.0.so.0 #3 0xb7f028e6 in libnm_glib_init () from /usr/lib/libnm_glib.so.0 #4 0xb7f450d5 in gaim_network_init () at network.c:597 #5 0xb7f3a3b5 in gaim_core_init (ui=0x80d29ad gtk-gaim) at core.c:128 #6 0x080a8a80 in main (argc=1, argv=0xbf8bce34) at gtkmain.c:706 signature.asc Description: This is a digitally signed message part ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list