![]() |
Re: N900 as a Wifi Hotspot, part 2
I have been able to get Mobile Hotspot to work with my laptop but there are problems with the connection. Hotspot uses "Celluar data" APN instead of the T-Mobile Internet APN that I normally use. This "Celluar data" APN also does not appear in my Connections in Settings. This causes my laptop to direct me to the T-Mobile website and says my data plan requires an upgrade.
How can I get Hotspot to use my T-Mobile Internet APN instead since that seems to be the problem? |
Re: N900 as a Wifi Hotspot, part 2
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
Do you use fmms ? It does some twiddling with the data connections' settings, so make sure your device itself is set to use correct APN etc, then re-select the GPRS connection name to use (just to be sure). If all this is ok and it still doesn't work then your provider is doing some sort of packet inspection to detect connection sharing/tethering; one or both of which might be against the TOS (terms if service). |
Re: N900 as a Wifi Hotspot, part 2
Rambo, you've really got your **** down. I really appreciate all your support.
How do I uninstall those drivers since i couldn't get fcamera to install to begin with. :( :confused: |
Re: N900 as a Wifi Hotspot, part 2
Has anyone tried connecting to DS wifi using this, and it worked?
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
So it seems there may be an issue with serving DHCP on the N900. Cheers |
Re: N900 as a Wifi Hotspot, part 2
End user here, so apologies, trying to install mobilehotspot and am told I need application package: wireless tools. is this available via app manager, cant locate it... thanks.
|
Re: N900 as a Wifi Hotspot, part 2
Hey guys, I need some help. I've installed mobile hotspot and iptables by following the directions but yet to be able to get it all to work. How can I troubleshoot to find the problem?
When I try to connect to the wifi signal with my Nokia N82, I get "no gateway reply". |
Re: N900 as a Wifi Hotspot, part 2
Quote:
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
[QOUTE]
The backend does start normally though (via terminal run "sudo mobilehotspot_backend start" to see output) ? Does your N82 get IP address from the DHCP server on N900 (I have no idea how to check on that device so you're on your own with that), what happens if you set the IP manually (see earlier in this thread for details about that) ? Does it work with a laptop ? Does N82 have some sort if ping utility, can you ping the N900 ?[/QUOTE] First of all thanks for the reply. I have started Mobile Hotspot on the backend and it starts up but i have no idea on how to read all the processes going on. I have also tried the connection on my laptop and it does connect but stops at "identifying" and never actually connects. I would post my xterminal results when I start it from the backend if I knew how... |
Re: N900 as a Wifi Hotspot, part 2
Hey there rambo,
I'd like to ask a few questions about mobile hotspot : 1. Is it possible to get some logs / counter about actions being performed in the area of "DHCP Requests, Leases, Wireless peers connected, etc" 2. Can this information be viewed in a file? 3. Can it be added to mobile hotspot? Why? Lets say I connect some device via wifi, and something goes bad with DHCP, I'd like to be able to check why this is happening. Cheers mate, Eitam. |
Re: N900 as a Wifi Hotspot, part 2
Quote:
Wireless peers and (per interface) data counters should be possible as is. Packet capture (to see DHCP requests [in case dhcpds logging is not enough]) would be possible but is kinda overkill to support in mobilehotspot itself, if you need it you know how to do it from the terminal. So the information is sort-of available but it's spread around. List of wireless peers is the only thing I'm at the moment planning on adding to the frontend at some point. Quote:
Quote:
Quote:
Remember to change your encryption password (if you're using encryption) before doing this, otherwise anyone reading this thread can see it. |
Re: N900 as a Wifi Hotspot, part 2
Quote:
I do get multiple times where I try to connect my N95 to the N900 via wifi, and there is no internet, most of the time I have to reboot the N900 for it to start working properly, this is the main reason i'd like to see for example a log where it will indicate a DHCP request arrived, and ip x.y.z.c has been given, Now I can open the terminal and try and ping my N95, or oven open a tcp session to it. Is switching to dhcpd possible? is it installed by default / installable on n900? Can you give me some directions? Will mobilehotspot work with dhcpd in the backend? Cheers! |
Re: N900 as a Wifi Hotspot, part 2
Quote:
/home/user # mobilehotspot_backend start DEBUG: executing uname -r DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/nf_conntrack.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/nf_defrag_ipv4.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/nf_conntrack_ipv4.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/x_tables.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/ip_tables.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/nf_nat.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/iptable_nat.ko DEBUG: executing lsmod DEBUG: executing insmod /lib/modules/2.6.28.10power37/ipt_MASQUERADE.ko ERROR:dbus.proxies:Introspect error on :1.81:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method icd2_state_listener got args: (dbus.String(u''), dbus.UInt32(0L), dbus.String(u''), dbus.String(u'GPRS'), dbus.UInt32(83886080L), dbus.ByteArray('e501ef50-b363-447f-a73b-9c2e29046238\x00'), dbus.String(u''), dbus.UInt32(2L)) state['icd']: {'old_connection_type': 'GPRS', 'old_connection_name': 'e501ef50-b363-447f-a73b-9c2e29046238'} DEBUG: executing ifconfig wlan0 down DEBUG: executing iwconfig wlan0 mode ad-hoc DEBUG: executing ifconfig wlan0 up DEBUG: executing iwconfig wlan0 essid "MobileHotSpot" DEBUG: executing ifconfig wlan0 10.179.203.1 netmask 255.255.255.0 up DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.179.203.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.179.203.10,10.179.203.100,6h --dhcp-option=3,10.179.203.1 --dhcp-option=6,10.179.203.1 DEBUG: executing iptables --flush DEBUG: executing iptables --flush -t nat DEBUG: executing iptables -P FORWARD ACCEPT DEBUG: executing iptables -P INPUT ACCEPT DEBUG: executing iptables -P OUTPUT ACCEPT DEBUG: executing iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE /home/user # if you need one with a laptop connected i will post another log but i already spotted an error... |
Re: N900 as a Wifi Hotspot, part 2
Quote:
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
thanks for your patience with me so far... |
Re: N900 as a Wifi Hotspot, part 2
Can't this thing works without Kernel Power?
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
Long version: It requires netfilter support from kernel which the stock kernel does not have. If you compile your own kernel then you can use that (see the project homepage for some instructions [they're bit old, I stopped compiling mobilehotspot specific kernels when titan added netfilter to kernel-power]). Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Does anyone else know how to switch from DHCP to "manual" and how to set the DNS server address? I dont want to start a new thread and clutter the forums. Please feel free to chime in if you have any idea.
|
Re: N900 as a Wifi Hotspot, part 2
In case I was not clear, this is the Vista manual IP configuration, Google is your friend: http://tinyurl.com/275poof
|
Re: N900 as a Wifi Hotspot, part 2
That clear things up a bit for me, rambo. Would I have to do this for every device that connects to my n900? Is there a way to make changes on my n900 so other device can connect to it without having to change any settings?
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
In some cases manual configuration does not help either (but the "physical" wifi layer claims there's a link), then it get's really hairy to debug. |
Re: N900 as a Wifi Hotspot, part 2
Installed Titan's kernel yesterday to get Mobile Hotspot working, and after a little playing around I'm extremely impressed. It connected to my brother's N97 Mini, and was giving excellent speeds at a distance of up to 15 metres! I have noticed iPhones and iPods seems a little reluctant to connect to the network, but once they have it works fantastically. I now plan on buying a wifi only iPad to use as a laptop replacement in conjunction with my N900 and Mobile Hotspot for university next year. Nice work Rambo! :)
|
Re: N900 as a Wifi Hotspot, part 2
Hi,
I bought Joikuspot when it was first released but recently got tired of the problems and moved to Mobile Hotspot. I have 2 problems a) After about 20 to 30 minutes of using mobile hotspot I lose connectivity. When I restart mobilehotspot my phone crashes and reboots. The crash causes the OS to not load Titan when it comes up so I need to then reboot again. What's going on? Joikuspot also died after 20 minutes or so but the phone was super hot and I had to wait until it cooled before I could use it. Is there anything I can do? b) When I loaded Mobile hotspot I added a shortcut to my desktop. The desktop icon is gone but the Desktop still thinks its there so I can't add it. How do I resolve this? I guess I can remove and reload but was curious if there was a fix. Thanks. |
Re: N900 as a Wifi Hotspot, part 2
Quote:
Are you running the kernel overclocked and if so how much ? Quote:
There also might be a "crash log" in /dev/mtd2 ("cat /dev/mtd2" in terminal), if the kernel had time to write it before hitting the ground. Quote:
If someone could try editing the .desktop file on their device and figure out what needs to be changed to get this working I'd be happy. |
Re: N900 as a Wifi Hotspot, part 2
That's the only problem I have; I can't add a desktop shortcut at all (not an option when selecting Add Shortcut from the edit desktop menu).
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Can i use mobilehotspot with usbnetwork (dummy network) ?
|
Re: N900 as a Wifi Hotspot, part 2
Only bug I've noticed is that Mobile Hotspot will "fail to start" whilst the wall charger is plugged in. Needs to be plugged in once the connection has started. Otherwise, again, worked flawlessly for an hour with an iPad.
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
Not with mobilehotspot per se (you can only select GPRS connections in the frontend) but you can make your own script for sharing the USB connection, it's actually really simple when you don't need to take any general cases into account. Check the thread linked in first post for some examples of early scripts. |
Re: N900 as a Wifi Hotspot, part 2
Quote:
|
Re: N900 as a Wifi Hotspot, part 2
Quote:
In those cases /dev/mtd2 was showing something that helped debugging (AFAIRecall). |
Re: N900 as a Wifi Hotspot, part 2
I cant get it working, same as joiku, the connection is there, i am able to connect with the ipad, but then im not alloed to surf... Why ?
(i do have the titan Kernel) Thx in Advance |
Re: N900 as a Wifi Hotspot, part 2
Quote:
It's also possible that your cellular provider not only forbids "tethering"/"connection sharing" in the contracts but also does packet-inspection on traffic to enforce this (it's possible to detect NAT by examining TCP sequence numbers etc). |
Re: N900 as a Wifi Hotspot, part 2
Quote:
My Provider didnt locked my connection, i have extra chosen a contract where my ports arent closed, but thanks for the reminder :) |
Re: N900 as a Wifi Hotspot, part 2
it is a joke? i mean is it for real that in order to have an working application i have to do something with the kernel, and write a script than i have to build up a whole operation system than hack it twice?
i am a regular user. i never even typed in a command or else. i just want my n900 to share the hot spot. I thought it is enough to buy the phone than follow the installation window. Thats what i did and it does not work. wonder why should it be so complicated... |
Re: N900 as a Wifi Hotspot, part 2
Quote:
Well, then the n900 is the completely wrong phone for you :D |
Re: N900 as a Wifi Hotspot, part 2
Looks like a troll but I'll bite.
Quote:
Quote:
Custom kernel is a requirement since the stock one lacks support for something called netfilter (Joiku works around this in "interesting" way). Frankly the big WARNING about custom kernel is supposed to scare away people who refuse to do a little bit of debugging themselves in the case the things don't go according to the instructions. |
Re: N900 as a Wifi Hotspot, part 2
was piss easy to install, and works waaaaaaaaay better than joikuspot!
The big start button made me laugh too ;) If you don't want to risk installing the cutom kernel then do as Rambo says and get joikuspot. |
| All times are GMT. The time now is 16:17. |
vBulletin® Version 3.8.8