KWlanInfo

Network

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 67%
Description:

!!! KWireless renamed to KWlanInfo !!!
A renaming of kwireless was necessary to avoid an name conflict with kdenetwork3-kwireless.

KWlanInfo provides some information about wlan interfaces.

It's a kicker applet and so you must start it with a right click on a empty space in the kicker panel and then add it. At time it only works proper, if the wlan interface is set to "managed" mode (Access point).

Meanwhile it's tested with many wlan cards and distributions, but some wlan drivers do not set wlan statistics proper and so you get wrong data displayed.

Last changelog:

15 years ago

!!!!!!!!!!!!!!!!!!!! Attention!!!!!!!!!!!!!!!!!!!!!
KWireless renamed because there's a conflict with a standard kwireless-applet in KDE. The new name is now KWlanInfo
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

0.9.4
Improvements:
- Opening info window does not appear in taskbar
- Min/Max indicators on bars in info window to see best and worst values of a connection
- Tooltip window for each bar shows full bar name and level (usefull if bar text to small or truncated)

0.9.3
Errors removed:
- Header files missing on some systems
- Nickname and ESSID on some systems not correctly displayed or kwlaninfo crashed

0.9.2
Error removed:
- Nickname and ESSID sometimes not updated

0.9.1
Errors removed:
- Header file error (wireless.h not found on some systems)
- Bars in info window have now the same colors like bars in applet

Behavior improved:
- info window on mouse over event now always on top
- if text to big for bar view, it will be truncated and not removed like in older versions

0.9.0b
Reimplementation of some code:
There are no longer depencies to any extern files or programs (e.g. /proc/net/wireless, ifconfig ...).

0.8.3
Some compilation errors, program crashes on newer systems (KDE 3.2 + gcc 3.3) removed. Sorry, inadvertance of the programmer ;-)).

0.8.2
All regular expressions in QString changed to standard string functions, so you should be able to compile kwlaninfo with Qt >= 3.x
Following bug in KDE-3.2 fixed: info window shown in klwaninfo applet widget

0.8.1
Size of kwlaninfo now configurable. You can choose following modes (preferences dialog):
normal: ratio height:width = 1:2
condensed: ratio height:width = 1:1
ultra condensed: ratio height:width = 2:1

You can now choose when info bar shall be visible. Following modes are availible (preferences dialog):
Mouseover: info bar will be visible if you move mouse pointer over kwlaninfo
Double Click: info bar is visible on a double click on kwlaninfo
(in both modes info bar is hidden if mouse pointer leaves kwlaninfo)

infobar shows graphical signal strength too

bar text will be removed if it's to big for the view

type selection in preferences dialog removed

0.8
KWlanInfo applet still runs even of missing or removing wlan card.
In this case it displays an error and in a tooltip (mouse over kwlaninfo applet) it shows an error message.
If card will be inserted it shows the normal bar view again.

0.7.2
Redesign of the source code
IP address in info window added
Danish translation added (thanks to the translator "Frederik Dannemare")

0.7.1
Compiling error using qt version < 3.2 removed
Compiling of kwireless requires now only qt version >= 3.1

0.7:
Info window shows now wlan settings like ESSID, Access Point ...
German translation included.
Following bug removed:
The info window was possibly not displayed correct (out of screen), if kicker panel or kwireless changed their position. Now the position of info window is correctly calculated.

0.6-release-2:
An error occurs while opening preferences in Version 0.6. Now opening preferences works correct.
Further you need Qt Version 3.2.3 or higher.

0.6:
"Type" in preferences dialog is reserved for future use.
Customizing of kwireless improved (see preferences dialog).
Following features added:
- setting of font and font color
- setting own bar colors for different levels.
- setting level values for changing the bar colors

0.6-pre:
Calculation of bar text size improved. On mouseEnter event a info window is shown.

0.5.1:
While setting up preferences first time the "Procfile" value was empty. Now it's initial value is set to "/proc/net/wireless"

snow-tux

12 years ago

http://www.bk-s.de/linux/kwlaninfo-0.9.4-1.i386.rpm

Report

snow-tux

12 years ago

http://www.bk-s.de/linux/kwlaninfo-0.9.4-1.i386.rpm

Report

pvitt72

13 years ago

Info is displayed correctly only the first time I move the mouse pointer over the applet. The second time, the nickname and the essid are not correctly displayed.

kwlaninfo-0.9.4 (compiled from source)
FC4
KDE3.5
wireless-tools-28-0.pre10.4
kernel-2.6.14-1.1653_FC4
madwifi-0.0-0.lvn.12.20050917.4
kernel-module-madwifi-2.6.14-1.1653_FC4-0.0-0.lvn.12.20050917.4

Report

pvitt72

13 years ago

More precisely: essid is truncated to the first character, and the nickname is empty.

Report

frosterrj

14 years ago

trying to configure on Mandrake 10.1, KDE3.2.3 (generic Mandrake 10.1 OE) and get the following make error with and without specifying --prefix

checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!

What is the Mandrake prefix anyway? I tried /usr/local/kde, but it still failed.


R

Report

C

phtest

14 years ago

You must install X sources from your distribution.

Report

-x-

14 years ago

if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT kwlaninfo.lo -MD -MP -MF ".deps/kwlaninfo.Tpo" \
-c -o kwlaninfo.lo `test -f 'kwlaninfo.cpp' || echo './'`kwlaninfo.cpp; \
then mv -f ".deps/kwlaninfo.Tpo" ".deps/kwlaninfo.Plo"; \
else rm -f ".deps/kwlaninfo.Tpo"; exit 1; \
fi
kwlaninfo.cpp: In destructor `virtual KWlanInfo::~KWlanInfo()':
kwlaninfo.cpp:67: error: `::close' undeclared (first use here)
kwlaninfo.cpp: In function `KPanelApplet* init(QWidget*, const QString&)':
kwlaninfo.cpp:136: warning: unused parameter `const QString&configFile'
kwlaninfo.cpp: In member function `bool KWlanInfo::read_iwconfig()':
kwlaninfo.cpp:352: error: `exp10' undeclared (first use this function)
kwlaninfo.cpp:352: error: (Each undeclared identifier is reported only once for

Any ideas?

Slackware 10, KDE 3.2.3, Korg 2.6.8

Report

C

phtest

14 years ago

Please include the two bold lines into kwlaninfo.cpp and try again.

#include "kwlaninfo.h"
#include "about.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>

KWlanInfo::KWlanInfo(const QString& configFile, Type type, int actions, QWidget *parent, const char *name)
: KPanelApplet(configFile, type, actions, parent, name)
...

Report

-x-

14 years ago

Beautifull... works like a charm now.
Thank you very much =)

Report

vorticies

14 years ago

Tried 0.9.2-pre with same behavior.

Report

vorticies

14 years ago

On Gentoo 2004.2 x86_64

./configure works

make ends with

kwlaninfo.cpp: In function `KPanelApplet* init(QWidget*, const QString&)':
kwlaninfo.cpp:137: warning: unused parameter `const QString&configFile'
kwlaninfo.cpp: In member function `bool KWlanInfo::read_iwconfig()':
kwlaninfo.cpp:339: error: invalid conversion from `void*' to `const char*'
kwlaninfo.cpp:341: error: invalid conversion from `void*' to `const char*'
make[2]: *** [kwlaninfo.lo] Error 1
make[2]: Leaving directory `/usr/src/compile/kwlaninfo-0.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/compile/kwlaninfo-0.9.1'
make: *** [all] Error 2

Report

C

phtest

14 years ago

Please edit the following two lines in ../kwlaninfo-0.9.1/src/kwlaninfo.cpp.

Line 339: strcpy(if_dev.essid,iwr.u.data.pointer)
to: strcpy(if_dev.essid,(char*)iwr.u.data.pointer);

Line 341: strcpy(if_dev.nick,iwr.u.data.pointer);
to: strcpy(if_dev.nick,(char*)iwr.u.data.pointer);

Report

vorticies

14 years ago

I made the changes and it compiles now. However, it doesn't give the correct readings for my PrismGT card. It takes one reading (which is usually wrong) and then doesn't update again when it is set to update every second. For the last 5 min it has shown my signal as 54 dbm, my noise as 52 dbm, and my quality at 95%. This can't be right, especially when iwconfig gives different numbers. Thanks for the help.

Report

C

phtest

14 years ago

Please send me the output of iwconfig, your linux/qt/kde versions.

Report

vorticies

14 years ago

eth0 no wireless extensions.

lo no wireless extensions.

sit0 no wireless extensions.

eth1 IEEE 802.11b/g ESSID:"FFLAMB2004"
Mode:Managed Channel:6 Access Point: 00:09:5B:95:D8:C4
Bit Rate:54Mb/s Sensitivity=200/200
Retry min limit:8 RTS thr:2347 B Fragment thr:2346 B
Encryption key:****-****-** Security mode:open
Link Quality=197/0 Signal level=-58 dBm Noise level=-239 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


That's my iwconfig (I hid my encryption key). At the time I took that the applet showed 0 in all three bars. It also did not show my essid. My KDE is 3.2.3. QT is 3.3.2. I'm running Gentoo x86_64 with a 2.6.7 kernel. My wireless card is from Compex (PrismGT chipset) and I'm using the prism54 drivers compiled into the kernel and the latest firmware for the card.

Report

C

phtest

14 years ago

Please test the kwlaninfo-0.9.2-pre version on my homepage www.ph-home.de/opensource/kde3/kwlaninfo.

Report

oshogg

14 years ago

Hi,

I wonder what are the differences between this and kwirelessmonitor? Why do both exist?

Osho

Report

yurkjes

14 years ago

Furthermore, there is something called 'kifi' in kdenonbeta which seems to do what this tool and the other do.

I've not tried any of them, but 3 separate apps with 1 already being in a position to transition to the a real kde module (kdenonbeta -> kdenetwork) seems a bit over whelming.

Report

eyecon

14 years ago

In file included from kwlaninfo.cpp:28:
kwlaninfo.h:35:22: wireless.h: No such file or directory
In file included from kwlaninfo.cpp:28:
kwlaninfo.h:164: error: field `ifr' has incomplete type
kwlaninfo.h:165: error: field `iwr' has incomplete type
kwlaninfo.h:166: error: field `iw_stats' has incomplete type
kwlaninfo.cpp: In constructor `KWlanInfo::KWlanInfo(const QString&,
KPanelApplet::Type, int, QWidget*, const char*)':
kwlaninfo.cpp:43: error: `ifr' undeclared (first use this function)
kwlaninfo.cpp:43: error: (Each undeclared identifier is reported only once for
each function it appears in.)
kwlaninfo.cpp:43: error: `IFNAMSIZ' undeclared (first use this function)
kwlaninfo.cpp: In function `KPanelApplet* init(QWidget*, const QString&)':
kwlaninfo.cpp:137: warning: unused parameter `const QString&configFile'
kwlaninfo.cpp: In member function `bool KWlanInfo::checkForInterfaces()':
kwlaninfo.cpp:153: error: `iwr' undeclared (first use this function)
kwlaninfo.cpp:154: error: `iw_stats' undeclared (first use this function)
kwlaninfo.cpp:155: error: `SIOCGIWSTATS' undeclared (first use this function)
kwlaninfo.cpp: In member function `bool KWlanInfo::read_iwconfig()':
kwlaninfo.cpp:334: error: `SIOCGIWESSID' undeclared (first use this function)
kwlaninfo.cpp:336: error: `SIOCGIWNICKN' undeclared (first use this function)
kwlaninfo.cpp:338: error: `SIOCGIWMODE' undeclared (first use this function)
kwlaninfo.cpp:341: error: `SIOCGIWAP' undeclared (first use this function)
kwlaninfo.cpp:345: error: `SIOCGIWRATE' undeclared (first use this function)
kwlaninfo.cpp:347: error: `SIOCGIWFREQ' undeclared (first use this function)
make[2]: *** [kwlaninfo.lo] Error 1
make[2]: Leaving directory `/root/kwlaninfo-0.9.0b/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kwlaninfo-0.9.0b'
make: *** [all] Error 2

Report

C

phtest

14 years ago

Please tell me the location of "wireless.h" on your system (normally it should be in /usr/include). May be it's in /usr/include/linux, in this case make a link in /usr/include. I also need your Linux distro and kernel version.

Report

eyecon

14 years ago

/usr/include/linux/wireless.h

Fedolra Core 2

Using (Korg) 2.6.7 kernel.

Report

C

phtest

14 years ago

Just change in ../kwlaninfo-0.9.0b/src/kwlaninfo.h this line:
#include <wireless.h> to #include <linux/wireless.h>
so you don't have to change the location or make a link to this file.
Please report also on success.

Report

rickzoekt

14 years ago

It seems to fail somewhere

bash-2.05b$ make
make all-recursive
Making all in doc
Making all in .
Making all in en
Making all in po
Making all in src
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -pthread -DQT_THREAD_SUPPORT -D_THREAD_SAFE -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -MT kwlaninfo.lo -MD -MP -MF ".deps/kwlaninfo.Tpo" -c -o kwlaninfo.lo `test -f 'kwlaninfo.cpp' || echo './'`kwlaninfo.cpp; then mv -f ".deps/kwlaninfo.Tpo" ".deps/kwlaninfo.Plo"; else rm -f ".deps/kwlaninfo.Tpo"; exit 1; fi
kwlaninfo.cpp: In function `KPanelApplet* init(QWidget*, const QString&)':
kwlaninfo.cpp:142: warning: unused parameter `const QString&configFile'
kwlaninfo.cpp: In member function `bool KWlanInfo::read_iwconfig()':
kwlaninfo.cpp:370: error: `getline' undeclared (first use this function)
kwlaninfo.cpp:370: error: (Each undeclared identifier is reported only once for
each function it appears in.)
kwlaninfo.cpp: In member function `void KWlanInfo::read_ifconfig()':
kwlaninfo.cpp:433: error: `getline' undeclared (first use this function)
*** Error code 1

Stop in /usr/home/rick/src/kwlaninfo-0.8.2/src.
*** Error code 1

Stop in /usr/home/rick/src/kwlaninfo-0.8.2.
*** Error code 1

Stop in /usr/home/rick/src/kwlaninfo-0.8.2.
bash-2.05b$


System
bash-2.05b$ uname -a
FreeBSD rickzoekt 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Tue Jun 15 12:06:18 CEST 2004 root@rickzoekt.wzoeterwoude.net:/usr/src/sys/i386/compile/MYKERNEL i386
bash-2.05b$ gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.3.3 [FreeBSD] 20031106

Report

C

phtest

14 years ago

The function getline should be declared in stdio.h header file. Please take a look in this file or send me your stdio.h

Report

EliasP

15 years ago

There seems to be a problem with German "umlauts".
Instead of "Qualit

Report

15 years ago

!!!!!!!!!!!!!!!!!!!! Attention!!!!!!!!!!!!!!!!!!!!!
KWireless renamed because there's a conflict with a standard kwireless-applet in KDE. The new name is now KWlanInfo
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

0.9.4
Improvements:
- Opening info window does not appear in taskbar
- Min/Max indicators on bars in info window to see best and worst values of a connection
- Tooltip window for each bar shows full bar name and level (usefull if bar text to small or truncated)

0.9.3
Errors removed:
- Header files missing on some systems
- Nickname and ESSID on some systems not correctly displayed or kwlaninfo crashed

0.9.2
Error removed:
- Nickname and ESSID sometimes not updated

0.9.1
Errors removed:
- Header file error (wireless.h not found on some systems)
- Bars in info window have now the same colors like bars in applet

Behavior improved:
- info window on mouse over event now always on top
- if text to big for bar view, it will be truncated and not removed like in older versions

0.9.0b
Reimplementation of some code:
There are no longer depencies to any extern files or programs (e.g. /proc/net/wireless, ifconfig ...).

0.8.3
Some compilation errors, program crashes on newer systems (KDE 3.2 + gcc 3.3) removed. Sorry, inadvertance of the programmer ;-)).

0.8.2
All regular expressions in QString changed to standard string functions, so you should be able to compile kwlaninfo with Qt >= 3.x
Following bug in KDE-3.2 fixed: info window shown in klwaninfo applet widget

0.8.1
Size of kwlaninfo now configurable. You can choose following modes (preferences dialog):
normal: ratio height:width = 1:2
condensed: ratio height:width = 1:1
ultra condensed: ratio height:width = 2:1

You can now choose when info bar shall be visible. Following modes are availible (preferences dialog):
Mouseover: info bar will be visible if you move mouse pointer over kwlaninfo
Double Click: info bar is visible on a double click on kwlaninfo
(in both modes info bar is hidden if mouse pointer leaves kwlaninfo)

infobar shows graphical signal strength too

bar text will be removed if it's to big for the view

type selection in preferences dialog removed

0.8
KWlanInfo applet still runs even of missing or removing wlan card.
In this case it displays an error and in a tooltip (mouse over kwlaninfo applet) it shows an error message.
If card will be inserted it shows the normal bar view again.

0.7.2
Redesign of the source code
IP address in info window added
Danish translation added (thanks to the translator "Frederik Dannemare")

0.7.1
Compiling error using qt version < 3.2 removed
Compiling of kwireless requires now only qt version >= 3.1

0.7:
Info window shows now wlan settings like ESSID, Access Point ...
German translation included.
Following bug removed:
The info window was possibly not displayed correct (out of screen), if kicker panel or kwireless changed their position. Now the position of info window is correctly calculated.

0.6-release-2:
An error occurs while opening preferences in Version 0.6. Now opening preferences works correct.
Further you need Qt Version 3.2.3 or higher.

0.6:
"Type" in preferences dialog is reserved for future use.
Customizing of kwireless improved (see preferences dialog).
Following features added:
- setting of font and font color
- setting own bar colors for different levels.
- setting level values for changing the bar colors

0.6-pre:
Calculation of bar text size improved. On mouseEnter event a info window is shown.

0.5.1:
While setting up preferences first time the "Procfile" value was empty. Now it's initial value is set to "/proc/net/wireless"

product-maker 53 115

File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.9.4
updated Jan 13 2005
added Jan 03 2004
downloads today
0
page views today 3
System Tags app software