GUI for WiFi connection

GUI for WiFi connection

Dotan Cohen dotancohen at gmail.com
Thu Jul 8 14:48:23 IDT 2010


On 8 July 2010 08:07, Baruch Siach <baruch at tkos.co.il> wrote:
> Nothing fancy. I need WiFi for unrestricted outside access, and wired for
> internal servers access. So I just let wicd connect to the default WiFi AP,
> and then do:
>
> # udhcpc -q -s /usr/local/bin/udhcpc.script -i eth0
>
> With udhcpc.script being (lightly edited):
>
> #!/bin/sh
>
> if [ "$1" != "bound" ]; then
>    exit 0
> fi
>
> ifconfig $interface $ip netmask $subnet
>
> # Access the mail server via the wired network when in example.net, since the
> # WiFi connection there is unstable
> if [ "$domain" = "example.net" ]; then
>    for i in $router; do
>        ip route add a.b.c.d via $i dev eth0
>    done
> fi
>

Nice, thanks.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com



More information about the Linux-il mailing list