trying to get wifi-radar going and make it a desktop icon

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
shotttgun
Level 1
Level 1
Posts: 16
Joined: Mon Mar 26, 2007 12:51 am

trying to get wifi-radar going and make it a desktop icon

Post by shotttgun » Sat Apr 07, 2007 10:43 pm

I'm trying to get my wifi up and running on a broadcom bcmwl5.
I have been reading and I changed the driver to the bcm4318 and now ndiswrapper does recognize the driver. I am at the stage where
root@lap:~# ndiswrapper -l
Installed drivers:
bcmwl5 driver installed, hardware present
AND IWCONFIG gives results:
eth0 no wireless extensions.
eth1 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:25 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

NOW, I'm trying to get wifi-radar going.
In the instructions below I got stuck at number three.
I can't find a wifi-radar.py to put in usr/local/bin.
AND, what the heck do I do with 4,5,and 6???

Remember, always run it as root or use sudo. Or you can follow these instructions if sudo is
not something you are comfortable with.
* Integrating with gnome
by Flipp Bunts <flipp.bunts@gmail.com>:
how to get wifi-radar custom launcher to use pam authentication in gnome
1. get wifi-radar and untar
2. put wifi-radar.svg in /usr/share/pixmaps
3. put wifi-radar.py in /usr/local/bin
4. ln -s /usr/bin/consolehelper /usr/local/bin/wifi-radar
5. vi /etc/security/console.apps/wifi-radar
USER=root
PROGRAM=/usr/local/bin/wifi-radar.py
SESSION=true
6. vi /etc/pam.d/wifi-radar
#%PAM-1.0
auth sufficient pam_rootok.so
auth sufficient pam_timestamp.so
auth required pam_stack.so service=system-auth
session required pam_permit.so
session optional pam_xauth.so
session optional pam_timestamp.so
account required pam_permit.so
7. check the permissions
sh-3.00# ls -lh /etc/security/console.apps/wifi-radar /etc/pam.d/wifi-radar
-rw-r--r-- 1 root root /etc/pam.d/wifi-radar
-rw-r--r-- 1 root root /etc/security/console.apps/wifi-radar
8. add launcher
a. right click on panel
b. select 'add to panel'
c. click on 'custom application launcher'
d. options for 'create launcher'
name : wifi-radar
command : /usr/local/bin/wifi-radar
icon : /usr/share/pixmap/wifi-radar.svg
9. click on the icon, enter the root password, away you go

shotttgun
Level 1
Level 1
Posts: 16
Joined: Mon Mar 26, 2007 12:51 am

I forgot to mention a couple other things

Post by shotttgun » Sun Apr 08, 2007 12:30 am

I can't get wifi-radar to work either.
I did tar the package. and then I converted the wifi-radar file to a sh file as the instructions said to do.
I rebooted and opened a terminal, typed sudo wifi-radar -d .....nothing. typed wifi-radar ......nothing. Tried wifi-radar.sh ....nothing. last to I tried with sudo and without sudo command.
Still no worky.
Also, do I need python installed and pygtk2 packages? I looked in the synaptec package manager and did see the python ccd and python medusa but not the pygtk2.

I know you guys are busy but...
Can someone point me at the fur please?

shotttgun
Level 1
Level 1
Posts: 16
Joined: Mon Mar 26, 2007 12:51 am

feel like I'm talking to myself

Post by shotttgun » Sun Apr 08, 2007 11:58 pm

I found wifi-radar in the repository and loaded it.
It does not see the network though
I must still have something wrong. becuase I got nothing but I connect in windows so I know I have a working wifi access point present.
Any suggestions?
doing a mintwifi.py command yields:

masta@lap:~$ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
Password:
-------------------------
* I. scanning WIFI PCI devices...
-- Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
==> PCI ID = 14e4:4320 (rev 03)
-------------------------
* II. querying ndiswrapper...
Installed drivers:
bcmwl5 driver installed, hardware present
-------------------------
* III. querying iwconfig...
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11g ESSID:off/any Nickname:"default"
Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:25 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0 Link encap:Ethernet HWaddr 00:03:25:20:8F:CA
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x2800

eth1 Link encap:Ethernet HWaddr 00:90:4B:DB:53:25
inet addr:192.168.0.175 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Memory:e0200000-e0202000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:276 errors:0 dropped:0 overruns:0 frame:0
TX packets:276 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21680 (21.1 KiB) TX bytes:21680 (21.1 KiB)

-------------------------
* V. querying DHCP...
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:03:25:20:8f:ca
Sending on LPF/eth0/00:03:25:20:8f:ca
Listening on LPF/eth1/00:90:4b:db:53:25
Sending on LPF/eth1/00:90:4b:db:53:25
Sending on Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
-------------------------
* VI. querying nslookup google.com...
;; connection timed out; no servers could be reached

shotttgun
Level 1
Level 1
Posts: 16
Joined: Mon Mar 26, 2007 12:51 am

works! now on with the sound

Post by shotttgun » Mon Apr 09, 2007 4:04 pm

Wireless works, this is great to be on linux wirelessly.
I heard in the news in Nov or Dec 06 that india declared it was going linux.
I wonder if they are already hacking at the software, Maybe under attack soon huh?

Well, I've enjoyed talking to myself. Guess I'll work on the sound card for a bit.


Good work mint makers! I wish I could do that!

Post Reply

Return to “Ethernet”