linux-l: ip up ip down ip hin ip her ip me ip u

JSC schlegel at tfh-berlin.de
Fr Jul 16 10:31:41 CEST 1999


On Thu, Jul 15, 1999 at 10:27:23PM +0200, W.Conrad wrote:
> weiß jemand, ob es eine Möglichkeit gibt, das ip-up nur auf ein EINZIGES ippp-device zu beschränken?
> 
vi /etc/ppp/ip-up
------------------------------------------------------------------------
#!/bin/sh
## called (man pppd) with
## interface-name  tty-device  speed  local-IP-address remote-IP-address ipparam
test -x "/etc/ppp/ip-up.$1" && exec "/etc/ppp/ip-up.$1" $*
## and now default
rdate -s mytimemaster.somewhere.com
..
------------------------------------------------------------------------

vi /etc/ppp/ip-up.ppp0
------------------------------------------------------------------------
#!/bin/sh
echo 'kieck ma da; ppp0 is up ;-)'
------------------------------------------------------------------------

bye
Jens
-- 
 --------------------------------------------------------------
| Jens Schlegel                                                |
| TFH Berlin         email: schlegel at tfh-berlin.de             |
 --------------------------------------------------------------



Mehr Informationen über die Mailingliste linux-l