View Single Post
Posts: 215 | Thanked: 159 times | Joined on Jan 2010
#29
$ 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
~ $