<div dir="ltr">Hi again,<br><br>Thank you for your prompt response. Are you at the Technion now? I will be at the SSDL lab in about 30 mins.<br><br>I understand the process in general, but I would like your help in creating a script and a HOWTO.<br>
<br>I tried to create a VPN &quot;dialer&quot; but it failed to authenticate. Another problem is the fact that the password consists of a 4d igit pre-shared secret and a 6 digit OTP...<br><br>If you are at the Technion, please look me up at the SSDL lab during the day, or even better - give me a call @ 054-3056707.<br>
<br>Thanks!<br clear="all"><br>.:====================================================:.<br><br>Amichai Rotman<br><br>UIN#: 6401746<br>Registered Linux User#: 201192 [<a href="http://counter.li.org/">http://counter.li.org/</a>]<br>
Registered Ubuntu User #12851 [<a href="http://ubuntucounter.geekosophical.net">http://ubuntucounter.geekosophical.net</a>]<br><br>------------------------------------------------------------------------------------------------------------<br>
<br>PLEASE READ: <a href="http://www.gnu.org/philosophy/no-word-attachments.html">http://www.gnu.org/philosophy/no-word-attachments.html</a><br><br>------------------------------------------------------------------------------------------------------------<br>
<br>.:====================================================:.<br>
<br><br><div class="gmail_quote">On Wed, Mar 4, 2009 at 10:27, yakoub abaya <span dir="ltr">&lt;<a href="mailto:yakoub.abaya@gmail.com">yakoub.abaya@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
i never connected to technion using VPN , i did it for my isp barak-013<br>
if you could send me identification or a link about the post you saw<br>
that would be helpful<br>
i also didn&#39;t use any gui for making the connection .<br>
but i would be glad to offer any help i can .<br>
<br>
for making the connection you first need to verify the infrastructure<br>
, mine was hot cable modem and my nic got connected to it via dhcp ,<br>
&#39;ifconfig&#39; and &#39;route&#39; should show eth0 up with an ip<br>
<br>
vpn is done by pppd and pptp software which require kernel support for<br>
ppp , usually if you are not compiling a custom kernel and using<br>
kernel provided by your distribution then you don&#39;t need to worry<br>
about kernel support .<br>
<br>
what pppd does is to dial to isp ( pptp | l2tp ) server and provide<br>
authentication , so the parameters are 1) isp server ip 2) username +<br>
password .<br>
after pppd establishes authentication it brings the vpn tunnel up<br>
which is a tunnel between your pc and the isp and in order to make<br>
that tunnel it needs the pptp software .<br>
pptp can be installed easily from source package and can also be<br>
provided via your distribution .<br>
the configuration files reside in /etc/ppp , the way i configure it is<br>
to put my username and password in pap-sercrets and create peer/013vpn<br>
which describe for pppd how to bring the vpn tunnel up an that is by<br>
calling pptp , when i get back home i can send you these files to see<br>
the syntax .<br>
<br>
after pppd finishes and the tunnel is up , you need to use the &#39;route&#39;<br>
command to make<br>
your kernel route your network connection via the vpn tunnel ( i don&#39;t<br>
understand this part well ) before pppd&#39;s work your connection is<br>
routed to your dhcp server ( hot/bezeq .. ) and you need to replace<br>
that with a line for the remote address of the vpn tunnel<br>
i use /etc/ppp/peers/013vpn inorder to ask pppd to use a log file<br>
which shows the remote ip of the tunnel , but there must be a better<br>
way to do that .<br>
<br>
you also need to make sure that /etc/resolve.conf has the dns<br>
nameserver of your vpn tunnel , i also user .../013vpn to tell pppd to<br>
create that file and update /etc/resolve.conf<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Mar 4, 2009 at 9:29 AM, Amichai Rotman &lt;<a href="mailto:amichai@iglu.org.il">amichai@iglu.org.il</a>&gt; wrote:<br>
&gt; Hi Yakoub,<br>
&gt;<br>
&gt; I saw a post by you from a while back to the Haifux mailing list regarding<br>
&gt; the settings needed to connect to the Technion&#39;s network via VPN under<br>
&gt; Linux.<br>
&gt;<br>
&gt; I am helping out to the SSDL, and I would like to put together a guide, How<br>
&gt; To, to be posted to the Lab&#39;s Wiki or even the Technion&#39;s VPN portal.<br>
&gt;<br>
&gt; I don&#39;t mind doing the writing, but I need your help (since it seems you<br>
&gt; were able to connect to the Technion via VPN under Linux) with the<br>
&gt; specifics. The Lab uses Ubuntu Hardy (8.04.2) LTS, but I guess we should<br>
&gt; have a guide for both KDE and Gnome.<br>
&gt;<br>
&gt; Can you help?<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt; .:====================================================:.<br>
&gt;<br>
&gt; Amichai Rotman<br>
&gt;<br>
&gt; UIN#: 6401746<br>
&gt; Registered Linux User#: 201192 [<a href="http://counter.li.org/" target="_blank">http://counter.li.org/</a>]<br>
&gt; Registered Ubuntu User #12851 [<a href="http://ubuntucounter.geekosophical.net" target="_blank">http://ubuntucounter.geekosophical.net</a>]<br>
&gt;<br>
&gt; ------------------------------------------------------------------------------------------------------------<br>
&gt;<br>
&gt; PLEASE READ: <a href="http://www.gnu.org/philosophy/no-word-attachments.html" target="_blank">http://www.gnu.org/philosophy/no-word-attachments.html</a><br>
&gt;<br>
&gt; ------------------------------------------------------------------------------------------------------------<br>
&gt;<br>
&gt; .:====================================================:.<br>
&gt;<br>
</div></div></blockquote></div><br></div>