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

Re: [debian-knoppix] questions / suggestions

On Sat, 2003-04-05 at 09:00, Klaus Knopper wrote:
> On Sat, Apr 05, 2003 at 12:54:02AM -0600, Bill Eastman wrote:
> > Below is the rc.local file I use on my laptop, when it is booted into RH
> > 8: (the key has been changed to protect the guilty as have the essid's)
> > I think the people at essid2 are only running 64 bit, and the phrase
> > method works.  I'm running 128 bit, and had problems getting the phrase
> > to work, so I tried entering the numbers and it worked.
> > 
> > Is there some way that this can be intergrated into Knoppix?
> > 
> > The ifconfig is checking for the mac address of my wireless card.  Maybe
> > use a variable for it.  The iwgetid is looking for the essid from the
> > AP.  Maybe use a variable name for it too.
> > 
> > 
> > #!/bin/sh
> > if (ifconfig | grep "00:06:25:16:04:E7") then
> >    if (iwgetid eth0 | grep "essid1") then
> >      iwconfig eth0 key 1234-1234-1234-1234-1234-1234-12
> >      dhclient
> >    elif
> >     (iwgetid eth0 | grep "essid2") then
> >      iwconfig eth0 key s:keyphrase
> >      dhclient
> >    fi
> > fi
> Would you volunteer to write a patch for wlcardconfig for supporting this?
> The passphrase should be asked from the user by (X)dialog, like in
> mkpersistenthome.
> And please use pump instead of dhclient.
> Regards
> -Klaus Knopper

Two problems...first is where is the source available from and the
second is I don't know C (I do have some friends that do though, and
I'll approach them).  I would guess that the mac address would need to
be asked the user, unless there is a cheat code for WEP Wireless when
booted.  If that option is chosen, then forget the ifconfig that checks
the mac address and just assume they want wireless with WEP.  The
passphrase (or numbers) would need to be entered by the user.

Bill Eastman <beastman@austin.rr.com>

debian-knoppix mailing list

Reply to: