Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464076 - net-misc/networkmanager - Please use CLI to let init script enable wifi and connect.
Summary: net-misc/networkmanager - Please use CLI to let init script enable wifi and c...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-01 13:03 UTC by Murph
Modified: 2013-06-16 12:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murph 2013-04-01 13:03:35 UTC
Hello,
NetworkManager now ships with a command line interface. Simply running "nmcli nm wifi on" causes my laptop to connect to the internet without X being required (reallly handy when I forget to emerge nvidia-drivers).



Reproducible: Always

Steps to Reproduce:
1.put "nmcli nm wifi on" inside of start() in /etc/init.d/NetworkManager
2.reboot (not into X)
3.use internet
Actual Results:  
Internet is connected

Expected Results:  
.

.
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-04-02 00:42:35 UTC
I do not understand this bug report. Please explain, exactly what is the current behavior of networkmanager that you see as undesirable?

Are you saying that "/etc/init.d/NetworkManager start" fails to start your previously configured wireless connection? Did you make sure that wireless connection was configured as "available to all users"? (If it's not available to all users, NetworkManager won't enable it until the user who owns that connection logs in.)

Or are you saying that "/etc/init.d/NetworkManager start" should automatically create and start a wireless connection without any configuration step, even if you've never configured wireless on this machine? We will not do that: it's a security risk.
Comment 2 Murph 2013-04-02 00:47:25 UTC
"/etc/init.d/NetworkManager start" 

Has never actually connected my wireless network before. It would wait until X had started and nm-applet (or whatever KDE calls it) start up, then it would connect.

My network is available to all users.

If I run "nmcli nm wifi on" (as root), then it connects.

Am I seeing an actual bug? I'd meant this as am Enhancement Request, as I didn't think that the desired behavior (having my wifi connect without starting X) was ever a feature.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-04-02 00:55:55 UTC
(In reply to comment #2)

You are seeing an actual bug. "/etc/init.d/NetworkManager start" should start a previously configured available-for-all-users wireless connection automatically; and it does do that on my laptop.

What version of networkmanager are you using? Could you please paste your "emerge --info"?
Comment 4 Pacho Ramos gentoo-dev 2013-06-16 12:09:31 UTC
(In reply to Alexandre Rostovtsev from comment #3)
> (In reply to comment #2)
> 
> You are seeing an actual bug. "/etc/init.d/NetworkManager start" should
> start a previously configured available-for-all-users wireless connection
> automatically; and it does do that on my laptop.
> 
> What version of networkmanager are you using? Could you please paste your
> "emerge --info"?

Also tell us if you configured a network before