Firmware, APN, pasma, bridge, IPv4/IPv6, sterowniki, konfiguracja urządzeń i rozwiązywanie problemów.
Moderator: Moderatorzy
-
Gość
Post
autor: Gość »
Próbowałem juz tej metody lae nic.
A pozatym to już mam wpisaną tą komende w tym skrypcie.
Poniżej przedstawiam moje skrypty:
Kod: Zaznacz cały
/etc/ppp/peers/orange
noauth
connect "/usr/sbin/chat -v -f /etc/ppp/orange-connect"
disconnect "/usr/sbin/chat -v -f /etc/ppp/orange-disconnect"
debug
/dev/ttyS4
57600
defaultroute
crtscts
lock
local
nodetach
usepeerdns
lcp-echo-failure 4
lcp-echo-interval 65535
/etc/ppp/orange-connect
TIMEOUT 600
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
SAY 'Starting GPRS connect script\n'
"" 'AT+CFUN=1,1'
"" 'AT+CPIN=5773'
OK 'ATE1\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d\d'
SAY 'Setting APN\n'
OK 'AT+CGDCONT=1,"IP","internet"'
ABORT 'NO CARRIER'
SAY 'Dialing...\n'
OK 'ATDT*99***1#'
/etc/ppp/orange-disconnect
"" "\K"
"" "+++ATH0"
SAY "GPRS Disconnected."
/etc/resolv.conf
nameserver 194.9.223.79
nameserver 194.204.159.1
-
Vipera
- Stary wyga bezprzewodowy
- Posty: 567
- Rejestracja: 2005-10-30, 23:43
- Lokalizacja: Katowice
Post
autor: Vipera »
Ostatnio zmieniony 2009-02-11, 11:18 przez
Vipera, łącznie zmieniany 1 raz.
-
art
Post
autor: art »
Mam modem ed77 i mam problem na Suse 10.0 kernel 2.6.13
Kod: Zaznacz cały
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: --> WvDial: Internet dialer version 1.54.0
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATZ
pppd[0]: ATZ
pppd[0]: OK
pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: OK
pppd[0]: --> Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT*99***1#
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT*99***1#
pppd[0]: CONNECT
pppd[0]: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
pppd[0]: --> Carrier detected. Waiting for prompt.
pppd[0]: ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
pppd[0]: --> PPP negotiation detected.
pppd[0]: Serial connection established.
pppd[0]: Renamed interface ppp0 to modem0
pppd[0]: Using interface modem0
Status is: connecting
pppd[0]: Connect: modem0 <--> /dev/ttyUSB0
pppd[0]: PAP authentication succeeded
pppd[0]: LCP terminated by peer
pppd[0]: Connection terminated.
Status is: disconnecting
pppd[0]: Terminating on signal 15
pppd[0]: Modem hangup
Status is: disconnected
pppd[0] died: A modem hung up the phone (exit code 16)
Czy ktoś wie o co w tym wszystkim chodzi?