LINUX.ORG.RU

Linux и franklin u600


0

1

Сперва сделал по своему, через wvdial. Не коннектилось, нашёл тут вроде сделал так-же, правда у меня сразу определило /dev/ttyACM0 и плюс /dev/ttyUSB[0-3]

[  708.745149] usb 3-3.2: new full-speed USB device number 93 using ehci-pci
[  708.823928] cdc_acm 3-3.2:1.0: ttyACM0: USB ACM device
[  708.824915] qcaux 3-3.2:1.2: qcaux converter detected
[  708.824990] usb 3-3.2: qcaux converter now attached to ttyUSB0
[  708.825286] qcaux 3-3.2:1.3: qcaux converter detected
[  708.825359] usb 3-3.2: qcaux converter now attached to ttyUSB1
[  708.825655] qcaux 3-3.2:1.4: qcaux converter detected
[  708.825726] usb 3-3.2: qcaux converter now attached to ttyUSB2
[  708.826046] qcaux 3-3.2:1.5: qcaux converter detected
[  708.826123] usb 3-3.2: qcaux converter now attached to ttyUSB3
[root@localhost vova7890]# wvdial -C /etc/wvdial_inter.conf 
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: 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#777
--> Waiting for carrier.
ATDT#777
--> Disconnecting at Tue Apr 16 20:20:02 2013
[root@localhost vova7890]# 
[root@localhost vova7890]# cat /etc/wvdial_inter.conf
[Dialer Defaults]
 Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
 Modem Type = USB Modem
 Phone = #777
 ISDN = 0
 Username = IT
 Init1 = ATZ
 Password = IT
 Modem = /dev/ttyACM0
 Baud = 115200
 Carrier Check = no
 Stupid Mode = yes

[root@localhost vova7890]# 

Уже и скорость понижал, ничего не помогает, под офтопиком сполпинка работает %) Куда копать?

★★★

При попытке соеденения модем отваливается, и обратно подсоеденяется, usb_modeswitch его автоматом переводит в модем. %)

[  532.982194] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  532.982203] usb 1-3: >USB disconnect, device number 7
[  532.982205] usb 1-3.2: >USB disconnect, device number 8
[  532.984555] usb 1-3: >clear tt 2 (9082) error -19
[  533.243306] usb 1-3: >new high-speed USB device number 9 using ehci_hcd
[  533.368497] hub 1-3:1.0: >USB hub found
[  533.368543] hub 1-3:1.0: >4 ports detected
[  533.633682] usb 1-3.2: >new full-speed USB device number 10 using ehci_hcd
[  533.719872] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  540.257821] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  540.257830] usb 1-3: >USB disconnect, device number 9
[  540.257832] usb 1-3.2: >USB disconnect, device number 10
[  540.486652] usb 1-3: >new high-speed USB device number 11 using ehci_hcd
[  540.611535] hub 1-3:1.0: >USB hub found
[  540.611670] hub 1-3:1.0: >4 ports detected
[  540.877679] usb 1-3.2: >new full-speed USB device number 12 using ehci_hcd
[  540.962837] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  687.405590] usb 1-3: >USB disconnect, device number 11
[  687.405596] usb 1-3.2: >USB disconnect, device number 12
[  687.406062] usb 1-3: >clear tt 2 (90c2) error -19
[  689.316622] usb 1-3: >new high-speed USB device number 13 using ehci_hcd
[  689.441515] hub 1-3:1.0: >USB hub found
[  689.441560] hub 1-3:1.0: >4 ports detected
[  693.627699] usb 1-3.2: >new full-speed USB device number 14 using ehci_hcd
[  693.713128] scsi9 : usb-storage 1-3.2:1.0
[  695.801939] usb 1-3.2: >USB disconnect, device number 14
[  701.270257] usb 1-3.2: >new full-speed USB device number 15 using ehci_hcd
[  701.356188] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  723.706156] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  723.706164] usb 1-3: >USB disconnect, device number 13
[  723.706167] usb 1-3.2: >USB disconnect, device number 15
[  723.963281] usb 1-3: >new high-speed USB device number 16 using ehci_hcd
[  724.088107] hub 1-3:1.0: >USB hub found
[  724.088250] hub 1-3:1.0: >4 ports detected
[  724.354260] usb 1-3.2: >new full-speed USB device number 17 using ehci_hcd
[  724.439296] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  727.673297] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  727.673305] usb 1-3: >USB disconnect, device number 16
[  727.673308] usb 1-3.2: >USB disconnect, device number 17
[  727.674253] usb 1-3: >clear tt 2 (9112) error -19
[  727.675495] usb 1-3: >clear tt 2 (9112) error -19
[  727.936633] usb 1-3: >new high-speed USB device number 18 using ehci_hcd
[  728.061089] hub 1-3:1.0: >USB hub found
[  728.061249] hub 1-3:1.0: >4 ports detected
[  728.327259] usb 1-3.2: >new full-speed USB device number 19 using ehci_hcd
[  728.412418] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  730.113305] usb 1-3: >USB disconnect, device number 18
[  730.113311] usb 1-3.2: >USB disconnect, device number 19
[  730.113753] usb 1-3: >clear tt 2 (9132) error -19
[  730.115850] usb 1-3: >clear tt 2 (9132) error -19
[  730.373301] usb 1-3: >new high-speed USB device number 20 using ehci_hcd
[  730.498282] hub 1-3:1.0: >USB hub found
[  730.498380] hub 1-3:1.0: >4 ports detected
[  730.764258] usb 1-3.2: >new full-speed USB device number 21 using ehci_hcd
[  730.849672] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  731.026524] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  731.026533] usb 1-3: >USB disconnect, device number 20
[  731.026536] usb 1-3.2: >USB disconnect, device number 21
[  731.027493] usb 1-3: >clear tt 2 (9152) error -19
[  731.289963] usb 1-3: >new high-speed USB device number 22 using ehci_hcd
[  731.415115] hub 1-3:1.0: >USB hub found
[  731.415253] hub 1-3:1.0: >4 ports detected
[  731.680269] usb 1-3.2: >new full-speed USB device number 23 using ehci_hcd
[  731.766421] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device
[  732.454901] hub 1-0:1.0: >port 3 disabled by hub (EMI?), re-enabling...
[  732.454910] usb 1-3: >USB disconnect, device number 22
[  732.454912] usb 1-3.2: >USB disconnect, device number 23
[  732.455413] usb 1-3: >clear tt 2 (9172) error -19
[  732.716644] usb 1-3: >new high-speed USB device number 24 using ehci_hcd
[  732.841131] hub 1-3:1.0: >USB hub found
[  732.841249] hub 1-3:1.0: >4 ports detected
[  733.107263] usb 1-3.2: >new full-speed USB device number 25 using ehci_hcd
[  733.192545] cdc_acm 1-3.2:1.0: >ttyACM0: USB ACM device

Втф? Уже второй день сношаюсь с ним...

vova7890 ★★★
() автор топика
Ответ на: комментарий от vova7890

О_о

Удалось на мгновение соеденить

[root@localhost vova7890]# wvdial -C /etc/wvdial_inter.conf 
--> WvDial: Internet dialer version 1.61                                                                                                    
--> Cannot set information for serial port.                                                                                                 
--> Initializing modem.                                                                                                                     
--> Sending: 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#777                                                                                                                       
--> Waiting for carrier.                                                                                                                    
ATDT#777                                                                                                                                    
CONNECT 3100000                                                                                                                             
--> Carrier detected.  Starting PPP immediately.                                                                                            
--> Starting pppd at Wed Apr 17 15:51:29 2013
--> Pid of pppd: 3038
--> Using interface ppp1
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> local  IP address 46.247.224.185
--> pppd: �[7f]
--> remote IP address 195.128.182.49
--> pppd: �[7f]
--> primary   DNS address 195.128.182.21
--> pppd: �[7f]
--> secondary DNS address 195.128.182.23
--> pppd: �[7f]
--> pppd: �[7f]
--> Connect time 0.4 minutes.
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> Disconnecting at Wed Apr 17 15:51:58 2013
--> 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
--> Cannot open /dev/ttyACM0: No such file or directory
--> Cannot open /dev/ttyACM0: No such file or directory
--> Cannot open /dev/ttyACM0: No such file or directory
--> Disconnecting at Wed Apr 17 15:51:58 2013

И оно опять отвалилось, чо за...

vova7890 ★★★
() автор топика
Ответ на: комментарий от vova7890

Сам не понял как, но подключил. Удалил modemmanager. Посмотрим что будет опосля перезагрузки...

vova7890 ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.