Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Wiec mam problem z polaczeniem z netem w Orange free na karte w logach wywala mi
May 13 13:41:53 Mefisto pppd[16357]: pppd 2.4.4 started by root, uid 0 May 13 13:41:54 Mefisto chat[16358]: timeout set to 10 seconds May 13 13:41:54 Mefisto chat[16358]: abort on (NO CARRIER) May 13 13:41:54 Mefisto chat[16358]: abort on (NO DIALTONE) May 13 13:41:54 Mefisto chat[16358]: abort on (ERROR) May 13 13:41:54 Mefisto chat[16358]: abort on (NO ANSWER) May 13 13:41:54 Mefisto chat[16358]: abort on (BUSY) May 13 13:41:54 Mefisto chat[16358]: send (rATZ^M) May 13 13:41:54 Mefisto chat[16358]: expect (OK) May 13 13:41:54 Mefisto chat[16358]: rATZ^M^M May 13 13:41:54 Mefisto chat[16358]: OK May 13 13:41:54 Mefisto chat[16358]: -- got it May 13 13:41:54 Mefisto chat[16358]: send (AT+CGDCONT=6,"IP","internet"^M) May 13 13:41:54 Mefisto chat[16358]: expect (OK) May 13 13:41:54 Mefisto chat[16358]: ^M May 13 13:41:54 Mefisto chat[16358]: AT+CGDCONT=6,"IP","internet"^M^M May 13 13:41:54 Mefisto chat[16358]: OK May 13 13:41:54 Mefisto chat[16358]: -- got it May 13 13:41:54 Mefisto chat[16358]: send (ATD*99#^M) May 13 13:41:54 Mefisto chat[16358]: expect (CONNECT) May 13 13:41:54 Mefisto chat[16358]: ^M May 13 13:41:56 Mefisto chat[16358]: ATD*99#^M^M May 13 13:41:56 Mefisto chat[16358]: CONNECT May 13 13:41:56 Mefisto chat[16358]: -- got it May 13 13:41:56 Mefisto chat[16358]: send (``^M) May 13 13:41:56 Mefisto pppd[16357]: Serial connection established. May 13 13:41:56 Mefisto pppd[16357]: Using interface ppp0 May 13 13:41:56 Mefisto pppd[16357]: Connect: ppp0 <--> /dev/ttyACM0 May 13 13:42:00 Mefisto pppd[16357]: Hangup (SIGHUP) May 13 13:42:00 Mefisto pppd[16357]: Modem hangup May 13 13:42:00 Mefisto pppd[16357]: Connection terminated. May 13 13:42:32 Mefisto chat[16366]: timeout set to 10 seconds May 13 13:42:32 Mefisto chat[16366]: abort on (NO CARRIER) May 13 13:42:32 Mefisto chat[16366]: abort on (NO DIALTONE) May 13 13:42:32 Mefisto chat[16366]: abort on (ERROR) May 13 13:42:32 Mefisto chat[16366]: abort on (NO ANSWER) May 13 13:42:32 Mefisto chat[16366]: abort on (BUSY) May 13 13:42:32 Mefisto chat[16366]: send (rATZ^M) May 13 13:42:32 Mefisto chat[16366]: expect (OK) May 13 13:42:32 Mefisto chat[16366]: rATZ^M^M May 13 13:42:32 Mefisto chat[16366]: OK May 13 13:42:32 Mefisto chat[16366]: -- got it May 13 13:42:32 Mefisto chat[16366]: send (AT+CGDCONT=6,"IP","internet"^M) May 13 13:42:32 Mefisto chat[16366]: expect (OK) May 13 13:42:32 Mefisto chat[16366]: ^M May 13 13:42:32 Mefisto chat[16366]: AT+CGDCONT=6,"IP","internet"^M^M May 13 13:42:32 Mefisto chat[16366]: OK May 13 13:42:32 Mefisto chat[16366]: -- got it May 13 13:42:32 Mefisto chat[16366]: send (ATD*99#^M) May 13 13:42:32 Mefisto chat[16366]: expect (CONNECT) May 13 13:42:32 Mefisto chat[16366]: ^M May 13 13:42:34 Mefisto chat[16366]: ATD*99#^M^M May 13 13:42:34 Mefisto chat[16366]: CONNECT May 13 13:42:34 Mefisto chat[16366]: -- got it May 13 13:42:34 Mefisto chat[16366]: send (``^M) May 13 13:42:34 Mefisto pppd[16357]: Serial connection established. May 13 13:42:34 Mefisto pppd[16357]: Using interface ppp0 May 13 13:42:34 Mefisto pppd[16357]: Connect: ppp0 <--> /dev/ttyACM0 May 13 13:42:38 Mefisto pppd[16357]: Hangup (SIGHUP) May 13 13:42:38 Mefisto pppd[16357]: Modem hangup
Co do plikow konfiguracyjnych to: /etc/ppp/peers/orange-gprs
user "internet" connect "/usr/sbin/chat -v -f /etc/ppp/peers/chatscripts/orange-gprs" disconnect "/usr/sbin/chat -v -f /etc/ppp/peers/chatscripts/orange-gprs-off" /dev/ttyACM0 57600 noipdefault usepeerdns defaultroute persist noauth
nastepnie: /etc/ppp/peers/chatscripts/orange-gprs
TIMEOUT 10 ECHO ON ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "ERROR" ABORT "NO ANSWER" ABORT "BUSY" '' 'rATZ' OK AT+CGDCONT=6,"IP","internet" OK ATD*99# CONNECT ``
i /etc/ppp/peers/chatscripts/orange-gprs-off
ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "ERROR" ABORT "NO ANSWER" ABORT "BUSY" "" "K" "" "+++ATH"
Telefont to Sony Ericsson K750i z sciagnieta konfiguracja za pmoca konfiguatora zestrony orange (Internet po GPRS) recznie doklikalam w telefonie aby nowo wybrany profil byl jako domyslny.
SMS'em aktywowalam usluge orange free na karte
Na telefonie najpierw wyswietla mi komunikat Laczenie
nastepnie informacje ze polacznie nieudane i prosba o spradzenie zasiegu i konfiguracji telefonu :/
Wiec jakies pomysly :P
Offline
masz tylko jedno urządzenie ttyACM? dla niektórych modemów udev tworzy więcej plików urządzeń, może trzeba spróbować z innym np. ttyACM1
Offline
mam ttyACM1 i ttyACM0 (z logw je wzielam ktore sie wygenerowaly po podpieciu telefonu :]) Testowalam obydwa na obydwu jest problem. Generalnie wyglada na to ze nie ma problemu z polaczenim sie z telefonem a cos z konfiguracja polaczenia internetowgo
Offline
Ok Udalo sie Rozwiazac problem polaczenia :]
Instalujemy doatkowy programik wvdial
pliki /etc/ppp/peers/gprs
lcp-echo-failure 0 lcp-echo-interval 0 nodetach debug show-password connect "/usr/bin/wvdial --chat --config /etc/ppp/peers/gprs-wvdial.conf orange" disconnect /etc/ppp/peers/gprs-disconnect-chat /dev/ttyACM0 57600 crtscts local :10.0.0.1 noipdefault ipcp-accept-local defaultroute #replacedefaultroute usepeerdns novj nobsdcomp novjccomp nopcomp noaccomp noauth user "internet"
kolejny /etc/ppp/peers/gprs-connect-chat
#!/bin/sh exec chat \ TIMEOUT 5 \ ECHO ON \ ABORT '\nBUSY\r' \ ABORT '\nERROR\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nNO CARRIER\r' \ ABORT '\nNO DIALTONE\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' \rAT \ TIMEOUT 12 \ SAY "Press CTRL-C to close the connection at any stage!" \ SAY "\ndefining PDP context...\n" \ OK ATH \ OK ATE1 \ OK 'AT+CGDCONT=1,"IP","internet","",0,0' \ OK ATD*99# \ TIMEOUT 22 \ SAY "\nwaiting for connect...\n" \ CONNECT "" \ SAY "\nConnected." \ SAY "\nIf the following ppp negotiations fail,\n" \ SAY "try restarting the phone.\n"
Oraz /etc/ppp/peers/gprs-disconnect-chat
#!/bin/sh exec /usr/sbin/chat -V -s -S \ ABORT "BUSY" \ ABORT "ERROR" \ ABORT "NO DIALTONE" \ SAY "\nSending break to the modem\n" \ "" "\K" \ "" "\K" \ "" "\K" \ "" "+++ATH" \ "" "+++ATH" \ "" "+++ATH" \ SAY "\nPDP context detached\n"
I ostatni /etc/ppp/peers/gprs-wvdial.conf
[Dialer orange] Baud = 57600 Init2 = ATH Init3 = ATE1 Init4 = AT+CGDCONT=1,"IP","internet" Dial Command = ATD Phone=*99***1# Username = internet Password = internet
laczymy sie poleceniem pppd call gprs
Offline