Vodafone ZTE K3806-Z

dai un reboot.
non fare altro.
togli e metti la pennetta e posta il dmesg.

Ho fatto il reboot con la chiavetta inserita, ho tolto la chiavetta e l’ho rimessa.

output prima di inserire il codice PIN che mi richiede :

# dmesg|tail 
usb 1-1: new high speed USB device using ehci_hcd and address 7
usb 1-1: New USB device found, idVendor=19d2, idProduct=1015
usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=4
usb 1-1: Product: K3806-Z
usb 1-1: Manufacturer: Vodafone (ZTE)
usb 1-1: SerialNumber: 58255B38C4429DAB10EAC8E18A0A7AB68EC4FC50
cdc_acm 1-1:1.1: ttyACM0: USB ACM device
cdc_acm 1-1:1.3: ttyACM1: USB ACM device
usb0: register 'cdc_ether' at usb-0000:00:1d.7-1, CDC Ethernet Device, 02:42:9d:ab:10:ea
scsi6 : usb-storage 1-1:1.7

Output dopo aver inserito il codice PIN e aver detto di non aprire la perferica nel file manager:

# dmesg|tail 
scsi 6:0:0:1: Direct-Access     Vodafone Storage          0001 PQ: 0 ANSI: 0
sr0: scsi3-mmc drive: 0x/0x caddy
sr 6:0:0:0: Attached scsi CD-ROM sr0
sr 6:0:0:0: Attached scsi generic sg1 type 5
sd 6:0:0:1: Attached scsi generic sg2 type 0
sd 6:0:0:1: [sdb] Attached SCSI removable disk
sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
sr: Sense Key : Hardware Error [current] 
sr: Add. Sense: No additional sense information
usb0: no IPv6 routers present

ferma networkmanager
prova ad usare wvdial e come dispositivo usa /dev/ttyAC0 oppure /dev/ttyACM1 come da http://www.fedoraonline.it/modules/smartsection/item.php?itemid=334

Provato con entrambi e il risultato e’ sempre lo stesso …

# wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATX3
ATX3
OK
--> Sending: AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.omnitel.it"
AT+CGDCONT=1,"IP","web.omnitel.it"
OK
--> Modem initialized.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
ATM1L3DT*99#
CONNECT 14400000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Wed Dec 15 20:14:48 2010
--> Pid of pppd: 3050
--> Using interface ppp0
--> pppd: ?~?
--> pppd: ?~?
--> pppd: ?~?
--> pppd: ?~?
--> pppd: ?~?
--> pppd: ?~?
--> pppd: ?~?
--> Disconnecting at Wed Dec 15 20:14:51 2010
--> 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.

Il codice 16 spiegato dal man non e’ molto informativo.
Grazie

la scheda ha il pin ?
inserisci in wvdial.conf un paio di righe del tipo:

Init5 = AT+CPIN="0000" Init6 = AT+CFUN=1
dove al posto di 0000 metti il pin.

niente output come nel messaggio precedente

ci fai vedere wvdial.conf ?

Eccolo, copiato ed incollato dalla guida. Ho aggiunto nameserver e Init come da post precedenti

[Dialer Defaults]
Modem = /dev/ttyACM0
ISDN = off
Baud = 460800
Phone = *99#
Carrier Check = off
Init1 = ATZ
Init2 = ATX3
Init3 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","web.omnitel.it"
Dial Command = ATM1L3DT
Dial Attempts = 5
Modem Type = Analog Modem
Auto DNS = on
Username = 
Password = 
Stupid Mode = on
Auto Reconnect = off
Check Def Route = off
nameserver = 208.67.220.220
nameserver = 208.67.222.222
Init5 = AT+CPIN="0000"
Init6 = AT+CFUN=1

le linee nameserver non vanno li ma in /etc/resolv.conf.

# yum install picocom

poi:

# picocom /dev/ttyACM0 

riporta l’output, anche di tttyACM1

# picocom /dev/ttyACM0 
picocom v1.4

port is        : /dev/ttyACM0
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready


# picocom /dev/ttyACM1
picocom v1.4

port is        : /dev/ttyACM1
flowcontrol    : none
baudrate is    : 9600
parity is      : none
databits are   : 8
escape is      : C-a
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : ascii_xfr -s -v -l10
receive_cmd is : rz -vv

Terminal ready

E’successa una cosa strana: NetworkManager mi ha chiesto di inserire il PUK e poi un nuovo PIN come se i tentativi con wvdial avessero bloccato la SIM

questo mi sembra normale, avendo lanciato diverse volte wvdial senza pin, si è bloccata.

fai una cosa, metti la sim in un telefono, poi tramite le impostazioni del cellulare elimina il pin alla sim.
rimetti la sim nella pennetta.

indi modifica wvdial.conf in questo modo:

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 9600
Phone = *99#
Init1 = ATZ
Init2 = ATX3
Init3 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","web.omnitel.it"
Init5 = AT+CFUN=1 
Dial Command = ATM1L3DT
Dial Attempts = 5
Modem Type = Analog Modem
Carrier Check = on
Auto DNS = on
Stupid Mode = on

ferma networkmanager, lancia wvdial.

--> Auto Reconnect will be attempted in 20 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATX3
ATX3
OK
--> Sending: AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.omnitel.it"
AT+CGDCONT=1,"IP","web.omnitel.it"
OK
--> Sending: AT+CFUN=1
AT+CFUN=1
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATX3
ATX3
OK
--> Sending: AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","web.omnitel.it"
AT+CGDCONT=1,"IP","web.omnitel.it"
OK
--> Sending: AT+CFUN=1
AT+CFUN=1
OK
--> Modem initialized.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
ATM1L3DT*99#
CONNECT 14400000
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Thu Dec 16 20:19:40 2010
--> Pid of pppd: 4060
--> Using interface ppp0
--> Disconnecting at Thu Dec 16 20:19:42 2010
--> 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.

cosa dice /var/log/messages al riguardo ?

Dec 17 17:06:27 localhost pppd[1737]: pppd 2.4.5 started by leo, uid 0
Dec 17 17:06:27 localhost pppd[1737]: Using interface ppp0
Dec 17 17:06:27 localhost pppd[1737]: Connect: ppp0 <--> /dev/ttyACM0
Dec 17 17:06:27 localhost pppd[1737]: Remote message: Icera PPP - Password Verified OK
Dec 17 17:06:27 localhost pppd[1737]: PAP authentication succeeded
Dec 17 17:06:30 localhost pppd[1737]: LCP terminated by peer (001d: Normal Termination by NCP)
Dec 17 17:06:30 localhost pppd[1737]: Modem hangup
Dec 17 17:06:30 localhost pppd[1737]: Connection terminated.
Dec 17 17:06:30 localhost pppd[1737]: Exit.

Sono le righe che si ripetono ai tentativi di wvdial.
Scusate il ritardo ma anche la connessione alternativa si era messa a “fare le bizze”!

la periferica è ok.
sembra essere solo un problema di configurazione.

quando fermi networkmanager in /var/log/messages è attivo anche modemanager ? in caso affermativo killalo e riprova.

No modemanager non mi sembra attivo.

Dopo vari tentativi usando wine per cercare di usare il software sulla chiavetta, ho rinunciato e fortunatamente mi hanno cambiato la chiavetta con una ONDA della TIM che funziona al volo.

A onore di TIM devo dire che tutte le chiavette che ho visto (anche quelle nuove a 14.4) dichiarano il supporto a linux: tre distribuzioni (Debian, Fedora, Ubuntu) e al kernel (indicandone le versioni supportate)

era sicuramente un problema di configurazione.
comunque meglio così.

si configurazione di sicuro, pero’ dato che leggendo in giro sembra che vodafone faccia di tutto per far usare il proprio software e dato che me l’hanno cambiata a costo zero … ci ho solo rimesso una settimana di navigazione :stuck_out_tongue:

Grazie ancora per tutto il supporto.

de nada