mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
dd169ab87a
commit
2e215ea9b9
|
@ -257,7 +257,7 @@ on an Intel Linux system. </Para>
|
|||
Sat-HOWTO</ULink>,
|
||||
<CiteTitle>Sat (Satellite Technology) HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>Updated: June 2001</CiteTitle>.
|
||||
<CiteTitle>Updated: July 2001</CiteTitle>.
|
||||
Investigates "State of Art" Sat connections in a Linux
|
||||
environment; how to get them faster and how to share them with
|
||||
many clients. </Para>
|
||||
|
|
|
@ -1898,7 +1898,7 @@ information about files and/or packages. </Para>
|
|||
Sat-HOWTO</ULink>,
|
||||
<CiteTitle>Sat (Satellite Technology) HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>Updated: June 2001</CiteTitle>.
|
||||
<CiteTitle>Updated: July 2001</CiteTitle>.
|
||||
Investigates "State of Art" Sat connections in a Linux
|
||||
environment; how to get them faster and how to share them with
|
||||
many clients. </Para>
|
||||
|
|
|
@ -818,7 +818,7 @@ deploy a secure server. </Para>
|
|||
Sat-HOWTO</ULink>,
|
||||
<CiteTitle>Sat (Satellite Technology) HOWTO</CiteTitle>
|
||||
</Para><Para>
|
||||
<CiteTitle>Updated: June 2001</CiteTitle>.
|
||||
<CiteTitle>Updated: July 2001</CiteTitle>.
|
||||
Investigates "State of Art" Sat connections in a Linux
|
||||
environment; how to get them faster and how to share them with
|
||||
many clients. </Para>
|
||||
|
|
|
@ -9,7 +9,7 @@ Sat (Satellite Technology) HOWTO
|
|||
Roberto Arcomano berto@fatamorgana.com, Florindo Santoro flosan@hack-it.net
|
||||
</author>
|
||||
<date>
|
||||
v1.2, 22 June 2001
|
||||
v1.3, 21 July 2001
|
||||
</date>
|
||||
<abstract>
|
||||
Sat technology is starting to become a great resource for Internet
|
||||
|
@ -949,6 +949,8 @@ VPN connection
|
|||
<item>
|
||||
patch for pppd (needed only if using pppd <= 2.4.0)
|
||||
<item>
|
||||
routing settings with simple scripts
|
||||
<item>
|
||||
patch for dvbd.c
|
||||
<item>
|
||||
Test it
|
||||
|
@ -1016,7 +1018,9 @@ make"
|
|||
make install"
|
||||
|
||||
</enum>
|
||||
</p><p>
|
||||
</p><sect2>
|
||||
Routing settings
|
||||
<p>
|
||||
Now your pppd will be able to working with Netsystem VPN; you
|
||||
can try with
|
||||
</p>
|
||||
|
@ -1087,10 +1091,61 @@ world"
|
|||
could be sent directly to avoid useless Sat delay time.
|
||||
</p>
|
||||
<p>
|
||||
<verb>
|
||||
Instead of manually setup routing configuration you can try using
|
||||
these little scripts:
|
||||
</p>
|
||||
<p>
|
||||
"
|
||||
netsystem.on"
|
||||
script
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
route add IP_DNS1 dev ppp0
|
||||
route add IP_DNS2 dev ppp0
|
||||
route add -net 212.31.242.0 netmask 255.255.255.0 dev ppp0
|
||||
pptp vpn.netsystem.com user <login>
|
||||
/bin/sleep 5
|
||||
route add default dev ppp1
|
||||
|
||||
</verb>
|
||||
</p><sect2>
|
||||
</code>
|
||||
</p><p>
|
||||
"
|
||||
netsystem.off"
|
||||
script
|
||||
</p>
|
||||
<p>
|
||||
<code>
|
||||
route del IP_DNS1 dev ppp0
|
||||
route del IP_DNS2 dev ppp0
|
||||
route del -net 212.31.242.0 netmask 255.255.255.0 dev ppp0
|
||||
kill -9 `ps x|grep "pppd"|grep "<login>"|grep -v "ps"|tr " " "\n"|head -n 2`
|
||||
rm --force /var/lock/LCK..tty*
|
||||
rm --force /var/run/pptp/*
|
||||
rm --force /var/run/ppp1.pid
|
||||
killall -9 pptp
|
||||
</code>
|
||||
</p><p>
|
||||
IP_DNS1 and IP_DNS2 are ip addresses of your dns servers (primary
|
||||
and secondary). <login> is the login name of your Netsystem
|
||||
account. I tried it out under kernel 2.4.6 RedHat 7.1 and it works
|
||||
very well (without any problems about ppp1 endless loop or similar).
|
||||
</p>
|
||||
<p>
|
||||
This line:
|
||||
</p>
|
||||
<p>
|
||||
kill -9 `ps x|grep "pppd"|grep "<login>"|grep
|
||||
-v "ps"|tr " " "\n"|head -n 2`
|
||||
</p>
|
||||
<p>
|
||||
is used to find PID of pppd process talking with VPN server (ppp1
|
||||
interface): notice that you cannot just only type "
|
||||
killall pppd"
|
||||
|
||||
cause your ppp0 interface also would go down.
|
||||
</p>
|
||||
<sect2>
|
||||
Patch for dvbd.c
|
||||
<p>
|
||||
After solved problems about PPTP you have to change some line
|
||||
|
|
Loading…
Reference in New Issue