problèmes vpn et autres

problèmes vpn et autres - Windows & Software

Marsh Posté le 14-03-2005 à 23:02:07    

Bonjour à tous, j'écume les forums en ce moment, car j'ai de petits soucis...
 
Voilà, j'ai installé pptp comme décrit sur poptop.sourceforge.net et pptpclient.sourceforge.net.
 
J'ai copié et un peu modifié les fichiers de configuration donnés sur ces sites, et lorsque je tente d'établir une connexion... ça ne fonctionne pas.
 
J'utilise 2 pc sous fedora core 3, je précise que je débute avec linux.
 
Voilà ce que me sort l'interface lorsque j'essaie d'établir la connexion:
 
Using interface ppp0pptpconfig: monitoring interface ppp0
 
Connect: ppp0 <--> /dev/pts/2
anon warn[open_inetsock:pptp_callmgr.c:317]: connect: Connection refused
anon fatal[callmgr_main:pptp_callmgr.c:123]: Could not open control connection to 213.245.170.223
anon fatal[open_callmgr:pptp.c:426]: Call manager exited with error 256
Modem hangup
Connection terminated.
pptpconfig: pppd process terminated by signal 16 (failed)
pptpconfig: SIGUSR1
 
voici les fichiers de config:
 
/etc/modules.conf
 
ptop example modules.conf file
#
# Note:
# If you had a version of modutils released after about 2001,
# then you probably don't need to make any of these changes.
# -- James Cameron
#
alias char-major-108 ppp_generic
# if kernel 2.2:
# alias char-major-108 ppp
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias net-pf-47 ip_gre
_______________________________
 
/etc/pptpd.conf
 
###############################################################################
# $Id: pptpd.conf,v 1.8 2004/04/28 11:36:07 quozl Exp $
#
# Sample Poptop configuration file /etc/pptpd.conf
#
# Changes are effective when pptpd is restarted.
###############################################################################
 
# TAG: ppp
# Path to the pppd program, default '/usr/sbin/pppd' on Linux
#
#ppp /usr/sbin/pppd
 
# TAG: option
# Specifies the location of the PPP options file.
# By default PPP looks in '/etc/ppp/options'
#
option /etc/ppp/options.pptpd
 
# TAG: debug
# Turns on (more) debugging to syslog
#
#debug
 
# TAG: stimeout
# Specifies timeout (in seconds) on starting ctrl connection
#
# stimeout 10
 
# TAG: noipparam
# Suppress the passing of the client's IP address to PPP, which is
# done by default otherwise.
#
#noipparam
 
# TAG: logwtmp
# Use wtmp(5) to record client connections and disconnections.
#
logwtmp
 
# TAG: bcrelay <if>
# Turns on broadcast relay to clients from interface <if>
#
#bcrelay eth1
 
# TAG: localip
# TAG: remoteip
# Specifies the local and remote IP address ranges.
#
# Any addresses work as long as the local machine takes care of the
# routing. But if you want to use MS-Windows networking, you should
# use IP addresses out of the LAN address space and use the proxyarp
# option in the pppd options file, or run bcrelay.
#
# You can specify single IP addresses seperated by commas or you can
# specify ranges, or both. For example:
#
# 192.168.0.234,192.168.0.245-249,192.168.0.254
#
# IMPORTANT RESTRICTIONS:
#
# 1. No spaces are permitted between commas or within addresses.
#
# 2. If you give more IP addresses than MAX_CONNECTIONS, it will
# start at the beginning of the list and go until it gets
# MAX_CONNECTIONS IPs. Others will be ignored.
#
# 3. No shortcuts in ranges! ie. 234-8 does not mean 234 to 238,
# you must type 234-238 if you mean this.
#
# 4. If you give a single localIP, that's ok - all local IPs will
# be set to the given one. You MUST still give at least one remote
# IP for each simultaneous client.
#
# (Recommended)
localip 192.168.2.1
remoteip 192.168.2.234-238,192.168.2.245
# or
#localip 192.168.0.234-238,192.168.0.245
#remoteip 192.168.1.234-238,192.168.1.245
______________________________________
 
/etc/ppp/options.pptpd
 
# Lock the port
#
lock
 
# To log all traffic & errors into /var/log/daemons/….. ( ! performances )
#debug
#
 
# We need the tunnel server to authenticate itself
#
noauth
 
#require-chap
#
# Turn off transmission protocols we know won't be used
#
nobsdcomp
nodeflate
#
 
# We want MPPE
#
mppe-40
mppe-128
mppe-stateless
#
 
# We want a sane mtu/mru
#
mtu 1000
mru 1000
#
 
# Time this thing out of it goes poof
#
lcp-echo-failure 10
lcp-echo-interval 10
______________________________________
 
/etc/ppp/chap-secrets
 
# PPP CHAP secrets file.
# See pppd(1) for file format.
 
# Secrets for authentication using CHAP
# client server secret IP addresses
monvpn * pw *
 
# For ppp patched with smbauth you use
# * pptpd &/etc/samba/smbpasswd *
je viens de voir ceci dans le terminal, je ne l'avais jamais vu:
[root@localhost ~]# pptpconfig
modinfo: could not find module ppp_mppe
 
Gtk-CRITICAL **: file gtkwidget.c: line 3722 (gtk_widget_get_parent_window): assertion `widget->parent != NULL' failed.
 
 
 
sinon j'ai aussi des problèmes pour installer rdiff-backup, en utilisant rpm il y a plein de dépendances, et d'après ce que j'ai lu sur des forums c'est un bug, et les installer ne mène à rien. Je l'ai donc décompressé manuellement, tout a fonctionné apparemment mais la commande rdiff-backup n'est pas reconnue.
 
 
Autre chose encore : existe-t-il une alternative à "connecter un lecteur réseau" de linux à linux? comment fait-on?
 
dernière question : de quelle forme est le chemin d'accès d'un poste linux à un autre sur lequel un dossier est partagé? comme sur windows? (\\poste\dossier)
 
Merci beaucoup à ceux qui auront le courage, déjà de lire ce post, et encore mieux d'y répondre.

Reply

Marsh Posté le 14-03-2005 à 23:02:07   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed