Thread
:
[HOWTO] N900 WiFi Hotspot (shell script version)
View Single Post
My_PeSePe
2011-06-09 , 18:28
Posts: 62 | Thanked: 8 times | Joined on Aug 2010 @ Spain ( Granada )
#
54
I've been al day tryingand nothing
/home/user # cd MyDocs/wifi_hotspot/
/home/user/MyDocs/wifi_hotspot # sh open_wifi_hotspot.sh
+ start wlancond
start: Job not changed: wlancond
+ modprobe crc7
+ modprobe mac80211
+ modprobe wl12xx
+ modprobe ipt_MASQUERADE
FATAL: Module ipt_MASQUERADE not found.
+ iptables -F
+ iptables -t nat -F
iptables v1.4.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
+ iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
iptables v1.4.6: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
+ echo 1
+ ifconfig wlan0 down
+ iwconfig wlan0 mode ad-hoc
+ ifconfig wlan0 up
+ iwconfig wlan0 essid honeypot
+ iwconfig wlan0 key s:0000000000000
+ iwconfig wlan0 channel 10
+ ifconfig wlan0 192.168.1.1 netmask 255.255.255.0 up
+ start-stop-daemon -S -p /var/run/wifi_tethering.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.1.1 -F 192.168.3.100,192.168.3.127 -b
+ run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:WiFi HotSpot Activated
/home/user/MyDocs/wifi_hotspot # ifconfig
gprs0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.170.74.54 P-t-P:10.170.74.54 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MTU:1400 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:130 (130.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:65 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5240 (5.1 KiB) TX bytes:5240 (5.1 KiB)
phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:285 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8688 (8.4 KiB) TX bytes:2271 (2.2 KiB)
/home/user/MyDocs/wifi_hotspot #
Point in the image is established and connected , but when i navigate says not conected . Can it be by the ip's or the mask ?
Greetings
__________________
Admin for
..::Phonesfera::.. Maemo and other Phones
Thanks Maemo.org
Quote & Reply
|
My_PeSePe
View Public Profile
Send a private message to My_PeSePe
Visit My_PeSePe's homepage!
Find all posts by My_PeSePe