Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Рвется VPN туннель, а ppp0 остается активным
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
NWhisper
n00b
n00b


Joined: 16 May 2006
Posts: 33

PostPosted: Fri Feb 02, 2007 5:22 pm    Post subject: Рвется VPN туннель, а ppp0 остается а Reply with quote

Всем привет!

Есть VPN соединение, настроенное через /etc/conf.d/net. Устанавливается и работает нормально, но иногда VPN туннель обрывается (т.е. фактически соединения уже нет), а net.ppp0 остается в рабочем состоянии. И если выполнить /etc/init.d/net.ppp0 restart перезапуск происходит, но VPN туннель при этом не поднимается.
Такой же эффект наблюдается, если при старте системы не удалось установить VPN соединение, то net.ppp0 больше не поднимается. Вернее он поднимается, но не соединяется с VPN сервером.

Подскажите, как можно эти обрывы отследить или поправить? И как перезапускать в таких случаях VPN сессию?
Back to top
View user's profile Send private message
amazing
n00b
n00b


Joined: 28 Jan 2007
Posts: 9
Location: Russia, SPb

PostPosted: Sat Feb 03, 2007 12:27 pm    Post subject: Reply with quote

попробуйте добавить в /etc/conf.d/net

Code:
pppd_ppp0=(
    "maxfail 0"
    "persist"
)


это позволит коннектиться бесконечное кол-во раз на VPN гейт при крахе туннеля.
Back to top
View user's profile Send private message
NWhisper
n00b
n00b


Joined: 16 May 2006
Posts: 33

PostPosted: Sat Feb 03, 2007 12:37 pm    Post subject: Reply with quote

Уже попробовал...
Но похоже не восстанавливаются маршруты, которые в postup() прописаны...
Back to top
View user's profile Send private message
NWhisper
n00b
n00b


Joined: 16 May 2006
Posts: 33

PostPosted: Sat Apr 07, 2007 10:58 am    Post subject: Reply with quote

Снова поднимаю тему... Может у кого идеи появились?
Back to top
View user's profile Send private message
devil_ua
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2004
Posts: 128
Location: Kiev, Ukraine

PostPosted: Tue Apr 24, 2007 8:02 pm    Post subject: Reply with quote

pppd_ppp0=(
"updetach" # WARNING: If you don't specify this then we will
# not wait for the actual PPP link to go up
"debug" # Enables syslog debugging
"noauth" # Do not require the peer to authenticate itself
"defaultroute" # Make this PPP interface the default route
"lcp-echo-interval 15" # Send a LCP echo every 15 seconds
"lcp-echo-failure 3" # Make peer dead after 3 seconds of in-activity
)
_________________
Web developer & High-load application deployer
Web Site: http://simonov.me
E-Mail: alex@simonov.me
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum