[RISOLTO] Aiuto installazione internet key Alcatel X220
[RISOLTO] Aiuto installazione internet key Alcatel X220
Ho appena acquistato questa chiavetta Internet, Alcatel X220, ma purtroppo non c'è verso di far sì che agganci il segnale di connessione. E' attiva e i soldi sono stati caricati.
Il sistema operativo è Ubuntu 12.04.
Un grazie anticipato a chi saprà guidarmi nell'impresa.
Questo il contenuto del comando "sudo wvdial".
--> WvDial: Internet dialer version 1.61
--> Cannot open /dev/ttyUSB2: No such file or directory
--> Cannot open /dev/ttyUSB2: No such file or directory
--> Cannot open /dev/ttyUSB2: No such file or directory
Questo il contenuto del comando: "sudo usb_modeswitch -v 0x1bbb -p 0xf052 -P 0x0052 -s 10 -M 55534243123456788000000080000606f50402527000000000000000000000; sudo modprobe usbserial vendor=0x1bbb product=0x0052"
Looking for default devices ...
No devices in default mode found. Nothing to do. Bye.
Il file che si apre con il comando "sudo gedit /etc/udev/rules.d/10-switch-alcatel.rules", è vuoto, pagina bianca senza alcuna scritta.
Stessa cosa per il file che si apre con il comando "sudo gedit /etc/udev/rules.d/10-switch-alcatel.rules", altra pagina bianca fatta eccezione per la scritta: [Dialer Defaults] in cima alla pagina.
Alberto
Re: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
sudo tail -f /var/log/syslogcredo che usb-modeswitch dovrebbe già riconoscere la chiavetta senza modifiche aggiuntive.
per il file wvdial.conf prendi spunto da questo:
Codice: Seleziona tutto
[Dialer Defaults]
Modem = /dev/ttyUSB4
ISDN = off
Modem Type = Analog Modem
Baud = 460800
;Init = AT+CPIN="0000"
Init2 = ATX3
Init3 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = at+cgdcont=1,"IP","internet.wind"
Phone = *99#
Dial Attempts = 10
Dial Command = ATM1L3DT
Ask Password = off
Username = ''
Password = ''
Stupid Mode = on
se hai il pin scommenta togliendo il ; da ;Init = AT+CPIN="0000" e inserisci il tuo pin
per quanto riguarda il punto di accesso apn se la sim è wind lascia come è oppure inserisci la apn del tuo gestore.
Inoltre il demone modem-manager lanciato da network-manager quando usi wvdial potrebbe bloccarti la chiavetta quindi quando fai le prove con wvdial ferma il network-manager con il comando:
Codice: Seleziona tutto
sudo service network-manager stopCodice: Seleziona tutto
sudo service network-manager startRe: Richiesta aiuto per installazione internet key Alcatel X
Ecco le righe:
Jul 5 19:51:30 alberto-Presario-C500-GH939EA-ABZ dbus[663]: [system] Activating service name='org.freedesktop.PackageKit' (using servicehelper)
Jul 5 19:51:31 alberto-Presario-C500-GH939EA-ABZ AptDaemon: INFO: Initializing daemon
Jul 5 19:51:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon.PackageKit: INFO: Initializing PackageKit compat layer
Jul 5 19:51:32 alberto-Presario-C500-GH939EA-ABZ dbus[663]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jul 5 19:51:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon.PackageKit: INFO: Initializing PackageKit transaction
Jul 5 19:51:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon.Worker: INFO: Simulating trans: /org/debian/apt/transaction/29b2a1bd88fb466bacad8d594fc75095
Jul 5 19:51:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon.Worker: INFO: Processing transaction /org/debian/apt/transaction/29b2a1bd88fb466bacad8d594fc75095
Jul 5 19:51:35 alberto-Presario-C500-GH939EA-ABZ AptDaemon.PackageKit: INFO: Get updates()
Jul 5 19:51:36 alberto-Presario-C500-GH939EA-ABZ AptDaemon.Worker: INFO: Finished transaction /org/debian/apt/transaction/29b2a1bd88fb466bacad8d594fc75095
Jul 5 19:51:51 alberto-Presario-C500-GH939EA-ABZ kernel: [ 346.032382] usb 1-6: USB disconnect, device number 5
Jul 5 19:52:08 alberto-Presario-C500-GH939EA-ABZ kernel: [ 362.928148] usb 1-6: new high-speed USB device number 6 using ehci_hcd
Jul 5 19:52:08 alberto-Presario-C500-GH939EA-ABZ kernel: [ 363.065532] scsi9 : usb-storage 1-6:1.0
Jul 5 19:52:08 alberto-Presario-C500-GH939EA-ABZ mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6"
Jul 5 19:52:08 alberto-Presario-C500-GH939EA-ABZ mtp-probe: bus: 1, device: 6 was not an MTP device
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.065726] scsi 9:0:0:0: Direct-Access ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.066462] scsi 9:0:0:1: CD-ROM ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.068747] sd 9:0:0:0: Attached scsi generic sg3 type 0
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.075052] sr1: scsi-1 drive
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.075513] sr 9:0:0:1: Attached scsi CD-ROM sr1
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.075772] sd 9:0:0:0: [sdc] Attached SCSI removable disk
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.075830] sr 9:0:0:1: Attached scsi generic sg4 type 5
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ usb_modeswitch: switching device 1bbb:f000 on 001/006
Jul 5 19:52:09 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.222921] usb 1-6: USB disconnect, device number 6
Jul 5 19:52:10 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.588096] usb 1-6: new high-speed USB device number 7 using ehci_hcd
Jul 5 19:52:10 alberto-Presario-C500-GH939EA-ABZ mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-6"
Jul 5 19:52:10 alberto-Presario-C500-GH939EA-ABZ kernel: [ 364.747663] scsi10 : usb-storage 1-6:1.4
Jul 5 19:52:10 alberto-Presario-C500-GH939EA-ABZ mtp-probe: bus: 1, device: 7 was not an MTP device
Jul 5 19:52:11 alberto-Presario-C500-GH939EA-ABZ usb_modeswitch: switched to 1bbb:0017 on 001/006
Jul 5 19:52:11 alberto-Presario-C500-GH939EA-ABZ kernel: [ 365.745642] scsi 10:0:0:0: Direct-Access ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2
Jul 5 19:52:11 alberto-Presario-C500-GH939EA-ABZ kernel: [ 365.747674] sd 10:0:0:0: Attached scsi generic sg3 type 0
Jul 5 19:52:11 alberto-Presario-C500-GH939EA-ABZ kernel: [ 365.753323] sd 10:0:0:0: [sdc] Attached SCSI removable disk
Jul 5 19:52:12 alberto-Presario-C500-GH939EA-ABZ usb_modeswitch[2712]: usb_modeswitch: switched to 1bbb:0017 on 1/7
Jul 5 19:57:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon: INFO: Quitting due to inactivity
Jul 5 19:57:32 alberto-Presario-C500-GH939EA-ABZ AptDaemon: INFO: Quitting was requested
Ho editato il file con il comando "sudo gedit /etc/udev/rules.d/10-switch-alcatel.rules" come mi hai detto di fare, ho tolto cioè il punto e virgola da
;Init = AT+CPIN="0000" ed ho inserito il mio pin.
Ultima cosa, io non ho installato Network Manager perchè uso WICD, e mi sembra di ricordare che i due programmi non possano convivere.
Alberto.
Re: Richiesta aiuto per installazione internet key Alcatel X
Dovresti postare (preferibilmente utilizzando il bottone Code del forum) il risultato del comando lsub.
EDIT:scusami ho sbagliato a scrivere volevo dire lsusb.
Re: Richiesta aiuto per installazione internet key Alcatel X
prova a dare questo comando da terminale:
Codice: Seleziona tutto
sudo modprobe usbserial vendor=0x1bbb product=0x0017Re: Richiesta aiuto per installazione internet key Alcatel X
Forse intendevi lsusb, il quale da questo risultato:
Codice: Seleziona tutto
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05dc:a811 Lexar Media, Inc. 16GB Gizmo!
Bus 002 Device 002: ID 1d57:0008
Bus 001 Device 009: ID 1bbb:0017 T & A Mobile Phones Sulla scatola della chiavetta, per quello che può valere, c'è scritto Alcatel x220.
Alberto.
Re: Richiesta aiuto per installazione internet key Alcatel X
Dopo l'ultimo comando wvdial dice che il device non esiste o che non risponde?
Re: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
--> WvDial: Internet dialer version 1.61
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
Re: Richiesta aiuto per installazione internet key Alcatel X
wvdial sta provando ad usare /dev/modem, fatti una copia del tuo wvdial.conf e settalo come ti avevo postato prima con /dev/ttyUSB4.
dai sempre prima di provare il comando
Codice: Seleziona tutto
sudo modprobe usbserial vendor=0x1bbb product=0x0017posta anche il risultato del comando
Codice: Seleziona tutto
sudo dmesg | grep USBRe: Richiesta aiuto per installazione internet key Alcatel X
Ecco il risultato del comando sudo dmesg | grep USB:
Codice: Seleziona tutto
[ 2.685083] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.685301] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[ 2.704042] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
[ 2.704434] hub 1-0:1.0: USB hub found
[ 2.704662] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.704702] uhci_hcd: USB Universal Host Controller Interface driver
[ 2.704917] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2
[ 2.705338] hub 2-0:1.0: USB hub found
[ 2.705702] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
[ 2.706132] hub 3-0:1.0: USB hub found
[ 2.706480] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
[ 2.706911] hub 4-0:1.0: USB hub found
[ 3.072052] usb 1-4: new high-speed USB device number 3 using ehci_hcd
[ 3.160112] ssb: Core 2 found: USB 1.1 Host (cc 0x817, rev 0x03, vendor 0x4243)
[ 3.956064] usb 2-1: new low-speed USB device number 2 using uhci_hcd
[ 4.544105] Initializing USB Mass Storage driver...
[ 4.544446] USB Mass Storage support registered.
[ 5.749323] scsi 6:0:0:0: Direct-Access UFD USB Flash Drive 1100 PQ: 0 ANSI: 0 CCS
[ 18.263974] generic-usb 0003:1D57:0008.0001: input,hidraw0: USB HID v1.10 Mouse [2.4G Wireless Optical Mouse] on usb-0000:00:1d.0-1/input0
[ 18.264139] usbhid: USB HID core driver
[ 279.136157] usb 1-6: new high-speed USB device number 4 using ehci_hcd
[ 280.510713] usb 1-6: USB disconnect, device number 4
[ 280.876135] usb 1-6: new high-speed USB device number 5 using ehci_hcd
[ 346.032382] usb 1-6: USB disconnect, device number 5
[ 362.928148] usb 1-6: new high-speed USB device number 6 using ehci_hcd
[ 364.222921] usb 1-6: USB disconnect, device number 6
[ 364.588096] usb 1-6: new high-speed USB device number 7 using ehci_hcd
[ 3549.469210] USB Serial support registered for generic
[ 3549.469577] usb 1-6: generic converter now attached to ttyUSB0
[ 3549.469790] usb 1-6: generic converter now attached to ttyUSB1
[ 3549.469983] usb 1-6: generic converter now attached to ttyUSB2
[ 3549.470186] usb 1-6: generic converter now attached to ttyUSB3
[ 3549.470383] usb 1-6: generic converter now attached to ttyUSB4
[ 3549.471068] usbserial: USB Serial Driver core
[ 3631.076399] usb 1-6: USB disconnect, device number 7
[ 3631.076780] generic ttyUSB0: generic converter now disconnected from ttyUSB0
[ 3631.079538] generic ttyUSB1: generic converter now disconnected from ttyUSB1
[ 3631.081176] generic ttyUSB2: generic converter now disconnected from ttyUSB2
[ 3631.081528] generic ttyUSB3: generic converter now disconnected from ttyUSB3
[ 3631.085754] generic ttyUSB4: generic converter now disconnected from ttyUSB4
[ 3637.172146] usb 1-6: new high-speed USB device number 8 using ehci_hcd
[ 3638.493626] usb 1-6: USB disconnect, device number 8
[ 3638.860151] usb 1-6: new high-speed USB device number 9 using ehci_hcd
[ 3639.007767] usb 1-6: generic converter now attached to ttyUSB0
[ 3639.008445] usb 1-6: generic converter now attached to ttyUSB1
[ 3639.009077] usb 1-6: generic converter now attached to ttyUSB2
[ 3639.009689] usb 1-6: generic converter now attached to ttyUSB3
[ 3639.010775] usb 1-6: generic converter now attached to ttyUSB4
Re: Richiesta aiuto per installazione internet key Alcatel X
no il percorso esatto èOTREBLA » [url=http://forum.ubuntu-it.org/viewtopic.php?p=4125406#p4125406]1 minuto fa[/url] ha scritto:Scusami ma non ho capito. Posso dare l'impressione di intendermene un pochino ma non è così. Sono un modesto utente di Ubuntu senza particolari conoscenze oltre quelle minime. Non so come devo fare per farmi una copia del mio wvdial.conf. Ho digitato il comando nella shell ma mi dice comando non trovato. Allora ho digitato "Sudo gedit wvdial.conf" e mi ha aperto un file vuoto.
Alberto.
Codice: Seleziona tutto
sudo gedit /etc/wvdial.confRe: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
[Dialer Defaults]
Modem = /dev/ttyUSB4
ISDN = off
Modem Type = Analog Modem
Baud = 460800
;Init = AT+CPIN="0000"
Init2 = ATX3
Init3 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = at+cgdcont=1,"IP","internet.wind"
Phone = *99#
Dial Attempts = 10
Dial Command = ATM1L3DT
Ask Password = off
Username = ''
Password = ''
Stupid Mode = onPoi ho dato:
Codice: Seleziona tutto
sudo modprobe usbserial vendor=0x1bbb product=0x0017Codice: Seleziona tutto
wvdialCodice: Seleziona tutto
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
OK
--> Sending: ATX3
OK
--> Sending: AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: at+cgdcont=1,"IP","internet.wind"
at+cgdcont=1,"IP","internet.wind"
+STIN:20
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: at+cgdcont=1,"IP","internet.wind"
at+cgdcont=1,"IP","internet.wind"
OK
--> Modem initialized.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
ATM1L3DT*99#
CONNECT 7200000
--> Carrier detected. Starting PPP immediately.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.sudo gedit /etc/udev/rules.d/10-switch-alcatel.rules", è vuoto, pagina bianca senza alcuna scritta.
Stessa cosa per il file che si apre con il comando "sudo gedit /etc/udev/rules.d/10-switch-alcatel.rules
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Maximum Attempts Exceeded..Aborting!!
--> Disconnecting at Thu Jul 5 21:51:31 2012
Codice: Seleziona tutto
sudo gedit /etc/udev/rules.d/10-switch-alcatel.rulesEcco l'esatto contenuto di wvdial.conf.
Codice: Seleziona tutto
[Dialer Defaults]
Modem = /dev/ttyUSB4
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = AT+CPIN="8223"
Init2 = ATX3
Init3 = AT&F Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = at+cgdcont=1,"IP","internet.wind"
Phone = *99#
Dial Attempts = 10
Dial Command = ATM1L3DT
Ask Password = off
Username = ''
Password = ''
Stupid Mode = onCodice: Seleziona tutto
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
--> Sending: ATQ0
--> Re-Sending: AT+CPIN="8223"
--> Modem not responding.
Re: Richiesta aiuto per installazione internet key Alcatel X
wvdial devi lanciarlo da terminale
Codice: Seleziona tutto
sudo wvdialRe: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
--> Sending: ATQ0
--> Re-Sending: AT+CPIN="8223"
--> Modem not responding.Re: Richiesta aiuto per installazione internet key Alcatel X
edit: comunque adesso il modem viene rilavato
Codice: Seleziona tutto
[ 3639.007767] usb 1-6: generic converter now attached to ttyUSB0
[ 3639.008445] usb 1-6: generic converter now attached to ttyUSB1
[ 3639.009077] usb 1-6: generic converter now attached to ttyUSB2
[ 3639.009689] usb 1-6: generic converter now attached to ttyUSB3
[ 3639.010775] usb 1-6: generic converter now attached to ttyUSB4Re: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
usbserial vendor=0x1bbb product=0x0017Codice: Seleziona tutto
sudo gedit /etc/modulesriavvia.
Re: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
sudo gedit /etc/udev/rules.d/10-switch-alcatel.rulesRe: Richiesta aiuto per installazione internet key Alcatel X
Codice: Seleziona tutto
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
usbserial vendor=0x1bbb product=0x0017Ho aperto il file wvdial.conf e ho inserito USB0, 1 2 3 e 4.
In tutti i casi mi ha detto:
Codice: Seleziona tutto
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
--> Sending: ATQ0
--> Re-Sending: AT+CPIN="8223"
--> Modem not responding.In un solo caso, cambiando con USB4, mi ha dato un messaggio un po' diverso:
Codice: Seleziona tutto
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
AT+CPIN="8223"
ERROR
--> Bad init string.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
AT+CPIN="8223"
ERROR
--> Bad init string.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CPIN="8223"
AT+CPIN="8223"
ERROR
--> Bad init string.
Re: Richiesta aiuto per installazione internet key Alcatel X
prova a inserire la sim in un cellulare , togli il pin
poi commenta con un ; la stringa del pin e riprova.
Re: Richiesta aiuto per installazione internet key Alcatel X
Alberto.
Chi c’è in linea
Visualizzano questa sezione: Google [Bot] e 9 ospiti
