From eea247f2664f0c70247399b2f4d969ddb00df7ba Mon Sep 17 00:00:00 2001 From: spiralman Date: Fri, 18 Oct 2002 21:24:25 +0000 Subject: fixed usbnetctrl.sh to work with fam 0.6 (interface is now created after the ipaq is connected to the cradle) --- diff --git a/noncore/tools/opie-sh/scripts/usbnetctrl.sh b/noncore/tools/opie-sh/scripts/usbnetctrl.sh index a12f74b..417435e 100755 --- a/noncore/tools/opie-sh/scripts/usbnetctrl.sh +++ b/noncore/tools/opie-sh/scripts/usbnetctrl.sh @@ -40,9 +40,13 @@ startup() { ( echo "" echo "

usbnet up

" modprobe usb-eth + ) 2>&1 | $OPIE_SH -t Output -f + + $OPIE_SH -m -I -t "Usbnet Control" -M "Please connect the
ipaq to the cradle
and press OK" - ifconfig usbf 10.3.0.226 netmask 255.255.255.0 \ - broadcast 10.3.0.255 + ( echo "" + echo "

usbnet up

" + ifconfig usbf up 192.168.0.1 netmask 255.255.255.0 ) 2>&1 | $OPIE_SH -t Output -f if [ -f /root/masq.sh ] -- cgit v0.9.0.2