|
Bugzilla – Full Text Bug Listing |
| Summary: | NetworkManager - WiFi system connection does not start automatically | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.4 | Reporter: | Peter Krútel <peter.krutel> |
| Component: | Network | Assignee: | Bin Li <bili> |
| Status: | RESOLVED WORKSFORME | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.4 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
NetworkManager log - network connection on eth0 starts succesfully at boot time
NetworkManager log - network connection on wlan0 does not start at boot time wpa_supplicant.log NetworkManager log - before login NetworkManager log - after login WiFi connection configuration |
||
Created attachment 431985 [details]
NetworkManager log - network connection on wlan0 does not start at boot time
Created attachment 431986 [details]
wpa_supplicant.log
Fero, I thought it's relate to knewworkmanager, could you use the nm-applet which used in GNOME by default? Thanks! Hi Bin (I hope, this is your first name :-) ), looks like, it is not knetworkmanager/plasmoid issue. According this link I have installed nm-applet: http://susestarter.blogspot.com/2011/03/step-2-need-mobile-broadband-use-gnome.html But the results are the same. eth0 was successfully started in system boot, but WiFi system connection did not start automatically in system boot. Looks like, NM accepts only pre-installed system connection for eth0 and other system connections are ignored. Fero, I've tested this issue in my laptop, it works fine. The nm-applet can't running with the knetworkmanager together. In knetworkmanager the connection which be added is not set the checkbox of "autoconnect", so you must click the checkbox in the properties dialog. I've made a test like below. In terminal, run > sudo tail -n 30 -f /var/log/NetworkManager In another terminal, > kill -9 `pgrep kent` > nm-applet the nm-applet could connect the connections which you connected before. And from the /var/log/NetworkManager you can view connecting information which like '(wlan0): supplicant ....." with Ctrl + C to terminate the nm-applet. > knetworkmanager I can also view the icon was connecting the wireless. And also find the /var/log/NetworkManager was updated for the re-auto-connect the wireless. So could test it again? Thanks! Hi Bin, maybe you didnt understand my problem. Tests from terminal, you wrote, I should run from terminal, when LOGGED IN. nm-applet and also plasmoid can connect networks, when LOGGED IN. Problem is, I've configured WiFi system connection (/etc/NetworkManager/system-connections) and this should be automatically started with system boot (that means, in NOT LOGGED IN state). Listing of /etc/NetworkManager/system-connections directory: 9076787 -rw------- 1 root root 156 May 31 13:17 Auto eth0 9076971 -rw------- 1 root root 381 May 31 00:06 WifiConnection Both files have no autoconnect set (that means from documentation per default autoconnect=TRUE) Pre-installed wired configuration 'Auto eth0' works perfect, network is connected in system boot before LOGGED IN My 'WifiConnection' does not start automatically in system boot before LOGGED IN. (in LOGGED IN state this connection is started without problems) Should I run tests you wrote? Fero, I thought now it's clear, thanks! Don't need the test. I'll try to find what's the reason. Thanks! Fero, I've changed the wireless connection "Available to all users", then delete the "/var/log/NetworkManager". then reboot the system, after start, not log in the desktop, just in console(Ctrl + Alt + F1), view the /var/log/NetworkManager, found the wireless was auto-connected. And in the log you can found a lot of (wlan0)'s information. So it works fine for me. Could you make a test for it again? And attach your /var/log/NetworkManager again. Thanks! Created attachment 432571 [details]
NetworkManager log - before login
Created attachment 432572 [details]
NetworkManager log - after login
Created attachment 432573 [details]
WiFi connection configuration
Hi Bin, so there are full NetworkManager logs before login and after login with starting WiFiConnection. NetwrokManager logging entries after login start with timestamp Jun 1 22:09:06 (see NetwrokManager log after login) I hope, these logs helps. With openSUSE 12.1 working as expected. Thanks for the feedback, I still found the reason why you failed in 11.4. Anyway I'll close it as 'worksforme'. Thanks again. |
Created attachment 431984 [details] NetworkManager log - network connection on eth0 starts succesfully at boot time User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 Using plasmoid-networkmanagement-0.9.1git20110503-8.1.x86_64. In system connections (/etc/NetworkManager/system-connections) I have two connections: 1. One for eth0 2. Second for wlan0 Both have setting for automatic start at boot time. WiFi connections are enabled. When only eth0 is presented (cable plugged in, WiFi net not available), connection on eth0 starts automatically as expected at boot time. When only wlan0 is presented (cable not plugged in, WiFi net available), connection on wlan0 does not start automatically at boot time. Later it can be manually started, when logged in. Reproducible: Always Steps to Reproduce: 1. Two system connections, one for eth0, one for wlan0, both with option start automatically. 2. Make WiFi net available, does not plug ethernet cable 3. Start computer and wait OS is completely booted Actual Results: Network connection is not automatically established at boot time. (wlan0 interface) Expected Results: Network connection is automatically established at boot time. (wlan0 interface)