Перейти к содержанию

Млечный

Новичок
  • Постов

    1
  • Зарегистрирован

  • Посещение

  1. Здравствуйте не могу настроить sezam 900hd + AnyData adu-310a! (cdma-evdo) при наборе gprs [PGI ~]$ pppd call gprs & [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid 903 , status = 0x5 Connect script failed при наборе 3g в телнете [PGI ~]$ pppd call 3g [PGI ~]$ скриптом ifconfing: ppp0: error fetcing interface information: device not found pgi. conf ############################################################################# # This is main configuration file for the PGI image # The detailed explanation of each parameter is in the README files ############################################################################# BACKUP_DIR="/media/pgi-backup" CI_INIT="no" CRON="no" EPG_DATA_DIR="/media" ETH_ADDR_LOW="none" MEDIA_CLEAN="no" NFSD="no" NFS_REC="no" NFS_REC_PROTO="tcp" NTP_SYNC="no" PPPD_PEER="gprs" SAMBA="no" SKIN="default" USB_MODEM="16d5:6501" WEBTV="no" DEBUG="no" 3g.chat ABORT BUSY ABORT 'NO CARRIER' ABORT ERROR REPORT CONNECT TIMEOUT 120 "" "AT&F" OK "ATE1" # Is there a PIN set on the SIM? #OK "AT+CPIN?" # What network are we connected to? OK "AT+COPS?" # Next line can be used to get a full list of available # networks, but it takes a long time! #OK "AT+COPS=?" # List what AT commands we can issue to this card. #OK "AT&V" # Prefer UMTS networks over GPRS networks # (but connect to GPRS if UMTS unavailable) OK "AT_OPSYS=3" # Current network signal strength OK "AT+CSQ" # Note the single quotes at the beginning and end, # reversing the quoting (double at ends, single # inside) does NOT work! OK 'AT+CGDCONT=1,"IP",""' TIMEOUT 60 OK "ATD#777" CONNECT c gprs.chat # GPRS Chat File, contains all parameters that /usr/sbin/chat will pass to the modem to create the GPRS connection # # # Abort Strings 'ABORT' 'BUSY' 'ABORT' 'ERROR' 'ABORT' 'NO ANSWER' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' 'TIMEOUT' '10' # # Modem Init '' 'ATZ' # # 'OK' 'ATM1L1' # # "internet" represents Vodafone's APN, whereas "general.t-mobile.uk" is T-mobiles UK APN address 'OK' 'AT&f+cgdcont=1,"IP","","",0,0' 'OK' 'ATDT#777' 'CONNECT' '' peers - 3g # If pppd reports this as a non-modem thing, then run the huaweiAktBbo program /dev/ttyUSB0 #Baudrate -- Note that setting this to 384000 yields an error message # about this speed not being supported! 115200 #Idle time for closing connection idle 7200 #Lock the device for this PPPD process use only lock #Use normal handshaking crtscts #Assume it is a modem device and force modem control methods modem #Any user can start the connection noauth #Make the ppp link the default root defaultroute #Username and Password for computer/GlobeTrotter ppp link #Normally ignored. Change if GSM Operator requires it user mobile password internet #Change the path to chat if required for your version of Linux connect "/sbin/chat -V -f /var/etc/ppp/3g.chat" #Accept IP address provided by network noipdefault #Detach PPPD from console used to run the program {optional} #updetach #Get DNS addresses from operator usepeerdns #Don't use VJ compression for ppp link novj # Make the connection persistent, and not terminate if/when errors occur. persist maxfail 0 debug kdebug 4 peers - gprs #this file contains all the parameters pppd will pass to the modem to establish the GPRS connection # # The user and password has been commented out becasue the "noauth" command is being used #user web #password web # # This places a default route in the routing table with the peer as the gateway defaultroute # # This can also be used to replace existing default routes #replacedefaultroute # # Serial Modem to use /dev/ttyUSB0 115200 # # Call this chat script to issue the modem commands connect "/sbin/chat -v -f /var/etc/ppp/chats/gprs.chat" # # Enable debugging to /var/log/messages debug # # Enable kernel debugging level 4 kdebug 4 # # ipcp-no-addresses # # noipdefault # # Do not require the peer to use authentication noauth # # Disable Van Jacobson style TCP/IP header compression in both TX and RX novj # # Disable compression control protocol,if peer doesnt accept requests for CCP from pppd noccp # # Use RTS/CTS hardware flow control crtscts # # I cant find what this means, but if its not included there is no output to the command prompt modem -detach # # Use DNS given to peer and rewrite /etc/resolv.conf usepeerdns # # pppd will accept the peers idea of its remote ip address ipcp-accept-remote # # pppd will accept the peers idea of its local ip address ipcp-accept-local #
×
×
  • Создать...