iwl4965 + NetworkManager / wpa_supplicant Problem
Hi everybody I have laptop with intel 4965agn wireless adapter inside. And Fedora 7 x86_64 , kernel 2.6.22-33, latest from updates. The problem is that the NetworkManager (and wpa_suppliant too) can not connect to the wireless network with such error in /var/log/messages Jul 28 16:09:36 localhost kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready But it is not always happen. Sometimes it works. And i found that the wireless always work if: 1) in /etc/wpa_supplicant/wpa_supplicant.conf i use ap_scan = 2 2) service wpa_supplicant start 3) in /etc/wpa_supplicant/wpa_supplicant.conf i change ap_scan value to 1 (ap_scan = 1) 4) service wpa_supplicant restart and it works always like it should. If i do not change wpa_supplicant.conf - the wireless not work. Thats very strange for me. The Kde NetworkManager applet cant connect too. But i can not change ap_scan in networkmanager applet :( So this is harder to use. It works only if: 1) in /etc/wpa_supplicant/wpa_supplicant.conf i use ap_scan = 2 2) service wpa_supplicant start 3) service wpa_supplicant stop 4) In kde network manager upplet i connect to wireless netrowk (and in /var/log/messages there is such record: Jul 28 16:09:37 localhost NetworkManager: info SUP: sending command 'AP_SCAN 1' So, i can connect to wireless network only if i try to connect with ap_scan=2, and right after that i try to connect with ap_scan=1. I have two questions: 1) How can i change AP_SCAN value in NetworkManager ? 2) How can i fix the problem with my wireless adapter? I'm trying to get following result: 1) I do not use service wpa_supplicant start at all 2) I connect to wireless network with only KNetworkManager applet Please help :-( -- WBR, Dmitry Ananyev [EMAIL PROTECTED] ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Dial-up setting for Motorola V360 using EDGE mobile network.
Is it possible to use the Network Manager Applet under Ubuntu 7.04 for dial-up to the Internet using a Motorola V360 mobile (EDGE mobile network). I have it working using pon/poff and my setting is as shown below. But I cannot find a way to do the setting so that the Network Manager Applet can be used to connect and disconnect the connection, please help. My pon/poff setting is: /etc/ppp/peers/mero: /dev/ttyACM0 230400 #Speed defaultroute #Use the network for the default root usepeerdns #use the DNS servers from the remote network nodetach #keep PPD in foreground crtscts #hardware flow control lock #lock the serial port noauth #don't expect modem to authenticate itself local #don'r use carrier detect or DTR crtscts debug noipdefault #Prevent dial line checking as it does'nt work with SE T630 #causes it to disconnect lcp-echo-interval 0 lcp-echo-failure 0 connect /usr/sbin/chat -v -f /etc/chatscripts/mero-connect disconnect /usr/sbin/chat -v -f /etc/chatscripts/mero-disconnect /etc/chatscripts/mero-connect: TIMEOUT 10 ABORT 'BUSY' ABORT 'NO ANSWER' ABORT 'ERROR' SAY 'Starting GPRS connection\n' #Get the modem's attention and reset it. 'ATZ' #Set APN SAY 'Setting APN\n' OK 'AT+CGDCONT=3,IP,Mero' #Dial the number ABORT 'NO CARRIER' SAY 'Dialing CID 3 ... \n' OK 'ATD*99***3#' CONNECT '' /etc/chatscripts/mero-disconnect: \K +++ATHO SAY GPRS disconnected. Thanks BanjoBoy ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Dial-up setting for Motorola V360 using EDGE mobile network.
On 8/5/07, Bent Lykkebo [EMAIL PROTECTED] wrote: Is it possible to use the Network Manager Applet under Ubuntu 7.04 for dial-up to the Internet using a Motorola V360 mobile (EDGE mobile network). I have it working using pon/poff and my setting is as shown below. But I cannot find a way to do the setting so that the Network Manager Applet can be used to connect and disconnect the connection, please help. My pon/poff setting is: /etc/ppp/peers/mero: /dev/ttyACM0 230400 #Speed defaultroute #Use the network for the default root usepeerdns #use the DNS servers from the remote network nodetach #keep PPD in foreground crtscts #hardware flow control lock #lock the serial port noauth #don't expect modem to authenticate itself local #don'r use carrier detect or DTR crtscts debug noipdefault #Prevent dial line checking as it does'nt work with SE T630 #causes it to disconnect lcp-echo-interval 0 lcp-echo-failure 0 connect /usr/sbin/chat -v -f /etc/chatscripts/mero-connect disconnect /usr/sbin/chat -v -f /etc/chatscripts/mero-disconnect /etc/chatscripts/mero-connect: TIMEOUT 10 ABORT 'BUSY' ABORT 'NO ANSWER' ABORT 'ERROR' SAY 'Starting GPRS connection\n' #Get the modem's attention and reset it. 'ATZ' #Set APN SAY 'Setting APN\n' OK 'AT+CGDCONT=3,IP,Mero' #Dial the number ABORT 'NO CARRIER' SAY 'Dialing CID 3 ... \n' OK 'ATD*99***3#' CONNECT '' /etc/chatscripts/mero-disconnect: \K +++ATHO SAY GPRS disconnected. Thanks BanjoBoy PPP support is planned for the 0.7 release. If you would like a GUI for GSM phones try GPRSEC, it is a little rough but it works until 0.7 is complete... ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Frequent Disconnects
On Tue, Jul 31, 2007 at 05:03:30PM -0400, Patrick Hi wrote: So one working method to decrease disconnects seemed to be to increase the timeout for link losses. Taken from the bug report, changed src/nm-device-802-11-wireless.c, line 2318 from self-priv-link_timeout = g_timeout_source_new (8000); to self-priv-link_timeout = g_timeout_source_new (2 I am willing to try this, although I think the first step would be to eliminate the possibility of a driver problem. Did you try this? So I'm confused. That's a fix in Network Manager source, but I thought the problem was suppose to be in the Atheros driver not in Network Manager. Or does that longer timeout just suppress the detection of the Atheros driver disconnecting so that Network Manager doesn't show the disconnect? What's the status of .7? If that is indeed a fix then will that make it in .7? I'm also waiting for .7 to have a system wide store for my WPA keys. -- Bill Moseley [EMAIL PROTECTED] ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Dial-up setting for Motorola V360 using EDGE mobile network.
On Sun, 2007-08-05 at 21:13 +0545, Bent Lykkebo wrote: Is it possible to use the Network Manager Applet under Ubuntu 7.04 for dial-up to the Internet using a Motorola V360 mobile (EDGE mobile network). I have it working using pon/poff and my setting is as shown below. But I cannot find a way to do the setting so that the Network Manager Applet can be used to connect and disconnect the connection, please help. [cut] Hi, on ubuntu feisty fawn you can manage your dial-up connections simply creating an entry for each of them in /etc/network/interfaces. The only odd thing is that with the nm included in feisty, dbus doesn't get notified by nm that a connection is available, so many programs stay in off-line mode :-| For the moment i'm using a package i've found on ubuntuforums.org built for feisty some time ago on a cvs snapshot of the 0.7 version and, i'm able to manage dial-up connections and even if it's not completely stable... that's better than nothing ;-) cheers Roberto -- Roberto Scelzo Multimedia Center Software S.a.s. Via Padre M. Kolbe,12 - 80053 Castellammare di Stabia (NA) tel/fax +39 0818700953 www.mmcsoftware.it ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: NM does not work with iwl4965 device
Jerone Young wrote: It works fine for me. I have a Lenovo Thinkpad T61 and I am using Ubuntu Gutsy (which has NM 0.65). I am using WPA 2 at home with my Linksys WRTGL router. I have been using the drivers for some time and Network manager has not had any issue working with them. Here is the version of intel driver I am currently using iwplwifi: 0.1.5 iwlwifi-4965-ucode: 4.44.1.18 mac80211: 9.0.2 OK, so I narrowed it down a bit... un-hiding the AP solves the problem. I get a steady connection quickly, with ESSID broadcast enabled. No connection at all with ESSID bcast disabled. I've changed my network settings to be WPA2 AES/CCMP only. iwconfig/wpa_supplicant/dhclient manually works very well on hidden as well as visible setup. These are exempts from the messages log showing where the connection differences happen: good: Aug 5 22:20:43 whipher NetworkManager: info Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Aug 5 22:20:45 whipher NetworkManager: info nm-netlink-monitor.c - nm_netlink_monitor_event_handler (724) netlink reports device wlan0 link now 0 Aug 5 22:20:45 whipher NetworkManager: info nm-device.c - nm_device_set_active_link (596) device wlan0 link state set to 1 Aug 5 22:20:45 whipher NetworkManager: info Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to access point 'mynet'. Aug 5 22:20:45 whipher NetworkManager: info Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled. bad: Aug 5 18:36:18 whipher NetworkManager: info Activation (wlan0) Stage 2 of 5 (Device Configure) complete. Aug 5 18:36:58 whipher NetworkManager: info Activation (wlan0/wireless): association took too long (40s), failing activation. Aug 5 18:36:58 whipher NetworkManager: info Activation (wlan0) failure scheduled... Aug 5 18:36:58 whipher NetworkManager: info Activation (wlan0) failed for access point (mynet) Aug 5 18:36:58 whipher NetworkManager: info Activation (wlan0) failed. Aug 5 18:36:58 whipher NetworkManager: info Deactivating device wlan0. Aug 5 18:36:59 whipher NetworkManager: info nm-netlink-monitor.c - nm_netlink_monitor_event_handler (724) netlink reports device wlan0 link now 0 Aug 5 18:37:06 whipher NetworkManager: info nm-netlink-monitor.c - nm_netlink_monitor_event_handler (724) netlink reports device wlan0 link now 0 Does this point in a certain direction for anyone? /Thomas ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: NM does not work with iwl4965 device
On 8/5/07, Darren Albers [EMAIL PROTECTED] wrote: I have seen others post the same issues and they generally have various levels of success by using wpa_supplicant with ap_scan=2 or 1. I forgot which one NM uses but you may have need to use the other to connect to a hidden AP however changing that in NM and rebuilding the package is probably too much of a hassle for the very little (if any) benefit that not broadcasting your SSID gives you. I'm having the same issue, but since I don't controll the AP configuration, and since Windows users don't seem to be having any problems well you know the rest of that line! So, I'd like to try change the ap_scan parameter, but I cannot find my wpa _supplicant.conf file. It is not in /etc or in /etc/NetworkManager. Where can I find it, what can I do? Peter -- Everything is vague to a degree you do not realize till you have tried to make it precise. Bertrand Russell www.the-brights.net ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: NM does not work with iwl4965 device
On 8/5/07, Peter Van Lone [EMAIL PROTECTED] wrote: ps -- forgot to include that I'm using SLED10 ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: NM does not work with iwl4965 device
On 8/5/07, Peter Van Lone [EMAIL PROTECTED] wrote: On 8/5/07, Darren Albers [EMAIL PROTECTED] wrote: I have seen others post the same issues and they generally have various levels of success by using wpa_supplicant with ap_scan=2 or 1. I forgot which one NM uses but you may have need to use the other to connect to a hidden AP however changing that in NM and rebuilding the package is probably too much of a hassle for the very little (if any) benefit that not broadcasting your SSID gives you. I'm having the same issue, but since I don't controll the AP configuration, and since Windows users don't seem to be having any problems well you know the rest of that line! So, I'd like to try change the ap_scan parameter, but I cannot find my wpa _supplicant.conf file. It is not in /etc or in /etc/NetworkManager. Where can I find it, what can I do? Peter wpa_supplicant.conf would only be used if you managed it yourself and not via Network-Manager. It is in the source under nm-device-802-11-wireless.c look for: const char *ap_scan = AP_SCAN 1; HOWEVER, looking over the code it looks like the code is different than I remember and uses ap_scan 2 when the AP is non-broadcast. You could try changing that to 1 and see if that helps but the easiest way to do this would be to create a wpa_supplicant.conf and call it from wpa_supplicant manually and see if you can associate. There are some examples here: http://www.rrze.uni-erlangen.de/dienste/internet-zugang/wlan/wpa_supplicant.conf If you are using wpa psk try this as a wpa_supplicant.conf: network={ ssid=yourssid scan_ssid=1 # try both 1 and 2 here psk=your preshared key } Then call it with: wpa_supplicant -Dwext -iwlan0 -c/path/to/wpa_supplicant.conf -ddd Replace wlan0 with your interface (-ddd triggers a lot of debugging). ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list