This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems setting up PyWiFi Plasmoid

Tags: None
(comma "," separated)
Budgie2
Registered Member
Posts
69
Karma
0

Problems setting up PyWiFi Plasmoid

Thu Oct 14, 2010 10:39 pm
I am running openSUSE 11.3 on T42 Thinkpad and rely on wifi in soho environment where signal strength is very variable.

I had the PyWiFi plasmoid working well with previous version of kde. After upgrading to 4.5.2 this plasmoid was replaced by another in the new grey (retrograde) format which does not, at a glance clearly indicate signal strength.

I wish to restore the PyWiFi plasmoid which does clearly show signal strength without having to hover the cursor over it. I have the dataengine installed and can drop the PyWiFi plasmoid into the system tray but I cannot get to any configuration tools in order to associate it with my wifi card.

Can anybody please help here.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
I assume you are referring to http://kde-look.org/content/show.php?content=122974
If so have you installed http://kde-look.org/content/show.php?content=122973

The documentation makes reference to "iwconfig" as well, so please make sure that is installed, and in your user path ( run 'which iwconfig' in Konsole )


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Budgie2
Registered Member
Posts
69
Karma
0
bcooksley wrote:I assume you are referring to http://kde-look.org/content/show.php?content=122974
If so have you installed http://kde-look.org/content/show.php?content=122973

The documentation makes reference to "iwconfig" as well, so please make sure that is installed, and in your user path ( run 'which iwconfig' in Konsole )


Many thanks once again. As I stated earlier I have the data engine installed.
I thought I had edited line 40 as directed but I am not sure of the syntax and may have done it wrong. My line 40 now reads:-
blob = commands.getoutput("/usr/sbin/iwconfig " + interface)


I have iwconfig in /usr/sbin. If I run which iwconfig it is not found. Not sure how to change path but surely the absolute path is used in line 40 above so why does the file have to be in environment?

Forgive beginners questions please.
Thanks again,
Budgie2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Ok, that should be fine, as the path is absolute. If you run the absolute path in Konsole, what is the output?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Budgie2
Registered Member
Posts
69
Karma
0
bcooksley wrote:Ok, that should be fine, as the path is absolute. If you run the absolute path in Konsole, what is the output?

Not sure what you mean by run here but the output from which iwconfig is :-

which iwconfig
which: no iwconfig in (/home/alastair/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/jvm/jre/bin)

If I run iwconfig I get :-
Absolute path to 'iwconfig' is '/usr/sbin/iwconfig', so running it may require superuser privileges (eg. root).

Where should I go from here?

Many thanks again,
Budgie2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you run "/usr/sbin/iwconfig" what is output?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Budgie2
Registered Member
Posts
69
Karma
0
bcooksley wrote:If you run "/usr/sbin/iwconfig" what is output?


This looks more promising:-
/usr/sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11abg ESSID:"wireless-g"
Mode:Managed Frequency:2.437 GHz Access Point: 00:1D:B3:4B:AE:14
Bit Rate=36 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=49/70 Signal level=-61 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


Grateful for your help with this. What next?
Regards,
Budgie2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please paste the output of the following:

Code: Select all
cat /proc/net/wireless | tail -n1 | awk '{print$1}' | cut -d: -f1


It should return:
Code: Select all
wlan0


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Budgie2
Registered Member
Posts
69
Karma
0
bcooksley wrote:Please paste the output of the following:

Code: Select all
cat /proc/net/wireless | tail -n1 | awk '{print$1}' | cut -d: -f1


It should return:
Code: Select all
wlan0


Hi, yes, wlan0 is what I get.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Unfortunately I don't know why it isn't working. I assume the KDE Python bindings are installed?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Did you install the dataengine using
Code: Select all
plasmapkg -t dataengine -i <file>
?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
Budgie2
Registered Member
Posts
69
Karma
0
einar wrote:Did you install the dataengine using
Code: Select all
plasmapkg -t dataengine -i <file>
?


Yes I did.
I have decided to switch back to kde 4.4.4 which comes from the openSUSE repo site. I think there were real problems with the many lib packages and I shall wait until kde 4.5 is supported by openSUSE.

Many thanks for your help.
Regards,
Budgie2
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is probable the Plasma bindings were not upgraded, rendering them incompatible, causing them to not be loaded, either partly or completely.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]