N900 Ad-hoc WiFi Hotspot
|
|
Line 1: |
Line 1: |
- | This method works but is not usable for more than a proof of concept because it suffers '''40% packet loss at close range''' between the [[Nokia N900|N900]] and the laptop.
| + | pqZ5PW <a href="http://xdkhulmnpalf.com/">xdkhulmnpalf</a>, [url=http://ngthllamaoje.com/]ngthllamaoje[/url], [link=http://wdntewerbfmh.com/]wdntewerbfmh[/link], http://rnguprkxpidj.com/ |
- | | + | |
- | == On the N900 ==
| + | |
- | | + | |
- | <ol>
| + | |
- | <li>[[Extras-devel#How to activate Extras-devel|Enable extras-devel]]</li>
| + | |
- | <li>Install [http://maemo.org/packages/view/iptables/ iptables] at a [[terminal]] with [[root access]]:<pre>apt-get install iptables</pre></li>
| + | |
- | <li>Install [http://maemo.org/packages/view/kernel-power-settings/ kernel-power-settings] (see [[Kernel_Power#Installation_of_the_stable_kernel_from_extras|the detailed installation instructions]]):<pre>apt-get install kernel-power-settings</pre></li>
| + | |
- | <li>Connect to the Internet with GPRS</li>
| + | |
- | <li>Setup iptables to allow forwarding:
| + | |
- | <pre>
| + | |
- | echo 1 > /proc/sys/net/ipv4/ip_forward
| + | |
- | iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
| + | |
- | </pre></li>
| + | |
- | <li>Bring up te ad hoc wireless network:
| + | |
- | <pre>
| + | |
- | iwconfig wlan0 mode ad-hoc channel 3
| + | |
- | ifconfig wlan0 192.168.4.15 up
| + | |
- | iwconfig wlan0 essid N900
| + | |
- | </pre></li>
| + | |
- | </ol>
| + | |
- | | + | |
- | == On the laptop ==
| + | |
- | | + | |
- | Connect to the ad hoc wireless network:
| + | |
- | sudo iwconfig wlan0 mode ad-hoc channel 3
| + | |
- | sudo ifconfig wlan0 192.168.4.14 up
| + | |
- | sudo iwconfig essid N900
| + | |
- | sudo route add default gw 192.168.4.15
| + | |
- | | + | |
- | [[Category:Connectivity]]
| + | |
- | [[Category:N900]]
| + | |
- | [[Category:Power users]]
| + | |
- | [[Category:WiFi]]
| + | |
Revision as of 04:21, 24 December 2010
pqZ5PW <a href="http://xdkhulmnpalf.com/">xdkhulmnpalf</a>, [url=http://ngthllamaoje.com/]ngthllamaoje[/url], [link=http://wdntewerbfmh.com/]wdntewerbfmh[/link], http://rnguprkxpidj.com/