View Single Post
Posts: 29 | Thanked: 0 times | Joined on Dec 2009 @ India Chennai
#158
$ sudo /usr/sbin/mobilehotspot_backend start ; echo $?
DEBUG: executing uname -r
DEBUG-read_previous_state: setting state key 'gconf' to value: {'wlan_search_interval': 600}
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': 'bsnlmobiltv'}
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.85:/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('bsnlmobiltv\x00'), dbus.String(u''), dbus.UInt32(2L))
state['icd']:

{'old_connection_type': 'GPRS', 'old_connection_name': 'bsnlmobiltv'}
DEBUG: executing ifconfig wlan0 down
DEBUG: executing iwconfig wlan0 mode ad-hoc
DEBUG: executing ifconfig wlan0 up
DEBUG: executing iwconfig wlan0 key 3132333030 restricted
DEBUG: executing iwconfig wlan0 essid "MobileHotSpot"
DEBUG: executing ifconfig wlan0 10.97.195.1 netmask 255.255.255.0 up
DEBUG: executing /usr/sbin/dnsmasq -i wlan0 -a 10.97.195.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.97.195.10,10.97.195.100,6h --dhcp-option=3,10.97.195.1 --dhcp-option=6,10.97.195.1
DEBUG: Command output:
dnsmasq: failed to bind listening socket for 10.97.195.1: Address already in use
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 134, in start
self.start_run_dnsmasq()
File "/opt/mobilehotspot/libs/backend.py", line 258, in start_run_dnsmasq
helpers.exec_cmd(dnsmasq_command + dnsmasq_options)
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 '/usr/sbin/dnsmasq -i wlan0 -a 10.97.195.1 -I lo -z -x /var/run/dnsmasq.wlan0.pid --dhcp-range=10.97.195.10,10.97.195.100,6h --dhcp-option=3,10.97.195.1 --dhcp-option=6,10.97.195.1' returned with code 512 (0 expected)
1

now getting the above error Rambo***