hadadzhi |
|
Темы:
8
Сообщения:
32
Участник с: 09 августа 2009
|
Всем привет. Долго не юзал арч; последний раз, когда настраивал в нем интернет, билайн еще был на pptp. Сейчас вот понадобилось настраивать интернет снова, теперь уже l2tp, будь он неладен. Arch поставил с образа 2011.08.19. Воспользовавшись поиском, сварганил такой конфиг: /etc/ppp/peers/beeline: name login remotename tp ipparam beeline connect /bin/true nodeflate nobsdcomp noauth persist maxfail 0 nopcomp noaccomp defaultroute logfile /var/log/ppp mtu 1500 mru 1500 lcp-echo-interval 20 lcp-echo-failure 4 [global] access control = yes [lac beeline] lns = tp.internet.beeline.ru redial = yes redial timeout = 1 require chap = yes require authentication = no name = login pppoptfile = /etc/ppp/peers/beeline require pap = no autodial = yes Маршруты до DNS и до tp.internet.beeline.ru прописываю, default маршрут удаляю, запускаю xl2tpd. После некоторого количества неудачных попыток соединение устанавливается, поднимается интерфейс ppp0, даже появляется default route на ppp0. Только ни один адрес в интернете не пингуется, а в ppp0 уходит огромное кол-во траффика. ifconfig показывает за пару минут работы ppp0 TX bytes в гигабайтах. Помогите, пожалуйста. |
user256 |
|
Темы:
0
Сообщения:
8
Участник с: 09 декабря 2011
|
hadadzhi, покажи таблицу маршутизации в тот момент, когда быстро растет счетчик TX bytes. Проблема в одной неправильной записи, маршруте до одного из ip-адресов tp.internet.beeline.ru через устройство ppp0. Такую запись хорошо удалять скриптом, исполняющемся после поднятия ppp-соединения. |
hadadzhi |
|
Темы:
8
Сообщения:
32
Участник с: 09 августа 2009
|
user_256Спасибо! Глянул внимательно: действительно, после поднятия vpn автоматически прописывался совершенно лишний маршрут до vpn сервера через ppp0. Прописал в ip-up его удалять, заработало. |
virusfound |
|
Темы:
0
Сообщения:
19
Участник с: 27 ноября 2011
|
Так. Начал по-новой. Локалка после dhcp есть (вручную дописал маршруты). А вот xl2tpd авторизоваться теперь не может по chap. Виндовый впн клиент по тем же логину и паролю - может, а xl2tpd - не может… 0893304887 - мой логин, если что. chap-secrets вида: логин * пароль Jan 23 00:25:10 arch xl2tpd[832]: Calling on tunnel 65139 Jan 23 00:25:10 arch xl2tpd[832]: Call established with 78.107.1.55, Local: 63856, Remote: 30744, Serial: 49 (ref=0/0) Jan 23 00:25:10 arch xl2tpd[832]: start_pppd: I'm running: Jan 23 00:25:10 arch xl2tpd[832]: "/usr/sbin/pppd" Jan 23 00:25:10 arch xl2tpd[832]: "passive" Jan 23 00:25:10 arch xl2tpd[832]: "nodetach" Jan 23 00:25:10 arch xl2tpd[832]: ":" Jan 23 00:25:10 arch xl2tpd[832]: "name" Jan 23 00:25:10 arch xl2tpd[832]: "0893304887" Jan 23 00:25:10 arch xl2tpd[832]: "debug" Jan 23 00:25:10 arch xl2tpd[832]: "file" Jan 23 00:25:10 arch xl2tpd[832]: "/etc/ppp/options.l2tpd" Jan 23 00:25:10 arch xl2tpd[832]: "/dev/pts/0" Jan 23 00:25:10 arch pppd[953]: pppd 2.4.5 started by root, uid 0 Jan 23 00:25:10 arch pppd[953]: Script /bin/true finished (pid 954), status = 0x0 Jan 23 00:25:10 arch pppd[953]: Serial connection established. Jan 23 00:25:10 arch pppd[953]: using channel 49 Jan 23 00:25:10 arch pppd[953]: Using interface ppp0 Jan 23 00:25:10 arch pppd[953]: Connect: ppp0 <--> /dev/pts/0 Jan 23 00:25:11 arch pppd[953]: sent [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0x0> <magic 0xb858f80e>] Jan 23 00:25:11 arch pppd[953]: rcvd [LCP ConfReq id=0x1 <mru 1460> <asyncmap 0xa0000> <auth chap MD5> <magic 0xdafff160> <pcomp> <accomp>] Jan 23 00:25:11 arch pppd[953]: sent [LCP ConfRej id=0x1 <pcomp> <accomp>] Jan 23 00:25:11 arch pppd[953]: rcvd [LCP ConfAck id=0x1 <mru 1460> <asyncmap 0x0> <magic 0xb858f80e>] Jan 23 00:25:11 arch pppd[953]: rcvd [LCP ConfReq id=0x2 <mru 1460> <asyncmap 0xa0000> <auth chap MD5> <magic 0xdafff160>] Jan 23 00:25:11 arch pppd[953]: sent [LCP ConfAck id=0x2 <mru 1460> <asyncmap 0xa0000> <auth chap MD5> <magic 0xdafff160>] Jan 23 00:25:11 arch pppd[953]: sent [LCP EchoReq id=0x0 magic=0xb858f80e] Jan 23 00:25:11 arch pppd[953]: rcvd [LCP EchoRep id=0x0 magic=0xdafff160] Jan 23 00:25:11 arch pppd[953]: rcvd [CHAP Challenge id=0x1 <827e82b9b82a708e8ba33370d3b28211>, name = "bras310"] Jan 23 00:25:11 arch pppd[953]: sent [CHAP Response id=0x1 <f6caab75c3dc20f107820ab060136922>, name = "0893304887"] Jan 23 00:25:11 arch pppd[953]: rcvd [CHAP Failure id=0x1 "Authentication failed"] Jan 23 00:25:11 arch pppd[953]: CHAP authentication failed: Authentication failed Jan 23 00:25:11 arch pppd[953]: CHAP authentication failed Jan 23 00:25:11 arch pppd[953]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"] Jan 23 00:25:11 arch pppd[953]: rcvd [LCP TermReq id=0x3] Jan 23 00:25:11 arch pppd[953]: sent [LCP TermAck id=0x3] Jan 23 00:25:11 arch xl2tpd[832]: handle_avps: don't know how to handle atribute 46. Jan 23 00:25:11 arch xl2tpd[832]: handle_avps: don't know how to handle atribute 104. Jan 23 00:25:11 arch xl2tpd[832]: control_finish: Connection closed to 78.107.1.55, serial 49 (Locally generated disconnect) Jan 23 00:25:11 arch xl2tpd[832]: Terminating pppd: sending TERM signal to pid 953 Jan 23 00:25:11 arch pppd[953]: Terminating on signal 15 Jan 23 00:25:11 arch pppd[953]: Modem hangup Jan 23 00:25:11 arch pppd[953]: Connection terminated. Jan 23 00:25:11 arch pppd[953]: Exit. |
user256 |
|
Темы:
0
Сообщения:
8
Участник с: 09 декабря 2011
|
virus_found, покажи содержимое файла /etc/xl2tpd/xl2tpd.conf или сразу попробуй привести конфиги в соответствие этим. |
virusfound |
|
Темы:
0
Сообщения:
19
Участник с: 27 ноября 2011
|
Стартую нетворк даемон, дописываю маршруты до днс серверов корбины. Получается полноценная локалка. Все маршруты с метрикой 202. После поднятия xl2tpd появляется один маршрут до впн сервера via ppp0. Только до сервера, без масок. Без метрики (т.е. метрика как бы 0, самая приоритетная). Что делать-то с этим маршрутом? И надо ли? Больше никаких маршрутов via ppp0 нет. EDIT> Неактуально. Всё сделал. |
letarch |
|
Темы:
0
Сообщения:
4
Участник с: 29 декабря 2011
|
Здравствуйте! Никоим образом не получается у меня настроить подключение к интернету в корбине. Уже и тот способ запробовал, и этот. И бесполезно. Поэтому спрашиваю у вас - что сделал не так? Конфиги руководящих файлов прилагаю. /etc/rc.conf # # /etc/rc.conf - Main Configuration for Arch Linux # # ----------------------------------------------------------------------- # LOCALIZATION # ----------------------------------------------------------------------- LOCALE="ru_RU.UTF-8" DAEMON_LOCALE="no" HARDWARECLOCK="UTC" TIMEZONE="Europe/Moscow" KEYMAP="ru" CONSOLEFONT="cyr-sun16" CONSOLEMAP= USECOLOR="yes" MODULES=() # Udev settle timeout (default to 30) UDEV_TIMEOUT=30 # Scan for FakeRAID (dmraid) Volumes at startup USEDMRAID="no" # Scan for BTRFS volumes at startup USEBTRFS="no" # Scan for LVM volume groups at startup, required if you use LVM USELVM="no" interface=eth0 address= netmask= broadcast= gateway= # Setting this to "yes" will skip network shutdown. # This is required if your root device is on NFS. NETWORK_PERSIST="no" DAEMONS=(hwclock syslog-ng network netfs crond gpm) /etc/xl2tpd/xl2tpd.conf [global] access control = yes auth file = /etc/ppp/chap-secrets [lac corbina] lns = tp.internet.beeline.ru redial = yes redial timeout = 10 require chap = yes require authentication = no name = 0893978793@internet.beeline.ru ppp debug = no pppoptfile = /etc/ppp/options.xl2tpd require pap = no autodial = yes tx bps = 100000000 /etc/ppp/options.xl2tpd lcp-echo-interval 10 lcp-echo-failure 2 name 0893978793@internet.beeline.ru remotename l2tp ipparam corbina connect /bin/true mru 1460 mtu 1460 nodeflate nobsdcomp persist maxfail 0 nopcomp noaccomp noauth /etc/rc.d/xl2tpd #!/bin/bash # general config . /etc/rc.conf . /etc/rc.d/functions case "$1" in start) [ -d /var/run/xl2tpd ] || mkdir -p /var/run/xl2tpd stat_busy "Starting xl2tpd" /usr/sbin/xl2tpd if [ $? -gt 0 ]; then stat_fail else add_daemon xl2tpd stat_done fi route add -host tp.internet.beeline.ru gw 10.97.136.1 route add -host 213.234.192.8 gw 10.97.136.1 route add -host 85.21.192.3 gw 10.97.136.1 sleep 1 route del default ;; stop) stat_busy "Stopping xl2tpd" [ -f /var/run/xl2tpd.pid ] && kill `cat /var/run/xl2tpd.pid` if [ $? -gt 0 ]; then stat_fail else rm -f /var/run/xl2tpd.pid rm_daemon xl2tpd stat_done fi route add default gw 10.97.136.1 ;; restart) $0 stop sleep 1 $0 start ;; *) echo "usage: $0 {start|stop|restart}" ;; esac exit 0 /etc/ppp/chap-secrets # Secrets for authentication using CHAP # client server secret IP addresses 0893978793@internet.beeline.ru * mypass * Часть /var/log/messages.log Mar 1 22:56:18 localhost xl2tpd[824]: This binary does not support kernel L2TP. Mar 1 22:56:18 localhost xl2tpd[825]: xl2tpd version xl2tpd-1.3.0 started on myhost PID:825 Mar 1 22:56:18 localhost xl2tpd[825]: Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc. Mar 1 22:56:18 localhost xl2tpd[825]: Forked by Scott Balmos and David Stipp, (C) 2001 Mar 1 22:56:18 localhost xl2tpd[825]: Inherited by Jeff McAdams, (C) 2002 Mar 1 22:56:18 localhost xl2tpd[825]: Forked again by Xelerance (www.xelerance.com) (C) 2006 Mar 1 22:56:18 localhost xl2tpd[825]: Listening on IP address 0.0.0.0, port 1701 Mar 1 22:56:18 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:56:18 localhost xl2tpd[825]: Connection established to 89.179.17.27, 1701. Local: 13664, Remote: 65281 (ref=0/0). Mar 1 22:56:18 localhost xl2tpd[825]: Calling on tunnel 13664 Mar 1 22:56:18 localhost xl2tpd[825]: Call established with 89.179.17.27, Local: 58284, Remote: 5693, Serial: 1 (ref=0/0) Mar 1 22:56:18 localhost pppd[830]: pppd 2.4.5 started by letarch, uid 0 Mar 1 22:56:18 localhost kernel: [ 371.098203] PPP generic driver version 2.4.2 Mar 1 22:56:18 localhost pppd[830]: Serial connection established. Mar 1 22:56:18 localhost pppd[830]: Using interface ppp0 Mar 1 22:56:18 localhost pppd[830]: Connect: ppp0 <--> /dev/pts/2 Mar 1 22:56:40 localhost xl2tpd[825]: handle_avps: don't know how to handle atribute 46. Mar 1 22:56:40 localhost xl2tpd[825]: handle_avps: don't know how to handle atribute 104. Mar 1 22:56:40 localhost xl2tpd[825]: control_finish: Connection closed to 89.179.17.27, serial 1 (Locally generated disconnect) Mar 1 22:56:40 localhost pppd[830]: Terminating on signal 15 Mar 1 22:56:40 localhost pppd[830]: Modem hangup Mar 1 22:56:40 localhost pppd[830]: Connection terminated. Mar 1 22:56:40 localhost pppd[830]: Exit. Mar 1 22:56:50 localhost xl2tpd[825]: Calling on tunnel 13664 Mar 1 22:56:55 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 13664. Closing. Mar 1 22:56:55 localhost xl2tpd[825]: Connection 65281 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 22:57:05 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:57:08 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:10 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 39229. Closing. Mar 1 22:57:10 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 22:57:15 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:57:16 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:24 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:25 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:57:30 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 9581. Closing. Mar 1 22:57:30 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.204, port 1701 (Timeout) Mar 1 22:57:32 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:35 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:57:40 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:45 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:57:48 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:57:50 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 42773. Closing. Mar 1 22:57:50 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.215, port 1701 (Timeout) Mar 1 22:57:55 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:57:56 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:04 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:05 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:58:10 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 63153. Closing. Mar 1 22:58:10 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 22:58:12 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:15 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:58:20 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:25 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:58:28 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:30 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 24355. Closing. Mar 1 22:58:30 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.202, port 1701 (Timeout) Mar 1 22:58:35 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:58:36 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:44 localhost xl2tpd[825]: Can not find tunnel 13664 (refhim=0) Mar 1 22:58:45 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:58:50 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 10116. Closing. Mar 1 22:58:50 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 22:58:55 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:59:05 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:59:10 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 22814. Closing. Mar 1 22:59:10 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.120, port 1701 (Timeout) Mar 1 22:59:15 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:59:26 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:59:31 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 26918. Closing. Mar 1 22:59:31 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.26, port 1701 (Timeout) Mar 1 22:59:36 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 22:59:46 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 22:59:51 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 63361. Closing. Mar 1 22:59:51 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 22:59:56 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:00:06 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:00:11 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 61380. Closing. Mar 1 23:00:11 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.194, port 1701 (Timeout) Mar 1 23:00:16 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:00:26 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:00:31 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 47195. Closing. Mar 1 23:00:31 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.26, port 1701 (Timeout) Mar 1 23:00:36 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:00:46 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:00:51 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 37362. Closing. Mar 1 23:00:51 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.206, port 1701 (Timeout) Mar 1 23:00:56 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:01:06 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:01:11 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 30946. Closing. Mar 1 23:01:11 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.216, port 1701 (Timeout) Mar 1 23:01:16 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:01:26 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:01:31 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 53368. Closing. Mar 1 23:01:31 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 23:01:36 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:01:46 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:01:51 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 36859. Closing. Mar 1 23:01:51 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 23:01:56 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:02:06 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:02:11 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 567. Closing. Mar 1 23:02:11 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 23:02:16 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:02:26 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:02:31 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 64795. Closing. Mar 1 23:02:31 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.201, port 1701 (Timeout) Mar 1 23:04:06 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:04:11 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 30193. Closing. Mar 1 23:04:11 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.201, port 1701 (Timeout) Mar 1 23:04:16 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:04:26 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:04:31 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 23967. Closing. Mar 1 23:04:31 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.26, port 1701 (Timeout) Mar 1 23:04:36 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:04:46 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:04:51 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 2265. Closing. Mar 1 23:04:51 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.126, port 1701 (Timeout) Mar 1 23:04:56 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:05:07 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:05:12 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 41301. Closing. Mar 1 23:05:12 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.202, port 1701 (Timeout) Mar 1 23:05:17 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:05:27 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:05:32 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 3183. Closing. Mar 1 23:05:32 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.198, port 1701 (Timeout) Mar 1 23:05:37 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:05:47 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:05:52 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 59725. Closing. Mar 1 23:05:52 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 23:05:57 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:06:07 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:06:12 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 8061. Closing. Mar 1 23:06:12 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.26, port 1701 (Timeout) Mar 1 23:06:17 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:06:27 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:06:32 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 2110. Closing. Mar 1 23:06:32 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 23:06:37 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:06:47 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:06:52 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 41118. Closing. Mar 1 23:06:52 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 23:06:57 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:07:07 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:07:12 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 63619. Closing. Mar 1 23:07:12 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 23:07:17 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:07:27 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:07:32 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 18715. Closing. Mar 1 23:07:32 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.26, port 1701 (Timeout) Mar 1 23:07:37 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:07:47 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:07:52 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 61482. Closing. Mar 1 23:07:52 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.205, port 1701 (Timeout) Mar 1 23:07:57 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:08:07 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:08:12 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 1641. Closing. Mar 1 23:08:12 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.218, port 1701 (Timeout) Mar 1 23:08:17 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:08:27 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:08:32 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 40801. Closing. Mar 1 23:08:32 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.200, port 1701 (Timeout) Mar 1 23:08:37 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:08:47 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:08:52 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 28528. Closing. Mar 1 23:08:52 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) Mar 1 23:08:57 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:09:07 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:09:12 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 11247. Closing. Mar 1 23:09:12 localhost xl2tpd[825]: Connection 0 closed to 78.107.38.198, port 1701 (Timeout) Mar 1 23:09:17 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:09:27 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:09:32 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 52104. Closing. Mar 1 23:09:32 localhost xl2tpd[825]: Connection 0 closed to 89.179.17.27, port 1701 (Timeout) Mar 1 23:09:37 localhost xl2tpd[825]: Will redial in 10 seconds Mar 1 23:09:47 localhost xl2tpd[825]: Connecting to host tp.internet.beeline.ru, port 1701 Mar 1 23:09:52 localhost xl2tpd[825]: Maximum retries exceeded for tunnel 26112. Closing. Mar 1 23:09:52 localhost xl2tpd[825]: Connection 0 closed to 85.21.230.78, port 1701 (Timeout) А вот что происходит при выполнении команд: ping tp.internet.beeline.ru connect: Network is unreachable :: Starting Network [DONE] [letarch@myhost ~]$ sudo /etc/rc.d/xl2tpd start :: Starting xl2tpd [FAIL] tp.internet.beeline.ru: Host name lookup failure SIOCDELRT: No such process [letarch@myhost ~]$ Подскажите, пожалуйста, куда копать, где искать решение, а то я уж совсем отчаялся… |
bobart |
|
Темы:
38
Сообщения:
2537
Участник с: 28 ноября 2009
|
route add -host tp.internet.beeline.ru gw 10.97.136.1 Что покажет команда ~$ host tp.internet.beeline.ru после старта network (без попытки поднять ppp0), то есть, когда есть только локальная сеть? Да, и там, выше упоминался пакет net-tools. |
user256 |
|
Темы:
0
Сообщения:
8
Участник с: 09 декабря 2011
|
letarch, посмотри на таблицу маршрутизации до старта демона xl2tpd и после. Заодно проверь вывод команды ifconfig после старта демона. Соединение с tp.internet.beeline.ru, судя по логам, поднимается и сразу же отваливается. |
letarch |
|
Темы:
0
Сообщения:
4
Участник с: 29 декабря 2011
|
Пакет net-tools установлен. Пробовал host tp.internet.beeline.ru, пишет нет такой команды. Вот что будет в ifconfig и route -n до и после поднятия xl2tpd. Также добавил скрипт от sig_wall в /etc/ppp/ip-up.d/ но чот тоже не помогло. |