Two connections in Ubuntu
I have one wire that goes to my laptop. I can connect local network and ADSL internet in Windows simultaneously. I created the ADSL-connection in Ubuntu and it works well (I can browse Internet). But I can't connect to local network (i.e. to IPs 192.168.xxx.yyy).
The problem is in standard network-manager. It somehow (in a very strange way) overwrites routes for eth0
(LAN), making LAN inaccessible.
Solution for my problem – manually add the following to /etc/network/interfaces
:
auto eth0
iface eth0 inet static
address 192.168....
netmask 255.255....
gateway 192.168....
And connect to DSL using pppoeconf
, pon
and poff
commands.