![]() |
[HOWTO] N900 WiFi Hotspot (shell script version)
1 Attachment(s)
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. Code:
You can turn it off by using any WiFi switching applet/widget, or you could use this script (again, run as root): Code:
#!/bin/sh 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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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. Code:
IroN900:/usr/bin# wlapon Greetz, J4ZZ |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Bows in gratitude _O_
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
Or you may just run that particular line that changes the wifi back to managed. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Brilliant mate, that did it... ;)
cheers, ..::J4ZZ::.. Edit: Yay, 200 posts reached. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
Thanks again, i. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
I forgot to mention this is provided by the package wireless-tools. I'll revise the instructions. Thank you for your feedback. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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... |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
There's no other explicit message. It is a script version with highest simplicity anyway. Quote:
Code:
root Quote:
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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? |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
1 Attachment(s)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
Code:
ipconfig /all |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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> |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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? |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
Just post your new output here. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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> |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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> |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
I suspect that dnsmasq is not running. Please run the following command under xterminal of your N900 and show me the result: Code:
ps aux | grep dnsmasq 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. |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
yes, avast internet security 6 + anti-virus....
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
Quote:
|
Re: [HOWTO] N900 WiFi Hotspot (shell script version)
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 |
All times are GMT. The time now is 11:48. |
vBulletin® Version 3.8.8