pptp

 ( prince- | 2004. szeptember 28., kedd - 19:13 )

Hozzászólás megjelenítési lehetőségek

A választott hozzászólás megjelenítési mód a „Beállítás” gombbal rögzíthető.

Egy woody-ra letöltöttem a pptpd csomagot, és adsl-rő, XP-t futattó kliensel szeretnék csatlakozni.

A sylogba ez van:

pptpd[22019]: CTRL: Client 81.182.181.131 control connection started
pptpd[22019]: CTRL: Starting call (launching pppd, opening GRE)
modprobe: modprobe: Can't locate module char-major-108
pppd[1938]: This system lacks kernel support for PPP. This could be because the PPP kernel module cou
pptpd[22019]: Error reading from pppd: Input/output error
pptpd[22019]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
pptpd[22019]: CTRL: Client 81.182.181.131 control connection finished

hibaüzenet a konzolon:

/usr/sbin/pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.

ppp-t modulba tettem a kernelbe, ennek ellenére a modprobe ppp parancsra nem talál semmit...

[quote:6a93f03b61="prince-"]
ppp-t modulba tettem a kernelbe, ennek ellenére a modprobe ppp parancsra nem talál semmit...[/quote:6a93f03b61]

lsmod kimenetet tudnal ide irni?

Module Size Used by Not tainted
ppdev 6308 0 (unused)
nls_cp850 3616 0 (autoclean)
nls_cp852 3616 0 (autoclean)
nls_iso8859-2 3392 0 (autoclean)
smbfs 38048 0 (autoclean)
ipt_unclean 6752 0 (unused)
ipt_ttl 736 0 (unused)
ipt_tos 640 0 (unused)
ipt_tcpmss 1120 0 (unused)
ipt_recent 7680 0 (unused)
ipt_pkttype 672 0 (unused)
ipt_owner 1504 0 (unused)
ipt_multiport 832 0 (unused)
ipt_mark 640 0 (unused)
ipt_mac 800 0 (unused)
ipt_length 672 0 (unused)
ipt_helper 1120 0 (unused)
ipt_esp 736 0 (unused)
ipt_ecn 864 0 (unused)
ipt_dscp 640 0 (unused)
ipt_conntrack 1184 0 (unused)
ipt_ah 736 0 (unused)
ipt_ULOG 3904 0 (unused)
ipt_TOS 1216 0 (unused)
ipt_TCPMSS 2528 0 (unused)
ipt_REJECT 3296 0 (unused)
ipt_REDIRECT 1088 0 (unused)
ipt_MIRROR 1408 0 (unused)
ipt_MARK 928 0 (unused)
ipt_ECN 1760 0 (unused)
ipt_DSCP 1184 0 (unused)
ip_queue 5148 0 (unused)
ip_nat_tftp 2016 0 (unused)
ip_nat_snmp_basic 7776 0 (unused)
ip_nat_amanda 1408 0 (unused)
ip_conntrack_tftp 1792 1
ip_conntrack_amanda 1568 1
arptable_filter 1664 0 (unused)
arpt_mangle 1248 0 (unused)
arp_tables 10016 2 [arptable_filter arpt_mangle]
ipt_psd 43008 1
ipt_stealth 1120 0 (unused)
ipt_limit 1024 13 (autoclean)
ipt_LOG 3360 7 (autoclean)
ipt_state 704 1
ip_nat_ftp 3680 0 (unused)
ip_conntrack_ftp 4128 1 [ip_nat_ftp]
ip_nat_irc 2912 0 (unused)
ip_conntrack_irc 3360 1 [ip_nat_irc]
ipt_MASQUERADE 2048 1
iptable_mangle 2336 0 (autoclean) (unused)
iptable_nat 22900 7 (autoclean) [ipt_REDIRECT ip_nat_tftp ip_nat_snmp_basic ip_nat_amanda ip_nat_ftp ip_nat_irc ipt_MASQUERADE]
ip_conntrack 28084 4 (autoclean) [ipt_helper ipt_conntrack ipt_REDIRECT ip_nat_tftp ip_nat_amanda ip_conntrack_tftp ip_conntrack_amanda ipt_state ip_nat_ftp ip_conntrack_ftp ip_nat_irc ip_conntrack_irc ipt_MASQUERADE iptable_nat]
iptable_filter 1824 1 (autoclean)
ip_tables 13728 37 [ipt_unclean ipt_ttl ipt_tos ipt_tcpmss ipt_recent ipt_pkttype ipt_owner ipt_multiport ipt_mark ipt_mac ipt_length ipt_helper ipt_esp ipt_ecn ipt_dscp ipt_conntrack ipt_ah ipt_ULOG ipt_TOS ipt_TCPMSS ipt_REJECT ipt_REDIRECT ipt_MIRROR ipt_MARK ipt_ECN ipt_DSCP ipt_psd ipt_stealth ipt_limit ipt_LOG ipt_state ipt_MASQUERADE iptable_mangle iptable_nat iptable_filter]
msdos 5020 0
fat 30296 0 [msdos]
usb-uhci 21348 0 (unused)
usbcore 62624 0 [usb-uhci]

[quote:80360c7961="prince-"]Module Size Used by Not tainted
...
[/quote:80360c7961]

En itt nem latom modulba betoltve a ppp_generic es ppp_async modulokat. Az async is kell, ha analog modemed, vagy adsl-ed van. Ha ISDN akkor sync kell.

Valami ilyesmi kell (nekem fixen van a kernelben, csak emlekezetbol irom):

[...]
ppp_async 11744 0
ppp_generic 29552 1 ppp_async
[...]

oks, Thx.

http://www.czeh.hu/linuxdoc/vpn-pptp.html

Ez jo neked!

[quote:b5d022df56="prince-"]oks, Thx.[/quote:b5d022df56]

Ha jól emléxem, akkor 2.4.27-hez még fel kell nyomatnod az iptables-re a patch-o-matic-ból a pptp-conntrack és pptp-nat támogatást.

Üdv,
Dw.