Topic: global pre/post-(dis)connection scripts

Hi,

I am using a pre-connection script to force my RT2500 based wlan card to go above 1Mb/s but currently, this can be done only for predefined networks. It would be great if at all possible to be able to set scripts up for ANY (new) wireless connection.

Something similar as can be done with global DNS servers...

Thanks again for developing this GREAT wifi manager!

Re: global pre/post-(dis)connection scripts

You can already do it if you have 1.6 -- just put an executable script in one of the directories in /etc/wicd/scripts

Re: global pre/post-(dis)connection scripts

adam wrote:

You can already do it if you have 1.6 -- just put an executable script in one of the directories in /etc/wicd/scripts

And these scripts are executed whenever an interface comes up or is brought down, regardless of which interface it is?

Do the scripts have any possibility to influence the process, such as choosing a special profile, setting static IP adresses or aborting the process? If so, where are the docs?

Greetings
Marc

Re: global pre/post-(dis)connection scripts

At the moment, the scripts can't influence the connection process. They are executed regardless of which interface it is.

Re: global pre/post-(dis)connection scripts

Ok, that's at least something. I have tested with a simple executable text file in /etc/wicd/scripts/preconnect contentaining

#!/bin/sh

iwconfig wlan0 rate 54M

and it works, forcing my RT2500 based card that normally hangs at 1Mb/s to go to its max speed.

Thanks smile

Any outlook on this coming available via the GUI ?

Re: global pre/post-(dis)connection scripts

adam wrote:

At the moment, the scripts can't influence the connection process. They are executed regardless of which interface it is.

It would be great if they could. Do you want to have a dedicated Feature Request for this?

Greetings
Marc