You are not logged in.
wlan-config is a perl script that I have been working on for a year or so off and on.
the goal is to make connecting to wireless networks painless, no matter what special things you have to do at each one.
I use it at home to connect to my openvpn vpn on an openbsd machine running pf with a wireless card.
I use it at work to connect to the wlan, then the cisco vpn, then set up the routes, connect to my home vpn and use that as the default gateway.
I use it at school to connect to the wlan and then my home vpn as the default gateway.
I will upload the file into incoming as wlan-config-3.0.1-1.src.tar.gz
There is a difference in the config file so I had to reupload my sourceforge project. It may not be on the mirrors yet.
This package requires perl-config-general which I posted in another post and also uploaded to incoming.
The reason kdebase is a dep is because gwlan-config uses kdialog. I am not sure if i should keep it as a req for the whole package tho, any thoughts?
PKGBUILD
# Maintainer: Joshua Rubin <joshua@cybertron.cc>
pkgname=wlan-config
pkgver=3.0.1
pkgrel=1
pkgdesc="wireless network configuration and connection utility"
url="http://wlan-config.sourceforge.net"
license="GPL"
depends=('perl-config-general' 'wireless_tools' 'net-tools' 'dhcpcd' 'kdebase')
source=("http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
backup=("etc/$pkgname/$pkgname.conf" "etc/$pkgname/alwaysrun" "etc/$pkgname/disconnect" "etc/$pkgname/preconnect")
md5sums=('a6c76bf9714b1bddd5b10fad6debefec')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/etc/$pkgname $startdir/pkg/usr/sbin $startdir/pkg/usr/man/man5 $startdir/pkg/usr/man/man8
chown root.root *
chmod 755 $pkgname g$pkgname $alwaysrun $disconnect $network $preconnect
chmod 644 $pkgname.conf $pkgname.conf.5.gz $pkgname.8.gz g$pkgname.8.gz
cp alwaysrun $startdir/pkg/etc/$pkgname/alwaysrun
cp disconnect $startdir/pkg/etc/$pkgname/disconnect
cp network $startdir/pkg/etc/$pkgname/network
cp preconnect $startdir/pkg/etc/$pkgname/preconnect
cp $pkgname.conf $startdir/pkg/etc/$pkgname/$pkgname.conf
cp g$pkgname $pkgname $startdir/pkg/usr/sbin
cp $pkgname.conf.5.gz $startdir/pkg/usr/man/man5
cp $pkgname.8.gz g$pkgname.8.gz $startdir/pkg/usr/man/man8
}
Offline
I have now updated the package to be able to use static IPs. It can also add the default gateway and set the DNS/domain options in /etc/resolv.conf. I have done a lot of testing with wlan-config and wlan-konfig (the gui, renamed from gwlan-config). I really need people to test it out so I can iron out the bugs!
Thanks!
I uploaded the file into incoming as wlan-config-3.1-1.src.tar.gz
PKGBUILD
# Maintainer: Joshua Rubin <joshua@cybertron.cc>
pkgname=wlan-config
pkgver=3.1
pkgrel=1
pkgdesc="wireless network configuration and connection utility"
url="http://wlan-config.sourceforge.net"
license="GPL"
depends=('perl-config-general' 'wireless_tools' 'net-tools' 'dhcpcd' 'kdebase')
source=("http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2")
backup=("etc/$pkgname/$pkgname.conf" "etc/$pkgname/alwaysrun" "etc/$pkgname/disconnect" "etc/$pkgname/preconnect")
md5sums=('f618d3e8c3b8450a0795caa05dc04fbd')
build() {
cd $startdir/src/$pkgname-$pkgver
mkdir -p $startdir/pkg/etc/$pkgname $startdir/pkg/usr/sbin $startdir/pkg/usr/man/man5 $startdir/pkg/usr/man/man8
chown root.root *
chmod 755 $pkgname wlan-konfig alwaysrun disconnect network preconnect
chmod 644 $pkgname.conf $pkgname.conf.5.gz $pkgname.8.gz wlan-konfig.8.gz
cp alwaysrun $startdir/pkg/etc/$pkgname/alwaysrun
cp disconnect $startdir/pkg/etc/$pkgname/disconnect
cp network $startdir/pkg/etc/$pkgname/network
cp preconnect $startdir/pkg/etc/$pkgname/preconnect
cp $pkgname.conf $startdir/pkg/etc/$pkgname/$pkgname.conf
cp wlan-konfig $pkgname $startdir/pkg/usr/sbin
cp $pkgname.conf.5.gz $startdir/pkg/usr/man/man5
cp $pkgname.8.gz wlan-konfig.8.gz $startdir/pkg/usr/man/man8
}
Offline