• 1
  • 3
  • 4
  • 5
  • 6(current)
  • 7
[RELEASE] Wireless Manager (Wicd based) Addon for Linux
#76
Hi thanks for your help.

Ok I downloaded the zip repro file from the previous posts and using the repro installer from xbmc passion . However is the it seems that theres communication problems heres the log section. Do I have the wrong URL ?

ERROR: GetDirectory - Unable to get http directory
21:03:01 T:139744260380416 M:2884132864 ERROR: GetDirectory - Error getting http://github.com/vikjon0/qf-xbmc-addons....wireless/
21:03:01 T:139744260380416 M:2884132864 ERROR: Could not read addon description of script.linux.wireless

Many thanks
#77
Quote:ERROR: GetDirectory - Unable to get http directory
Jepp, not sure what happened because I have not changed anything. My guess is that something has shifted on github without my knowledge/understanding. Looks like I just have to change this URLs.

You could try to install the wireless addon directly
https://github.com/downloads/vikjon0/qf-...-0.0.3.zip
or
https://github.com/downloads/vikjon0/qf-...ffline.zip

As you can see to I am not working a lot with this for the moment. Not sure how much interest there is and I also want to see the development in the next version of xbmc.
#78
Hey vikjon0,

Nice little program you made there, well done.
I am having a problem but I am pretty sure it isnt related to your program but maybe you might know what it is - since you are the network expertNod.

I blacklisted my wireless network card (shuttle - extremely slow) and used ndiswrapper to successfully install a usb device. It works perfectly for a while then it drops the connection (network and internet) and doesnt pick it up.
I notice even when it does drop the connection your add-on still shows the network up but it just wont re connect. Is it possible to connect through your application? I can see the network but my only options are Remove auto, Disconnect and Scan.

I think the issue is something to do with the blacklisted wireless being chosen over ndiswrapper after the network goes down once but I am not too sure where to go - I know alot of this is unrelated to your app of courseNerd
#79
Quote: I can see the network but my only options are Remove auto, Disconnect and Scan.

I dont really now, but I suggest you drop out to terminal and see how it looks in wicd-curses.

My second suggestion is to check in bios if you cant completly disable the onboard NIC.
#80
thanks vikjon,

I looked at wcid-curses and the info is the same as your program which is good.
The only thing i need to do now is try and tell that usb adaptor to connect to it when it isnt on it - it can always see it regardless.

Edit: You were right vikjon changing a few things in wicd-curses gave me a perfectly stable connection Cool
#81
SDM2011 Wrote:Re:github, it wasn't working last yesterday when I first tried either, and it still isn't, so that would be a pretty long-lived glitch.

Re: more errors, I didn't run it with debugging enabled. Let me know if you need such a detailed log. I did just notice another error in the log (when scanning for networks):

Code:
DEBUG: /home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py:146: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
ERROR: Exception in python script's onAction

The traceback lists:
Code:
13:44:12 T:140415672653568 M:3374915584  NOTICE: Traceback (most recent call last):
13:44:12 T:140415672653568 M:3374915584  NOTICE:   File "/home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py", line 146, in onAction
13:44:12 T:140415672653568 M:3374915584  NOTICE: if action in self.action_cancel_dialog:
13:44:12 T:140415672653568 M:3374915584  NOTICE:   File "/home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py", line 40, in onInit
13:44:12 T:140415672653568 M:3374915584  NOTICE: self.showDialog()
13:44:12 T:140415672653568 M:3374915584  NOTICE:   File "/home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py", line 84, in showDialog
13:44:12 T:140415672653568 M:3374915584  NOTICE: self.updateList()
13:44:12 T:140415672653568 M:3374915584  NOTICE:   File "/home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py", line 299, in updateList
13:44:12 T:140415672653568 M:3374915584  NOTICE: wlessL = self.get_wireless_networks()
13:44:12 T:140415672653568 M:3374915584  NOTICE:   File "/home/sandro/.xbmc/addons/script.linux.wireless/resources/lib/gui.py", line 183, in get_wireless_networks
13:44:12 T:140415672653568 M:3374915584  NOTICE: if net_dict['connected'] == 'True':
13:44:12 T:140415672653568 M:3374915584  NOTICE: KeyError
13:44:12 T:140415672653568 M:3374915584  NOTICE: :
13:44:12 T:140415672653568 M:3374915584  NOTICE: 'connected'

Hi there,

I was getting the same problem as yours above on Ubuntu 11.04. This does not happen with 10.10.

It took me a while to get to the bottom of it, but I got there in the end.

The problem is not with vikjon0's excellent script, but with wicd and Ubuntu 11.04.

Essentially, the wicd function RenameProcess in /usr/share/pyshared/wicd/misc.py does a test to see whether you're on a 64bit or 32bit Ubuntu, upon which it sets the libc path to /lib64/libc.so.6 (for 64bit) or /lib/libc.so.6 (32bit).

However, in 11.04, for 32bit, the path is now at /lib/i386-linux-gnu/libc.so.6. Path is similarly changed to /lib64/x86_64-linux-gnu/libc.so.6 for 64bit.

Two quick solutions is given below, and choose whichever you like best:

1. Do a softlink to the actual libc file as so:

32bit:

Code:
sudo ln -s /lib/i386-linux-gnu/libc-2.13.so /lib/libc.so.6

64bit:

Code:
sudo ln -s /lib64/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6

2. Change the file /usr/share/pyshare/wicd/misc.py

WARNING: This replaces the strings "in line". No backups.

Code:
sudo sed -i 's|/lib/libc.so.6|/lib/i386-linux-gnu/libc.so.6|' /usr/share/pyshared/wicd/misc.py

sudo sed -i 's|/lib64/libc.so.6|/lib/i386-linux-gnu/libc.so.6|' /usr/share/pyshared/wicd/misc.py

The script should now work.

I should probably file a bug report on Ubuntu for this, and the problem should go away eventually without having to do either of the above.

Hope that helps.
#82
I'm running into the same KeyError using Ubuntu 11.10 and the Nov 15th Nightly. I've tried following the instructions above to create a softlink, but it doesn't seem to fix anything. I'm ultra new to Linux, so it could be that I'm doing something wrong. Have the locations changed for 11.10? I'd love to get this working.
#83
I have tried to run this on Linux Mint 10.10 + Dharma 10.1 . I tried the version 0.0.2 from Zip file and it shows networks and xbmc never seems to get an IP.

So I added the repo (which I did not really want to do because I am making a Mint 10 Dharma 10.1 generic as possible build for Apple TV). When I try to update the add on it just fails with "update failed". (0.0.6)

Installation also fails from repos on clean install.

Although mint uses network manager I dont think WiCD will conflict as long as I do not run Gnome. Maybe I am wrong?

Any clues?
#84
Quote:Although mint uses network manager I dont think WiCD will conflict as long as I do not run Gnome. Maybe I am wrong?
Dont know, but you should run wicd from command line to test it out first. If wicd does not work, the add-on never will. In Ubuntu there is a conflict between the two.
#85
What is the conflict in Ubuntu and how does one overcome it?

I had tried this also on XBMC live with Dharma 10.1 . It never seemed to work there either and that is ubuntu based.

In this partucular instance it is Mint 10 (ubuntu 10.10 ) on Apple Tv
#86
Quote:What is the conflict in Ubuntu and how does one overcome it?
Dont know. Do not have both installed.

Quote:I had tried this also on XBMC live with Dharma 10.1 . It never seemed to work there either and that is ubuntu based.
Test wicd-curses, if that does not work the add-on never will.
#87
nice work, will you upgrade soon to xbmc eden?
#88
Quote:nice work, will you upgrade soon to xbmc eden?
Not sure. I will not do anything before Eden is released and I can take a look. Some wifi stuff is perhaps included in standard but I have not seen any details.
#89
I have upgraded to Eden.
https://github.com/downloads/vikjon0/xbm...11.0.0.zip

The install function have been removed.

You need to remove network manager and install wicd curses otherwise it does not work.
Quote:sudo apt-get purge network-manager network-manager-gnome
sudo apt-get install wicd-curses
#90
BTW, I am looking for help with the GUI development and any feedback.
  • 1
  • 3
  • 4
  • 5
  • 6(current)
  • 7

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Wireless Manager (Wicd based) Addon for Linux1