User talk:Jebba/NAT

m
 
(One intermediate revision not shown)
Line 1: Line 1:
-
I had to remove all instances of <tt>sudo</tt>  from the <tt>freemoe-nat</tt> script to make it work.  Then, when I finally had a ping from my laptop to 8.8.8.8 the N900 rebooted. [[User:guaka|guaka]] 00:09, 6 January 2010 (UTC)
+
I had to remove all instances of <tt>sudo</tt>  from the <tt>freemoe-nat</tt> script to make it work.  Then, when I finally had a ping from my laptop to 8.8.8.8 the N900 rebooted. [[User:guaka|guaka]] 00:09, 6 January 2010 (UTC)
 +
:Same thing happened again. [[User:guaka|guaka]] 00:15, 6 January 2010 (UTC)
 +
 
 +
This is the script I'm running on the client:
 +
<pre>
 +
ifconfig wlan0 down
 +
iwconfig wlan0 mode ad-hoc
 +
ifconfig wlan0 up
 +
iwconfig wlan0 essid freemoe
 +
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0 up
 +
 
 +
route add default gw 10.0.0.1
 +
echo nameserver 8.8.8.8 > /etc/resolv.conf
 +
</pre>
 +
[[User:guaka|guaka]] 00:14, 6 January 2010 (UTC)

Latest revision as of 00:15, 6 January 2010

I had to remove all instances of sudo from the freemoe-nat script to make it work. Then, when I finally had a ping from my laptop to 8.8.8.8 the N900 rebooted. guaka 00:09, 6 January 2010 (UTC)

Same thing happened again. guaka 00:15, 6 January 2010 (UTC)

This is the script I'm running on the client:

ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
ifconfig wlan0 up
iwconfig wlan0 essid freemoe
ifconfig wlan0 10.0.0.8 netmask 255.255.255.0 up

route add default gw 10.0.0.1
echo nameserver 8.8.8.8 > /etc/resolv.conf

guaka 00:14, 6 January 2010 (UTC)