|
2007-04-25
, 14:17
|
Posts: 53 |
Thanked: 9 times |
Joined on Nov 2005
|
#52
|
chmod +x filename
CONNECTION=$6 if [ "${CONNECTION}" = "" ]; then CONNECTION=${PPP_IPPARAM}; fi if [ "${CONNECTION}" = "uni1" ] ; then route del -host 192.168.23.1 route add -host 132.252.57.235 gw 192.168.7.1 dev wlan0 route del default route add default dev ppp0 fi if [ "${CONNECTION}" = "uni2" ] ; then route del -host 192.168.19.1 route add -host 34.3.43.112gw 192.168.45.1 dev wlan0 route del default route add default dev ppp0 fi
|
2007-04-25
, 14:38
|
Posts: 48 |
Thanked: 2 times |
Joined on Jan 2007
|
#53
|
|
2007-04-27
, 01:19
|
Posts: 372 |
Thanked: 9 times |
Joined on Mar 2007
|
#54
|
pon $TUNNEL debug dump logfd 2 nodetach
Cannot detemine ethernet address for proxy ARP local IP address 130.95.91.181 remote IP address 192.168.0.144 Script /etc/ppp/ip-up started (pid 2897) Script / etc/ppp/ip-up finished (pid 2897), status 0x0
|
2007-04-27
, 01:29
|
Posts: 372 |
Thanked: 9 times |
Joined on Mar 2007
|
#55
|
|
2007-05-03
, 10:37
|
Posts: 53 |
Thanked: 9 times |
Joined on Nov 2005
|
#56
|
poff
|
2007-10-29
, 13:16
|
Posts: 7 |
Thanked: 0 times |
Joined on Oct 2007
|
#57
|
|
2007-10-29
, 15:44
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#58
|
|
2007-10-29
, 15:51
|
Posts: 7 |
Thanked: 0 times |
Joined on Oct 2007
|
#59
|
|
2007-10-29
, 16:19
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#60
|
but sadly the tar files are exhibiting an unexpected EOF in archive on both my (Ubuntu) tablet PC and n800. Sad! I suppose I could always try my Windows computer... lol
Update: WinRAR opens and extracts the files fine. Weird.
BTW, the script you gave to be put into the /etc/ppp/ip-up.d directory, how do you enable that file to be executed? when I ran pon in debug mode, i noticed that it doesn't call the script, eventhough I named it the same as the pon filename.
eg. pon snap
so I made a script in the ip-up.d directory called snap and chmod a+x snap . But it doesn't get executed...how did you get yours working?
Luke
Last edited by luketoh; 2007-04-24 at 20:30.