Network

From TAMI
Revision as of 20:26, 22 April 2012 by AlonLevy (talk | contribs) (add hot connection instructions for fedora)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Network setup in TAMI:

Using openl2tp to connect to hot: http://www.mybroadband.co.il/wiki/HOT_and_openl2tp

fedora:

add a repo at /etc/yum.repos.d/yandex.repo : [yandex] name=yanex baseurl=http://mirror.yandex.ru/fedora/russianfedora/russianfedora/free/fedora/releases/16/Everything/x86_64/os/

Instructions summary (for x86_64, from link above):

edit /usr/lib64/openl2tp/hot

 tunnel create tunnel_name=hot persist=on \
    dest_ipaddr=212.143.209.6 secret=<password> \
 
 ppp profile create profile_name=hot \
    default_route=yes lcp_echo_interval=20 \
 
 session create session_name=hot tunnel_name=hot ppp_profile_name=hot \
    user_name=<username> user_password=<password>

start using l2tpconfig:

config restore file=/usr/lib/openl2tp/hot

to start on bootup edit /etc/sysconfig/openl2tpd and edit the last line to read OPENL2TPD_CONFIG_FILE=/usr/lib64/openl2tp/hot