Hello everybody,
I spent some hours trying to share my Internet connexion with another computer, unsuccessfully, unfortunately. Here follows the situation I've arrived to after trying several solutions I've read on the Web. I have one computer (under Trisquel; let's call it Computer 1) connected to Internet via Wi-Fi (wlan1 interface). On this computer, there is also an ethernet (eth0) interfacewhich is connected to a router. On this router, my second computer (under Debian; let's call it Computer 2) is also plugged in. The network interfaces of Computer 1 are configured graphically with Network-Manager. The wireless interface (wlan1; configured as the default one) is configured with thsese settings: IP address: 192.168.2.102; broadcast address: 192.168.2.255; subnet mask: 255.255.255.0; default route: 192.168.2.1; primary DNS: 192.168.2.1. The wired interface (eth0) is configured this way: IP address: 192.168.1.21; broadcast address: 192.168.1.255; subnet mask: 255.255.255.0; default route: 192.168.2.102; primary DNS: 192.168.2.102. In Network-Manager, the interfaces are configured manually. The network interface of Computer 2 is configured via the /etc/network/interfaces. This one contains the lines below (so, it is configured with a fixed IP address: 192.168.1.22). This computer can only ping theses addresses: 192.168.1.1 (the router), 192.168.1.21 (the wired interface of Computer 1) and 192.168.2.102 (the wireless interface of Computer 1). But it can't ping 192.168.2.1 or an address on Internet.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.22
netmask 255.255.255.0
broacast 192.168.2.255
gateway 192.168.2.102
dns-nameservers 192.168.2.102 8.8.8.8

Here, I can't see what else to try without installing an other package (I prefer avoiding it). If someone sees how to reconfigure my network to let Computer 2 access Internet, I would be happy to know it!

Reply via email to