Bonjour a tous !
je cherche des information concernant la connection au reseau EDGE via une carte AC775 de chez Sierra :
j'ai suivit le tuto de Lea linux [
lea-linux.org] mais aucun resultat : voila se que me donne le /var/log/messages :
Jun 21 00:05:21 morphee3 kernel: [ 276.132000] pccard: PCMCIA card inserted into slot 0
Jun 21 00:05:21 morphee3 kernel: [ 276.132000] cs: memory probe 0xc0200000-0xc02fffff: excluding 0xc0200000-0xc020ffff
Jun 21 00:05:21 morphee3 kernel: [ 276.140000] pcmcia: registering new device pcmcia0.0
Jun 21 00:05:22 morphee3 kernel: [ 276.356000] 0.0: ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A
Jun 21 00:05:25 morphee3 pppd[5777]: pppd 2.4.4 started by jerome, uid 1000
Jun 21 00:05:26 morphee3 chat[5779]: timeout set to 5 seconds
Jun 21 00:05:26 morphee3 chat[5779]: abort on (BUSY)
Jun 21 00:05:26 morphee3 chat[5779]: abort on (NO ANSWER)
Jun 21 00:05:26 morphee3 chat[5779]: send (ATZ^M)
Jun 21 00:05:26 morphee3 chat[5779]: expect (OK)
Jun 21 00:05:26 morphee3 chat[5779]: ATZ^M^M
Jun 21 00:05:26 morphee3 chat[5779]: OK
Jun 21 00:05:26 morphee3 chat[5779]: -- got it
Jun 21 00:05:26 morphee3 chat[5779]: send (AT&F&D2&C1S0=0^M)
Jun 21 00:05:26 morphee3 chat[5779]: expect (OK)
Jun 21 00:05:26 morphee3 chat[5779]: ^M
Jun 21 00:05:27 morphee3 chat[5779]: AT&F&D2&C1S0=0^M^M
Jun 21 00:05:27 morphee3 chat[5779]: OK
Jun 21 00:05:27 morphee3 chat[5779]: -- got it
Jun 21 00:05:27 morphee3 chat[5779]: send (AT+CPIN?^M)
Jun 21 00:05:27 morphee3 chat[5779]: expect (READY)
Jun 21 00:05:27 morphee3 chat[5779]: ^M
Jun 21 00:05:27 morphee3 chat[5779]: AT+CPIN?^M^M
Jun 21 00:05:27 morphee3 chat[5779]: +CPIN: SIM PIN^M
Jun 21 00:05:27 morphee3 chat[5779]: ^M
Jun 21 00:05:27 morphee3 chat[5779]: OK^M
Jun 21 00:05:32 morphee3 chat[5779]: alarm
Jun 21 00:05:32 morphee3 chat[5779]: send (AT+CPIN="0000"^M)
Jun 21 00:05:32 morphee3 chat[5779]: expect (OK)
Jun 21 00:05:32 morphee3 chat[5779]: AT+CPIN="0000"^M^M
Jun 21 00:05:32 morphee3 chat[5779]: OK
Jun 21 00:05:32 morphee3 chat[5779]: -- got it
Jun 21 00:05:32 morphee3 chat[5779]: send (ATE0V1^M)
Jun 21 00:05:33 morphee3 chat[5779]: expect (OK)
Jun 21 00:05:33 morphee3 chat[5779]: ^M
Jun 21 00:05:33 morphee3 chat[5779]: ATE0V1^M^M
Jun 21 00:05:33 morphee3 chat[5779]: OK
Jun 21 00:05:33 morphee3 chat[5779]: -- got it
Jun 21 00:05:33 morphee3 chat[5779]: send (AT+cgdcont?^M)
Jun 21 00:05:33 morphee3 chat[5779]: expect (bouygtel)
Jun 21 00:05:33 morphee3 chat[5779]: ^M
Jun 21 00:05:33 morphee3 chat[5779]: ^M
Jun 21 00:05:33 morphee3 chat[5779]: OK^M
Jun 21 00:05:38 morphee3 chat[5779]: alarm
Jun 21 00:05:38 morphee3 chat[5779]: send (AT+cgdcont=1,"IP","a2bouygtel.com"^M)
Jun 21 00:05:38 morphee3 chat[5779]: expect (OK)
Jun 21 00:05:38 morphee3 chat[5779]: ^M
Jun 21 00:05:38 morphee3 chat[5779]: OK
Jun 21 00:05:38 morphee3 chat[5779]: -- got it
Jun 21 00:05:38 morphee3 chat[5779]: send (ATD*99#^M)
Jun 21 00:05:38 morphee3 chat[5779]: abort on (NO CARRIER)
Jun 21 00:05:38 morphee3 chat[5779]: timeout set to 60 seconds
Jun 21 00:05:38 morphee3 chat[5779]: expect (CONNECT)
Jun 21 00:05:38 morphee3 chat[5779]: ^M
Jun 21 00:05:48 morphee3 chat[5779]: ^M
Jun 21 00:05:48 morphee3 chat[5779]: CONNECT
Jun 21 00:05:48 morphee3 chat[5779]: -- got it
Jun 21 00:05:48 morphee3 chat[5779]: send (^M)
Jun 21 00:05:48 morphee3 pppd[5777]: Serial connection established.
Jun 21 00:05:48 morphee3 pppd[5777]: Using interface ppp0
Jun 21 00:05:48 morphee3 pppd[5777]: Connect: ppp0 <--> /dev/ttyS0
Jun 21 00:05:51 morphee3 pppd[5777]: Remote message: TTP Com PPP - Password Verified OK
Jun 21 00:05:51 morphee3 pppd[5777]: PAP authentication succeeded
Jun 21 00:05:51 morphee3 kernel: [ 305.348000] PPP BSD Compression module registered
Jun 21 00:05:51 morphee3 kernel: [ 305.424000] PPP Deflate Compression module registered
Jun 21 00:05:51 morphee3 pppd[5777]: Hangup (SIGHUP)
Jun 21 00:05:51 morphee3 pppd[5777]: Modem hangup
Jun 21 00:05:51 morphee3 pppd[5777]: Connection terminated.
Jun 21 00:05:52 morphee3 pppd[5777]: Exit.
La carte est donc bien reconnu, le modem se lance, mais j'en arrive tjs a la meme reponce : Modem hangup
La connection est lancer via la commande <pon ac775> (script ac755chat) :
TIMEOUT 5
ABORT 'BUSY'
ABORT 'NO ANSWER'
# We dont want to abort on ERROR because of CME ERROR
# ABORT 'ERROR'
SAY 'Starting GPRS connect script\n'
# Get the modem's attention and reset it.
"" 'ATZ'
# init modem string
# AT
# The attention command.
# &F
# Restore the factory configuration (set register values to Hayes defaults).
# &D2
# DTR option: Following loss of the data terminal ready (DTR) signal, the modem # # #
# disconnects, sends the OK result code, and disables auto answer while DTR is off.
# &C1
# DCD option: The received line signal detected (RLSD) follows the state of the data carrier from the remote modem.
# S0=1
# The number of rings until auto-answer = 1.
OK AT&F&D2&C1S0=0
# set code pin if not already set
SAY 'Entering Pin code'
OK AT+CPIN?
# E0=No echo, V1=English result codes
READY-AT+CPIN="0000"-OK 'ATE0V1'
# Set Access Point Name (APN) if not already set
SAY 'Setting APN\n'
OK AT+cgdcont?
bouygtel-AT+cgdcont=1,"IP","a2bouygtel.com"-OK ATD*99#
# Dial the number
ABORT 'NO CARRIER'
TIMEOUT 60
SAY 'Dialing...\n'
CONNECT ''
et la config ppp dans /etc/ppp/peers ( fichier ac775 ) :
# -detach
# changer par votre port série virtuel
/dev/ttyS0
#230400 # pcmcia negotiation speed
460800 # pcmcia negotiation speed
# -----------------------------------------------------------------
# uncomment these options when roaming or when signal is low ------
# leaving these options commented increases data throughput -------
#novj # disable TCP/IP header compression
#novjccomp # disable connection ID compression
# -----------------------------------------------------------------
# These compression styles can cause problems over GPRS/EDGE
# Uncomment these lines for troubleshooting
#nodeflate # Disable deflate compression
#nobsdcomp # Disable bsd-compress compression
# ----------------------------------------------------------------
ipcp-max-configure 20 # increase the maximum IPCP config requests
maxfail 0 # do not stop retrying connection
# mettre en commentaire quand tout fonctionne
debug
defaultroute
usepeerdns
show-password
crtscts
#lock
nolock
noauth
lcp-echo-failure 4
lcp-echo-interval 65535
connect '/usr/sbin/chat -v -t3 -f /etc/chatscripts/ac775chat'
disconnect '/usr/sbin/chat -v -t3 -f /etc/chatscripts/ac775chatend'
est-ce que quelqu'un aurai une petite idée sur la question svp ?
moi sa fait 2 jours que je cherche, sans succés !!!
par avance Merci !!
Bonne journée a tous !
Poste le Thursday 21 June 2007 09:14:28