[svlug] real basic wireless access question!!
Michael Cheselka
cheselka at gmail.com
Tue Jun 5 00:21:26 PDT 2007
the first tr is '[:space:]', so:
iwlist ath0 scan | \
egrep 'ESSID|Quality=|Encryption key:off' | \
tr -s '[:space:]' | \
tr -d '\n' | \
sed -e 's/ ESSID/\nESSID/g' | \
egrep off | \
sort -t= -k 2n
On 6/5/07, Michael Cheselka <cheselka at gmail.com> wrote:
> Scan for open ESSIDs and sort by signal strength:
>
> iwlist ath0 scan | egrep 'ESSID|Quality=|Encryption key:off' | tr -s '
> ' | tr -d '\n' | sed -e 's/ ESSID/\nESSID/g' | egrep off | sort -t= -k
> 2n
>
> Join a WLAN:
>
> ifdown ath0 ; ifdown ath0 ; ifconfig ath0 up ; iwconfig ath0 essid
> 'OpenEssid' ; /sbin/dhclient -1 -q -cf /etc/dhclient-ath0.conf -lf
> /var/lib/dhclient/dhclient-ath0.leases -pf /var/run/dhclient-ath0.pid
> ath0
>
> On 5/24/07, bruce <bedouglas at earthlink.net> wrote:
> > Hi...
> >
> > I'm embarrased to be here asking! I have Fedora/Centos on a laptop. I'm
> > trying to figure out what/how i need to do to be able to access an access
> > point from my local library.
> >
> > I can do a "iwlist ath0 scan", and I see a list of the access points.
> >
> > I try to choose one, and do the "iwconfig ath0 ESSID 'foo'" and then I
> > stop/restart everything. I also make sure I'm using the dhcp server for all
> > information for the laptop "dhclient ath0".
> >
> > However, I can never get access to the network, or get the 'net via the
> > library's access point.
> >
> > Any thoughts/comments/help would be greatly appreciated!
> >
> > Thanks
> >
> > -bruce
> >
> >
> > _______________________________________________
> > svlug mailing list
> > svlug at lists.svlug.org
> > http://lists.svlug.org/lists/listinfo/svlug
> >
>
>
> --
> When in the Potemkin Wired be a Potemkin Lain.
>
--
When in the Potemkin Wired be a Potemkin Lain.
More information about the svlug
mailing list