Pagina 5 di 10

Re: collegarsi con modem usb huwaei e5251

Inviato: sabato 12 ottobre 2013, 19:03
da magozurlinux
Da terminale con la chiavetta Huawei inserita postami questi comandi:

Codice: Seleziona tutto

dmesg | grep usb

Codice: Seleziona tutto

dmesg | tail

Codice: Seleziona tutto

ls -l /dev/ttyUSB*

Re: collegarsi con modem usb huwaei e5251

Inviato: sabato 12 ottobre 2013, 19:05
da jigen45

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ dmesg | grep usb
[    0.237148] usbcore: registered new interface driver usbfs
[    0.237166] usbcore: registered new interface driver hub
[    0.237213] usbcore: registered new device driver usb
[    1.556426] usbcore: registered new interface driver libusual
[    2.000046] usb 2-2: new low-speed USB device number 2 using ohci_hcd
[    2.432042] usb 4-2: new full-speed USB device number 2 using ohci_hcd
[    2.444867] input:  USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:13.0/usb2/2-2/2-2:1.0/input/input3
[    2.445055] generic-usb 0003:15D9:0A4C.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:13.0-2/input0
[    2.445086] usbcore: registered new interface driver usbhid
[    2.445089] usbhid: USB HID core driver
[    2.605965] scsi6 : usb-storage 4-2:1.0
[    2.606094] usbcore: registered new interface driver usb-storage
[    2.864047] usb 6-1: new full-speed USB device number 2 using ohci_hcd
[   17.663938] usbcore: registered new interface driver usbserial
[   17.663980] usbserial_generic 6-1:1.0: generic converter detected
[   17.664370] usb 6-1: generic converter now attached to ttyUSB0
[   17.664394] usbserial_generic 6-1:1.1: generic converter detected
[   17.664590] usb 6-1: generic converter now attached to ttyUSB1
[   17.664607] usbserial_generic 6-1:1.2: generic converter detected
[   17.666211] usb 6-1: generic converter now attached to ttyUSB2
[   17.666320] usbcore: registered new interface driver usbserial_generic
[   17.666324] usbserial: USB Serial Driver core
[   95.930431] usb 6-1: USB disconnect, device number 2
[   95.931329] usbserial_generic 6-1:1.0: device disconnected
[   95.932435] usbserial_generic 6-1:1.1: device disconnected
[   95.934090] usbserial_generic 6-1:1.2: device disconnected
[  101.484035] usb 6-1: new full-speed USB device number 3 using ohci_hcd
[  101.655379] scsi7 : usb-storage 6-1:1.0
[  130.028162] usb 6-1: USB disconnect, device number 3
[  131.424020] usb 6-1: new full-speed USB device number 4 using ohci_hcd
[  131.595238] usbserial_generic 6-1:1.0: generic converter detected
[  131.595499] usb 6-1: generic converter now attached to ttyUSB0
[  131.597237] usbserial_generic 6-1:1.1: generic converter detected
[  131.597508] usb 6-1: generic converter now attached to ttyUSB1
[  131.599140] usbserial_generic 6-1:1.2: generic converter detected
[  131.599306] usb 6-1: generic converter now attached to ttyUSB2
[  258.124048] usb 1-10: new high-speed USB device number 5 using ehci_hcd
[  258.268155] scsi8 : usb-storage 1-10:1.0
[ 2995.334667] usb 6-1: USB disconnect, device number 4
[ 2995.335770] usbserial_generic 6-1:1.0: device disconnected
[ 2995.336819] usbserial_generic 6-1:1.1: device disconnected
[ 2995.337732] usbserial_generic 6-1:1.2: device disconnected
lg@lg-M5610-M3610:~$ dmesg | tail
[  259.278844] sr 8:0:0:0: Attached scsi generic sg6 type 5
[  259.473767] ISO 9660 Extensions: Microsoft Joliet Level 1
[  259.512174] ISOFS: changing to secondary root
[ 2995.334667] usb 6-1: USB disconnect, device number 4
[ 2995.335750] generic ttyUSB0: generic converter now disconnected from ttyUSB0
[ 2995.335770] usbserial_generic 6-1:1.0: device disconnected
[ 2995.336786] generic ttyUSB1: generic converter now disconnected from ttyUSB1
[ 2995.336819] usbserial_generic 6-1:1.1: device disconnected
[ 2995.337700] generic ttyUSB2: generic converter now disconnected from ttyUSB2
[ 2995.337732] usbserial_generic 6-1:1.2: device disconnected
lg@lg-M5610-M3610:~$ ls -l /dev/ttyUSB*
ls: impossibile accedere a /dev/ttyUSB*: File o directory non esistente

Re: collegarsi con modem usb huwaei e5251

Inviato: sabato 12 ottobre 2013, 19:30
da magozurlinux
Prima vengono creati i dispositivi /dev/ttyUSB0..USB3, poi vengono disabilitati; proviamo così:

Senza la chiavetta Huawei inserita dai questi comandi:

Codice: Seleziona tutto

sudo modprobe usbserial vendor=0x12d1 product=0x14fe

Codice: Seleziona tutto

sudo umount /dev/sr1
inserisci la chiavetta Huawei e postami questi comandi:

Codice: Seleziona tutto

dmesg | grep usb

Codice: Seleziona tutto

dmesg | tail

Codice: Seleziona tutto

ls -l /dev/ttyUSB*
Sei connesso con l'altra chiavetta Internet?

se sei connesso con l'altra chiavetta, modificando il modulo usbserial blocchi la connessione ad Internet con l'altra chiavetta inserita; i comandi vanno dati senza la connessione con l'altra chiavetta!

Re: collegarsi con modem usb huwaei e5251

Inviato: sabato 12 ottobre 2013, 22:02
da jigen45
ciao, scusa se ti rispondo con ritardo, sono stato impegnato:

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ sudo modprobe usbserial vendor=0x12d1 product=0x14fe
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/options, it will be ignored in a future release.
lg@lg-M5610-M3610:~$ sudo umount /dev/sr1
umount: /dev/sr1: non trovato
lg@lg-M5610-M3610:~$ dmesg | grep usb
[    0.233192] usbcore: registered new interface driver usbfs
[    0.233209] usbcore: registered new interface driver hub
[    0.233256] usbcore: registered new device driver usb
[    1.512421] usbcore: registered new interface driver libusual
[    1.956043] usb 2-2: new low-speed USB device number 2 using ohci_hcd
[    2.388099] usb 4-2: new full-speed USB device number 2 using ohci_hcd
[    2.393883] input:  USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:13.0/usb2/2-2/2-2:1.0/input/input3
[    2.394074] generic-usb 0003:15D9:0A4C.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:13.0-2/input0
[    2.394114] usbcore: registered new interface driver usbhid
[    2.394117] usbhid: USB HID core driver
[    2.561980] scsi6 : usb-storage 4-2:1.0
[    2.562090] usbcore: registered new interface driver usb-storage
[    2.820256] usb 6-1: new full-speed USB device number 2 using ohci_hcd
[   17.418821] usbcore: registered new interface driver usbserial
[   17.418903] usbserial_generic 6-1:1.0: generic converter detected
[   17.419100] usb 6-1: generic converter now attached to ttyUSB0
[   17.419116] usbserial_generic 6-1:1.1: generic converter detected
[   17.419281] usb 6-1: generic converter now attached to ttyUSB1
[   17.419299] usbserial_generic 6-1:1.2: generic converter detected
[   17.419457] usb 6-1: generic converter now attached to ttyUSB2
[   17.419509] usbcore: registered new interface driver usbserial_generic
[   17.419513] usbserial: USB Serial Driver core
[   36.572052] usb 1-10: new high-speed USB device number 5 using ehci_hcd
[   36.711299] scsi7 : usb-storage 1-10:1.0
[  127.469682] usb 6-1: USB disconnect, device number 2
[  127.470596] usbserial_generic 6-1:1.0: device disconnected
[  127.471182] usbserial_generic 6-1:1.1: device disconnected
[  127.473543] usbserial_generic 6-1:1.2: device disconnected
[  153.772843] usb 1-10: USB disconnect, device number 5
[  171.496055] usb 1-10: new high-speed USB device number 6 using ehci_hcd
[  171.635339] scsi8 : usb-storage 1-10:1.0
[  184.051074] usb 1-10: USB disconnect, device number 6
[  206.808046] usb 1-10: new high-speed USB device number 7 using ehci_hcd
[  206.947350] scsi9 : usb-storage 1-10:1.0
lg@lg-M5610-M3610:~$ dmesg | tail
[  172.810579] ISOFS: changing to secondary root
[  184.051074] usb 1-10: USB disconnect, device number 6
[  206.808046] usb 1-10: new high-speed USB device number 7 using ehci_hcd
[  206.947350] scsi9 : usb-storage 1-10:1.0
[  207.950482] scsi 9:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  207.955750] sr1: scsi-1 drive
[  207.956082] sr 9:0:0:0: Attached scsi CD-ROM sr1
[  207.956377] sr 9:0:0:0: Attached scsi generic sg6 type 5
[  208.148326] ISO 9660 Extensions: Microsoft Joliet Level 1
[  208.149352] ISOFS: changing to secondary root
lg@lg-M5610-M3610:~$ ls -l /dev/ttyUSB*
ls: impossibile accedere a /dev/ttyUSB*: File o directory non esistente
sì, io infatti ogni volta mi disconnetto con l'alcatel e la stacco proprio prima di dare i comandi, poi li do' e mi riconnetto per risponderti :)

Re: collegarsi con modem usb huwaei e5251

Inviato: domenica 13 ottobre 2013, 18:47
da magozurlinux
Vengono emessi quegli errori perchè usbserial è impegnato con i parametri della chiavetta Alcatel.

Senza la chiavetta Huawei inserita dai questi comandi:

Codice: Seleziona tutto

sudo rmmod usbserial

Codice: Seleziona tutto

sudo modprobe usbserial vendor=0x12d1 product=0x14fe
inserisci la chiavetta Huawei e postami questi comandi:

Codice: Seleziona tutto

dmesg | grep usb

Codice: Seleziona tutto

dmesg | tail

Codice: Seleziona tutto

ls -l /dev/ttyUSB*
se non vengono creati i dispositivi /dev/ttyUSB0.. non si riuscirà a far funzionare la chiavetta Huawei.

Forse questa chiavetta è recente ed Ubuntu non la riconosce correttamente; le chiavette Huawei sono quelle che con Linux funzionano con poche impostazioni di usb_modeswitch.

Un mio amico ha una chiavetta Huawei, la mette nel tablet con Android, la rileva subito e si connette ad Internet senza tanti sforzi.

Re: collegarsi con modem usb huwaei e5251

Inviato: domenica 13 ottobre 2013, 18:58
da jigen45

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ dmesg | grep usb
[    0.233195] usbcore: registered new interface driver usbfs
[    0.233213] usbcore: registered new interface driver hub
[    0.233259] usbcore: registered new device driver usb
[    1.512424] usbcore: registered new interface driver libusual
[    1.956037] usb 2-2: new low-speed USB device number 2 using ohci_hcd
[    2.388039] input:  USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:13.0/usb2/2-2/2-2:1.0/input/input3
[    2.388058] usb 4-2: new full-speed USB device number 2 using ohci_hcd
[    2.388733] generic-usb 0003:15D9:0A4C.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:13.0-2/input0
[    2.388762] usbcore: registered new interface driver usbhid
[    2.388765] usbhid: USB HID core driver
[    2.561912] scsi6 : usb-storage 4-2:1.0
[    2.562019] usbcore: registered new interface driver usb-storage
[    2.820216] usb 6-1: new full-speed USB device number 2 using ohci_hcd
[   17.245441] usbcore: registered new interface driver usbserial
[   17.245519] usbserial_generic 6-1:1.0: generic converter detected
[   17.245716] usb 6-1: generic converter now attached to ttyUSB0
[   17.245734] usbserial_generic 6-1:1.1: generic converter detected
[   17.245892] usb 6-1: generic converter now attached to ttyUSB1
[   17.245908] usbserial_generic 6-1:1.2: generic converter detected
[   17.246064] usb 6-1: generic converter now attached to ttyUSB2
[   17.246118] usbcore: registered new interface driver usbserial_generic
[   17.246122] usbserial: USB Serial Driver core
[ 3953.948813] usb 6-1: USB disconnect, device number 2
[ 3953.949517] usbserial_generic 6-1:1.0: device disconnected
[ 3953.950160] usbserial_generic 6-1:1.1: device disconnected
[ 3953.953807] usbserial_generic 6-1:1.2: device disconnected
[ 3978.751057] usbcore: deregistering interface driver usbserial_generic
[ 3978.751132] usbcore: deregistering interface driver usbserial
[ 3987.744839] usbcore: registered new interface driver usbserial
[ 3987.747525] usbcore: registered new interface driver usbserial_generic
[ 3987.747533] usbserial: USB Serial Driver core
[ 4008.284066] usb 1-10: new high-speed USB device number 5 using ehci_hcd
[ 4008.428178] scsi7 : usb-storage 1-10:1.0
[ 4041.669118] usb 1-10: USB disconnect, device number 5
[ 4047.781831] usbcore: deregistering interface driver usbserial_generic
[ 4047.781914] usbcore: deregistering interface driver usbserial
[ 4050.353188] usbcore: registered new interface driver usbserial
[ 4050.354511] usbcore: registered new interface driver usbserial_generic
[ 4050.354518] usbserial: USB Serial Driver core
[ 4064.608059] usb 1-10: new high-speed USB device number 6 using ehci_hcd
[ 4064.747292] scsi8 : usb-storage 1-10:1.0
lg@lg-M5610-M3610:~$ dmesg | tail
[ 4050.354511] usbcore: registered new interface driver usbserial_generic
[ 4050.354518] usbserial: USB Serial Driver core
[ 4064.608059] usb 1-10: new high-speed USB device number 6 using ehci_hcd
[ 4064.747292] scsi8 : usb-storage 1-10:1.0
[ 4065.745686] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[ 4065.751475] sr1: scsi-1 drive
[ 4065.751766] sr 8:0:0:0: Attached scsi CD-ROM sr1
[ 4065.751972] sr 8:0:0:0: Attached scsi generic sg6 type 5
[ 4065.952122] ISO 9660 Extensions: Microsoft Joliet Level 1
[ 4065.953291] ISOFS: changing to secondary root
lg@lg-M5610-M3610:~$ ls -l /dev/ttyUSB*
ls: impossibile accedere a /dev/ttyUSB*: File o directory non esistente

Re: collegarsi con modem usb huwaei e5251

Inviato: domenica 13 ottobre 2013, 19:35
da magozurlinux
Da terminale postami questi comandi:

Codice: Seleziona tutto

locate runhwactivator

Codice: Seleziona tutto

locate hw_cdc_driver.o

Re: collegarsi con modem usb huwaei e5251

Inviato: domenica 13 ottobre 2013, 21:47
da jigen45

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ locate runhwactivator
/etc/init.d/runhwactivator
/etc/rc2.d/K10runhwactivator
/etc/rc2.d/S99runhwactivator
/etc/rc3.d/K10runhwactivator
/etc/rc3.d/S99runhwactivator
/etc/rc4.d/K10runhwactivator
/etc/rc4.d/S99runhwactivator
/etc/rc5.d/K10runhwactivator
/etc/rc5.d/S99runhwactivator
/home/lg/huawei/driver-pwd/driver/runhwactivator
lg@lg-M5610-M3610:~$ locate hw_cdc_driver.o
/home/lg/huawei/driver-pwd/driver/ndis_driver/ndis_src/src/.hw_cdc_driver.o.cmd
/home/lg/huawei/driver-pwd/driver/ndis_driver/ndis_src/src/hw_cdc_driver.o

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 12:25
da magozurlinux
Da terminale dai questo comando:

Codice: Seleziona tutto

sudo rm -rf /etc/init.d/runhwactivator
Da terminale postami questo comando:

Codice: Seleziona tutto

cat /etc/rc2.d/K10runhwactivator

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 16:58
da jigen45

Codice: Seleziona tutto

cat: /etc/rc2.d/K10runhwactivator: File o directory non esistente
Se vuoi posso collegarmi su un altro pc in modo da non usare l'alcatel e provare solo con l'huawei
P.S. Con l'altro (che è un portatile) mi collegherei in wi-fi proprio con l'huawei..

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 18:55
da magozurlinux
Da terminale postami questo comando:

Codice: Seleziona tutto

cat /etc/rc2.d/K10runhwactivator
Prova con l'altro portatile.

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 19:10
da jigen45
Anche in questo caso mi dice file o directory non esistente :(

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 19:25
da magozurlinux
Anch'io sono connesso ad Internet con una chiavetta, per farla funzionare con Ubuntu ho letto tre discussioni del 2008, ho dovuto modificare la regola udev e devo dire che con Ubuntu va meglio di Windows.

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 19:27
da jigen45
Adesso che non uso l'alcatel si potrebbero rimuovere i conflitti, che ne pensi? Ti va di ricominciare da capo? Please.. :)

Re: collegarsi con modem usb huwaei e5251

Inviato: lunedì 14 ottobre 2013, 19:43
da magozurlinux
Vediamo di fare un pò di pulizia!

Da terminale postami questo comando:

Codice: Seleziona tutto

ls -l /etc/rc2.d/

Codice: Seleziona tutto

ls -l /etc/init.d/

Re: collegarsi con modem usb huwaei e5251

Inviato: martedì 15 ottobre 2013, 10:59
da jigen45

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ ls -l /etc/rc2.d/
totale 4
lrwxrwxrwx 1 root root  26 ott 11 18:50 K10runhwactivator -> /etc/init.d/runhwactivator
-rw-r--r-- 1 root root 677 lug 26  2012 README
lrwxrwxrwx 1 root root  20 feb 22  2013 S20kerneloops -> ../init.d/kerneloops
lrwxrwxrwx 1 root root  27 feb 22  2013 S20speech-dispatcher -> ../init.d/speech-dispatcher
lrwxrwxrwx 1 root root  16 feb 22  2013 S20vnstat -> ../init.d/vnstat
lrwxrwxrwx 1 root root  17 mar 18  2013 S20winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root  20 feb 22  2013 S50pulseaudio -> ../init.d/pulseaudio
lrwxrwxrwx 1 root root  15 feb 22  2013 S50rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root  15 feb 22  2013 S50saned -> ../init.d/saned
lrwxrwxrwx 1 root root  19 feb 22  2013 S70dns-clean -> ../init.d/dns-clean
lrwxrwxrwx 1 root root  18 feb 22  2013 S70pppd-dns -> ../init.d/pppd-dns
lrwxrwxrwx 1 root root  14 mar  3  2013 S75sudo -> ../init.d/sudo
lrwxrwxrwx 1 root root  22 feb 22  2013 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root  21 feb 22  2013 S99grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root  18 feb 22  2013 S99ondemand -> ../init.d/ondemand
lrwxrwxrwx 1 root root  18 feb 22  2013 S99rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  26 ott 11 18:50 S99runhwactivator -> /etc/init.d/runhwactivator
lrwxrwxrwx 1 root root  18 lug 11 01:01 S99timidity -> ../init.d/timidity
lg@lg-M5610-M3610:~$ ls -l /etc/init.d/
totale 168
lrwxrwxrwx 1 root root   21 feb 22  2013 acpid -> /lib/init/upstart-job
-rwxr-xr-x 1 root root  652 gen  5  2010 acpi-support
lrwxrwxrwx 1 root root   21 mar 28  2013 alsa-restore -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mar 28  2013 alsa-store -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 anacron -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 4596 apr 12  2012 apparmor
lrwxrwxrwx 1 root root   21 set 26 21:18 apport -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 atd -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 avahi-daemon -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 nov 25  2011 binfmt-support -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 bluetooth -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2444 apr 14  2012 bootlogd
-rwxr-xr-x 1 root root 2125 mar  1  2011 brltty
lrwxrwxrwx 1 root root   21 feb 22  2013 console-setup -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 giu 19  2012 cron -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 13 17:09 cups -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 giu 13 16:47 dbus -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 set 19 22:19 dmesg -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1242 dic 13  2011 dns-clean
lrwxrwxrwx 1 root root   21 mag 20  2012 failsafe-x -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 friendly-recovery -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1105 apr 17  2012 grub-common
-rwxr-xr-x 1 root root 1329 apr 14  2012 halt
lrwxrwxrwx 1 root root   21 feb 22  2013 hostname -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 hwclock -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 hwclock-save -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 irqbalance -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1893 apr 19  2012 kerneloops
-rwxr-xr-x 1 root root 1293 apr 14  2012 killprocs
lrwxrwxrwx 1 root root   21 lug 20 02:41 lightdm -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 modemmanager -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 module-init-tools -> /lib/init/upstart-job
-rw-r--r-- 1 root root  125 mar 29  2013 mountdevsubfs.sh
-rwxr-xr-x 1 root root 2797 feb 13  2012 networking
lrwxrwxrwx 1 root root   21 set 19 22:00 network-interface -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 set 19 22:00 network-interface-container -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 set 19 22:00 network-interface-security -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 giu 27 21:49 network-manager -> /lib/init/upstart-job
-rwxr-xr-x 1 root root  882 apr 14  2012 ondemand
lrwxrwxrwx 1 root root   21 set 13  2012 passwd -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth-log -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth-ready -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth-splash -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth-stop -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 mag 17 00:13 plymouth-upstart-bridge -> /lib/init/upstart-job
-rwxr-xr-x 1 root root  561 feb  4  2011 pppd-dns
lrwxrwxrwx 1 root root   21 feb 22  2013 procps -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2180 apr 12  2012 pulseaudio
-rwxr-xr-x 1 root root 8635 lug 26  2012 rc
-rwxr-xr-x 1 root root  801 apr 14  2012 rc.local
-rwxr-xr-x 1 root root  117 lug 26  2012 rcS
-rw-r--r-- 1 root root 2427 lug 26  2012 README
-rwxr-xr-x 1 root root  639 apr 14  2012 reboot
lrwxrwxrwx 1 root root   21 set  8  2012 resolvconf -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 rfkill-restore -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 rfkill-store -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 4395 nov  8  2011 rsync
lrwxrwxrwx 1 root root   21 set 19 22:19 rsyslog -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2344 dic  5  2011 saned
-rwxr-xr-x 1 root root 4321 apr 14  2012 sendsigs
lrwxrwxrwx 1 root root   21 feb 22  2013 setvtrgb -> /lib/init/upstart-job
-rwxr-xr-x 1 root root  590 apr 14  2012 single
-rw-r--r-- 1 root root 4304 lug 26  2012 skeleton
-rwxr-xr-x 1 root root 2107 mag 16  2011 speech-dispatcher
-rwxr-xr-x 1 root root  567 apr 14  2012 stop-bootlogd
-rwxr-xr-x 1 root root 1143 apr 14  2012 stop-bootlogd-single
-rwxr-xr-x 1 root root  700 ott 27  2011 sudo
lrwxrwxrwx 1 root root   21 lug 20 02:24 udev -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 lug 20 02:24 udev-fallback-graphics -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 lug 20 02:24 udev-finish -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 lug 20 02:24 udevmonitor -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 lug 20 02:24 udevtrigger -> /lib/init/upstart-job
lrwxrwxrwx 1 root root   21 feb 22  2013 ufw -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 2800 apr 14  2012 umountfs
-rwxr-xr-x 1 root root 2211 apr 14  2012 umountnfs.sh
-rwxr-xr-x 1 root root 2926 apr 14  2012 umountroot
-rwxr-xr-x 1 root root 1039 nov  9  2011 unattended-upgrades
-rwxr-xr-x 1 root root 1985 apr 14  2012 urandom
-rwxr-xr-x 1 root root 1466 gen  5  2011 vnstat
lrwxrwxrwx 1 root root   21 ago  1 12:20 whoopsie -> /lib/init/upstart-job
-rwxr-xr-x 1 root root 1342 giu  8  2012 winbind
-rwxr-xr-x 1 root root 2666 mar 22  2012 x11-common

Re: collegarsi con modem usb huwaei e5251

Inviato: martedì 15 ottobre 2013, 18:07
da magozurlinux
Da terminale dai questo comando:

Codice: Seleziona tutto

sudo rm -rf /etc/rc2.d/K10runhwactivator
Riavvia il pc.

Re: collegarsi con modem usb huwaei e5251

Inviato: mercoledì 16 ottobre 2013, 11:51
da jigen45
Fatto, ma NM ancora non me lo rileva! :(

Re: collegarsi con modem usb huwaei e5251

Inviato: mercoledì 16 ottobre 2013, 12:06
da magozurlinux
Senza la chiavetta Huawei inserita dai questi comandi:

Codice: Seleziona tutto

sudo gedit /etc/usb_modeswitch.d/12d1:14f6
copia e incolla questo:

Codice: Seleziona tutto

EnableLogging=1

DefaultVendor= 0x12d1
DefaultProduct=0x1446

TargetVendor=  0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,14ac,1506"

CheckSuccess=20

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
salva ed esci dall'editor di testo.

Codice: Seleziona tutto

sudo rmmod usbserial

Codice: Seleziona tutto

sudo modprobe usbserial vendor=0x12d1 product=0x14fe
inserisci la chiavetta Huawei e postami questi comandi:

Codice: Seleziona tutto

dmesg | grep usb

Codice: Seleziona tutto

dmesg | tail

Codice: Seleziona tutto

ls -l /dev/ttyUSB*

Re: collegarsi con modem usb huwaei e5251

Inviato: mercoledì 16 ottobre 2013, 17:09
da jigen45

Codice: Seleziona tutto

lg@lg-M5610-M3610:~$ dmesg | grep usb
[    0.237187] usbcore: registered new interface driver usbfs
[    0.237205] usbcore: registered new interface driver hub
[    0.237252] usbcore: registered new device driver usb
[    1.516425] usbcore: registered new interface driver libusual
[    1.848045] usb 2-2: new low-speed USB device number 2 using ohci_hcd
[    2.173369] input:  USB OPTICAL MOUSE as /devices/pci0000:00/0000:00:13.0/usb2/2-2/2-2:1.0/input/input3
[    2.177229] generic-usb 0003:15D9:0A4C.0001: input,hidraw0: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:13.0-2/input0
[    2.177266] usbcore: registered new interface driver usbhid
[    2.177270] usbhid: USB HID core driver
[    2.280057] usb 4-2: new full-speed USB device number 2 using ohci_hcd
[    2.454467] scsi6 : usb-storage 4-2:1.0
[    2.454582] usbcore: registered new interface driver usb-storage
[   17.053840] usbcore: registered new interface driver usbserial
[   17.053883] usbcore: registered new interface driver usbserial_generic
[   17.053886] usbserial: USB Serial Driver core
[  498.480033] usb 1-5: new high-speed USB device number 4 using ehci_hcd
[  498.615830] scsi7 : usb-storage 1-5:1.0
[  610.393627] usbcore: deregistering interface driver usbserial_generic
[  610.393702] usbcore: deregistering interface driver usbserial
[  650.862455] usbcore: registered new interface driver usbserial
[  650.862516] usbcore: registered new interface driver usbserial_generic
[  650.862521] usbserial: USB Serial Driver core
[  665.608032] usb 1-9: new high-speed USB device number 5 using ehci_hcd
[  665.748110] scsi8 : usb-storage 1-9:1.0
lg@lg-M5610-M3610:~$ dmesg | tail
[  650.862516] usbcore: registered new interface driver usbserial_generic
[  650.862521] usbserial: USB Serial Driver core
[  665.608032] usb 1-9: new high-speed USB device number 5 using ehci_hcd
[  665.748110] scsi8 : usb-storage 1-9:1.0
[  666.749820] scsi 8:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  666.755072] sr1: scsi-1 drive
[  666.755785] sr 8:0:0:0: Attached scsi CD-ROM sr1
[  666.756321] sr 8:0:0:0: Attached scsi generic sg7 type 5
[  667.063717] ISO 9660 Extensions: Microsoft Joliet Level 1
[  667.104163] ISOFS: changing to secondary root
lg@lg-M5610-M3610:~$ ls -l /dev/ttyUSB*
ls: impossibile accedere a /dev/ttyUSB*: File o directory non esistente