ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilya Kirov <xinu@pochtamt.ru>
To: AltLinux community <community@altlinux.ru>
Subject: [Comm] pptp: no divert_blk to free, ppp0 not ethernet
Date: Mon, 30 Dec 2002 23:26:15 +0300
Message-ID: <200212302326.15404.xinu@pochtamt.ru> (raw)

Добрый вечер!

Домучил я свою сетку, теперь 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


А вот в /var/log/messages:

Dec 30 22:58:41 kaloris network: Shutting down interface eth0: succeeded
Dec 30 22:58:41 kaloris network: Setting network parameters: succeeded
Dec 30 22:58:41 kaloris ifup: SIOCADDRT: Network is unreachable
Dec 30 22:58:41 kaloris network: Bringing up interface lo: succeeded
Dec 30 22:58:41 kaloris network: Bringing up interface eth0: succeeded
Dec 30 22:58:48 kaloris modprobe: modprobe: Can't locate module 
char-major-10-134

ну здесь service network restart, а вот
при service pptptunnel start

Dec 30 22:58:52 kaloris pptp[3858]: 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection 
established.
Dec 30 22:58:53 kaloris pptp[3858]: 
log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:708]: Outgoing call established 
(call ID 0, peer's call ID 0). 
Dec 30 22:58:53 kaloris pppd[3859]: pppd 2.4.1 started by root, uid 0
Dec 30 22:58:53 kaloris pppd[3859]: Using interface ppp0
Dec 30 22:58:53 kaloris pppd[3859]: Connect: ppp0 <--> /dev/pts/0
Dec 30 22:59:23 kaloris pppd[3859]: LCP: timeout sending Config-Requests 
Dec 30 22:59:23 kaloris pppd[3859]: Connection terminated.
Dec 30 22:59:24 kaloris pppd[3859]: Exit.
Dec 30 22:59:24 kaloris pptp[3856]: log[decaps_hdlc:pptp_gre.c:129]: short 
read (4294967295): Input/output error
Dec 30 22:59:24 kaloris pptp[3858]: log[callmgr_main:pptp_callmgr.c:245]: 
Closing connection
Dec 30 22:59:24 kaloris pptp[3858]: log[pptp_conn_close:pptp_ctrl.c:307]: 
Closing PPTP connection
Dec 30 22:59:24 kaloris pptp[3858]: log[pptp_write_some:pptp_ctrl.c:376]: 
write error: Broken pipe
Dec 30 22:59:24 kaloris pptp[3858]: log[call_callback:pptp_callmgr.c:88]: 
Closing connection
Dec 30 22:59:45 kaloris modprobe: modprobe: Can't locate module 
char-major-10-134

Конфигурация:

[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
# менял на 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@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, точнее он не поднимается как я уже 
сказал).

Запускаю через:

# pptp 10.0.175.1 debug name username112233 remotename 10.0.175.1 noipdefault

или через service pptptunnel start

P.S. Проходила информация о неком OpenVPN пакете в сизифе, но что-то всё 
затихло и ничего нет.

-- 
Ilya Kirov



             reply	other threads:[~2002-12-30 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-30 20:26 Ilya Kirov [this message]
2002-12-30 20:59 ` Shur

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=200212302326.15404.xinu@pochtamt.ru \
    --to=xinu@pochtamt.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