Editing User:Jebba/NAT

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
=NAT=
=NAT=
This is a micro HOWTO, perhaps someday to be longer about how to turn your N900 into a wifi hotspot. In other words, you connect to the Internet via the GPRS (telephone data) connection, then share your connection via wifi with everyone within reach.  :)
This is a micro HOWTO, perhaps someday to be longer about how to turn your N900 into a wifi hotspot. In other words, you connect to the Internet via the GPRS (telephone data) connection, then share your connection via wifi with everyone within reach.  :)
-
 
-
 
-
==kernel==
 
-
You will need a kernel with NAT modules. I have one available. See my [[User:Jebba/Kernel#Installing_my_custom_kernel|installing my custom kernel]] to get a usable kernel if you don't feel like building one. The 2.6.28-omap1-jebba6 kernel is known to work (2.6.28-20094102.3+0m11).
 
-
 
-
 
-
==iptables / iwconfig==
 
-
You need iptables and iwconfig to use this script. Thankfully they are in the extras-devel repository:
 
-
 
-
apt-get install iptables wireless-tools
 
-
 
-
 
-
==freemoe-nat==
 
-
Create and run this script:
 
  #!/bin/sh
  #!/bin/sh
Line 39: Line 25:
  sudo ifconfig wlan0 up
  sudo ifconfig wlan0 up
  sudo iwconfig wlan0 essid freemoe
  sudo iwconfig wlan0 essid freemoe
-
  sudo ifconfig wlan0 10.0.0.1 netmask 255.255.255.0 up
+
  sudo ifconfig wlan0 10.0.0.22 netmask 255.255.255.0 up
-
 
+
-
 
+
-
==Set up Guests==
+
-
Right now the above doesn't provide DHCP or DNS services, which means you have to set up a static IP and set up DNS in your clients. Just use a static IP from 10.0.0.2 to 10.0.0.254, use 8.8.8.8 for your DNS servers, and set your gateway to 10.0.0.1. You'll need to set your client in ad-hoc mode and use ESSID freemoe.
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)