Getwifi is script written to allow Linux users to join wireless networks based on precedence. The way it works is by using a configuration file check if there is a wireless signal from a given network. If a signal exists then it joins otherwise it checks the next network in the list. Reproducible: Always Steps to Reproduce: 1. 2. 3. 1) Extract this to /usr/local/portage/ as is... 2) Add "PORTDIR_OVERLAY=/usr/local/portage/" to /etc/make.conf 3) emerge getwifi
please attach the ebuild as a plain-text file
# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A shell script to join wireless networks based on precedence" HOMEPAGE="http://getwifi.sf.net/" SRC_URI="mirror://sourceforge/getwifi/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="" RDEPEND="app-shells/bash" RESTRICT="nomirror" # Source directory; the dir where the sources can be found (automatically # unpacked) inside ${WORKDIR}. The default value for S is ${WORKDIR}/${P} # If you don't need to change it, leave the S= line out of the ebuild # to keep it tidy. #S=${WORKDIR}/${P} src_compile() { true } src_install() { mkdir ${D}/etc dodoc AUTHORS CHANGELOG COPYING INSTALL README cp ${S}/config ${D}/etc/getwifi.conf dosbin getwifi doman getwifi.1 }
Created attachment 66832 [details] ebuild ebuild
what advantage does this package have over gentoo's wireless baselayout stuff?
Created attachment 66833 [details] getwifi-0.1.4.ebuild
as i am new to the ebuild process i set RESTRICT="" because GPL-2 does allow redistribution.
Created attachment 66834 [details] getwifi-0.1.4.ebuild
The advantage of getwifi over other wireless tools is that: 1) It is command line based. Thus, doesn't require a gui interface and the requirements are nearly nothing. 2) Supports WEP encryption. 3) Allows for easy manipulation based on simple config file 4) Allows users to join wireless networks based on precedence similar to windows. 5) Scans for wireless networks if you are away for networks you are familar with.
gentoo's baselayout has all of those things... how is this better than *that*?
(In reply to comment #9) > gentoo's baselayout has all of those things... how is this better than *that*? However, with getwifi those things can be set to run as a daemon at boot time or cron job.
(In reply to comment #10) > However, with getwifi those things can be set to run as a daemon at boot time or > cron job. rc-update add net.wlan0 default ?
(In reply to comment #11) > (In reply to comment #10) > > However, with getwifi those things can be set to run as a daemon at boot time or > > cron job. > > rc-update add net.wlan0 default ? this would join the default network. If you had multiple networks and you were at school instead of at home (default) getwifi would stil get you online.
(In reply to comment #12) > this would join the default network. If you had multiple networks and you were > at school instead of at home (default) getwifi would stil get you online. Would it? preferred_aps=( "HomeAP" "SchoolAP" "WorkAP" ) key_HomeAP="s:homeWEPKey" config_HomeAP=( "192.168.0.2/24" ) routes_HomeAP=( "default via 192.168.0.1" ) dns_servers_HomeAP=( "192.168.0.1" ) config_SchoolAP=( "dhcp" ) key_WorkAP="s:workWEPKey" config_WorkAP=( "dhcp" ) So there we have a clear preference list for AP's, wep, static and dhcp configurations based on the network selected through a scan. You can read all about this in our handbook http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4#doc_chap3
with apologies this bug is being closed as last update from upstream was in 2005. When upstream becomes active again, feel free to reopen.