Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot start traffic shaping script from /etc/ppp/ip-up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Feb 21, 2003 2:59 pm    Post subject: Cannot start traffic shaping script from /etc/ppp/ip-up Reply with quote

After connectiing to the internet (rp-pppoe), I automagically start a firewall script, a dyndns update and a traffic shaping script, using /etc/ppp/ip-up.

The firewall en dyndns-script work nicely, therefore ip-up in itself is OK.
The traffic shaping script is certainly started from ip-up (I inserted a 'play wav-file' as last line into the script as a checkpoint), but it does not function: tc -s -d class ls dev ppp0 returns nothing.

When I run the script from the command prompt after the ppp connection is up, as works beautifully, and tc -s -d class ls dev ppp0 gives the desired output.

What's going on here :?
Back to top
View user's profile Send private message
sieter
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2003
Posts: 111

PostPosted: Fri Feb 21, 2003 10:10 pm    Post subject: Reply with quote

maybe that´s too easy, but is it possible that $PATH is not set
within your script?

maybe that helps:

#!/bin/bash
#Example config for an adsl link with 1024Kbit downstream and 128Kbit upstream

export PATH=/sbin:/usr/sbin

---zip------
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Feb 21, 2003 10:23 pm    Post subject: Reply with quote

Thanks for the suggestion, but the path is fine.
Also all modules are loaded correctly.

And still it's not loading from /etc/ppp/ip-up.

Help !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum