Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47

Thread: LAN trouble with VPN in Ubuntu 14.10

  1. #1
    Join Date
    Nov 2007
    Beans
    212

    Exclamation LAN trouble with VPN in Ubuntu 14.10

    Wanting to route my internet traffic through VPN, I had installed gAdmin OpenVPN server and client, and a VPN access manager. As I was unable to configure them, I uninstalled all three. Since then none of the LANs for which the computer is configured, shows up when the Ethernet cable is plugged in.

    I would really appreciate help with restoring the LAN connections. Thanks in advance.

  2. #2
    Join Date
    Jul 2013
    Beans
    189
    Distro
    Ubuntu

    Re: LAN trouble with VPN in Ubuntu 14.10

    What does your
    Code:
    sudo ifconfig
    say?
    [signature]
    Please format your posts and comments -> click me

    Please mark your thread as solved if
    you got a satisfactory response.
    [/signature]

  3. #3
    Join Date
    Nov 2007
    Beans
    212

    Re: LAN trouble with VPN in Ubuntu 14.10

    Thanks a lot, @michi1983. Sorry, I was commuting.

    br0 Link encap:Ethernet HWaddr 54:42:49:ff:91:f9
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::5642:49ff:feff:91f9/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:9795 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1564203 (1.5 MB) TX bytes:1637 (1.6 KB)

    eth0 Link encap:Ethernet HWaddr 54:42:49:ff:91:f9
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:9799 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3 errors:0 dropped:0 overruns:0 carrier:1
    collisions:0 txqueuelen:1000
    RX bytes:1701789 (1.7 MB) TX bytes:491 (491.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:10013 errors:0 dropped:0 overruns:0 frame:0
    TX packets:10013 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1260365 (1.2 MB) TX bytes:1260365 (1.2 MB)

    wlan0 Link encap:Ethernet HWaddr 64:27:37:b1:15:9e
    inet addr:192.168.0.134 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::6627:37ff:feb1:159e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:70313 errors:0 dropped:0 overruns:0 frame:0
    TX packets:26650 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:36683454 (36.6 MB) TX bytes:3928638 (3.9 MB)

  4. #4
    Join Date
    Jul 2013
    Beans
    189
    Distro
    Ubuntu

    Re: LAN trouble with VPN in Ubuntu 14.10

    alright, it seems you have a working wifi connection.
    so to get rid of the bridge br0 which seems to get installed after one of your vpn steps type this into your terminal
    Code:
    ip link set br0 down
    brctl delbr br0
    one line after the other.

    now please post the output of
    Code:
    cat /etc/network/interfaces
    [signature]
    Please format your posts and comments -> click me

    Please mark your thread as solved if
    you got a satisfactory response.
    [/signature]

  5. #5
    Join Date
    Nov 2007
    Beans
    212

    Re: LAN trouble with VPN in Ubuntu 14.10

    @michi1983 -- br0 could not be deleted. Here's the output (tried twice) --

    ~$ ip link set br0 down
    RTNETLINK answers: Operation not permitted
    ~$ brctl delbr br0
    can't delete bridge br0: Operation not permitted
    ~$ ip link set br0 down
    RTNETLINK answers: Operation not permitted
    ~$ brctl delbr br0
    can't delete bridge br0: Operation not permitted

  6. #6
    Join Date
    Jul 2013
    Beans
    189
    Distro
    Ubuntu

    Re: LAN trouble with VPN in Ubuntu 14.10

    try the commands with sudo at front
    [signature]
    Please format your posts and comments -> click me

    Please mark your thread as solved if
    you got a satisfactory response.
    [/signature]

  7. #7
    Join Date
    Nov 2007
    Beans
    212

    Re: LAN trouble with VPN in Ubuntu 14.10

    Thanks. This is what I have got so far --

    :~$ sudo ip link set br0 down
    [sudo] password for tapas:
    :~$ sudo ip link set br0 down
    :~$ brctl delbr br0
    can't delete bridge br0: Operation not permitted
    :~$ ip link set br0 down
    RTNETLINK answers: Operation not permitted
    :~$ sudo brctl delbr br0
    :~$ sudo ip link set br0 down
    Cannot find device "br0"
    :~$ cat /etc/network/interfaces
    auto lo br0
    iface lo inet loopback

    iface br0 inet static
    address 192.168.1.10
    netmask 255.255.255.0
    gateway 192.168.1.1
    bridge_ports eth0

    iface eth0 inet manual
    up ip link set $IFACE up promisc on
    down ip link set $IFACE down promisc off

  8. #8
    Join Date
    Jul 2013
    Beans
    189
    Distro
    Ubuntu

    Re: LAN trouble with VPN in Ubuntu 14.10

    Alright, first of all, please type this in your terminal:


    Code:
    sudo apt-get purge --auto-remove gadmin-openvpn-client
    and
    Code:
    sudo apt-get purge --auto-remove gadmin-openvpn-server
    then edit your /etc/network/interfaces file and change all the code in there to the following:

    Code:
    auto lo
    iface lo inet loopback
    
    
    auto eth0
    iface eth0 inet dhcp
    After that restart your network service with
    Code:
    sudo /etc/init.d/networking restart
    And then please post again the output of
    Code:
    sudo ifconfig
    If the br0 interface is still there, something (one of the software you used for the vpn) creates the bridge interface automatically.
    Last edited by michi1983; April 12th, 2015 at 07:04 PM.
    [signature]
    Please format your posts and comments -> click me

    Please mark your thread as solved if
    you got a satisfactory response.
    [/signature]

  9. #9
    Join Date
    Nov 2007
    Beans
    212

    Re: LAN trouble with VPN in Ubuntu 14.10

    Thanks a lot, @michi1983. Coming back soon with the outputs.

    Thanks a lot, @michi1983. Coming back soon with the outputs ...

    tapas@tapas-VPCYB35AN:~$ sudo /etc/init.d/networking restart
    [sudo] password for tapas:
    stop: Job failed while stopping
    start: Job is already running: networking
    tapas@tapas-VPCYB35AN:~$ sudo /etc/init.d/networking restart
    stop: Job failed while stopping
    start: Job is already running: networking
    tapas@tapas-VPCYB35AN:~$ sudo ifconfig
    br0 Link encap:Ethernet HWaddr 54:42:49:ff:91:f9
    inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::5642:49ff:feff:91f9/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 B) TX bytes:1507 (1.5 KB)

    eth0 Link encap:Ethernet HWaddr 54:42:49:ff:91:f9
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:1975 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1975 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:213179 (213.1 KB) TX bytes:213179 (213.1 KB)

    wlan0 Link encap:Ethernet HWaddr 64:27:37:b1:15:9e
    inet addr:192.168.223.107 Bcast:192.168.223.255 Mask:255.255.255.0
    inet6 addr: fe80::6627:37ff:feb1:159e/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:50 errors:0 dropped:0 overruns:0 frame:0
    TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:11513 (11.5 KB) TX bytes:28183 (28.1 KB)
    Last edited by howefield; April 14th, 2015 at 11:24 AM.

  10. #10
    Join Date
    Jul 2013
    Beans
    189
    Distro
    Ubuntu

    Re: LAN trouble with VPN in Ubuntu 14.10

    What did the
    Code:
    sudo apt-get remove
    commands return? did it uninstall further software of your vpn stuff?

    Please try a
    Code:
    sudo ifdown br0 && sudo ifdown eth0 && sudo ifup eth0
    [signature]
    Please format your posts and comments -> click me

    Please mark your thread as solved if
    you got a satisfactory response.
    [/signature]

Page 1 of 5 123 ... LastLast

Tags for this Thread

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
  •