This commit is contained in:
gferg 2001-07-21 21:56:28 +00:00
parent dd169ab87a
commit 2e215ea9b9
4 changed files with 63 additions and 8 deletions

View File

@ -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 &quot;State of Art&quot; Sat connections in a Linux
environment; how to get them faster and how to share them with
many clients. </Para>

View File

@ -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 &quot;State of Art&quot; Sat connections in a Linux
environment; how to get them faster and how to share them with
many clients. </Para>

View File

@ -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 &quot;State of Art&quot; Sat connections in a Linux
environment; how to get them faster and how to share them with
many clients. </Para>

View File

@ -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 &lt;= 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 &lt;login&gt;
/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 &quot;pppd&quot;|grep &quot;&lt;login&gt;&quot;|grep -v &quot;ps&quot;|tr &quot; &quot; &quot;&bsol;n&quot;|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). &lt;login&gt; 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 &quot;pppd&quot;|grep &quot;&lt;login&gt;&quot;|grep
-v &quot;ps&quot;|tr &quot; &quot; &quot;&bsol;n&quot;|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