Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to manage networks from inside crouton? #611

Closed
pcm2a opened this issue Jan 30, 2014 · 5 comments
Closed

How to manage networks from inside crouton? #611

pcm2a opened this issue Jan 30, 2014 · 5 comments
Labels

Comments

@pcm2a
Copy link

pcm2a commented Jan 30, 2014

Out of the box you have to manage your networks in chromeos. What if I would like to manage them inside of crouton instead?

The first thing I tried was to install network-manager (and rebooted):
apt-get install network-manager

After a reboot I had a new network icon in the top right and I also have Settings->Network Connections. The problem is everything is greyed out and it says that network management is disabled.

Next I tried to start up network management, but you cant use the Upstart (init.d) job since those don't work via chroot. I start up networking with 'sudo NetworkManagement'. As soon as I start that my wireless disconnects.

At this point wireless in Chrome OS is disconnected. Also wireless is disconnected in crouton. Now when I click the network icon I can see wireless connections...seems like we are closer. I try to pick one but it never asks me for a password. The Network Connections gui still has everything greyed out.

What is the trick to editing network connections in crouton?

@DennisLfromGA
Copy link
Collaborator

According to this explanation in Issue #248 - "Chromium OS has full control of networking, so it's not a good idea to try to control it from the chroot.". However, he does go on to tell you how to try anyway.

@pcm2a
Copy link
Author

pcm2a commented Jan 31, 2014

Thanks for the info that has gotten me slightly closer. I don't mind managing my connection in ChromeOS, my end goal was to be able to start and stop a Cisco VPN graphically and not via the command line.

Problem: In the network manager applet I cannot import or create VPN connections.

  • I can click + Add but all the boxes are greyed out
  • I can click Import but I can't save because the boxes are greyed out
    My thought was this is because crouton is not managing my network connection

First try: I started NetworkManager, which kills shill automatically.

  • Still cannot edit anything

Second try: I editing /etc/NetworkManager/NetworkManager.conf and changed managed=true

  • I still cannot add or change anything

Third try: I plugged in a wired connection and internet does work but I still can't edit or anything

If I could somehow add this VPN connection maybe I would be able to start and stop it. From the command line does work.

@dnschneid
Copy link
Owner

The wiki has stuff on this now.

@robertoandrade
Copy link

Trying to do the same to use either the built in "Network Connections" GUI to register/import an .ovpn configuration and it shows it as disabled even though I installed the 'OpenVPN' plugin for NetworkManager. Same when importing via kvpnc. Any suggestions?

@daviday
Copy link

daviday commented Dec 28, 2014

Any progress here? Haven't seen this closed, unless I missed it?

Sent from my iPhone

On Dec 27, 2014, at 3:09 PM, Roberto Andrade notifications@github.com wrote:

Trying to do the same to use either the built in "Network Connections" GUI to register/import an .ovpn configuration and it shows it as disabled even though I installed the 'OpenVPN' plugin for NetworkManager. Same when importing via kvpnc. Any suggestions?


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants