[LUGOS] Freeswan problem

Borut Mrak b at aufbix.org
Fri Mar 26 10:25:29 CET 2004


On Friday 26 of March 2004 10:11, Nejc Skoberne wrote:
> > Nekaj časa stvar lepo dela nato pa
>
> To je navadno zato, ker ti ADSL povezava pade dol. Zato imam jaz v
> svojem /etc/ppp/ip-up napisano tole (in dela zelo zanesljivo):
>
> /bin/sleep 5
> /usr/local/sbin/ipsec setup stop
> /sbin/route del default
> /sbin/route add default gw `/sbin/ifconfig | /usr/bin/tail -n 7 |
> /usr/bin/head -n 1 | /bin/cut --delimiter=' ' -f 14-15 | /bin/cut -c 7-`
> dev ppp0 /usr/local/sbin/ipsec setup start

Lahko tudi naredis skriptico, ki restarta ipsec, in jo das v /etc/ppp/ip-up.d 
(ce mas Debian). Tam noter mecejo skriptice paketi, ki morajo kaksno stvar 
pognat ob zacetku PPP povezave. Imas tudi /etc/ppp/ip-down.d.

lp,
Borut.



More information about the lugos-list mailing list