Internet sharing on ad-hoc network
I am using Mandrake 9.2 with a Netgear MA101 USB wireless network adapter, which after a lot of tinkering I have working perfectly.
I have a simple ad hoc network with my main PC connected directly to cable Internet and then wirelessly to the laptop. I can browse the network from both computers and send/receive files etc over the wireless network. My problem is that I cannot surf the Internet from the laptop over the network as I can on my windows network. Remembering that the Linux PC is connected to the Internet and has Linux on it, how do I share this Internet connection on the laptop? I cannot use the graphical interface on Mandrake as the hardware (MA101) is not recognised on it, so any configuration will have to be done manually. If anyone uses webmin I do have that installed and could carry out any alteration on that if advised. Thanks in advance - Mike |
Solved this thanks.
For information the following line shares an internet connection over a wireless network - /sbin/iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE There are issues around security but I'll work on those. In the mean time it all works! Thanks anyway Mike |
All times are GMT -5. The time now is 06:15 AM. |