Results 1 to 6 of 6

Thread: Network manager from CLI

  1. #1
    Join Date
    Aug 2007
    Beans
    93

    Network manager from CLI

    Hello!
    I've been trying to get network manager to autoconnect VPN on login (via nm-applet), but it doesn't seem to work. So, after a while I found this command: /usr/lib/network-manager-pptp/nm-pptp-auth-dialog -u <UUID> -n <network name> -s org.freedesktop.NetworkManager.pptp
    My question is, where can I find a VPN's UUID?

  2. #2
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Network manager from CLI

    If you run
    Code:
    sudo blkid
    while connected to the VPN, does it show the UUID?

  3. #3
    Join Date
    Aug 2007
    Beans
    93

    Re: Network manager from CLI

    No, it only shows sda1, sda5 and sda6 UUID's.

  4. #4
    Join Date
    Apr 2009
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Network manager from CLI

    What do you get for
    Code:
    ls /etc/NetworkManager/system-connections/

  5. #5
    Join Date
    Aug 2007
    Beans
    93

    Re: Network manager from CLI

    Quote Originally Posted by michy99 View Post
    What do you get for
    Code:
    ls /etc/NetworkManager/system-connections/
    It displayed "Auto eth0". So I sudo nano'd it, got eth0's UUID and tried it in the command. It worked, asked my password, but then froze. I think that program was only a password dialog and there must be something else to connect the VPN... Please, does somebody have a good idea how to make VPN autoconnect?

  6. #6
    Join Date
    Aug 2007
    Beans
    93

    Re: Network manager from CLI

    Anybody?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •