[sisyphus] pptptunnel и определение ip-номера eth0

Led =?iso-8859-1?q?led_=CE=C1_ukr-fin=2Ecom=2Eua?=
Ср Май 25 12:03:10 MSD 2005


В сообщении от Среда 25 Май 2005 10:54 Igor Tertishny написал(a):
> Вторник 24 Май 2005 14:57, Epiphanov Sergei написал:
> > > man pppd:
> >
> >        /etc/ppp/ip-up
> >               A program or script which is executed when the link is
> > available for  sending  and  receiving  IP packets (that is, IPCP has
> > come up).  It is executed with the parameters
> >
> > interface-name  tty-device  speed  local-IP-address   remote-IP-address
> > ipparam
>
> Ну и что это дает? Ни фига. Мне нужно получить в переменную
> remote-IP-address ppp0. Не больше и не меньше. А как? Неясно. Попробовал
> манипулировать этим скриптом. Ноль на массу.

Т.е. в этом скрипте $5 не содержит remote-IP-address?

Led.



Подробная информация о списке рассылки Sisyphus