ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] Re: Wifi wireless


From: me ,
Subject: [RP] Re: Wifi wireless
Date: Sat, 23 Jun 2007 14:39:50 +0200

edit: what the hell networkmanager??? why install that huge package which will want to add some gnomish dependencies to your system just to be able to scan wifi networks? sorry i was just dumb, better use iwlist:

iwlist eth1 scanning | grep ESSID | cut -f2 -d:

This gives you a list of all available wifi networks.

2007/6/23, me , <address@hidden>:
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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]