You are not logged in.

#1 2009-08-22 23:31:19

Mr.Cat
Member
Registered: 2008-09-27
Posts: 79

[Likely SOLVED]Trouble with /etc/ip-up.d

I've setup a pptp connection. I wanna add some routing in /etc/ip-up.d/01-tralala.sh and do it:

[cat@cat-arch ppp]$ cat ip-up.d/01-tralala.sh 
#!/bin/sh

route del default
route add default gw 195.26.175.10
#and so on

But after that ip-up starts returning 0x7f:

Script /etc/ppp/ip-up finished (pid 30555), status = 0x7f

And those "route ..." don't have any effect. But if I run the script myself after the connection is brought up - it works fine.

What am I doing wrong?

EDIT: Same issue solved here: http://bbs.archlinux.org/viewtopic.php?id=79588

Last edited by Mr.Cat (2010-02-01 13:51:06)

Offline

Board footer

Powered by FluxBB