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

yuriy777

Пользователи
  • Постов

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

  • Посещение

  1. Спасибо тебе огромное все работает :rolleyes:
  2. Дядя Федор,мне наверно надо что то поменять в скрипте ppp connection-start,потому что он пытается запустить gprs,а у меня работает с 3g,подскажите что надо поменять? Скрипт ppp -stop,разрывает четко!
  3. Ура на конец то у меня заработало,шаблон использовал 3g,дядя Федор подскажите плиз как теперь это запустить по кнопки www?
  4. Вы меня не поняли,модем у меня сейчас новый и он работает,а peer и chat,я так много изменял что теперь наверно и с новым модемом не заработает
  5. Ув.Дядя Федор,помогите настроить мне мой ipbox910 купил модем huawei e1550 оператор укртелеком,до этого пробывал разные телефоны и модем ccu-550 people net,но так и не заработало,дайте плиз готовые chat и peers файлы а то я уже свои много раз менял боюсь что там уже не все на месте как было после установке pgi-1.4
  6. дядя Федор,у оператрор нет ни логина ни пароля,толька точка доступа.Есть еще какие нибуть варианты,может дадите другие peers и chats,я попробывал удолить фаил pap-secrets вообще нечего в телнете не происходит
  7. peers #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 useduser #password ## This places a default route in the routing table with the peer as the gatewaydefaultroute## This can also be used to replace existing default routes#replacedefaultroute## Serial Modem to use/dev/ttyACM0115200## Call this chat script to issue the modem commandsconnect "/sbin/chat -v -f /var/etc/ppp/chats/gprs.chat"## Enable debugging to /var/log/messagesdebug## Enable kernel debugging level 4kdebug 4##ipcp-no-addresses##noipdefault## Do not require the peer to use authenticationnoauth## Disable Van Jacobson style TCP/IP header compression in both TX and RXnovj## Disable compression control protocol,if peer doesnt accept requests for CCP from pppdnoccp## Use RTS/CTS hardware flow controlcrtscts## I cant find what this means, but if its not included there is no output to the command promptmodem -detach## Use DNS given to peer and rewrite /etc/resolv.confusepeerdns## pppd will accept the peers idea of its remote ip addressipcp-accept-remote## pppd will accept the peers idea of its local ip addressipcp-accept-local# chats 'ABORT' 'ERROR' 'ABORT' 'NO ANSWER' 'ABORT' 'NO CARRIER' 'ABORT' 'NO DIALTONE' 'ABORT' 'Invalid Login' 'ABORT' 'Login incorrect' 'TIMEOUT' '10' # # Modem Init '' 'ATZ' # # 'OK' 'ATM1L1' # 'OK' 'AT+cgdcont=1,"IP","internet","",0,0' 'OK' 'ATDT*99***1#' 'CONNECT' '' _linenums:0'># 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'#'OK' 'AT+cgdcont=1,"IP","internet","",0,0''OK' 'ATDT*99***1#''CONNECT' ''
  8. Поставил,новые настройки в chats и peers,вот новый лог [PGI ~]$ pppd call gprs & [PGI ~]$ Script /sbin/chat -v -f /var/etc/ppp/chats/gprs.chat finished (pid xxxx), status = 0x0 Serial connection established. using channel 5 Using interface ppp0 Connect: ppp0 <--> /dev/ttyACM0 Warning - secret file /var/etc/ppp/pap-secrets has world and/or group access sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x781dc540> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x2 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfNak id=0x2 <auth eap>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x781dc540> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x3 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfNak id=0x3 <auth eap>] rcvd [LCP ConfReq id=0x4 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfNak id=0x4 <auth eap>] rcvd [LCP ConfReq id=0x5 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfNak id=0x5 <auth eap>] rcvd [LCP ConfReq id=0x6 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfNak id=0x6 <auth eap>] rcvd [LCP ConfReq id=0x7 <auth pap> <accomp> <pcomp> <asyncmap 0x0> <magic 0xe8d2f1b9>] sent [LCP ConfRej id=0x7 <auth pap>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x781dc540> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x781dc540> <pcomp> <accomp>] Modem hangup Connection terminated.А и еще в pgi.conf,у меня нет строчки USB_MODEM,так и должно быть?
  9. Ув.Дядя Федор,посмотрите еще, что опять ему надо? [PGI ~]$ pppd call gprs & -sh: [PGI: not found [2]+ Done(127) [PGI ~]\$ pppd call gprs [PGI ~]$ [PGI ~]$ Serial connection established. -sh: [PGI: not found [PGI ~]$ Using interface ppp0 -sh: Using: not found [PGI ~]$ Connect: ppp0 <--> /dev/ttyACM0 -sh: can't open --: no such file -sh: Connect:: not found [PGI ~]$ Warning - secret file /var/etc/ppp/pap-secrets has world and/or group a ccess -sh: Warning: not found [PGI ~]$ Modem hangup -sh: Modem: not found [PGI ~]$ Connection terminated. -sh: Connection: not found
  10. Ув.Д.Федор,пытаюсь прикрутить телефон nokia e66 к ipbox 910 прошивка 1.3, по каманде в теlnete dmesg модем определился как cdc_acm 2-1:1.10: ttyACM0: USB ACM device, мой 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 web1 #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/ttyACM0 115200 # # Call this chat script to issue the modem commands connect "/sbin/chat -v -f /var/etc/ppp/chats/gprs" # # 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 # мой chats gprs лист # 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, internet 'OK' 'AT+CGDCONT=1,"IP","internet","",0,0' 'OK' 'ATDT*99#' 'CONNECT' после команде в теlnete pppd call/var/etc/ppp/peers &, в тelnete вот такая фиговина [PGI ~]$ pppd call/var/etc/ppp/peers & [PGI ~]$ pppd: unrecognized option 'call/var/etc/ppp/peers' pppd version 2.4.5 Usage: pppd [ options ], where options are: <device> Communicate over the named device <speed> Set the baud rate to <speed> <loc>:<rem> Set the local and/or remote interface IP addresses. Either one may be omitted. asyncmap <n> Set the desired async map to hex <n> auth Require authentication from peer connect <p> Invoke shell command <p> to set up the serial line crtscts Use hardware RTS/CTS flow control defaultroute Add default route through interface file <f> Take options from file <f> modem Use modem control lines mru <n> Set MRU value to <n> for negotiation See pppd(8) for more options. Что я еще не зделал? Подскажить :huh:
  11. VadimI, Помогите пожалуйста, у меня точно такой же модем как у вас, ну я не совсем понимаю как его прикрутить!
  12. Какая программа нужна для сортировки каналов с компютера,ресивер Ipbox 910
  13. "Скрипт нужно поместить в /var/bin и назначить ему права 755" Ребят,подскажите как это "назначить ему права"???? :rolleyes:
  14. Подскажите что сначала устанавливать,прошивку или мультибут?
×
×
  • Создать...