Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 as a Wifi Hotspot, part 2

    Reply
    Page 10 of 41 | Prev |   8     9   10   11     12   20 | Next | Last
    BlackDiamond | # 91 | 2010-04-17, 05:11 | Report

    Thanks rambo. It works now.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lstrike21 | # 92 | 2010-04-19, 01:45 | Report

    I am having some trouble setting this up. I am running titans kernel. The mobile hotspot app seems to run and my computer connects but no Internet. Here is the error I get when I run the backend from the command line:

    ERROR:dbus.proxies:Introspect error on :1.84:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method

    Any help is appreciated.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    geohsia | # 93 | 2010-04-19, 02:51 | Report

    Originally Posted by rambo View Post
    edit: Do you mean reflashing stock kernel made no difference to Joikuspot ? Interesting but can't really help with that.
    I re-installed the stock kernel and my whole system started having serious issues. Things started slowing down to the point where it was unusable. Since then I have re-flashed and its back to normal.

    So I have a few questions regarding Mobile Hotspot.

    a) What kind of performance are you guys getting? Is it the same as tethered? Right now T-Mobile gives me 4.5 Mb/s (speedtest on phone and tethered to laptop) but I get no more than 1.2 Mb/s using Joikuspot. Can I get close to tethered speeds using Mobile hotspot?

    b) When you access the internet using the phone, does that affect your connected speed from laptop? With Joikuspot when the phone accesses the internet (Gpodder getting feeds) my laptop becomes essentially unresponsive and connectivity returns after Gpodder stops retrieving feeds

    c) How hot does the phone get? My phone gets hot enough so that I have to stop the app after 15 minutes. Once I restart Joiku I get connectivity. I don't know if it's a memory leak issue or a heat issue but I find I need to stop every once in a while.

    d) Does anyone have Mobile Hotspot and overclocking? I'd like to get up to 850 MHz but with Joikuspot I feel like I'll def. fry my phone.

    e) Do you know if Mobile Hotspot will support infrastructure mode eventually?

    Sorry for all of the questions. I don't mind spending money but if Mobile Hotspot is better, I'm happy to load that instead. Thanks.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 94 | 2010-04-19, 05:23 | Report

    Originally Posted by lstrike21 View Post
    ERROR:dbus.proxies:Introspect error on :1.84:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method
    Post full output, that is just a complaint from DBUS since IcD2 does not support introspection (grr!) and is not the source of the problem.

    Originally Posted by geohsia View Post
    a) What kind of performance are you guys getting? Is it the same as tethered? Right now T-Mobile gives me 4.5 Mb/s (speedtest on phone and tethered to laptop) but I get no more than 1.2 Mb/s using Joikuspot. Can I get close to tethered speeds using Mobile hotspot?
    I don't know of the magnitudes (have not made measurements) but tethering via cable is always going to have less overhead and thus will always be faster. How much this in practise and whether it's worth fiddling with the cable? As usual: "it depends".

    Originally Posted by geohsia View Post
    b) When you access the internet using the phone, does that affect your connected speed from laptop? With Joikuspot when the phone accesses the internet (Gpodder getting feeds) my laptop becomes essentially unresponsive and connectivity returns after Gpodder stops retrieving feeds
    Of course more users on the network affect speeds for everyone, I have not run any tests to see if the device local processes have some sort of priority (in practise they might since they're not going through the NAT).

    However both hotspot and titans kernel have QoS compiled in so if you want to tweak things grab iproute2 and start reading lartc. Wondershaper is also might usefull.

    The reason hotspot does not use wondershaper (or similar techniques) by default is that I have no idea how to reliably determine the connection speed (without doing some sort of active speed-tests which have their own problems).

    Originally Posted by geohsia View Post
    c) How hot does the phone get? My phone gets hot enough so that I have to stop the app after 15 minutes. Once I restart Joiku I get connectivity. I don't know if it's a memory leak issue or a heat issue but I find I need to stop every once in a while.
    People have reported the phone barely getting warm even after long use.

    Originally Posted by geohsia View Post
    d) Does anyone have Mobile Hotspot and overclocking? I'd like to get up to 850 MHz but with Joikuspot I feel like I'll def. fry my phone.
    http://talk.maemo.org/showpost.php?p...2&postcount=22 would suggest that it should be safe (as far as the hotspot is concerned [it it does not lock you to high frequency or anything])

    Originally Posted by geohsia View Post
    e) Do you know if Mobile Hotspot will support infrastructure mode eventually?
    If it's possible at all then eventually it will happen, however it might take a long while for this eventuality to happen.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by rambo; 2010-04-19 at 05:26. Reason: minor typo fixes

     
    geohsia | # 95 | 2010-04-19, 05:45 | Report

    Rambo, thanks for the thorough reply. One last noob question. Last week when I saw Mobile Hotspot come up in the App manager I downloaded and installed. I didn't find this thread until later. I know the steps listed on page 1 of this thread has all of the instructions to install dependencies and etc. If I install through apps manager will it include all dependencies? Just want to make sure I'm doing this right. I also assume that I have to uninstall Joiku as well.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 96 | 2010-04-19, 06:09 | Report

    Originally Posted by geohsia View Post
    I know the steps listed on page 1 of this thread has all of the instructions to install dependencies and etc. If I install through apps manager will it include all dependencies? Just want to make sure I'm doing this right.
    Application manager will (in theory) install all the dependencies, including a kernel that supports NAT. You will need to reboot after installing if you were not running a NAT-kernel before installing mobilehotspot.

    I find it interesting that you have extras-devel enabled on your device as routine (I enable it on mine only when I wish to test something from there and disable it afterwards, extras-testing I keep enabled all the time...). Of course some people do, nothing wrong with that since you're ready to reflash whenever needed.

    Originally Posted by geohsia View Post
    I also assume that I have to uninstall Joiku as well.
    Joiku might not work with the custom kernel but I see no reason why it would conflict by just being installed on the system.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lstrike21 | # 97 | 2010-04-19, 12:33 | Report

    @Rambo: Thanks for following up!

    Here you go...

    /home/user # /usr/sbin/mobilehotspot_backend start ; echo $?DEBUG: executing uname -r
    DEBUG-read_previous_state: setting state key 'gconf' to value: {'wlan_search_interval': 0}
    DEBUG-read_previous_state: setting state key 'kernel' to value: {'loaded_modules': {'x_tables': False, 'nf_nat': True, 'nf_conntrack': True, 'ipt_MASQUERADE': True, 'nf_conntrack_ipv4': True, 'ip_tables': False, 'iptable_nat': True, 'nf_defrag_ipv4': True}}
    DEBUG-read_previous_state: setting state key 'icd' to value: {'old_connection_type': 'GPRS', 'old_connection_name': '5e76c352-7e2d-4884-88ec-c004c4745f90'}
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/nf_conntrack.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/nf_defrag_ipv4.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/nf_conntrack_ipv4.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/x_tables.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/ip_tables.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/nf_nat.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/iptable_nat.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10power-omap1/ipt_MASQUERADE.ko
    ERROR:dbus.proxies:Introspect error on :1.83:/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('5e76c352-7e2d-4884-88ec-c004c4745f90\x00'), dbus.String(u''), dbus.UInt32(2L))
    state['icd']:

    {'old_connection_type': 'GPRS', 'old_connection_name': '5e76c352-7e2d-4884-88ec-c004c4745f90'}
    DEBUG: executing ifconfig wlan0 down
    DEBUG: executing iwconfig wlan0 mode ad-hoc
    DEBUG: executing ifconfig wlan0 up
    DEBUG: executing iwconfig wlan0 key 5gfuygcgutd564562 restricted
    DEBUG: executing iwconfig wlan0 essid "MobileHotSpot"
    DEBUG: executing ifconfig wlan0 10.176.159.1 netmask 255.255.255.0 up
    DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.176.159.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.176.159.10,10.176.159.100,6h --dhcp-option=3,10.176.159.1 --dhcp-option=6,10.176.159.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
    0

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by lstrike21; 2010-04-19 at 18:38.

     
    ghedamat | # 98 | 2010-04-19, 13:50 | Report

    Well.. for me the mobile hotspot app works great!
    thank you guys! great work!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    twoboxen | # 99 | 2010-04-19, 14:06 | Report

    Originally Posted by lstrike21 View Post
    I am having some trouble setting this up. I am running titans kernel. The mobile hotspot app seems to run and my computer connects but no Internet. Here is the error I get when I run the backend from the command line:

    ERROR:dbus.proxies:Introspect error on :1.84:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method

    Any help is appreciated.
    I think I have the same issue... just FYI.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 100 | 2010-04-19, 17:49 | Report

    Originally Posted by twoboxen View Post
    I think I have the same issue... just FYI.
    http://talk.maemo.org/showpost.php?p...3&postcount=94 (first on the list of replies)

    Originally Posted by lstrike21 View Post
    ....
    DEBUG: executing iwconfig wlan0 key XXXXX restricted
    Forgot to say that you should change the WEP (if using) key first, I hope you're not using that anywhere else.

    Originally Posted by lstrike21 View Post
    ...
    0
    The backend starts fine as far as the program itself is concerned (exit code 0), what is the problem ?

    1. Can you connect to the Ad-Hoc network at all, what happens if you disable WEP ?
    2. Do you get IP-address automatically ? If you do can you ping the N900 (10.176.159.1 in your case)
    3. If you do not get IP automatically can you set one manually and then ping the N900 (10.176.159.1 is N900 ip, use it as gateway, use 10.176.159.5 as your manual IP [obviously the netmask is /24 or 255.255.255.0])

    I have sometimes seen it happen (with my Mac laptop) that things seem to go fine but I simply cannot ping the N900 no matter what I do. I have no idea so far as to why this would happen.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 10 of 41 | Prev |   8     9   10   11     12   20 | Next | Last
vBulletin® Version 3.8.8
Normal Logout