From: Kir <forlin@yandex.ru> To: "Рассылка, ALTLinux Community" <community@altlinux.ru> Subject: [Comm] Проблема с PPTP Date: Fri, 18 Mar 2005 05:10:24 +0300 Message-ID: <1746834821.20050318051024@yandex.ru> (raw) Доброго времени суток! Года два, наверно, уже не писал сюда - то сети не хватало, то комп горел. Однако, рад видеть community в здравии! :-) Теперь по делу. Соединен с провайдером через локальную сеть. Выход в Интернет через VPN. Под ХР все работает. Под Линуксом столкнулся с проблемой. Настроил PPTP точно как рассказано здесь: http://docs.altlinux.ru/beta/admin/ch04s03s04.html Однако же ОНО работать не хочет. Наверно, виноваты кривые ручки. Помогите разобраться, люди добрые! ======================================== Фактура: ^^^^^^^ Мой статический IP в локальной сети: 192.168.40.166 Шлюз (общий для ЛС и VPN): 192.168.40.1 IP VPN-подключения: 192.168.0.254 --------------------------------------- Содержание файлов: ^^^^^^^^^^^^^^^^^ /etc/sysconfig/network NETWORKING=yes HOSTNAME=comp1 DOMAINNAME=localdomain /etc/sysconfig/static-routes any net 192.168.20.0 netmask 255.255.255.0 gw 192.168.40.1 dev eth0 any net 192.168.30.0 netmask 255.255.255.0 gw 192.168.40.1 dev eth0 any net 192.168.40.0 netmask 255.255.255.0 gw 192.168.40.1 dev eth0 any net 192.168.50.0 netmask 255.255.255.0 gw 192.168.40.1 dev eth0 /etc/ppp/resolf.conf # search localdomain search localdomain nameserver 62.181.43.3 # ppp temp entry /etc/ppp/chap-secrets # Secrets for authentication using CHAP # client server secret IP addresses MY_LOGIN PPTP MY_PASS * /etc/ppp/pap-secrets # Secrets for authentication using PAP # client server secret IP addresses MY_LOGIN PPTP MY_PASS * /etc/ppp/peers/shukino # # PPTP Tunnel configuration for tunnel shukino # Server IP: 192.168.0.254 # debug pty "/usr/sbin/pptp 192.168.0.254 --nolaunchpppd" connect /bin/true defaultroute # # Tags for CHAP secret selection # name svetit remotename PPTP # # Tunnel name for ip-up.local or ip-up.d scripts # ipparam shukino # # Include the main PPTP configuration file # file /etc/ppp/options.pptp --------------------------------------- Таблица маршрутизации: ^^^^^^^^^^^^^^^^^^^^^ [root@comp1 root]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.20.0 192.168.40.1 255.255.255.0 UG 0 0 0 eth0 192.168.50.0 192.168.40.1 255.255.255.0 UG 0 0 0 eth0 172.16.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.30.0 192.168.40.1 255.255.255.0 UG 0 0 0 eth0 192.168.40.0 192.168.40.1 255.255.255.0 UG 0 0 0 eth0 192.168.40.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo Прим. eth1 резервирована под домашнюю сеть. С ней пока не ковырялся. Но тоже, чувствую, хлебну лиха :-) ---------------------------------------------- Попытка запустить PPTP: ^^^^^^^^^^^^^^^^^^^^^^ [root@comp1 root]# service pptptunnel start Starting "shukino" PPTP tunnel service: Serial connection established. anon warn[pptp_gre_bind:pptp_gre.c:95]: connect: Network is unreachable anon fatal[main:pptp.c:251]: Cannot bind GRE socket, aborting. Couldn't get channel number: Input/output error Waiting for 1 child processes... script /usr/sbin/pptp 192.168.0.254 --nolaunchpppd, pid 2591 Script /usr/sbin/pptp 192.168.0.254 --nolaunchpppd finished (pid 2591), status = 0x1 [FAILED] ================================================================ Что не так у меня (это скорее всего) или у провайдера? -- На всякий случай: Дистрибутив "ALT Linux 2.4 Master" c ftp.altlinux.ru -------------------------------------------------------- С уважением, Kir forlin@yandex.ru
next reply other threads:[~2005-03-18 2:10 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-18 2:10 Kir [this message] 2005-03-18 5:04 ` Mike Lykov 2005-03-18 13:35 ` Re[2]: " Kir 2005-03-18 6:28 ` Alexander Vasiliev 2005-03-18 13:37 ` Re[2]: " Kir 2005-03-18 14:12 ` Kir 2005-03-18 6:49 ` Alexey I. Froloff 2005-03-18 14:15 ` Re[2]: " Kir 2005-03-19 20:40 ` [Comm] Проблема с PPTP - всё решилось, осталось дело за малым Kir 2005-03-20 13:02 ` [Comm] " Michael Shigorin 2005-03-20 13:09 ` Nick S. Grechukh 2005-03-21 12:41 ` Re[2]: " Kir
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1746834821.20050318051024@yandex.ru \ --to=forlin@yandex.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git