Editing N900 Ad-hoc WiFi Hotspot
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: | ||
- | + | This method works but is not useable for more than a proof of concept because it suffers '''40% packet loss at close range''' between the N900 and the laptop. | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | This method works but is not | + | |
- | + | ||
== On the N900 == | == On the N900 == | ||
- | + | /etc/apt/sources.list | |
- | + | deb http://repository.maemo.org/extras-devel/ fremantle free | |
- | + | apt-get install iptables | |
- | + | http://wiki.maemo.org/Kernel_Power#Installation_of_the_stable_kernel_from_extras | |
- | + | apt-get install kernel-power-settings | |
- | + | # connect using GPRS and not a wifi hotspot | |
- | + | echo 1 > /proc/sys/net/ipv4/ip_forward | |
- | + | iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE | |
- | echo 1 > /proc/sys/net/ipv4/ip_forward | + | iwconfig wlan0 mode ad-hoc channel 3 |
- | iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE | + | ifconfig wlan0 192.168.4.15 up |
- | + | iwconfig wlan0 essid N900 | |
- | + | == On the laptop == | |
- | + | sudo iwconfig wlan0 mode ad-hoc channel 3 | |
- | iwconfig wlan0 mode ad-hoc channel 3 | + | sudo ifconfig wlan0 192.168.4.14 up |
- | ifconfig wlan0 192.168.4.15 up | + | sudo iwconfig essid N900 |
- | iwconfig wlan0 essid N900 | + | sudo route add default gw 192.168.4.15 |
- | + | ||
- | + | ||
- | + | ||
- | == On the | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
[[Category:Connectivity]] | [[Category:Connectivity]] | ||
[[Category:N900]] | [[Category:N900]] | ||
[[Category:Power users]] | [[Category:Power users]] | ||
- | [[Category: | + | [[Category:Hotspot]] |
Learn more about Contributing to the wiki.