From: "Shur" <shamus.gal@mtu-net.ru> To: community@altlinux.ru Subject: Re: [Comm] pptp: no divert_blk to free, ppp0 not ethernet Date: Mon, 30 Dec 2002 23:59:46 +0300 Message-ID: <20021230235946.64c2e84c.shamus.gal@mtu-net.ru> (raw) In-Reply-To: <200212302326.15404.xinu@pochtamt.ru> Добрый вечер. On Mon, 30 Dec 2002 23:26:15 +0300 Ilya Kirov <xinu@pochtamt.ru> wrote: > Добрый вечер! > > Домучил я свою сетку, теперь pptp не поднимается.... > > Был бы очень благодарен за подсказку в каком месте искать. > > Вот что в /var/log/kernel/info вылезает постоянно: > > Dec 30 22:58:53 kaloris kernel: divert: not allocating > divert_blk for non-ethernet device ppp0 > Dec 30 22:59:23 kaloris kernel: divert: no divert_blk to free, > ppp0 not ethernet Это фигня, у меня то же самое пишет. > Конфигурация: > > [root@kaloris kernel]# netstat -nr > Kernel IP routing table > Destination Gateway Genmask Flags MSS > Window irtt Iface 10.0.175.0 0.0.0.0 > 255.255.255.0 U 40 0 0 eth0 127.0.0.0 > 0.0.0.0 255.0.0.0 U 40 0 0 lo > 0.0.0.0 10.0.175.1 0.0.0.0 UG 40 0 > 0 eth0 > > [root@kaloris sysconfig]# cat /etc/sysconfig/network > NETWORKING=yes > FORWARD_IPV4=false > HOSTNAME=kaloris.unnilquadium.linuxrsp.edu > DOMAINNAME=edu > GATEWAY=10.0.175.1 [root@stamp kernel]# cat /etc/sysconfig/network NETWORKING=yes FORWARD_IPV4=false HOSTNAME=stamp.home DOMAINNAME=home > # менял на 10.0.175.0, чет совсем к НГ... не помню ничего > # при .0 конфигурация ниже, но тоже не работает с теми же > # ошибками вылазит У меня нет гейтвея. > > [root@kaloris network-scripts]# cat > /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 > BOOTPROTO=static > IPADDR=10.0.175.8 > NETMASK=255.255.255.0 > NETWORK=10.0.175.0 > BROADCAST=10.0.175.255 > ONBOOT=yes [root@stamp kernel]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=dhcp DHCP_CLIENT=/sbin/dhcpxd #IPADDR= #NETMASK= #NETWORK= #BROADCAST= ONBOOT=yes > > [root@kaloris network-scripts]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric > Ref Use Iface 10.0.175.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 > 0.0.0.0 10.0.175.1 0.0.0.0 UG 0 0 > 0 eth0 > > ################Вариант c gateway 10.0.175.0 > > [root@kaloris root]# netstat -nr > Kernel IP routing table > Destination Gateway Genmask Flags MSS > Window irtt Iface 10.0.175.0 0.0.0.0 > 255.255.255.0 U 40 0 0 eth0 127.0.0.0 > 0.0.0.0 255.0.0.0 U 40 0 0 lo > > [root@kaloris root]# route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric > Ref Use Iface 10.0.175.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 > > (всё это, естественно, при опущенном pptp, точнее он не > поднимается как я уже сказал). [root@stamp kernel]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 172.17.0.0 * 255.255.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo При опущенном pptp. [root@stamp kernel]# cat /etc/ppp/options.pptp debug lock nobsdcomp deflate 0 defaultroute pty "/usr/sbin/pptp vpn.informedia.ru --nolaunchpppd" ^^^^^^^^^^^^^^^^^ Здесь у вас должен быть ip адрес [root@stamp kernel]# cat /etc/ppp/peers/informedia # # PPTP Tunnel configuration for tunnel informedia # # Tags for CHAP secret selection # name ficus remotename PPTP # # Include the main PPTP configuration file # file /etc/ppp/options.pptp Ну и CHAP-secrets > > Запускаю через: > > # pptp 10.0.175.1 debug name username112233 remotename > # 10.0.175.1 noipdefault Запускаю: [root@stamp kernel]# cat /usr/local/bin/tunnel-on #!/bin/bash echo '1' > /var/tmp/pptp.pid pppd call informedia Получается: [root@stamp kernel]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 62.117.80.226 * 255.255.255.255 UH 0 0 0 ppp0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 172.17.0.0 * 255.255.0.0 U 0 0 0 eth1 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 62.117.80.226 0.0.0.0 UG 0 0 0 ppp0 Не поможет? -- Удачи. Александр.
prev parent reply other threads:[~2002-12-30 20:59 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-12-30 20:26 Ilya Kirov 2002-12-30 20:59 ` Shur [this message]
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=20021230235946.64c2e84c.shamus.gal@mtu-net.ru \ --to=shamus.gal@mtu-net.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