[Risolto] Connessione Internet Key Alcatel x215s su F11

Ciao a tutti!
Ho un problema con la internet key Alcatel x215s sulla mia Fedora 11.
Sulla scatola vi era scritto che erano presenti i driver sulla penna stessa, e invece non vi era nulla.
Ho scaricato il driver presente sul sito principale ma sono script scritti con i piedi.
Ho inviato una mail al servizio clienti, mi hanno mandato un altro driver con un modulo da installare ma il formato non è compatibile!

Non so piu’ che fare.

C’e’ qualcuno che saprebbe aiutarmi?

Grazie!

Hai già fatto una ricerca nel forum e nelle nostre guide?
Ce del materiale utile ed interessante.
http://www.fedoraonline.it/modules/smartsection/item.php?itemid=334

No, non avevo notato la sezione delle guide. Ti ringrazio molto!

Faccio una prova al piu’ presto

Prima ho provato su un ubuntu 10.04 e dopo averci perso un pomeriggio ci sono riuscito.
Poi sono tornato sulla mia fedora e appena inserita la chiavetta l’ha subita riconosciuta come modem!
Poi ho subito provato wvdial con il file di configurazione della guida ma non si connetteva. Dopo vari ricerche e tentativi ho scoperto che era da raddoppiare il baud rate a 912600.
A quanto pare non serve lanciare usb_modeswitch ogni volta che viene inserita. I codici della chiavetta sono sempre gia’ switchati. Basta soltanto caricare usbserial con modprobe prima di inserire la chiavetta (con la chiavetta inserita non la riconsce, bisogna reinserirla).

Successivamente appare in NetworkManager una nuova connessione broadband, mi connetto ma non riesco a navigare e non capisco perche’. Ho eseguito tutti gli altri passi della guida.

Posto l’output di wvdial:

--> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: 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","internet.wind.it" AT+CGDCONT=1,"IP","internet.wind.it" OK --> Modem initialized. --> Configuration does not specify a valid login name. --> Configuration does not specify a valid password.

Ecco qui invece la configurazione sul file wvdial.conf:

[Dialer wind] Modem = /dev/ttyUSB4 ISDN = off Baud = 921600 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","internet.wind.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 New PPPD = yes

Grazie!

Ed il tuo ifconfig, cosa dice?

Ciao,
il terminale ti rimanda questo:

OK --> Modem initialized. --> Configuration does not specify a valid login name. --> Configuration does not specify a valid password.
che non ci voglia un nome ed una pswd

prova ad inserire questo nel tuo wvdial

[Dialer wind] 
Modem = /dev/ttyUSB4 
ISDN = off 
Baud = 921600 
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","internet.wind.it" 
Dial Command = ATM1L3DT 
Dial Attempts = 5 
Modem Type = Analog Modem 
Auto DNS = on 
Username = "quello che vuoi, prova con" "wind"
Password = "quella che vuoi"
Stupid Mode = on 
Auto Reconnect = off 
Check Def Route = off 
New PPPD = yes 

bello, cos’è lo stupid mode, lo voglio anch’io on …devo ricontrollare le mie stringhe… :lol:

Ho provato ad usare un username ed una password qualsiasi (wind per entrambi) ed ecco l’output di wvdial:

# wvdial wind --> WvDial: Internet dialer version 1.60 --> 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","internet.wind.it" AT+CGDCONT=1,"IP","internet.wind.it" OK --> Modem initialized. --> Sending: ATM1L3DT*99# --> Waiting for carrier. ATM1L3DT*99# --> 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!!

Ecco qui invece l’output di ifconfig (purtroppo nessuna nuova interfaccia):

[code]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D4:93:A9:D8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:900 (900.0 b) TX bytes:900 (900.0 b)
[/code]

Ciao,

alex86ba dice:

[quote]
Successivamente appare in NetworkManager una nuova connessione broadband, mi connetto ma non riesco a navigare e non capisco perche’.[/quote]
Come sai di essere connesso? e come testi la navigazione?

Dai che ci sei vicino.

Il dato

Dial Command = ATM1L3DT
dove lo hai tirato fuori?

"Dial Command:
http://linux.die.net/man/5/wvdial.conf
Vediamo:-)

Praticamente la prima volta che la chiavetta e’ stata riconosciuta come modem e ho utilizzato wvdial (mi appariva ugualmente il messaggio relativo all’username e password non inseriti) mi era comparsa la connessione broadband nel NetworkManager. Come ho gia’ scritto pero’, nonostante mi sia connesso non riuscivo a collegarmi.

Dopo quella volta non mi e’ + apparsa quella connessione nel NetworkManager e quello scritto sopra e’ il risultato che attualmente di da’ wvdial.

Sinceramente il dato Dial Command = ATM1L3DT l’ho copiato da una configurazione che ho trovato su internet per ubuntu. Mi ero detto proviamo, chissa’!
Non so cosa faccia ma per la disperazione stavo provando di tutto. Magari ora lascio quello di default.

togli ed inserisci la chiavetta, aspetta 5 secondi e fai vedere l’output di:

$ dmesg|tail

Ecco l’ouput di dmesg prima di lanciare modprobe usbserial:

# dmesg|tail usb 1-1: Manufacturer: USBModem usb 1-1: SerialNumber: 1234567890ABCDEF usb 1-1: configuration #1 chosen from 1 choice scsi3 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 4 usb-storage: waiting for device to settle before scanning usb-storage: device scan complete scsi 3:0:0:0: Direct-Access ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2 sd 3:0:0:0: Attached scsi generic sg2 type 0 sd 3:0:0:0: [sdb] Attached SCSI removable disk

Dopo aver lanciato modprobe usbserial:

# dmesg|tail option 1-1:1.2: GSM modem (1-port) converter detected usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2 option 1-1:1.3: GSM modem (1-port) converter detected usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 option 1-1:1.5: GSM modem (1-port) converter detected usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4 usb-storage: device scan complete scsi 5:0:0:0: Direct-Access ALCATEL Mass Storage 2.31 PQ: 0 ANSI: 2 sd 5:0:0:0: Attached scsi generic sg2 type 0 sd 5:0:0:0: [sdb] Attached SCSI removable disk

dai prima un:

# eject /dev/sdb

poi in wvdial.conf cambia la linea:

Modem = /dev/ttyUSB4  

in

Modem = /dev/ttyUSB2 oppure Modem = /dev/ttyUSB3

riprova.

Lanciando eject /dev/sdb ho visto che vi e’ ancora il device file sdb nella cartella /dev. Riprovando con wvdial non e’ cambiato nulla.
Invece tra i vari esempi di configurazioni trovati su internet ho visto come nome di APN anche “Internet.wind”. Ho provato a inserirlo nella configurazione di wvdial ed e’ cambiato qualcosa (finalmente):

$ sudo wvdial wind [sudo] password for alex: --> WvDial: Internet dialer version 1.60 --> 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","Internet.wind" AT+CGDCONT=1,"IP","Internet.wind" OK --> Modem initialized. --> Sending: ATDT*99# --> Waiting for carrier. ATDT*99# CONNECT 7200000 --> Carrier detected. Starting PPP immediately. --> Starting pppd at Sun Sep 5 22:24:53 2010 --> Pid of pppd: 9541 --> Using interface ppp0 --> pppd: ???[08] ??[08]???[08] --> pppd: ???[08] ??[08]???[08] --> pppd: ???[08] ??[08]???[08] --> pppd: ???[08] ??[08]???[08] --> pppd: ???[08] ??[08]???[08] --> local IP address 151.82.50.17 --> pppd: ???[08] ??[08]???[08] --> remote IP address 10.64.64.64 --> pppd: ???[08] ??[08]???[08] --> primary DNS address 193.70.152.25 --> pppd: ???[08] ??[08]???[08] --> secondary DNS address 193.70.192.25 --> pppd: ???[08] ??[08]???[08]

E’ apparsa anche la nuova interfaccia ppp0:

[code]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:D4:93:A9:D8
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18 Base address:0xac00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:212 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7356 (7.1 KiB) TX bytes:7356 (7.1 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:151.82.50.17 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1272 (1.2 KiB) TX bytes:1628 (1.5 KiB)
[/code]

Ho provato a navigare ma non ho avuto successo.
E’ apparsa anche la connessione broadband su NetworkManager ma non sono riuscito a connettermi. Gli unici parametri impostati sono il numero *99#, il nome dell’APN e il PPP automatico.

Non so che altro fare.

Se fai un ping al modem, risponde?

Si ho appena provato e risponde perfettamente.

bene, ora output di:

$ ping -c 10 8.8.8.8 $ ping -c 10 www.google.it

Ecco qui:

[code]$ ping -c 10 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=6067 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=54 time=5067 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=54 time=4086 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=54 time=3086 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=54 time=2085 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=54 time=1103 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=54 time=306 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=54 time=285 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=54 time=264 ms

— 8.8.8.8 ping statistics —
10 packets transmitted, 9 received, 10% packet loss, time 21133ms
rtt min/avg/max/mdev = 264.440/2483.411/6067.019/2081.922 ms, pipe 7

$ ping -c 10 www.google.it
ping: unknown host www.google.it[/code]

Ho provato anche a pingare i local e remote ip address e i due dns:

[code]$ ping -c 10 151.82.167.42
PING 151.82.167.42 (151.82.167.42) 56(84) bytes of data.
64 bytes from 151.82.167.42: icmp_seq=1 ttl=64 time=0.080 ms
64 bytes from 151.82.167.42: icmp_seq=2 ttl=64 time=0.080 ms
64 bytes from 151.82.167.42: icmp_seq=3 ttl=64 time=0.079 ms
64 bytes from 151.82.167.42: icmp_seq=4 ttl=64 time=0.082 ms
64 bytes from 151.82.167.42: icmp_seq=5 ttl=64 time=0.078 ms
64 bytes from 151.82.167.42: icmp_seq=6 ttl=64 time=0.081 ms
64 bytes from 151.82.167.42: icmp_seq=7 ttl=64 time=0.080 ms
64 bytes from 151.82.167.42: icmp_seq=8 ttl=64 time=0.081 ms
64 bytes from 151.82.167.42: icmp_seq=9 ttl=64 time=0.080 ms
64 bytes from 151.82.167.42: icmp_seq=10 ttl=64 time=0.079 ms

— 151.82.167.42 ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 8999ms
rtt min/avg/max/mdev = 0.078/0.080/0.082/0.001 ms

$ ping -c 10 10.64.64.64
PING 10.64.64.64 (10.64.64.64) 56(84) bytes of data.

— 10.64.64.64 ping statistics —
10 packets transmitted, 0 received, 100% packet loss, time 18999ms

$ ping -c 10 193.70.152.25
PING 193.70.152.25 (193.70.152.25) 56(84) bytes of data.

— 193.70.152.25 ping statistics —
10 packets transmitted, 0 received, 100% packet loss, time 18999ms

$ ping -c 10 193.70.192.25
PING 193.70.192.25 (193.70.192.25) 56(84) bytes of data.
64 bytes from 193.70.192.25: icmp_seq=1 ttl=121 time=930 ms
64 bytes from 193.70.192.25: icmp_seq=2 ttl=121 time=309 ms
64 bytes from 193.70.192.25: icmp_seq=3 ttl=121 time=268 ms
64 bytes from 193.70.192.25: icmp_seq=4 ttl=121 time=287 ms
64 bytes from 193.70.192.25: icmp_seq=5 ttl=121 time=269 ms
64 bytes from 193.70.192.25: icmp_seq=6 ttl=121 time=307 ms
64 bytes from 193.70.192.25: icmp_seq=7 ttl=121 time=247 ms
64 bytes from 193.70.192.25: icmp_seq=8 ttl=121 time=243 ms
64 bytes from 193.70.192.25: icmp_seq=9 ttl=121 time=244 ms
64 bytes from 193.70.192.25: icmp_seq=10 ttl=121 time=244 ms

— 193.70.192.25 ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 9252ms
rtt min/avg/max/mdev = 243.038/335.050/930.897/200.078 ms[/code]

bene, in queste condizioni, da root:

# gedit /etc/resolv.conf

elimina quello che eventualmente è presente ed inserisci le righe:
**
nameserver 193.70.152.25
nameserver 193.70.192.25 **

salva
chiudi.

non toccare altro.
apri firefox o un qualunque altro browser e vedi se navighi.

Ho fatto la modifica indicata e finalmente FUNZIONA! Sono collegato proprio con la chiavetta.
Non so come ringraziarvi!

Spero non sia solo un tentativo fortunato andato a buon fine e che anche tutte le prossime connessioni funzionino.

non è un tentativo.