GUI for WiFi connection

GUI for WiFi connection

Baruch Siach baruch at tkos.co.il
Thu Jul 8 08:07:41 IDT 2010


Hi Dotan,

On Thu, Jul 08, 2010 at 07:36:18AM +0300, Dotan Cohen wrote:
> On 8 July 2010 07:09, Baruch Siach <baruch at tkos.co.il> wrote:
> > I use wicd (http://wicd.sourceforge.net) on Debian. It works reasonably well
> > for wireless access.
> 
> Definitely wicd. Great app.
> 
> 
> > In addition, I use some command line trickery to connect
> > to WiFi and wired networks simultaneously, since wicd doesn't support complex
> > setups very well.
> >
> 
> Please share!

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

> > When I have time I want to check connman (http://www.connman.net).
> Thanks, Baruch, this looks interesting but I don't think that it is a
> full-featured replacement for wicd. it is meant for embedded devices.

I just want a tool to get the job done, i.e. configure the network 
interface(s), manage the routing table, and put something sensible in 
/etc/resolv.conf, or even better, manage the DNS itself. I don't want to 
fiddle with various iw* commands, and complicated routing rules, every time I 
move from one location to another.  If connman can do this, I'll use it.

baruch

-- 
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the Linux-il mailing list