problems accessing internet from pc attached to laptop
robert rottermann
robert at redcor.ch
Sun Feb 2 14:10:43 UTC 2014
Hi friends in Ubuntu,
I have a laptop running 13.1
It is connected to the internet using its internal wfi adapter.
To its Ethernet plug I have attached an other pc running a debc/netw ian
based Linux (rasbian on a rasberry).
Accessing the rasberry works fine, and it can also ping the laptop.
However it can not "reach" outside its own address range. It can neither
ping the wlan router, nor the internet.
here are the settings of the two pcs:
laptop
--------
root at porti:~# cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.30
netmask 255.255.255.0
rasberry
-----------
root at raspberrypi:/home/pi# cd
root at raspberrypi:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
address 10.168.1.10
netmask 255.255.255.0
gateway 10.168.1.30
thanks for any pointer or tutorial
have a nice day
robert
More information about the ubuntu-users
mailing list