• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8
[RELEASE]Network-Manager front-end for XBMCbuntu
#31
apologies for sounding like a complete dunce but I was hoping that somebody could help with my xbmc/wifi problem.

I have a n300 wireless adapter and have installed Network-Manager through the add-ons. The problem I am having is that when I attempt to configure the network I am presented with one screen offering me the chance to Disable ipv6 (in NEW connections only). I have not been able to select my network nor see a list of available networks.

Any help would be gratefully received.

Thanks
Reply
#32
The ipv6 setting is a default value for all new connection until you change it. I do not offer settings per connection other then pass key.
(due to too much work making the gui). Disable it or not and the proceed to add connections.

Reply
#33
(2012-09-05, 17:40)vikjon0 Wrote:
(2012-09-05, 11:49)Brian_S Wrote: Hi There,

I'm using a Raspberry pi (Raspbmc RC4) with the latest update (it uses network-manager-0.9.4) and I get the same as SkankArmor in that I can see the list of networks, and it appears as though everything goes ok, but the network is never connected. I've uploaded my logs here:

http://www.valvers.com/files/rpi/wifi-logs.zip

Here is an interested extract from the xbmc.log session:

Code:
20:29:09 T:1247790144   ERROR: Exception in python script callback execution
20:29:09 T:1247790144   ERROR: Traceback (most recent call last):
20:29:09 T:1247790144   ERROR:   File "/home/pi/.xbmc/addons/script.linux.nm/resources/lib/addConnection.py", line 87, in onClick
20:29:09 T:1247790144   ERROR: connection_created = self.add_wireless(ssid,encryption)
20:29:09 T:1247790144   ERROR:   File "/home/pi/.xbmc/addons/script.linux.nm/resources/lib/addConnection.py", line 149, in add_wireless
20:29:09 T:1247790144   ERROR: finished, connection_created, con_path = self.add_wireless_sub(ssid, encryption, connection_created, con_path)
20:29:09 T:1247790144   ERROR:   File "/home/pi/.xbmc/addons/script.linux.nm/resources/lib/addConnection.py", line 171, in add_wireless_sub
20:29:09 T:1247790144   ERROR: con_path = qfpynm.add_wifi(ssid,key,encryption,wep_alg,self.disable_ipv6 )
20:29:09 T:1247790144   ERROR:   File "/home/pi/.xbmc/addons/script.linux.nm/resources/lib/qfpynm.py", line 375, in add_wifi
20:29:09 T:1247790144   ERROR: con_path =  nm_settings_iface.AddConnection(config)
20:29:09 T:1247790144   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
20:29:09 T:1247790144   ERROR: **keywords)
20:29:09 T:1247790144   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
20:29:09 T:1247790144   ERROR: message, timeout)
20:29:09 T:1247790144   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/exceptions.py", line 45, in __init__
20:29:09 T:1247790144   ERROR: if name is not None or getattr(self, '_dbus_error_name', None) is None:
20:29:09 T:1247790144   ERROR: TypeError
20:29:09 T:1247790144   ERROR: :
20:29:09 T:1247790144   ERROR: 'NoneType' object is not callable

Not sure. I just tested on Ubuntu 12.04 where 0.9.4 is default and it works fine.
I need to test it myself when I can find the time. Have you tested the same wifi adaptor on the same wifi on xbmcbuntu?
(To exclude the possibility that the problem is unrelated to pi)

I have the exact same stack trace.

My Wifi dongle (ASUS N10) works fine on my Raspberry Pi with Raspbian.
On Raspbmc I have installed Network-Manager (0.1.4) from XBMC's interface.
When I try to enter the WEP key, it first says it's not properly formed, when I enter the hexadecimal version of the key, it pretends to do something, but nothing appears on the GUI. When I go back to the first screen of Network-Manager, I see the access point I tried to access to with a "a" in front.
If I look at xbmc.log I see the same trace as above (exact lines).

Edit: I changed my access point encryption to WPA/PSK and it now works (however Raspbian didn't mind WEP). However, since both my router and some of my wifi devices don't handle WPA properly, I would like to keep using WEP so it would be good if the problem mentioned in the stacktrace could be fixed
Reply
#34
Im a Linux newb.. I have been trying all day to get my ICIDU N300 Dongle to work, but without luck .. At first i tried from terminal but that only seem to have screwed up things so i did a fresh install and tried your Network Manager .. I cant get it to work.. The ICIDU N300 dongle runs with a Atheros chipset and those drivers are allready included in RaspBMC .. If i use Terminal i can also use "nmcli dev wifi list" and see a list of SSID's .. But if i use your tool to do the same i dont get anything.. The list is just empty.. Sad

EDIT:
Did a fresh re-install of RaspBMC again and this time it worked.. Wierd.. Smile
Reply
#35
Hello,

I have installed Networ-manager on ubuntu 12.04 minimal install.
Network Manager add-on is not listing my wireless connections

Try to add this to: /var/lib/polkit-1/localauthority/50-local.d/custom-actions.pkla:

Action=org.freedesktop.network-manager-settings.*;org.freedesktopesktop.DBus.*

And also add xbmc user to the netdev group

But it did not help.

Here the Debug log:

Code:
15:25:26 T:139779156989696   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.linux.nm/default.py
15:25:26 T:139779156989696   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.linux.nm:/home/xbmc/.xbmc/addons/script.module.xbmcswift/lib:/home/xbmc/.xbmc/addons/script.module.pyamf/lib:/usr/share/xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.xmltodict/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.common.plugin.cache/lib:/home/xbmc/.xbmc/addons/script.module.simple.downloader/lib:/home/xbmc/.xbmc/addons/script.module.buggalo/lib:/home/xbmc/.xbmc/addons/script.module.parsedom/lib:/home/xbmc/.xbmc/addons/script.module.xbmcswift2/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/pymodules/python2.7:
15:25:26 T:139779156989696   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.linux.nm
15:25:26 T:139779156989696   DEBUG: Instantiating addon using automatically obtained id of "script.linux.nm" dependent on version 2.0 of the xbmc.python api
15:25:26 T:139779156989696  NOTICE: [SCRIPT] 'script.linux.nm: version 0.1.4' initialized!
15:25:26 T:139780487141248   ERROR: ClearBlock: Trying to clear non existent block /home/xbmc/.xbmc/addons/script.linux.nm
15:25:26 T:139780487141248   DEBUG: ------ Window Init (/home/xbmc/.xbmc/addons/script.linux.nm/resources/skins/default/720p/script_linux_nm-main.xml) ------
15:25:26 T:139780487141248    INFO: Loading skin file: /home/xbmc/.xbmc/addons/script.linux.nm/resources/skins/default/720p/script_linux_nm-main.xml
15:25:26 T:139779156989696  NOTICE: updating list
15:25:26 T:139779156989696   ERROR: ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/NetworkManager/Settings: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=1620 comm="/usr/lib/xbmc/xbmc.bin --standalone ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=861 comm="NetworkManager ")
15:25:26 T:139779156989696  NOTICE: .
15:25:26 T:139779156989696   ERROR: ERROR:dbus.proxies:Introspect error on :1.3:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.19" (uid=1000 pid=1620 comm="/usr/lib/xbmc/xbmc.bin --standalone ") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.3" (uid=0 pid=861 comm="NetworkManager ")
15:25:26 T:139779156989696  NOTICE: .
15:25:26 T:139779156989696   ERROR: Exception in python script callback execution
15:25:26 T:139779156989696   ERROR: Traceback (most recent call last):
15:25:26 T:139779156989696   ERROR:   File "/home/xbmc/.xbmc/addons/script.linux.nm/resources/lib/gui.py", line 39, in onInit
15:25:26 T:139779156989696   ERROR: devlist = qfpynm.list_wifi_devices()
15:25:26 T:139779156989696   ERROR:   File "/home/xbmc/.xbmc/addons/script.linux.nm/resources/lib/qfpynm.py", line 169, in list_wifi_devices
15:25:26 T:139779156989696   ERROR: devices = nm_iface.GetDevices()
15:25:26 T:139779156989696   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
15:25:26 T:139779156989696   ERROR: return self._proxy_method(*args, **keywords)
15:25:26 T:139779156989696   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
15:25:26 T:139779156989696   ERROR: **keywords)
15:25:26 T:139779156989696   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
15:25:26 T:139779156989696   ERROR: message, timeout)
15:25:26 T:139779156989696   ERROR:   File "/usr/lib/python2.7/dist-packages/dbus/exceptions.py", line 45, in __init__
15:25:26 T:139779156989696   ERROR: if name is not None or getattr(self, '_dbus_error_name', None) is None:
15:25:26 T:139779156989696   ERROR: TypeError
15:25:26 T:139779156989696   ERROR: :
15:25:26 T:139779156989696   ERROR: 'NoneType' object is not callable

Can someone help here. For me it look like some rights missing

CU Online
Reply
#36
is there a way to install the back end needed for this to work in openelec rpi?
Reply
#37
Network manager is giving me script error on xbmcbuntu 12 rc1 Sad please help
Reply
#38
(2012-12-11, 01:40)jesterod Wrote: is there a way to install the back end needed for this to work in openelec rpi?
Not an easy way
I have now tested the raspxbmc beta and not only does it work fine, it is pre-installed!
Not sure if there was never an issue or Sam has fixed somthing in the os. If so thanks!
Reply
#39
i dont like the rasbmc its buggy more so than openelec but less so than xbian
Reply
#40
the forum merged my two posts. The second part was not directed to you.
raspxbmc is debiean based while openelec is not. you need to get dbus & nm 0.9 to work to start with. I have no clue how to do that.
Reply
#41
(2012-12-16, 04:48)shivup Wrote: Network manager is giving me script error on xbmcbuntu 12 rc1 Sad please help

This is correct. Thanks for point this is out. The problem is that python-dbus is missing.
I have emailed the developer of xbmcbuntu

Meanwhile you can add python-dbus and it will work

Reply
#42
I just installed XBMCbuntu Frodo from my thumb drive. Have laptop on ethernet pulling from my server fine, but can't get wifi to connect in Network Manager. (used programs, get new to acquire). Seems that both of my SSIDs jsut keep asking me for the key - every time I type it, it comes back asking for the key. Maybe I am encountering this problem because Frodo isn't full prod yet?
Reply
#43
to follow up:

I have gotten Frodo w/ Network Manager 0.1.4 to join my non-encrypted guest wireless, but my private wireless isn't joinable... How can I uninstall the current version of network manager and install a previous version? I read on here how to hit CTRL ALT F1 to get out of the GUI but need guidance from here.
Reply
#44
The xbmc network manager only uses the underlaying ubuntu system, it will not help to get another version.

Exit xbmc and login to the xbmcbuntu desktop. Try to connect with the desktop (gnome) network manager.
If that does not work you need to change the settings on the router.
Reply
#45
dependencies? I get a script error
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
[RELEASE]Network-Manager front-end for XBMCbuntu3