Mam problem z uruchomieniem połączenia z internetem w Debian Squeeze. Po wpisaniu w konsoli:
Kod: Zaznacz cały
wvdial hsdpa
Kod: Zaznacz cały
root@debian:/home/rudzielec102# wvdial hsdpa
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATDT*99***1#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
Podaję zawartość pliku wvdial.confg
Kod: Zaznacz cały
Stupid Mode = 1
Phone = *99***1#
SetVolume = 5
Dial Command = ATDT
FlowControl = NOFLOW
[Dialer umts]
Init1 = ATZ
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","orange.pl","",0,0
apn = internet
Phone = *99***1#
Modem = /dev/ttyHS1
Username = internet
Password = internet
Modem Type = Analog Modem
[Dialer winda]
Init5 = AT &FE0 V1 X1 &D2 &C1 S0=0
Dial Attempts = 3
[Dialer 384k]
Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384
[Dialer 144k]
Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144
[Dialer 64k]
Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64
Kod: Zaznacz cały
root@debian:/home/rudzielec102#pppd call orange
to wyświetla mi się
Kod: Zaznacz cały
root@debian:/home/rudzielec102#
Podaję na wszelki wypadek zawartość pliku z /etc/ppp/peers/orange
Kod: Zaznacz cały
debug
show-password
connect "/usr/sbin/chat -v -f /etc/ppp/peers/orange-connect"
/dev/ttyHS1
115200
local
ipcp-accept-local
defaultroute
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
noauth
user "ppp"
Kod: Zaznacz cały
ABORT "NO DIALTONE"
ABORT "NO ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
"" "AT"
OK "AT&F"
OK "AT+CMEE=1"
OK 'AT+CGDCONT=1,"IP","internet"'
OK "ATDT*99***1#"
Zmieniłem port z ttyHS1 na HS3 i dostaję taki komunikat:
Kod: Zaznacz cały
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","internet.pl","",0,0
AT+CGDCONT=1,"IP","internet.pl","",0,0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Wed Jul 27 18:26:44 2011
--> Pid of pppd: 2302
--> Using interface ppp0
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> pppd: �1���[19]} �[18]}
--> Disconnecting at Wed Jul 27 18:27:22 2011
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
Edycja:
Problem z połączeniem rozwiązałem, nieprawidłowy był plik Wvdial.conf. Ale powstał nowy problem, w momencie gdy włączam jakikolwiek program, który potrzebuje dostępu do internetu, czy to będzie konsola w momencie pobierania aktualizacji, czy przeglądarka, to w nieregularnych odstępach czasu następuje zawieszenie całego systemu. Pozostaje tylko reset. W internecie nic nie znalazłem na ten temat, brakuje mi już pomysłów.
Proszę o pomoc.