|
From: | me , |
Subject: | [RP] Re: Wifi wireless |
Date: | Sat, 23 Jun 2007 14:39:50 +0200 |
Hi all,
First of all, I already fixed the problem I had with java, thanks a lot to all of you, finally I found the solution in the ratpoison wiki, it seems there is another rat user who uses exactly the same sotware as me :)
Well, I wanted to tell you about an application called NetworkManager, which (in gnome) shows you a list of the available wireless connections and lets you connect to them damn easily, including the ones with wpa and wep encryption. Now, here comes my idea:
I have in mind building a script for ratpoison (using ratmenus and the status bar) which shows you the available network connections and lets you connect to them even more easily than network manager (of course it'll be easier, you won't need that stupid peripherial). For that, i already have networkmanager installed, and there is a command called nm-tool which gives you a list of all the networks, but I can't find the way nm connects to the networks...
Does somebody know about it?
Here you are the interesting part of nm-tools output:
State: disconnected # THIS WOULD GO TO THE STATUS BAR
- Device: eth1 ----------------------------------------------------------------
NM Path: /org/freedesktop/NetworkManager/Devices/eth1
Type: 802.11 Wireless
Driver: bcm43xx
Active: no
HW Address: 00:18:F8:45:17:E6
Capabilities:
Supported: yes
Speed: 11 Mb/s
Wireless Settings
Scanning: yes
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Networks (* = Current Network) # OK, FROM CUTTING THIS PART (ex. grep Infrastructure) AND TAKING ONLY
# THE FIRST WORD (cut -f0 -d: or similar) AND PARSING IT TO A RATMENU,
# WE HAVE THE LIST OF ALL AVAILABLE NETWORKS.
Kiko: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 67%, Encrypted (WEP)
WLAN_91: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 65%, Encrypted (WEP)
XiaoNiao: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 88%
PEPO-RED: Infrastructure Mode, Freq 0.000 MHz, Rate 62 Mb/s, Strength 72%, Encrypted (WEP)
[Prev in Thread] | Current Thread | [Next in Thread] |