conn

A script repository to manage connections in Linux.
git clone git://r-36.net/conn
Log | Files | Refs | LICENSE

commit 9854e4543b3411a122769c369d3d1cb3df73dbb9
parent 65c0e813189387984da46933566cbc8ba6cbb7a3
Author: Christoph Lohmann <20h@r-36.net>
Date:   Fri, 25 Feb 2011 23:18:21 +0100

Forgot the $interface in the example AP.

Diffstat:
etc/conn/wifi/networks/skkmswp.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/conn/wifi/networks/skkmswp.sh b/etc/conn/wifi/networks/skkmswp.sh @@ -5,7 +5,7 @@ interface="$1" case "$2" in CONNECTED) # This is dangerous, but assumed. - ip addr flush dev wlan0 2>&1 >/dev/null + ip addr flush dev $interface 2>&1 >/dev/null ip addr add 192.168.1.6/24 dev $interface \ brd 192.168.1.255 2>&1 >/dev/null ip route add default via 192.168.1.2 dev $interface \