Se pare ca FC3 vine cu MPPE_ul deja compilat si de aceea nu afiseaza nimic.
Daca se verifica in pppd (# strings `which pppd`|grep -i mppe|wc --lines)
apar 41 de linii cu acest mppe.
Arhitectura utilizata este urmatoarea:
Windows98
172.19.20.21/24
|
eth1: 172.16.17.18/24
Server VPN (intra)
eth0: 192.168.9.9/24
|
retea windows: 192.168.0.0
ita cum am procedat in pptpconfig:
Server
name: intra
Servers: intra
username: cristiv
password: xxx
Routing
Client to lan
Encription
v Require Mocrosoft Point-to-Point Encryprtion (MPPE)
v Refuse to Autentificate with EAP
In momentul in care-l pornesc am urmatorul mesaj de eroare:
pptpconfig: debug information dump begins
WARNING: security sensitive information follows
pptpconfig 1.2 2004/06/19 08:57:15
# pppd --version
pppd version 2.4.2
# uname -a
Linux intra.net 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386
GNU/Linux
# grep mppe /proc/modules
ppp_mppe 13824 0 - Live 0x0a9a8000
ppp_generic 35092 1 ppp_mppe, Live 0x0aa09000
# modinfo ppp_mppe
filename: /lib/modules/2.6.9-1.667/kernel/drivers/net/ppp_mppe.ko
license: Dual BSD/GPL
vermagic: 2.6.9-1.667 686 REGPARM 4KSTACKS gcc-3.4
depends: ppp_generic
Array
(
[name] => intra
[server] => intra
[domain] =>
[username] => cristiv
[password] => (hidden by pptpconfig)
[pppd-options] => noipdefault 50
[pptp-options] =>
[resolv] =>
[dns-options] =>
[routing] => routing_client_to_lan
[usepeerdns] => 1
[require-mppe] =>
[nomppe-40] =>
[nomppe-128] =>
[refuse-eap] => 1
[mppe-stateful] =>
[autostart] =>
[iconify] =>
[persist] =>
[debug] => 1
[client-to-lan] =>
)
# route -n (before pppd)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.16.17.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.31 0.0.0.0 UG 0 0 0 eth0
pptpconfig: debug information dump ends, starting pppd
pppd options in effect:
debug # (from /etc/ppp/peers/intra)
updetach # (from command line)
logfd 1 # (from command line)
linkname intra # (from /etc/ppp/peers/intra)
dump # (from /etc/ppp/peers/intra)
noauth # (from /etc/ppp/peers/intra)
refuse-eap # (from /etc/ppp/peers/intra)
name cristiv # (from /etc/ppp/peers/intra)
remotename intra # (from /etc/ppp/peers/intra)
50 # (from /etc/ppp/peers/intra)
# (from /etc/ppp/options)
pty pptp intra --nolaunchpppd # (from /etc/ppp/peers/intra)
ipparam intra # (from /etc/ppp/peers/intra)
noipdefault # (from /etc/ppp/peers/intra)
usepeerdns # (from /etc/ppp/peers/intra)
anon warn[open_inetsock:pptp_callmgr.c:311]: connect: Connection refused
anon fatal[callmgr_main:pptp_callmgr.c:123]: Could not open control
connection to 127.0.0.1
anon fatal[open_callmgr:pptp.c:402]: Call manager exited with error 256
Couldn't get channel number: Input/output error
Waiting for 1 child processes...
script pptp intra --nolaunchpppd , pid 3334
Script pptp intra --nolaunchpppd finished (pid 3334), status = 0x1
# route -n (after pppd exit)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.16.17.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.31 0.0.0.0 UG 0 0 0 eth0
pptpconfig: pppd process terminated by signal 1 (failed)
pptpconfig: SIGHUP
# route -n (after completion)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
172.16.17.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.1.31 0.0.0.0 UG 0 0 0 eth0
Ce poate fi de vina?
> > Incerc sa o pun de un vpn pe FC3
> > http://pptpclient.sourceforge.net/howto-fedora-core-3.phtml
>
> > La punctul 1 b instalez modulul mppe:
> > # rpm --install kernel_ppp_mppe-0.0.4-3dkms.noarch.rpm
> > pt. care semnalaeaza ca a fost instalat ok dupa care dau sa verific
daca-l
> > incarca la cerere:
> > # modprobe ppp-compress-18 && echo success
> > si nu afiseaza nimic.
> > Stie cineva vre-un bug ceva?
> De ce nu incerci sa pui din surse?
http://prdownloads.sourceforge.net/pptpclient/pptp-linux-1.5.0.tar.gz
> Nu trebuie decat sa rulezi doua comenzi: make; make install
> apoi sa cauti in /etc/ppp/ fisierele ip-up, ip-down,
chap-secrets,pap-secrets
> iar ca sa faci conexiunea vpn, /usr/sbin/pppd persist user
numele_utilizatorului pty "pptp
ip_catre_care_faci_conexiunea --nolaunchpppd"
>
> Spor!
> --
---
Detalii despre listele noastre de mail: http://www.lug.ro/