pppd ip-up.d scripts not executing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ppp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ppp
Hi All
I'm using Ubuntu server 7.04 with a Speedtouch 330 ADSL modem, I can connect and get a working connection and manually run my iptables script but i can not get pppd to run my script located in /etc/ppp/ip-up.d/ after it brings up my connection on boot.
i have set the file permission of this script to 700 and is owned by root. the script that runs is simple and like say can be run manually from the command line.
Code:
#!/bin/sh
echo 1 > /proc/sys/
iptables-restore < /etc/network/
Aim i missing something hear. The man pages say this is the right place, and i think the other scripts in the ip-up.d directory are being executed, namely 0000usepeerdns 0dns-up or i would not get my DNS server address in resolv.conf
i done some searching and found an example iptables script distributed from the debian site http://
Can anyone help
Thanks Tom
sorry that links dead try this http:// arthur. barton. de/cgi- bin/dwww? type=file& location= /usr/share/ doc/iptables/ examples/ 3iptables- ppp_up- rules.gz