View Full Version : [HOWTO] N900 WiFi Hotspot (shell script version)
1 Background
The advantage of using this script to build WiFi Hotspot over the packages mobilehotspot and joikuspot is that it's simple and consume less power. The original script is written by jebba, modified slightly by me for easy customization, DNS and process initialization; therefore credit still goes to him.
The reason I post this script is for those who are having technical problems with mobilehotspot or joikuspot, and for those who'd want to run a WiFi hotspot with minimum power usage.
2 Installation
The script is pretty self explanatory therefore I'll let you explore it yourself.
It can be run as root or triggered by Queen Beecon Widget. Tell me if you need help on this.
The SSID is honeypot and the password is 0000000000000. You can customize them for your own use. Note that the length of the password must be 13.
It needs packages wireless-tools and iptables, and iptables depends on kernel power. Therefore, you must be well-aware of the risk running kernel power so use it at your own risk.
#!/bin/sh
# Original script by Jebba, modified by 9000 @ talk.maemo.org
# Run this script to share your Internet connection.
# Activate your gprs0 (fone data) connection with the GUI
#run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.icd_ui /com/nokia/icd_ui com.nokia.icd_ui.show_conn_dlg boolean:false
IP_ADDR="192.168.1.1"
NETMASK="255.255.255.0"
DHCP_RANGE="192.168.1.100,192.168.1.127"
RUNFILE="/var/run/wifi_tethering.pid"
DNSMASQ="/usr/sbin/dnsmasq"
ESSID="honeypot"
PASSWORD="0000000000000"
CHANNEL="10"
HOSTIDEV="gprs0"
set -x
start wlancond
# Load modules
modprobe crc7
modprobe mac80211
modprobe wl12xx
modprobe ipt_MASQUERADE
# flush old rules
iptables -F
iptables -t nat -F
iptables -t nat -A POSTROUTING -o $HOSTIDEV -j MASQUERADE
# forward IPs
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
ifconfig wlan0 up
iwconfig wlan0 essid $ESSID
iwconfig wlan0 key s:$PASSWORD
iwconfig wlan0 channel $CHANNEL
ifconfig wlan0 $IP_ADDR netmask $NETMASK up
# Setup DNS and DHCP
start-stop-daemon -S -p $RUNFILE -m -b -x $DNSMASQ -- -k -I lo -z -a $IP_ADDR -F $DHCP_RANGE -b
run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:'WiFi HotSpot Activated'
3 How to turn it off
You can turn it off by using any WiFi switching applet/widget, or you could use this script (again, run as root):
#!/bin/sh
# Description: Turn WiFi on/off
# Original script from http://wiki.maemo.org/Desktop_Command_Execution_Widget_scripts
# Modified by 9000 @ talk.maemo.org on 27/6/2010
#
out=`ifconfig wlan0`
if [ $? -eq "0" ] ; then
if [ `echo "$out" | grep -c RUNNING` -gt "0" ] ; then
run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
fi
ifconfig wlan0 down
rmmod wl12xx
rmmod mac80211
rmmod crc7
stop wlancond
run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:'Wi-Fi Disabled'
exit 2
else
modprobe crc7
modprobe mac80211
modprobe wl12xx
wl1251-cal
stop wlancond
start wlancond
iwconfig wlan0 mode managed
ifconfig wlan0 up
run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.icd_ui /com/nokia/icd_ui com.nokia.icd_ui.show_conn_dlg boolean:false
run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:'Wi-Fi Enabled'
exit 0
fi
To further save the power, this script will unload unnecessary modules when WiFi is switched off. Those unloaded modules will be reloaded again when the script is run again (switching on and off).
4. Troubleshooting
4.1 Q: Password rejected.
A: The length of the password must be 13.
4.2 Q:Tell me how to setup Queen Beecon Widget
A:
1) Add new Widget
2) Choose Queen BeeCon Widget
3) Edit the Widget you've created on your desktop
4) Add Cmd
5) Enter Title: WiFi HotSpot
6) Enter Command: echo <path_to_script>/<name of the script> | root
e.g. if the path to the script is /home/user/script/ and the name of the script is open_wifi_hotspot.sh, then the line would be:
echo /home/user/script/open_wifi_hotspot.sh | root
(you need rootsh installed, but I'm sure you do)
7) Save
8) If you don't need to change the outlook of your QBW icon, you can just accept all the default and save.
9) Done
Similarly for wifi.sh:
echo /home/user/script/wifi.sh | root
wifi.sh uses exit code (2 and 0) to tell you the status of the wifi. Therefore, you'd like to config different color for different exit code. I use the following:
0 - Green, WiFi is enabled
2 - Red, WiFi is disabled
Or you could just use the default. The script would give you popup message anyway.
4.3 The module ipt_MASQUERADE isn't loaded after upgrading to kernel-power v47
The module works fine in v46. Downgrade your kernel-power. (at your own risk)
(Please reply here if you've any question. Then I'll update this section.)
EDIT: wireless-tools provides iwconfig. Revised.
EDIT: Report has it that ipt_MASQUERADE isn't loaded in kernel-power v47. Troubleshooting updated.
I could need some help here. My Laptop is only getting a private IP so DHCP doesn't seem to work properly.
Here's my output.
IroN900:/usr/bin# wlapon
+ start wlancond
start: Job not changed: wlancond
+ modprobe crc7
+ modprobe mac80211
+ modprobe wl12xx
+ modprobe ipt_MASQUERADE
+ iptables -F
+ iptables -t nat -F
+ iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
+ echo 1
+ ifconfig wlan0 down
+ iwconfig wlan0 mode ad-hoc
+ ifconfig wlan0 up
+ iwconfig wlan0 essid TKX
+ iwconfig wlan0 key s:00000
+ iwconfig wlan0 channel 11
+ ifconfig wlan0 10.161.3.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 10.161.3.1 -F 10.161.3.2,10.161.3.10 -b
/usr/sbin/dnsmasq already running.
+ run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:WiFi HotSpot Activated
Edit: I tried also to give static addresses (IP, Gateway and DNS) but I can't even ping my N900 from the Laptop.
Greetz,
J4ZZ
ivanrajkovic
2011-05-26, 11:34
Thanks, I just have a question:
If I would only want to connect to my N900 with wifi but without using it as a hot-spot (so, without gprs0), I guess I would just need to take out these lines:
HOSTIDEV="gprs0"
modprobe ipt_MASQUERADE
iptables -t nat -A POSTROUTING -o $HOSTIDEV -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
would I need to keep:
iptables -t nat -F
I would say that I don't need iptables at all, is that right?
i.
anthonie
2011-05-26, 12:12
Bows in gratitude _O_
So this script is executable via QBW? :) I sure hope this works, seems complicated though!
I hope I don't ask too much of you, but since i am no expert of QBW could you please import the script to a QBW-instance and upload it to post #1? (export buffer to file) That would be just great :D
I could need some help here. My Laptop is only getting a private IP so DHCP doesn't seem to work properly.
Here's my output.
IroN900:/usr/bin# wlapon
+ start wlancond
start: Job not changed: wlancond
+ modprobe crc7
+ modprobe mac80211
+ modprobe wl12xx
+ modprobe ipt_MASQUERADE
+ iptables -F
+ iptables -t nat -F
+ iptables -t nat -A POSTROUTING -o gprs0 -j MASQUERADE
+ echo 1
+ ifconfig wlan0 down
+ iwconfig wlan0 mode ad-hoc
+ ifconfig wlan0 up
+ iwconfig wlan0 essid TKX
+ iwconfig wlan0 key s:00000
+ iwconfig wlan0 channel 11
+ ifconfig wlan0 10.161.3.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 10.161.3.1 -F 10.161.3.2,10.161.3.10 -b
/usr/sbin/dnsmasq already running.
+ run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:WiFi HotSpot Activated
Edit: I tried also to give static addresses (IP, Gateway and DNS) but I can't even ping my N900 from the Laptop.
Greetz,
J4ZZ
I spot you've made change to the followings:
1) The password. Note that that the length of password must be exactly 13 words.
2) You've made change to the network and the DHCP network, that would cause routing problem as the routing on your own private networking may not be able to route the wifi traffic when you get them all into the same network, unless you tells the routing table how to diffentiate different traffic. That's why you got connection problem.
Unless you're very familiar with TCP/IP routing, I'd suggest you stick to the original settings first. Make the change by trial and error later after you've successfully got the initial connection work.
Thanks, I just have a question:
If I would only want to connect to my N900 with wifi but without using it as a hot-spot (so, without gprs0), I guess I would just need to take out these lines:
HOSTIDEV="gprs0"
modprobe ipt_MASQUERADE
iptables -t nat -A POSTROUTING -o $HOSTIDEV -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
would I need to keep:
iptables -t nat -F
I would say that I don't need iptables at all, is that right?
i.
Yes, you could just leave the iptables alone if you just want to connect to N900 without a tethering need.
And you don't need that modprobe ipt_MASQUERADE as well.
However, one thing you must note that if you're using Windows PC to connect to any WiFi, it always tries to make it as the default route, i.e. all internet traffice request would go to WiFi. Unless you made change to this default behaviour, you might not be able to go to internet via your private network of your PC when you're connecting to WiFi.
So this script is executable via QBW? :) I sure hope this works, seems complicated though!
I hope I don't ask too much of you, but since i am no expert of QBW could you please import the script to a QBW-instance and upload it to post #1? (export buffer to file) That would be just great :D
Actually I've already deleted the QBW that run open_wifi_hotspot.sh as I'm using Bluetooth-PAN tethering now, for better security (small proximity) and much lower power consumption. (you may refer to my sig for details).
However, setting up QBW for this script is very simple:
1) Add new Widget
2) Choose Queen BeeCon Widget
3) Edit the Widget you've created on your desktop
4) Add Cmd
5) Enter Title: WiFi HotSpot
6) Enter Command: echo <path_to_script>/<name of the script> | root
e.g. if the path to the script is /home/user/script/ and the name of the script is open_wifi_hotspot.sh, then the line would be:
echo /home/user/script/open_wifi_hotspot.sh | root
(you need rootsh installed, but I'm sure you do)
7) Save
8) If you don't need to change the outlook of your QBW icon, you can just accept all the default and save.
9) Done
Hope this helps.
Thanks for replying, I got it working now.
Now I have another request, is there a way to just start and stop Hotspot with a script and keep WiFi running. What I want is to have a QBW Button to just toggle Hotspot on/off if needed, but keep my WiFi or GPRS connection running afterwards.
Thx in advance,
Greetz,
J4ZZ
Thanks for replying, I got it working now.
Now I have another request, is there a way to just start and stop Hotspot with a script and keep WiFi running. What I want is to have a QBW Button to just toggle Hotspot on/off if needed, but keep my WiFi or GPRS connection running afterwards.
Thx in advance,
Greetz,
J4ZZ
What you want to do is changing WiFi from ad hoc mode (hotspot) to managed mode. The second script wifi.sh does that, only you would need to trigger it twice to turn it off and than back on.
Or you may just run that particular line that changes the wifi back to managed.
Brilliant mate, that did it... ;)
cheers,
..::J4ZZ::..
Edit: Yay, 200 posts reached.
ivanrajkovic
2011-05-27, 14:43
Yes, you could just leave the iptables alone if you just want to connect to N900 without a tethering need.
And you don't need that modprobe ipt_MASQUERADE as well.
However, one thing you must note that if you're using Windows PC to connect to any WiFi, it always tries to make it as the default route, i.e. all internet traffice request would go to WiFi. Unless you made change to this default behaviour, you might not be able to go to internet via your private network of your PC when you're connecting to WiFi.
Thanks, I'll give it try this weekend. I need this in the case I'm on a road and have to transfer something between my laptop and N900 without a cable. I have linux on the laptop so I hope I would be able to add different routes for N900 and internet, if necessary.
Thanks again,
i.
I managed to establish a connection with my N900 running this script in QBW and connecting with a N97 mini. However, I did not get internet access. Will try after reboot. And, I don't know how to make the close script into a .tar, so for me it is not possible to turn the script off :/ could this also be added in the first post in the future?
Thanks.
I managed to establish a connection with my N900 running this script in QBW and connecting with a N97 mini. However, I did not get internet access. Will try after reboot. And, I don't know how to make the close script into a .tar, so for me it is not possible to turn the script off :/ could this also be added in the first post in the future?
Thanks.
I don't understand here. You don't need to make the second script into tar in order to run it. BTW, both scripts are included the the .tar of the first post. You can download and untar it.
downstormaf
2011-06-04, 06:27
I need a little help here 9000,
I was writing the first code on installing the script, everything was going well until writing the line
iwconfig wlan0 mode ad-hoc
it returns the following,
+ iwconfig wlan0 mode ad-hoc
/bin/sh: iwconfig: not found
Is this good? is it part of the process? I'm going to keep writing the code but if there is something wrong please reply, and thanks for your help
I need a little help here 9000,
I was writing the first code on installing the script, everything was going well until writing the line
iwconfig wlan0 mode ad-hoc
it returns the following,
+ iwconfig wlan0 mode ad-hoc
/bin/sh: iwconfig: not found
Is this good? is it part of the process? I'm going to keep writing the code but if there is something wrong please reply, and thanks for your help
This command helps change the mode of the WiFi interface, which is essential to the script.
I forgot to mention this is provided by the package wireless-tools. I'll revise the instructions. Thank you for your feedback.
downstormaf
2011-06-04, 06:41
This command helps change the mode of the WiFi interface, which is essential to the script.
I forgot to mention this is provided by the package wireless-tools. I'll revise the instructions. Thank you for your feedback.
sorry to bother again, but I wrote every code from the installation part, still haven't done the turn off one but should i notice anything after doing that part of the code?
I'm using the WiFi Switcher (cuz I can't install Queen BeeCon from the apps manager for some strange reason), but does this work for the code?
thanks for your help again
sorry to bother again, but I wrote every code from the installation part, still haven't done the turn off one but should i notice anything after doing that part of the code?
I'm using the WiFi Switcher (cuz I can't install Queen BeeCon from the apps manager for some strange reason), but does this work for the code?
thanks for your help again
Don't worry. I'm glad to help.
There's two ways to turn off the hotspot: 1) change the mode from ad hoc to managed 2) turn off the wifi interface. I'm not sure about the operation of the wifi switcher, but what the wifi.sh script is doing is to
When wifi is up (no matter it is in ad hoc or managed)
1) turn off the interface
2) unload related modules
3) stop the related process
4) notify the user wifi is turned off
When wifi is down
1) turn on the interface in managed mode
2) load related modules
3) start the related process
4) notify the user wifi is turned on
Therefore, when you run the script wifi.sh I provided, you may look at the screen for notification.
Also, if you're using QBE, you might notice the change in color of the icon as wifi.sh would return different exit code for different status.
Hope this helps.
downstormaf
2011-06-04, 07:15
I thank you for your help but i'm not understanding how this works right now......
1. how do i know if the code is working?
2. where can i find the package wireless-tools for the iwconfig?
i managed to download and install Queen BeeCon and did the following steps on adding the new commands, wifi hotspot and wifi. But how do I use it?
I know that this is frustrating because for me it is.... I did get the Kernel_power for my n900 just for the overclocking, I haven't used it for anything else (850mhz) and lower the voltage usage a little...
I thank you for your help but i'm not understanding how this works right now......
1. how do i know if the code is working?
Discover the wifi you setup by other device.
There's no other explicit message. It is a script version with highest simplicity anyway.
2. where can i find the package wireless-tools for the iwconfig?
root
apt-get install wireless-tools
i managed to download and install Queen BeeCon and did the following steps on adding the new commands, wifi hotspot and wifi. But how do I use it?
You may look here: http://wiki.maemo.org/Queen_BeeCon_Widget
I know that this is frustrating because for me it is.... I did get the Kernel_power for my n900 just for the overclocking, I haven't used it for anything else (850mhz) and lower the voltage usage a little...
That's okay. You are on the right track.
downstormaf
2011-06-04, 08:19
another thing i noticed when writing the code of the installation,
start wlancond
I receive the following output,
+ start wlancond
start: Job not changed: wlancond
what do i need for this? I already did the apt-get install for iptables and wireless-tools
thanks for your help
another thing i noticed when writing the code of the installation,
start wlancond
I receive the following output,
+ start wlancond
start: Job not changed: wlancond
what do i need for this? I already did the apt-get install for iptables and wireless-tools
thanks for your help
That's normal, because wlancond is already start at time you start it.
downstormaf
2011-06-04, 09:15
I managed to see the network on the pc but when i hit connect there is no connectivity....
is there something wrong or did i miss something?
I managed to see the network on the pc but when i hit connect there is no connectivity....
is there something wrong or did i miss something?
What did you see when you hit connect? You should be able to capture some screenshot here.
downstormaf
2011-06-06, 05:24
sorry for the time it took me to send you this 9000, been busy these days...
I managed to get the hotspot to show on the wifi of the pc but it doesn't seem to connect to the network, ( as you can see on the picture)...:(
Note: I changed the HotSpot name to EnderZone instead of honeypot but i let the password as default (13 ceros)
what can be wrong?
I'm using the scripts to turn off and on the wifi hotspot, copy/pasting using leafpad
another thing,
I noticed that since i've been doing this, my N900 is not detecting any wifi from the area... not even the one from my house... is there a fix for this?
thanks again for your help 9000
sorry for the time it took me to send you this 9000, been busy these days...
I managed to get the hotspot to show on the wifi of the pc but it doesn't seem to connect to the network, ( as you can see on the picture)...:(
Note: I changed the HotSpot name to EnderZone instead of honeypot but i let the password as default (13 ceros)
what can be wrong?
I'm using the scripts to turn off and on the wifi hotspot, copy/pasting using leafpad
another thing,
I noticed that since i've been doing this, my N900 is not detecting any wifi from the area... not even the one from my house... is there a fix for this?
thanks again for your help 9000
Please show me the output of the following commands under CMD:
ipconfig /all
route print
downstormaf
2011-06-06, 05:37
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : JoseRGonzalez
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : Belkin
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E9
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::28ec:7707:8b38:6f6a%32(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, June 06, 2011 1:16:23 AM
Lease Expires . . . . . . . . . . : Thursday, July 13, 2147 8:04:58 AM
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 369107706
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-31-CD-12-00-23-8B-F3-B9-99
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) Family PCI-E
Gigabit Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-23-8B-F3-B9-99
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 00-24-7E-8D-59-1A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 6TO4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 19:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 20:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 21:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Reusable Microsoft 6To4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.Belkin:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 22:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F97EFF86-C6C3-4F9A-B03A-8658A54AABB9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F0EF26BE-8BD1-4AE3-98D4-7460236AF4A0}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{D5FF5CB8-23DE-43ED-966C-FD1D3D322C65}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 26:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:3cc2:3a72:3107:b490(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::3cc2:3a72:3107:b490%26(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
C:\Windows\system32>route print
================================================== =========================
Interface List
33...00 22 fa f7 e6 e9 ......Microsoft Virtual WiFi Miniport Adapter
32...00 22 fa f7 e6 e8 ......Intel(R) WiFi Link 5100 AGN
30...00 23 8b f3 b9 99 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit
Ethernet NIC (NDIS 6.20)
12...00 24 7e 8d 59 1a ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
13...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
19...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #3
20...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #4
21...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #5
18...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #2
36...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
22...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #6
37...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
27...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
29...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
26...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
================================================== =========================
IPv4 Route Table
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.4 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.2.0 255.255.255.0 On-link 192.168.2.4 281
192.168.2.4 255.255.255.255 On-link 192.168.2.4 281
192.168.2.255 255.255.255.255 On-link 192.168.2.4 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.2.4 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.2.4 281
================================================== =========================
Persistent Routes:
None
IPv6 Route Table
================================================== =========================
Active Routes:
If Metric Network Destination Gateway
26 58 ::/0 On-link
1 306 ::1/128 On-link
26 58 2001::/32 On-link
26 306 2001:0:4137:9e76:3cc2:3a72:3107:b490/128
On-link
32 281 fe80::/64 On-link
26 306 fe80::/64 On-link
32 281 fe80::28ec:7707:8b38:6f6a/128
On-link
26 306 fe80::3cc2:3a72:3107:b490/128
On-link
1 306 ff00::/8 On-link
26 306 ff00::/8 On-link
32 281 ff00::/8 On-link
================================================== =========================
Persistent Routes:
None
C:\Windows\system32>
downstormaf
2011-06-06, 05:41
about the wifi detecting of the phone... I turned the phone on and off and managed to get the wifi of the house but the hotspot problem still persists
From the outputs you've shown me your PC is connecting to something else rather than N900. The network of my script is 192.168.1 and your PC is connecting to a network 192.168.2.
Is it your Belkin router?
downstormaf
2011-06-06, 05:54
yes that is the belkin router... did the cmd command while using the house network...
I just edited the recent post while connected to the n900
yes that is the belkin router... did the cmd command while using the house network...
I just edited the recent post while connected to the n900
You don't need to edit the old post, that would only confuse others.
Just post your new output here.
downstormaf
2011-06-06, 05:59
Here it is again using the N900 network....
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : JoseRGonzalez
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : Belkin
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E9
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::28ec:7707:8b38:6f6a%32(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, June 06, 2011 1:16:23 AM
Lease Expires . . . . . . . . . . : Thursday, July 13, 2147 8:04:58 AM
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 369107706
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-31-CD-12-00-23-8B-F3-B9-99
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) Family PCI-E
Gigabit Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-23-8B-F3-B9-99
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 00-24-7E-8D-59-1A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 6TO4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 19:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 20:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 21:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Reusable Microsoft 6To4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.Belkin:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 22:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F97EFF86-C6C3-4F9A-B03A-8658A54AABB9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F0EF26BE-8BD1-4AE3-98D4-7460236AF4A0}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{D5FF5CB8-23DE-43ED-966C-FD1D3D322C65}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 26:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:3cc2:3a72:3107:b490(Pref
erred)
Link-local IPv6 Address . . . . . : fe80::3cc2:3a72:3107:b490%26(Preferred)
Default Gateway . . . . . . . . . : ::
NetBIOS over Tcpip. . . . . . . . : Disabled
C:\Windows\system32>route print
================================================== =========================
Interface List
33...00 22 fa f7 e6 e9 ......Microsoft Virtual WiFi Miniport Adapter
32...00 22 fa f7 e6 e8 ......Intel(R) WiFi Link 5100 AGN
30...00 23 8b f3 b9 99 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit
Ethernet NIC (NDIS 6.20)
12...00 24 7e 8d 59 1a ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
13...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
19...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #3
20...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #4
21...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #5
18...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #2
36...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
22...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #6
37...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
27...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
29...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
26...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
================================================== =========================
IPv4 Route Table
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.4 25
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.2.0 255.255.255.0 On-link 192.168.2.4 281
192.168.2.4 255.255.255.255 On-link 192.168.2.4 281
192.168.2.255 255.255.255.255 On-link 192.168.2.4 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 192.168.2.4 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 192.168.2.4 281
================================================== =========================
Persistent Routes:
None
IPv6 Route Table
================================================== =========================
Active Routes:
If Metric Network Destination Gateway
26 58 ::/0 On-link
1 306 ::1/128 On-link
26 58 2001::/32 On-link
26 306 2001:0:4137:9e76:3cc2:3a72:3107:b490/128
On-link
32 281 fe80::/64 On-link
26 306 fe80::/64 On-link
32 281 fe80::28ec:7707:8b38:6f6a/128
On-link
26 306 fe80::3cc2:3a72:3107:b490/128
On-link
1 306 ff00::/8 On-link
26 306 ff00::/8 On-link
32 281 ff00::/8 On-link
================================================== =========================
Persistent Routes:
None
C:\Windows\system32>
Here it is again using the N900 network....
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : Belkin
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::28ec:7707:8b38:6f6a%32(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.2.4(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Monday, June 06, 2011 1:16:23 AM
Lease Expires . . . . . . . . . . : Thursday, July 13, 2147 8:04:58 AM
Default Gateway . . . . . . . . . : 192.168.2.1
DHCP Server . . . . . . . . . . . : 192.168.2.1
DHCPv6 IAID . . . . . . . . . . . : 369107706
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-31-CD-12-00-23-8B-F3-B9-99
DNS Servers . . . . . . . . . . . : 192.168.2.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Nah...your PC is still connecting to Belkin router.
downstormaf
2011-06-06, 06:17
I don't know what happend but everytime i did it using the n900 connection it appeared as I showed you...
Here i managed to get the n900 one
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : JoseRGonzalez
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Wireless LAN adapter Wireless Network Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Virtual WiFi Miniport Adapter
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E9
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::28ec:7707:8b38:6f6a%32(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.111.106(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 369107706
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-31-CD-12-00-23-8B-F3-B9-99
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) Family PCI-E
Gigabit Ethernet NIC (NDIS 6.20)
Physical Address. . . . . . . . . : 00-23-8B-F3-B9-99
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter Bluetooth Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Physical Address. . . . . . . . . : 00-24-7E-8D-59-1A
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter 6TO4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 19:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 20:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 21:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #5
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Reusable Microsoft 6To4 Adapter:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{A7B6C27D-3452-4883-92C8-8A08428F70E4}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 22:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft 6to4 Adapter #6
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F97EFF86-C6C3-4F9A-B03A-8658A54AABB9}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{F0EF26BE-8BD1-4AE3-98D4-7460236AF4A0}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.{D5FF5CB8-23DE-43ED-966C-FD1D3D322C65}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Local Area Connection* 26:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Windows\system32>route print
================================================== =========================
Interface List
33...00 22 fa f7 e6 e9 ......Microsoft Virtual WiFi Miniport Adapter
32...00 22 fa f7 e6 e8 ......Intel(R) WiFi Link 5100 AGN
30...00 23 8b f3 b9 99 ......Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit
Ethernet NIC (NDIS 6.20)
12...00 24 7e 8d 59 1a ......Bluetooth Device (Personal Area Network)
1...........................Software Loopback Interface 1
13...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
19...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #3
20...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #4
21...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #5
18...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #2
36...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
22...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter #6
37...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
27...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4
29...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
26...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
================================================== =========================
IPv4 Route Table
================================================== =========================
Active Routes:
Network Destination Netmask Gateway Interface Metric
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
169.254.0.0 255.255.0.0 On-link 169.254.111.106 281
169.254.111.106 255.255.255.255 On-link 169.254.111.106 281
169.254.255.255 255.255.255.255 On-link 169.254.111.106 281
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 169.254.111.106 281
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 169.254.111.106 281
================================================== =========================
Persistent Routes:
None
IPv6 Route Table
================================================== =========================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
32 281 fe80::/64 On-link
32 281 fe80::28ec:7707:8b38:6f6a/128
On-link
1 306 ff00::/8 On-link
32 281 ff00::/8 On-link
================================================== =========================
Persistent Routes:
None
C:\Windows\system32>
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) WiFi Link 5100 AGN
Physical Address. . . . . . . . . : 00-22-FA-F7-E6-E8
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::28ec:7707:8b38:6f6a%32(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.111.106(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 369107706
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-31-CD-12-00-23-8B-F3-B9-99
Your PC could not acquire the IP address from N900's DHCP server it seems.
I suspect that dnsmasq is not running. Please run the following command under xterminal of your N900 and show me the result:
ps aux | grep dnsmasq
If you've problem typing the '|' in xterminal you may just use browser to copy&paste this command line to your xterminal.
Don't worry about it. If the PC is successfully connecting to your N900, the worse you might have to do is to manually configure the IP address, gateway and DNS.
downstormaf
2011-06-06, 06:46
Here's the output
/home/user # ps aux | grep dnsmasq
+ grep dnsmasq
+ ps aux
1769 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
2258 nobody 4224 S /usr/sbin/dnsmasq -k -I lo -z -a 192.168.1.1 -F 192.1
2410 root 2092 S grep dnsmasq
Here's the output
/home/user # ps aux | grep dnsmasq
+ grep dnsmasq
+ ps aux
1769 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
2258 nobody 4224 S /usr/sbin/dnsmasq -k -I lo -z -a 192.168.1.1 -F 192.1
2410 root 2092 S grep dnsmasq
It's running fine. Do you have any firewall on your PC?
downstormaf
2011-06-06, 07:15
yes, avast internet security 6 + anti-virus....
yes, avast internet security 6 + anti-virus....
Shut it down first. Also look at WiFi's interface, the firewall on the interface must be off.
downstormaf
2011-06-06, 07:23
I disabled completely the avast internet security + anti-virus, as well as the windows firewall but the results of the connection is the same....
Identifying and no internet
I disabled completely the avast internet security + anti-virus, as well as the windows firewall but the results of the connection is the same....
Identifying and no internet
How did you connect to the connection. Have you prompted to enter password?
Show me the corresponding screenshot please.
downstormaf
2011-06-06, 07:32
Here are the screen shots of the process.
Here are the screen shots of the process.
I'm afraid for some reason the DHCP request wasn't broadcast (firewall) or the DHCP server didn't response.
Click the 'Change adapter settings', right click the WiFi interface, choose the IPv4, click property, and enter the following information manually:
IP: 192.168.1.99
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.1
And then test the connection again.
downstormaf
2011-06-06, 07:58
This did the trick, with no need to turn off the firewall....
I managed to change it manually but used the alternate configuration tab in the IPv4 properties in case I want to change to any house connection the automatic IP will act and when changing to the N900 connection it will also connect but waiting not more than 2 minutes (due to the IPv4 will run the automatic first and after finding a no successful connection it will check the alternate configuration)
Thanks 9000 for all your help and time spent due to my problem
This did the trick, with no need to turn off the firewall....
I managed to change it manually but used the alternate configuration tab in the IPv4 properties in case I want to change to any house connection the automatic IP will act and when changing to the N900 connection it will also connect but waiting not more than 2 minutes (due to the IPv4 will run the automatic first and after finding a no successful connection it will check the alternate configuration)
Thanks 9000 for all your help and time spent due to my problem
You're welcome. I'm glad that I managed to help you solved the problem before I going out for dinner tonight. ;)
downstormaf
2011-06-06, 08:09
dinner, wow it's 4:07 am over here in Puerto Rico. Thanks again for your help from half way around the world and enjoy your dinner.:)
i am having trouble figuring out how to use my nokia 6790 slide phone as a wi-fi hotspot and i would apreciate any and all help you can give me. i dont understand how to create a widget etc if you could help me id really apreciate it
thank you very much for your time have a good day :) .
i am having trouble figuring out how to use my nokia 6790 slide phone as a wi-fi hotspot and i would apreciate any and all help you can give me. i dont understand how to create a widget etc if you could help me id really apreciate it
thank you very much for your time have a good day :) .
Is 6790 running s60v3? IIRC Joikuspot supports this platform, you'd like to check their official website, or OVI.
i ve tried joikuspot ,Whisher:Easy Wifi,& WeFi for Nokia: so far and i cant seem to get anywhere its driving me buggy if theres any way to do so i would apreciate yor assistance.:)
i ve tried joikuspot ,Whisher:Easy Wifi,& WeFi for Nokia: so far and i cant seem to get anywhere its driving me buggy if theres any way to do so i would apreciate yor assistance.:)
I see. However, you can't use my script in 6790 as it is not Linux based.
is there a script for windows that i could use i dont know what to do at this time im so tired of being way over charged for internet. next they will be charging me for air ...o wait to late
is there a script for windows that i could use i dont know what to do at this time im so tired of being way over charged for internet. next they will be charging me for air ...o wait to late
LOL yes we are charged for air these days.
6790 is not running on Windows, it's running on Symbian. I wondered why you can't get Joikuspot running on Symbian. Where did you get your Joikuspot from? Is it from the official site? Does it has extension sisx?
Other option is to connect to your mobile phone via Bluetooth DUN and use it as modem for your PC, but this is quite device and mobile carrier specific, say you need to know how to establish DUN with PC, and the connection string to connect to your mobile carrier, which I can't offer further help for you in this as I'm not using 6790 and I probably use the different carrier as yours.
downstormaf
2011-06-07, 19:04
Help 78,
I used to have a nokia n97 that runs on symbian and I used to connect the phone to my pc using the nokia usb cable. After the pc having installed the mobile phone drivers you can check and see if you phone appears in the "Device and Printer" folder of windows. There should be two icons of the nokia, one for the storage device and the other for the nokia 6790.
I have set an example for you on the pictures attached, (note that this can be made with a pc that has a bluetooth device connected).
Step on how i did it,
1. go to Devices and Printers folder > right click on the phone icon > Dial - up Networking > create a dial-up connection
2. choose the first bluetooth modem selection (if it doesn't work try the others just in case)
3. In the Dial-up phone number write *99# (I don't remember where I got this number from but it has worked for me on the N97). Leave Both Username and Password in blank. You can also change the Connection Name if you like.
4. press connect button
Note,
I am using windows 7 and i think that vista also has the same feature of this kind
My_PeSePe
2011-06-09, 18:28
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 #
http://db.tt/RgbIKrW
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
From the output you provided the kernel module ipt_MASQUERADE failed to load.
Show me the output of the following:
uname -a
My_PeSePe
2011-06-10, 10:10
2.6.28.10-power47 the last kernel
2.6.28.10-power47 the last kernel
How about:
ls /lib/modules/2.6.28.10power47/ip*.ko
My_PeSePe
2011-06-10, 11:48
ls /lib/modules/2.6.28.10-power47/lip*.ko
ls: /lib/modules/2.6.28.10-power47/lip*.ko: No such file or director
ls /lib/modules/2.6.28.10power47/lib*.ko
ls: /lib/modules/2.6.28.10��power47/lib*.ko: No such file or director y
ls /lib/modules/2.6.28.10-power47/lip*.ko
ls: /lib/modules/2.6.28.10-power47/lip*.ko: No such file or director
ls /lib/modules/2.6.28.10power47/lib*.ko
ls: /lib/modules/2.6.28.10��power47/lib*.ko: No such file or director y
None of the above typed correctly. May be you could use copy&paste to paste the command line in my post to the xterminal.
My_PeSePe
2011-06-10, 12:54
http://img12.imageshack.us/img12/310/screenshot11rc.png
I wondered why there is no ip* module in it. Please show me the listing of upper directory:
ls -l /lib/modules/
My_PeSePe
2011-06-10, 13:21
$ ls -l /lib/modules/
drwxr-xr-x 2 root root 7600 Jun 9 10:45 2.6.28-omap1
drwxr-xr-x 2 root root 20208 Jun 9 10:45 2.6.28.10-power47
lrwxrwxrwx 1 root root 17 Jun 9 10:45 current -> 2.6.28.10-power47
I see, they've changed the directory name with an additional '-' in 47. I'm still using 46 and my directory is like ' 2.6.28.10power46'.
Anyway, now please show me the listing of:
ls /lib/modules/current/ip*.ko
My_PeSePe
2011-06-10, 15:08
~ $ ls /lib/modules/current/ip*ko
/lib/modules/current/ip6_tables.ko
/lib/modules/current/ip6t_LOG.ko
/lib/modules/current/ip6table_filter.ko
/lib/modules/current/ip_gre.ko
/lib/modules/current/ip_tables.ko
/lib/modules/current/ipcomp.ko
/lib/modules/current/ipcomp6.ko
/lib/modules/current/iphb.ko
/lib/modules/current/ipip.ko
/lib/modules/current/ipt_LOG.ko
/lib/modules/current/ipt_MASQUERADE.ko
/lib/modules/current/ipt_NETMAP.ko
/lib/modules/current/ipt_REDIRECT.ko
/lib/modules/current/ipt_REJECT.ko
/lib/modules/current/iptable_filter.ko
/lib/modules/current/iptable_mangle.ko
/lib/modules/current/iptable_nat.ko
/lib/modules/current/ipv6.ko
ipt_MASQUERADE.ko is there...
Try load the module in absolute path as root:
insmod /lib/modules/current/ipt_MASQUERADE.ko
My_PeSePe
2011-06-10, 17:10
/home/user # insmod /lib/modules/current/ipt_MASQUERADE.ko
insmod: error inserting '/lib/modules/current/ipt_MASQUERADE.ko': -1 Unknown symbol in module
/home/user # insmod /lib/modules/current/ipt_MASQUERADE.ko
insmod: error inserting '/lib/modules/current/ipt_MASQUERADE.ko': -1 Unknown symbol in module
I always wondered why mobile hotspot stops working after kernel-power updated to v47. This module is essential in IP routing. The tethering would not work without it.
To resolve the module problem, you might have to seek the maintainer's help. Note that the maintainer of v47 is no longer Titan. You may run 'apt-cache show kernel-power' for the contact of current maintainer.
The only help I could give is telling you how to downgrade your kernel-power back to v46, the version I'm using right now.
Downgrade is risky and you must prepare to reflash your N900 if anything goes wrong during dowgrading. I wouldn't recommend you to downgrade unless you're desperate to open a WiFi hotspot.
Tell me if you're prepared for it. I'll show you the instructions to downgrade then.
downstormaf
2011-06-11, 06:00
there must be something missing on My_PeSePe version of the power kernel 47... a package... I have the same Kernel as he does and mine is running fine thanks to you...
My_PeSePe, where did you get the info on installing the power_kernel_47?
Have you done anything after installing it?
downstormaf
2011-06-11, 06:10
also i noticed the following in My_PeSePe wifi on code:
+ 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.
My_PeSePe check if you can install the iptables through
apt-get install iptables
Maybe the installation of the kernel failed at some point that didn't install the iptables and make the ipt_MASQUERADE to malfunction...
downstormaf
2011-06-11, 06:13
Or, since his iPad detects the honeypot connection, can he change the settings to manual connection and change the IP?
IP: 192.168.1.99
Netmask: 255.255.255.0
Gateway: 192.168.1.1
DNS: 192.168.1.1
And then test the connection again.
also i noticed the following in My_PeSePe wifi on code:
+ 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.
My_PeSePe check if you can install the iptables through
apt-get install iptables
Maybe the installation of the kernel failed at some point that didn't install the iptables and make the ipt_MASQUERADE to malfunction...
I think it was because the module failed to know. I also noticed that he has no wlan0 interface display in his ifconfig listing...but first thing first, the module needs to be taken care of first.
Hi 9000. I've just found Your thread and I'm very thankful to You for it. Ho ever, while reading whole topic, i noticed that "mess" about modules in kp47. I'm by no way expert. but I'm active in kp47 topic, and AFAIK current maintainer is very "open" for fixing mistakes like that.
Can You summarize, in a way understandable for "average" kernel maintainer, what doesn't work and why + if You can what should be done to make it work? I would be my pleasure to forward all info to kernel maintainer.
/Estel
Hi Estel, I am sure Pali is and you guys are very helpful, otherwise he wouldn't take up the task of the most important package kernel power.
However, since I froze my kernel to version 46, it is unfair to comment on version 47 if I am not using it.
Nevertheless, from what My_PeSePe had reported in #66, the ipt_MASQUERADE.ko was failed to load with unresolved symbol error. This could easily be fixed by exporting the list of missing symbols during compilation, provided that the problem is consistent across all circumstance, but since downstormaf also reported the module loaded without any problem, then the issue might due to a case specific to My_PeSePe.
Therefore unless My_PeSePe could provide more information to the kernel power team, there is no way others could really help in this case, my apology.
I understand, thank You. By the way, if it's not "secret", can You tell me why you "frozen" You kernel version to v46? I was waiting to be sure that kp47 is rock stable, but after update few days ago, I'm very happy with it. If there are some serious things that are wrong with kp47, it would be glad to know it.
I understand, thank You. By the way, if it's not "secret", can You tell me why you "frozen" You kernel version to v46? I was waiting to be sure that kp47 is rock stable, but after update few days ago, I'm very happy with it. If there are some serious things that are wrong with kp47, it would be glad to know it.
I would only upgrade the kernel when it's stable enough and there is something new that I'd need. I'm sure v47 is stable enough but I've yet to see if there's anything new that is missing from v46. May be you could tell me? ;)
Rats. I was going to start using my N900 again, but can't get wifi hotspots to work.
Is there someone there with kernel power v47 or even v48, able to create wifi hotspots? I thought that it was simply not working but for what I read on this thread maybe there's something that can be done to get it working.
Thanks in advance.
peterleinchen
2011-09-04, 19:46
Running KP47 (reflashed and reinstalled all my apps a month ago) and there is no problem at all with MobileHotSpot. Started it up and got connected my other mobile to the internet via N900.
miked1541
2011-12-06, 22:48
Does anybody know if this works with KP49?
Does anybody know if this works with KP49?
Qt Mobile Hotspot (http://maemo.org/packages/view/qtmobilehotspot/) works fine with KP 49.
miked1541
2011-12-06, 23:10
Qt Mobile Hotspot (http://maemo.org/packages/view/qtmobilehotspot/) works fine with KP 49.
Was interested in the shell script version but I'll give this a try.
Thanks,
miked1541
The other point of using this script version is lower power consumption. Thanks for all the feedback.
miked1541
2011-12-08, 23:04
The other point of using this script version is lower power consumption. Thanks for all the feedback.
Yes, lower power consumption is what I am also interested in! I will try the script this evening on KP49 and holla back.
miked1541
9000, could You explain where exactly script version uses less power than new qt mobile hotspot?
Bluetooth PAN is obvious power-saver, but WiFi? I may be wrong, but AFAIK QT mobile hotspot use static GUI that run set of scripts, and in this thread we got scripts itself. Doesn't leave much room for power-saving.
/Estel
9000, could You explain where exactly script version uses less power than new qt mobile hotspot?
Bluetooth PAN is obvious power-saver, but WiFi? I may be wrong, but AFAIK QT mobile hotspot use static GUI that run set of scripts, and in this thread we got scripts itself. Doesn't leave much room for power-saving.
/Estel
I'm actually comparing to Joikuspot in term of power consumption, and referring to the technical issues of mobile hotspot with kernel update, and that occasional technical issues is what driven me to make a script version.
Of course, I'd be grateful if you'd help do the battery profiling and comparison with mobile hotspot, and share with us the results. ;)
miked1541
2011-12-09, 09:37
I tested the scripts this evening and it seems to work fine with KP49. Thank you very much for sharing this, 9000!
miked1541
I've no experience nor interest in using Joikuspot, but as for QT Mobilehotspot (!= mobilehotspot package!), it is working flawlessly - it seems, that all issues of original mobilehotspot have been fixed. For me, it's stable quality.
Not to mention many additional (optional) features like automatic USB networking and internet sharing, but it's quite off-topic here.
As for battery usage tests, I'll perform some as time permits ;)
/Estel
I've no experience nor interest in using Joikuspot, but as for QT Mobilehotspot (!= mobilehotspot package!), it is working flawlessly - it seems, that all issues of original mobilehotspot have been fixed. For me, it's stable quality.
Not to mention many additional (optional) features like automatic USB networking and internet sharing, but it's quite off-topic here.
As for battery usage tests, I'll perform some as time permits ;)
/Estel
It is good to hear that.;)
hi guys , i need so help
the hot spot did work perfectly but i need to scan my area for SSID and info.
i did create this but nothing happens, can anyone correct it for me please.
osso-xterm 'root'
'echo "ifconfig wlan0 up"'
'echo "iwlist wlan0 scan"'
'echo "ifconfig wlan0 down'"
hi guys , i need so help
the hot spot did work perfectly but i need to scan my area for SSID and info.
i did create this but nothing happens, can anyone correct it for me please.
osso-xterm 'root'
'echo "ifconfig wlan0 up"'
'echo "iwlist wlan0 scan"'
'echo "ifconfig wlan0 down'"
I wondered the purpose of scanning the area when you are opening the hotspot yourself, save avoiding channel conflict. BTW, you could use WiFieye, it is quite useful.
mauron85
2013-03-11, 09:34
I'm using N900 as router. (using USB RJ45 dongle (http://talk.maemo.org/showpost.php?p=1327887&postcount=407)). I modified your script for that purpose.
Here my remarks:
1. In open_wifi_hotspot.sh there should be:
stop dnsmasq
before you start your own dnsmasq daemon (in other case, there will be two instances running).
2. I had issues with DNSMASQ with -I parameter set to lo. Basically this limits it to localhost interface and wlan clients didn't obtain DHCP lease. So i removed -I parameter completely
3. In tar ball you have DHCP_RANGE="192.168.4.100,192.168.4.127", but suggest you to put it back to DHCP_RANGE="192.168.1.100,192.168.1.127" (as in first post)
4. In wifi.sh, we should stop dnsmasq daemon (started in open open_wifi_hotspot.sh) and start the default one.
start-stop-daemon -S -p /var/run/wifi_tethering.pid
start dnsmasq
Anyway thank you for this script. It saved lot of time.
I don't know if 9000 still available - i was hoping he might help with this:
http://talk.maemo.org/showthread.php?p=1436813#post1436813
Trying to connect to the N900 with an Android phone, I don't see honeypot in the list of Wifi networks near me. I ran the script as is, and it reported no problems.
Trying to connect to the N900 with an Android phone, I don't see honeypot in the list of Wifi networks near me. I ran the script as is, and it reported no problems.
Standard Android doesn't support to connect to ad-hoc mode.
There could be two solutions.
1. Make your Android able to connect to ad-hoc (http://szym.net/2010/12/adhoc-wifi-in-android/).
2. Or rewrite the wifi driver for N900 to support direct link.
You could also use genwall and share the internet connection over bluetooth.
But I can't see that Android can connect to the internet via a paired Bluetooth device.
But I can't see that Android can connect to the internet via a paired Bluetooth device.
Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)
I thought it should work, I never tried.
Have a look here (https://forum.xda-developers.com/showthread.php?t=666988). Maybe it helps.
Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)
Am I the only one seeing a contradiction between sentence one and sentence two?
Besides, blaming Android is getting a bit old. Who are you going to blame for my Jolla also not seeing the hotspot created by my N900?
Who are you going to blame for my Jolla also not seeing the hotspot created by my N900?
Jolla actually uses the Android kernel and modules, so so much for blaming Android :)
Nothing is easy with Android, if you do network stuff. It is designed for writing whatsapp messages for people who don't know personal computers :)
I thought it should work, I never tried.
Have a look here (https://forum.xda-developers.com/showthread.php?t=666988). Maybe it helps.
Yeah I've seen that and other web sites, but it looks like there is no magic wand out there.
Jolla actually uses the Android kernel and modules...
but it uses its own userland.
Besides, blaming Android is getting a bit old. Who are you going to blame for my Jolla also not seeing the hotspot created by my N900?
My blaming should emphasis that it could be lost time to work on it and it was related to the topic. I don't want to hurt Android-lovers, many people are satisfied with there Android and it fits there needs. Thats why Android is so successful.
Go ahead blame your Jolla I don't care it is also not a perfect device in my eyes.
In principle all smart phones have there barriers and need to be blamed for the network stuff also the N900.
It is like this, because they want to protect the stupid user and want to satisfy the mobile operators.
However to achieve my individual goals it is the easiest and fastest with N900, it is most flexible.
I guess in my dreams the definition of a smart phone is different like a small mobile computer. Thats why my mobile phone is still a N900 and I have many other smart phones in my drawer which are newer.
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.