Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    N900 as a Wifi Hotspot, part 2

    Reply
    Page 3 of 41 | Prev |   1     2   3   4     5   13 | Next | Last
    rambo | # 21 | 2010-04-10, 14:52 | Report

    Originally Posted by cardiff-blues View Post
    i installed via the built in app manager.
    Then it might have installed the kernel but not flashed it yet, so install the kernel-maemo-flasher and reboot, then the hotspot should be usable.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tiivonen | # 22 | 2010-04-10, 18:24 | Report

    I had troubles with joikuspot so I installed Mobile Hotspot. I already have titans ulv kernel (currently running at max 600mhz) so I only needed Mobile Hotspot packages. installation was easy, just one reboot and it was good to go.

    I've been using it for few hours now and I've noticed that it uses lot less resources than joikuspot. With heavy network traffic joikuspot stays around 500-600mhz and phone gets very warm. Mobile Hotspot just idles at 250mhz, phone isn't warm even after hours of web surfing and downloading. And there's no difference in download/upload speeds.

    I say YAY!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Flynx | # 23 | 2010-04-11, 05:12 | Report

    Hmmm. I installed mobilehotspot and verified I have all the dependencies listed on the garage page (reinstalled them all just to be sure). All except for the kernel since I am using the maemo20 kernel that is supposed to already have NAT support. Unfortunately mobilehotspot runs but the network consistently fails to start. I will try the kernel listed on the garage page, but shouldn't it work with both?

    EDIT - dpkg gave me some errors with the hotspot kernel on the garage page so I backed out of that.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Flynx; 2010-04-11 at 07:12.

     
    Flynx | # 24 | 2010-04-11, 05:28 | Report

    I never paid for Joikuspot on my N95 because I knew I would just have to pay for it *again* on my N900. But it sure would be nice to be able to connect my nook and netbook and everything when I'm sitting in airports.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rambo | # 25 | 2010-04-11, 08:15 | Report

    Originally Posted by Flynx View Post
    Hmmm. I installed mobilehotspot and verified I have all the dependencies listed on the garage page (reinstalled them all just to be sure). All except for the kernel since I am using the maemo20 kernel that is supposed to already have NAT support. Unfortunately mobilehotspot runs but the network consistently fails to start. I will try the kernel listed on the garage page, but shouldn't it work with both?
    It should work with any kernel that has netfilter and full-NAT, titans kernel has those.

    start the hotspot backend via terminal to see debug output

    Code:
    sudo /usr/sbin/mobilehotspot_backend start ; echo $?
    Originally Posted by Flynx View Post
    EDIT - dpkg gave me some errors with the hotspot kernel on the garage page so I backed out of that.
    Maybe copy-paste the errors here the next time you decide to try it ?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to rambo For This Useful Post:
    Flynx

     
    eitama | # 26 | 2010-04-11, 11:24 | Report

    Hello,

    I have installed mobilehotspot from application manager.
    When I try to use it from terminal I get this error :

    Nokia-N900-02-8:/usr/bin# ./mobilehotspot
    ERROR:dbus.proxies:Introspect error on :1.90:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method

    When I try to use it from GUI, it says "Hotspot failed to start"

    What am I doing wrong?

    Thanks.

    Edit : I have just installed titan's ulv maemo20 kernel, and it still doesn't work. It connect to the internet 3g access point, but fails to start. same errors.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by eitama; 2010-04-11 at 11:57. Reason: Update.

     
    rambo | # 27 | 2010-04-11, 16:45 | Report

    Originally Posted by eitama View Post
    What am I doing wrong?
    run the backend manually as in my post above and post results. the frontend does not do anything interesting...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    eitama | # 28 | 2010-04-11, 17:51 | Report

    Originally Posted by rambo View Post
    run the backend manually as in my post above and post results. the frontend does not do anything interesting...
    Here it is :

    /home/user # /usr/sbin/mobilehotspot_backend start ; echo $?DEBUG: executing uname -r
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    DEBUG: executing lsmod
    ERROR:dbus.proxies:Introspect error on :1.82:/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('Internet 3G\x00'), dbus.String(u''), dbus.UInt32(2L))
    state['icd']:

    {'old_connection_type': 'GPRS', 'old_connection_name': 'Internet 3G'}
    DEBUG: executing ifconfig wlan0 down
    DEBUG: executing iwconfig wlan0 mode ad-hoc
    DEBUG: executing ifconfig wlan0 up
    DEBUG: executing iwconfig wlan0 essid "hgfd"
    DEBUG: executing ifconfig wlan0 10.238.172.1 netmask 255.255.255.0 up
    DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.238.172.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.238.172.10,10.238.172.100,6h --dhcp-option=3,10.238.172.1 --dhcp-option=6,10.238.172.1
    DEBUG: Command output: dnsmasq: failed to bind listening socket for fe80::367e:39ff:fe6b:eeac: Cannot assign requested address
    Traceback (most recent call last):
    File "/usr/sbin/mobilehotspot_backend", line 14, in <module>
    sys.exit(backend.cli())
    File "/home/opt/mobilehotspot/libs/backend.py", line 381, in cli
    backend.start()
    File "/home/opt/mobilehotspot/libs/backend.py", line 134, in start
    self.start_run_dnsmasq()
    File "/home/opt/mobilehotspot/libs/backend.py", line 247, in start_run_dnsmasq
    helpers.exec_cmd(dnsmasq_command + dnsmasq_options)
    File "/home/opt/mobilehotspot/libs/helpers.py", line 12, in exec_cmd
    raise Exception("Command '" + cmd + "' returned with code " + str(return_code) + " (" + str(expect_code) + " expected)")
    Exception: Command '/usr/sbin/dnsmasq -i wlan0 -a 10.238.172.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.238.172.10,10.238.172.100,6h --dhcp-option=3,10.238.172.1 --dhcp-option=6,10.238.172.1' returned with code 256 (0 expected)
    1
    /home/user #

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Flynx | # 29 | 2010-04-11, 18:12 | Report

    $ sudo /usr/sbin/mobilehotspot_backend start ; echo $?
    DEBUG: executing uname -r
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/nf_conntrack.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/nf_defrag_ipv4.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/nf_conntrack_ipv4.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/x_tables.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/ip_tables.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/nf_nat.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/iptable_nat.ko
    DEBUG: executing lsmod
    DEBUG: executing insmod /lib/modules/2.6.28.10maemo-omap1/ipt_MASQUERADE.ko
    ERROR:dbus.proxies:Introspect error on :1.78:/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('T-Mobile Internet\x00'), dbus.String(u''), dbus.UInt32(2L))
    state['icd']:

    {'old_connection_type': 'GPRS', 'old_connection_name': 'T-Mobile Internet'}
    DEBUG: executing ifconfig wlan0 down
    DEBUG: executing iwconfig wlan0 mode ad-hoc
    DEBUG: executing ifconfig wlan0 up
    DEBUG: executing iwconfig wlan0 essid "HotSpot"
    DEBUG: executing ifconfig wlan0 10.242.95.1 netmask 255.255.255.0 up
    DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.242.95.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.242.95.10,10.242.95.100,6h --dhcp-option=3,10.242.95.1 --dhcp-option=6,10.242.95.1
    DEBUG: Command output: dnsmasq: failed to bind listening socket for fe80::c238:f9ff:feee:f25f: Cannot assign requested address
    Traceback (most recent call last):
    File "/usr/sbin/mobilehotspot_backend", line 14, in <module>
    sys.exit(backend.cli())
    File "/home/opt/mobilehotspot/libs/backend.py", line 381, in cli
    backend.start()
    File "/home/opt/mobilehotspot/libs/backend.py", line 134, in start
    self.start_run_dnsmasq()
    File "/home/opt/mobilehotspot/libs/backend.py", line 247, in start_run_dnsmasq
    helpers.exec_cmd(dnsmasq_command + dnsmasq_options)
    File "/home/opt/mobilehotspot/libs/helpers.py", line 12, in exec_cmd
    raise Exception("Command '" + cmd + "' returned with code " + str(return_code) + " (" + str(expect_code) + " expected)")
    Exception: Command '/usr/sbin/dnsmasq -i wlan0 -a 10.242.95.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.242.95.10,10.242.95.100,6h --dhcp-option=3,10.242.95.1 --dhcp-option=6,10.242.95.1' returned with code 256 (0 expected)
    1
    ~ $

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Flynx | # 30 | 2010-04-11, 18:15 | Report

    It looks like it is close to working. I can see the mobilehotspot network on my netbook. Just cant connect. that gives me hope!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 3 of 41 | Prev |   1     2   3   4     5   13 | Next | Last
vBulletin® Version 3.8.8
Normal Logout