| Prev | 11   19     20   21   22     23   31 | Next | Last
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 as a Wifi Hotspot, part 2 (https://talk.maemo.org/showthread.php?t=48075)

Corso85 2010-07-05 12:58

Re: N900 as a Wifi Hotspot, part 2
 
Hi all

I've done something stupid and updated to 1.2. Now MobileHotspot does not work anymore :-(. The one app that was stopping me from selling the n900.

Anywayz. I tried the following:
1. Installed from extras-testing. rebooted.
2. Followed the instructions on http://mobilehotspot.garage.maemo.org/ and rebooted.

in Both cases it didn't work. What happens is:

It connects to 3g. then after 2 or 3 seconds it says Hotspot failed to start.

Nonetheless, I can see the access point from my iPod and laptop and when I connect to it. I get an IP. but I don't get an internet connection. like nothing opens.

Launching it from terminal gives me this error:

ERROR: dbus.proxies:Introspect error on :1.79:/com/nokia/icd2: dbus.exceptions.dbusexception: org.freedesktop.dbus.error.notsupported: unsupported interface or metho.

HELP. Thanks

rambo 2010-07-05 13:04

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by Corso85 (Post 741208)
ERROR: dbus.proxies:Introspect error on :1.79:/com/nokia/icd2: dbus.exceptions.dbusexception: org.freedesktop.dbus.error.notsupported: unsupported interface or metho.


This error is irrelevant.

However first install the power kernel and reboot then try again running from terminal and post full ouput (remember to change WEP password first).

Corso85 2010-07-05 13:34

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by rambo (Post 741214)
This error is irrelevant.

However first install the power kernel and reboot then try again running from terminal and post full ouput (remember to change WEP password first).

Code:

ERROR:dbus.proxies:Introspect error on :1.83:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method
DEBUG: backend start exit code 256, output:

ERROR:dbus.proxies:Introspect error on :1.83:/com/nokia/icd2: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unsupported interface or method
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
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.78.181.1 netmask 255.255.255.0 up
DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.78.181.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.78.181.10,10.78.181.100,6h --dhcp-option=3,10.78.181.1 --dhcp-option=6,10.78.181.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
DEBUG: Command output: iptables v1.3.6: Couldn't load target `MASQUERADE':/lib/iptables/libipt_MASQUERADE.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
Traceback (most recent call last):
  File "/usr/sbin/mobilehotspot_backend", line 14, in <module>
    sys.exit(backend.cli())
  File "/opt/mobilehotspot/libs/backend.py", line 395, in cli
    backend.start()
  File "/opt/mobilehotspot/libs/backend.py", line 135, in start
    self.start_setup_NAT()
  File "/opt/mobilehotspot/libs/backend.py", line 285, in start_setup_NAT
    helpers.exec_cmd('iptables --table nat --append POSTROUTING --out-interface ' + self.gprsif + ' -j MASQUERADE')
  File "/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 'iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE' returned with code 512 (0 expected)
^C~ $ Traceback (most recent call last):               
  File "/usr/bin/mobilehotspot", line 13, in <module>
    f.mainloop()
  File "/opt/mobilehotspot/libs/frontend.py", line 267, in mainloop
    gtk.main()


What do you think?

rambo 2010-07-05 13:52

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by Corso85 (Post 741244)
Code:

DEBUG: executing insmod /lib/modules/2.6.28.10power37/ipt_MASQUERADE.ko
....
DEBUG: executing iptables --table nat --append POSTROUTING --out-interface gprs0 -j MASQUERADE
DEBUG: Command output: iptables v1.3.6: Couldn't load target `MASQUERADE':/lib/iptables/libipt_MASQUERADE.so: cannot open shared object file: No such file or directory


The iptables package installation is somehow broken, try (in terminal, as root) "apt-get install --reinstall iptables".

Corso85 2010-07-05 14:50

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by rambo (Post 741275)
The iptables package installation is somehow broken, try (in terminal, as root) "apt-get install --reinstall iptables".

"apt-get install --reinstall iptables" didn't work. It said iptables cannot be downloaded.

So I went with:
dpkg --purge mobilehotspot
dpkg --purge iptables
apt-get install iptables
apt-get install mobilehotspot
reboot

It's working now. yay! Thanks. :)

Bigv69er 2010-07-09 22:59

Re: N900 as a Wifi Hotspot, part 2
 
i was having the same issue.. but because i went from overclocked.. so kernel wouldnt install..
it kept telling me that kernel-power is dependent on kernel-power-modules i tried installing that n it told me that it was depenndednt on the other program... so i juss combined them all

apt-get install --reinstall -y kernel-power kernel-power-flasher kernel-power-modules

and it worked





program works... i have a problem though... my PS3 wont find it. when i scan for networks... help

YoDude 2010-07-09 23:40

Re: N900 as a Wifi Hotspot, part 2
 
Quote:

Originally Posted by Bigv69er (Post 746675)
i was having the same issue.. but because i went from overclocked.. so kernel wouldnt install..
it kept telling me that kernel-power is dependent on kernel-power-modules i tried installing that n it told me that it was depenndednt on the other program... so i juss combined them all

apt-get install --reinstall -y kernel-power kernel-power-flasher kernel-power-modules

and it worked





program works... i have a problem though... my PS3 wont find it. when i scan for networks... help

It pro'ly isn't configured to scan Ad Hoc connections. Android isn't either.

On Android you can change that if you have root access.


edit /system/etc/wifi/tiwlan.ini to read:

Code:

WiFiAdHoc = 1
dot11DesiredSSID = N900AdHoc (or whatever)
dot11DesiredBSSType = 0

edit /data/misc/wifi/wpa_supplicant.conf to read:

Code:

ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)

You're gonna have to root around in PS3 to find similar files... As you can tell, I don't know a dang thing about PS3. :)

Bigv69er 2010-07-12 08:47

Re: N900 as a Wifi Hotspot, part 2
 
LOL yeah... its kool though.. thnx for tryin to help

OMG i wanna get this to work..

my friend has the Nexus one.. and his has the wifi hotspot app.. and i was playin Call of duty Modern Warfare 2.. its awesome NO LAGG..

someone please help me!!!

also having a second issue.. i cant get my desktop to recognize the network.. it wont ask me if its a home or public network.. anyone know how to do it manually on windows 7 :????

bman 2010-07-13 08:21

Re: N900 as a Wifi Hotspot, part 2
 
the new update of mobile hotspot works for me where the previous 1 didnt!! yay
but is it possible for it to act as a gateway for my router
as i have set my router as a repeater meaning it can pick up wifi signal and distribute through the lan and create a new wifi signal to distribute over

Bigv69er 2010-07-13 23:50

Re: N900 as a Wifi Hotspot, part 2
 
so it comepletely stopped workin.. i oculdnt get it to work on my desktop.. worked only once with my laptop...

so i got joikuspot... works ok.. but i hate that it makes my cell get all hot.. and then its limited to 11mbps wtf!!!

anyone know how to take off the limitation????


| Prev | 11   19     20   21   22     23   31 | Next | Last
All times are GMT. The time now is 18:12.

vBulletin® Version 3.8.8