[dev] wicd and his little friends

2011-01-19 Thread hiro
Thanks, I was still searching for alternatives to wicd. I get it that wpa_supplicant also knows how to do WEP? I still want wireless to be switched off completely when I attach the ethernet cable. Is there any program I could combine with wpa_actiond to acchieve this? On 1/19/11, Jan wrote: > >

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Valentin
On Wed, Jan 19, 2011 at 04:42:22AM +0100, Jan wrote: > just suggesting an alternative, I'm using wpa_supplicant (wifi daemon) in > combination with wpa_actiond (daemon that waits for connect events and > executes a shell script on connect/disconnect/reconnect). What does this do that wpa_cli -a c

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Eitan Goldshtrom
Okay so I don't know why but apparently it isn't freezing on me anymore. I remember the freezing starting when I tried connecting to my network at home -- I'm no longer at home. Either way Wicd isn't going to work here because we have a TTLS-PAP connection and I didn't see support for that in W

Re: [dev] wicd and his little friends

2011-01-19 Thread Kurt H Maier
On Wed, Jan 19, 2011 at 7:14 AM, hiro <23h...@googlemail.com> wrote: > Thanks, I was still searching for alternatives to wicd. > I get it that wpa_supplicant also knows how to do WEP? > wpa_supplicant supports wep, here's an example wep stanza: network={ ssid="kfx" key_mgmt=NONE wep_key0=01

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Diego Joss
Hi I don't know anything about the gui stuff, but it seems you simply haven't configured wpasupplicant. To configure it---if you installed it from the ubuntu repositories, which should be (almost) the same as the Debian packages---look at the /usr/share/doc/wpasupplicant/README.Debian. The configu

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Eitan Goldshtrom
I ended up finding the tutorial on the Arch wiki. I was hoping that because I had the gui that I wouldn't need to configure anything manually, but on the wiki they provided a minimal configuration just to get the gui to work. It worked and I could browse and interact with networks. Unfortunatel

Re: [dev] [st] Separating the wheat (terminal emulation) from the chaff (X)

2011-01-19 Thread Ross Mohn
What will struct term_t look like? -Ross On 01/18/2011 06:44 PM, Aurélien Aptel wrote: > What the API should look like? Which features? > I was thinking of something like this: > > * term_ function prefix > * first parameter is the term context > * non blocking io (ie. returns when there's nothin

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Jan
On Wed, 19 Jan 2011 14:13:53 +0100, Valentin wrote: > What does this do that wpa_cli -a can't do? > > --Valentin Apparently wpa_cli -a doesn't pass the ssid as a parameter when executing the script. I would consider this important when dealing with multiple profiles. Jan

Re: [dev] wicd and his little friends

2011-01-19 Thread Jan
On Wed, 19 Jan 2011 11:10:18 -0500, Kurt H Maier wrote: >> I still want wireless to be switched off completely when I attach the >> ethernet cable. Is there any program I could combine with wpa_actiond >> to acchieve this? > > I don't see why this can't be scripted. Maybe surveilling /var/log/m

Re: [dev] wicd and his little friends

2011-01-19 Thread Kurt H Maier
On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: > Maybe surveilling /var/log/messages (lines are similar to dmesg output) > for lines that include "eth0" and "link" might work. wpa_supplicant puts all its info (i.e., CTRL_EVENT_DISCONNECTED) out on stderr. Could just pipe that to a shell script. --

Re: [dev] wicd and his little friends

2011-01-19 Thread Jan
On Wed, 19 Jan 2011 20:22:51 -0500, Kurt H Maier wrote: > On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: >> Maybe surveilling /var/log/messages (lines are similar to dmesg output) >> for lines that include "eth0" and "link" might work. > > wpa_supplicant puts all its info (i.e., CTRL_EVENT_DISCONN

Re: [dev] wicd and his little friends

2011-01-19 Thread Antoni Grzymala
Jan dixit (2011-01-20, 02:26): > On Wed, 19 Jan 2011 20:22:51 -0500, Kurt H Maier > wrote: > > On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: > >> Maybe surveilling /var/log/messages (lines are similar to dmesg output) > >> for lines that include "eth0" and "link" might work. > > > > wpa_supplican

Re: [dev] wicd and his little friends

2011-01-19 Thread Kurt H Maier
On Wed, Jan 19, 2011 at 8:26 PM, Jan wrote: > > Does wpa_supplicant work with wired devices? Yes, using the 'wired' driver. However, afaik wpa_supplicant only handles one device per instance, so any controlling script would need to manage both instances, and at that point there's no point using

Re: [dev] wicd and his little friends

2011-01-19 Thread hiro
I forgot about dmesg! And I would rather not use polling. But I guess I should. wicd and dbus is not the way to go. I also don't remember why I started using wicd instead of scripting, there definitely was an other reason, too. Butl, nevermind.

Re: [dev] wicd and his little friends

2011-01-19 Thread Jan
On Thu, 20 Jan 2011 02:28:22 +0100, Antoni Grzymala wrote: > Jan dixit (2011-01-20, 02:26): > >> On Wed, 19 Jan 2011 20:22:51 -0500, Kurt H Maier >> wrote: >> > On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: >> >> Maybe surveilling /var/log/messages (lines are similar to dmesg >> >> output) >> >>

Re: [dev] wicd and his little friends

2011-01-19 Thread Antoni Grzymala
Jan dixit (2011-01-20, 02:33): > On Thu, 20 Jan 2011 02:28:22 +0100, Antoni Grzymala > wrote: > > Jan dixit (2011-01-20, 02:26): > > > >> On Wed, 19 Jan 2011 20:22:51 -0500, Kurt H Maier > >> wrote: > >> > On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: > >> >> Maybe surveilling /var/log/messages

Re: [dev] wicd and his little friends

2011-01-19 Thread hiro
I just tried running wpa_supplicant in the foreground and it doesn't output anything when I connect my ethernet cable. On 1/20/11, Kurt H Maier wrote: > On Wed, Jan 19, 2011 at 8:15 PM, Jan wrote: >> Maybe surveilling /var/log/messages (lines are similar to dmesg output) >> for lines that includ

Re: [dev] wicd and his little friends

2011-01-19 Thread hiro
Cool. ifplugd seems to be exactly what I need.

Re: [dev] wicd and his little friends

2011-01-19 Thread hiro
> I also don't remember why I started using wicd instead of scripting, > there definitely was an other reason, too. Butl, nevermind. Ok, my mind came back. It was automatically switching between wireless networks which let me think I needed wicd. The only thing missing now is a nice interface for

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread hiro
Then run wpa_cli status

Re: [dev] wmii freezes momentarily and regularly

2011-01-19 Thread Valentin
On Thu, Jan 20, 2011 at 02:13:24AM +0100, Jan wrote: > Apparently wpa_cli -a doesn't pass the ssid as a parameter when executing > the script. I would consider this important when dealing with multiple > profiles. $WPA_ID_STR --Valentin pgpn8tydY5s0t.pgp Description: PGP signature

[dev] [9base] cheeky TODO patch

2011-01-19 Thread Stanley Lieber
diff -r e39eeddcc295 TODO --- a/TODO Thu Jan 06 09:50:05 2011 + +++ b/TODO Wed Jan 19 23:02:02 2011 -0600 @@ -1,1 +1,1 @@ -add wc +add htmlfmt -sl