From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Comment: RFC 2476 MSA function at mx18.yandex.ru logged sender identity as: forlin Date: Fri, 18 Mar 2005 05:10:24 +0300 From: Kir X-Mailer: The Bat! (v3.0.1.33) UNREG / CD5BF9353B3B7091 X-Priority: 3 (Normal) Message-ID: <1746834821.20050318051024@yandex.ru> To: =?koi8-r?Q?=F2=C1=D3=D3=D9=CC=CB=C1=2C_ALTLinux_Community?= MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: [Comm] =?koi8-r?b?8NLPwszFzcEg0yBQUFRQ?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2005 02:08:28 -0000 Archived-At: List-Archive: List-Post: Доброго времени суток! Года два, наверно, уже не писал сюда - то сети не хватало, то комп горел. Однако, рад видеть 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