EL Wed, 20 Feb 2013 17:05:41 +0000 (UTC) robin <[email protected]> escrigué:
> hi, hello robin, > > as wifi is not working with my gta02, I am trying to set up the > internet connection via networkmanager in kde. to share your internet connection across your desktop computer you have to activate the MASQUERADE service in iptables. > > now I was wondering with > 192.168.7.2 on neo and > 192.168.7.1 on the desktop this is OK! now you can activate iptables in your desktop PC with this: # echo 1 > /proc/sys/net/ipv4/ip_forward and now set MASQUERADE with this: # iptables -t nat -I POSTROUTING -j MASQUERADE > > what are the other parameters like subnet and gateway and nameserver > I will have to set. Login in works an ping 192.168.7.1 also gives a > connection but I cannot see outside my home network which has its > router on 192.168.178.1 and desktop ip for that is 192.168.178.25. Sometimes with this is OK, but sometimes no :(, the you can look the routing table in your desktop PC with: # route (my routing table is like this: Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 192.168.7.0 * 255.255.255.0 U 0 0 0 usb0 you would like have someone similar changing the my default gateway (192.168.1.1) for your one (192.168.178.1) (To change the values of the routing table I use the command 'ip route' plus the values needed) Another thing you can look at if it don't run yet is the file /etc/resolv.conf in NEO. A public nameserver like 208.67.222.222 it's ok. Just write: nameserver 208.67.222.222 in the /etc/resolv.conf and that's all! > > thanks for the help, > > > robin > > aleixof > > _______________________________________________ > Shr-User mailing list > [email protected] > http://lists.shr-project.org/mailman/listinfo/shr-user > _______________________________________________ Shr-User mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-user
