[opensuse] 13.1 - Cannot Connect to Wireless AP w/o Killing Network Manager, resolve.conf not updating on return???
All, Spent the last week on a "family trip" (not vacation), and had to connect to a wireless access point. No matter what I did, network manager could not connect to this access point. My phone had no issue connecting, but 13.1 could not connect. Using my phone I found: https://en.opensuse.org/SDB:WiFi and https://en.opensuse.org/SDB:Tracking_down_wireless_problems Which includes at the beginning: <quote> openSUSE may occasionally encounter issues with wireless. In most cases, it will work fine with networks or WEP/WPA-secured wireless networks. However, for public wireless networks, specifically one's that are set up in coffee shops and airports, NetworkManager would suddenly ignore any attempts to connect to a network or refuse to get an IP address. </quote> This is exactly what was happening. I could see and list all available AP's with iwlist. I could manually associate the AP with my wireless connection with iwconfig, but could not actually connect to the AP. As soon as I killed network manager with rcnetwork stop, and brought wpa_supplicant back up, BINGO, the connection to the AP was automatic. Issuing the dhcpcd command obtained an address and the network was up. Apparently this has been a know issue since the 12.X days. Other than documenting the issue, has there been an progress on a consistent work-around that will allow NetwokManager to work when this problem is encountered? Upon return from the trip, a nasty side effect of the manual connection and issuance of the dhcpcd command was discovered when I connected to my AP, but had no domain information and no name service. Checking, resolv.conf was left in the state it was autoconfigured to with the vacation AP. For some reason when re-connecting to my home AP, resolv.conf was not updated. The same was true for the domain information. While those are easily resolved by setting them again, I am used to the domain information automatically updating. Is there anything specific anyone can think of in this situation that would result in the normal resolve.conf and domain information to fail to update? All thoughts and ideas are appreciated. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Saturday 01 of August 2015 16:10:07 David C. Rankin wrote:
All,
This is exactly what was happening. I could see and list all available AP's with iwlist. I could manually associate the AP with my wireless connection with iwconfig, but could not actually connect to the AP. As soon as I killed network manager with rcnetwork stop, and brought wpa_supplicant back up, BINGO, the connection to the AP was automatic. Issuing the dhcpcd command obtained an address and the network was up.
Upon return from the trip, a nasty side effect of the manual connection and issuance of the dhcpcd command was discovered when I connected to my AP, but had no domain information and no name service. Checking, resolv.conf was left in the state it was autoconfigured to with the vacation AP. For some reason when re-connecting to my home AP, resolv.conf was not updated. The same was true for the domain information. While those are easily resolved by setting them again, I am used to the domain information automatically updating.
Is there anything specific anyone can think of in this situation that would result in the normal resolve.conf and domain information to fail to update?
What does /var/log/NetworkManager indicate about the connection attempts? Quite often here on 13.2 and on earlier versions before that, wpa_supplicant corrupts its memory and the only way to connect to certain WPA networks is by killing it, and Networkmanager or systemd automatically restart it and the connection proceeds as expected. Perhaps this is the same issue? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/02/2015 12:33 AM, auxsvr wrote:
What does /var/log/NetworkManager indicate about the connection attempts? Quite often here on 13.2 and on earlier versions before that, wpa_supplicant corrupts its memory and the only way to connect to certain WPA networks is by killing it, and Networkmanager or systemd automatically restart it and the connection proceeds as expected. Perhaps this is the same issue?
Most of it might as well be Greek to me. I had 'info' level debug enabled in the log file. The 'warn' level indications were: 2015-07-27T07:50:05.969002-05:00 alchemy NetworkManager[699]: <warn> failed to allocate link cache: (-10) Operation not supported ... 2015-07-27T07:50:06.046501-05:00 alchemy NetworkManager[699]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring... 2015-07-27T07:50:06.047024-05:00 alchemy NetworkManager[699]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring... ... 2015-07-27T07:50:06.072060-05:00 alchemy NetworkManager[699]: <warn> Trying to remove a non-existant call id. ... 2015-07-27T08:18:19.619986-05:00 alchemy NetworkManager[699]: <warn> Connection disconnected (reason -3) ... 2015-07-27T08:18:20.446230-05:00 alchemy NetworkManager[699]: <warn> Connection disconnected (reason -3) <repeated multiple times> I then have a break in the log from 7/27 to 8/1 when I returned from vacation for the time NetworkManager was killed to allow the connection to work. The connection was with a generic AP: Cell 03 - Address: 10:5F:06:C0:A6:28 Channel:11 Frequency:2.462 GHz (Channel 11) Quality=43/70 Signal level=-67 dBm Encryption key:on ESSID:"togetheragain" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=8002aaf88adbd086 Extra: Last beacon: 39ms ago IE: Unknown: 000D746F676574686572616761696E IE: Unknown: 010482848B96 IE: Unknown: 03010B IE: Unknown: 0706555320010B1E IE: Unknown: 200100 IE: Unknown: 2A0100 IE: Unknown: 2D1A2C001EFFFF0000000000000000000000000000A8000000000000 IE: Unknown: 32080C1218243048606C IE: Unknown: 3D160B000500000000000000000000000000000000000000 IE: Unknown: 480100 IE: Unknown: 7F0100 IE: Unknown: DD1E00904C332C001EFFFF0000000000000000000000000000A8000000000000 IE: Unknown: DD1A00904C340B000400000000000000000000000000000000000000 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK IE: Unknown: DD180050F2020101020003A4000027A4000042435E0062322F00 IE: Unknown: DD750050F204104A0001101044000102103B000103104700102444C9854279476A83A59E23B44F9D7F10210009416374696F6E74656310230007504B353030314110240003312E3010420005444D4136361054000800060050F2040001101100012010080002210C103C0001011049000600372A000120 IE: Unknown: DD050009860100 Nothing looked particularly odd about what the AP reported. After killing NetworkManager and issuing the commands: # wpa_supplicant -dddt -iwlp23s0 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext -f /var/log/wpa_supplicant.log # iwconfig wlp23s0 essid "togetheragain" instantly the connection was made. Then following up with: # /sbin/dhcpcd -D -N -t 999999 -h alchemy -c /etc/sysconfig/network/scripts/dhcpcd-hook wlp23s0 & the dhcp address was acquired and resolve.conf modified to include both LAN and WAN Gateway IP, all was fine. The problem at home was due to the fact that resolv.conf was not updated on return and still contained the network LAN/WAN gateway addresses. Let me know if there is any other specific information I can provide that might be relevant to this issue. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2015-08-01 at 16:10 -0500, David C. Rankin wrote:
All,
Spent the last week on a "family trip" (not vacation), and had to connect to a wireless access point. No matter what I did, network manager could not connect to this access point. My phone had no issue connecting, but 13.1 could not connect.
Using my phone I found:
https://en.opensuse.org/SDB:WiFi
and
https://en.opensuse.org/SDB:Tracking_down_wireless_problems
Which includes at the beginning:
<quote> openSUSE may occasionally encounter issues with wireless. In most cases, it will work fine with networks or WEP/WPA-secured wireless networks. However, for public wireless networks, specifically one's that are set up in coffee shops and airports, NetworkManager would suddenly ignore any attempts to connect to a network or refuse to get an IP address. </quote>
This is exactly what was happening. I could see and list all available AP's with iwlist. I could manually associate the AP with my wireless connection with iwconfig, but could not actually connect to the AP. As soon as I killed network manager with rcnetwork stop, and brought wpa_supplicant back up, BINGO, the connection to the AP was automatic. Issuing the dhcpcd command obtained an address and the network was up.
Apparently this has been a know issue since the 12.X days. Other than documenting the issue, has there been an progress on a consistent work-around that will allow NetwokManager to work when this problem is encountered?
Upon return from the trip, a nasty side effect of the manual connection and issuance of the dhcpcd command was discovered when I connected to my AP, but had no domain information and no name service. Checking, resolv.conf was left in the state it was autoconfigured to with the vacation AP. For some reason when re-connecting to my home AP, resolv.conf was not updated. The same was true for the domain information. While those are easily resolved by setting them again, I am used to the domain information automatically updating.
Is there anything specific anyone can think of in this situation that would result in the normal resolve.conf and domain information to fail to update?
All thoughts and ideas are appreciated.
-- David C. Rankin, J.D.,P.E.
Hi, I have this problem all over the world with various hotel wifi networks with network manager or wicked. Sometimes I can't connect at all, sometimes I can only connect for a few minutes until I get dropped by the wifi AP. rcnetwork restart sometimes works a couple of times but I usually get dropped from the wifi faster and faster till it doesn't work at all. There is also another issue that has just cropped up in the last month or two, where firefox cannot access the hotel login page once I have connected to the wifi AP. I have to use Chromium or Konqueror to access the login page after I have connected to wifi. It varies from hotel to hotel as to which works, sometimes neither works. I wrote up a bug on this, but I got the impression that they don't want to fix it. Maybe it is a lot of work that they don't want to tackle. I spoke with the hotel tech support when I was last in Seoul, Korea having this problem at a hotel. The tech guy told me that seven out of ten times he has to allow connections to linux or Mac computers for guests from his end, but doesn't know what the reason is. He also told me that if I can't access the login page to the hotel wireless service, it is because of their script. It is written in PHP but he didn't know what it was specifically looking for that it wasn't getting so that Mac and Linux can't access the login page once they are connected to the hotel wifi. My usual process for trying to get logged on to wifi is to try linux first. If I can't get onto the hotel wifi, then I shut down and reboot to windows. After I log in with windows, I restart and try linux again. Sometimes it lets me have access with no further issues. Other times it doesn't, and I have to call the hotel tech guy to let me log in with linux. Other times, I just have to use windows to get online as the techs don't support linux and won't help me get online with linux. I am presently using 13.2, but have had this problem with various versions I think since the 11.x days. Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
auxsvr
-
David C. Rankin
-
Mark Misulich