Setting up mobile broadband modem - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6) +--- Forum: Network (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=24) +--- Thread: Setting up mobile broadband modem (/showthread.php?tid=5339) |
Setting up mobile broadband modem - Irinnie - 06-06-2018 Hi guys! I wonder if anyone could help me get my USB modem back to functioning, I'd used it on this same system a year ago but today when I plugged it back in nothing worked any more. The connection that was still saved for it didn't produce results. By calling my internet provider I've learnt that this modem somehow keeps switching itself into 1x (CDMA) mode, while it should be in EVDO mode. Of course, they've got this software for Windows, "Mobile Partner", it's even hard-written into the modem itself, one can run the connection from there. Maybe, if I could extract that software from this modem and run in on Linux through Wine it would help... With my limited Linux knowledge and Googling, I've figured that the device is: Bus 001 Device 016: ID 12d1:140c Huawei Technologies Co., Ltd. E180v (ttyUSB0 - I guess, and so guesses wvdial that I've installed - it disappears from /dev/ directory when I unplug it. But there are also ttyUSB1 and ttyUSB2 which disappear-reappear together with ttyUSB0, it's like they're identical twins) tried to do this Code: echo "AT^PREFMODE=4" > /dev/ttyUSB0 so I've installed wvdial but not much difference with clicking on the connection in the list as usual guess I'll leave its log here just in case: Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. Modem Port Scan<*1>: S0 S1 S2 S3 ttyS4<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS4<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS4<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Modem Port Scan<*1>: S5 S6 S7 S8 Modem Port Scan<*1>: S9 S10 S11 S12 S13 S14 S15 S16 Modem Port Scan<*1>: S17 S18 S19 S20 S21 S22 S23 S24 Modem Port Scan<*1>: S25 S26 S27 S28 S29 S30 S31 ttyUSB0<*1>: ATQ0 V1 E1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB0<*1>: Speed 9600: AT -- OK ttyUSB0<*1>: Max speed is 9600; that should be safe. ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyUSB2<*1>: ATQ0 V1 E1 -- OK ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB2<*1>: Speed 9600: AT -- OK ttyUSB2<*1>: Max speed is 9600; that should be safe. ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB_utps_diag<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyUSB_utps_diag<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud ttyUSB_utps_diag<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. ttyUSB_utps_modem<*1>: ATQ0 V1 E1 -- OK ttyUSB_utps_modem<*1>: ATQ0 V1 E1 Z -- OK ttyUSB_utps_modem<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB_utps_modem<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB_utps_modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB_utps_modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB_utps_modem<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB_utps_modem<*1>: Speed 9600: AT -- OK ttyUSB_utps_modem<*1>: Max speed is 9600; that should be safe. ttyUSB_utps_modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 Z -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 S0=0 -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ttyUSB_utps_pcui<*1>: Modem Identifier: ATI -- Speed 9600: AT -- Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD ttyUSB_utps_pcui<*1>: Speed 9600: AT -- OK ttyUSB_utps_pcui<*1>: Max speed is 9600; that should be safe. ttyUSB_utps_pcui<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK Found a modem on /dev/ttyUSB0. Modem configuration written to /etc/wvdial.conf. ttyUSB0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB2<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB_utps_modem<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" ttyUSB_utps_pcui<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2" wvdial config file as of now:[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem Baud = 9600 New PPPD = yes Modem = /dev/ttyUSB0 ISDN = 0 Phone = #777 Password = IT Username = IT Stupid mode = 1 stupid mode = 1 been with and without "stupid mode", now with double the stupid for good measure)) here's what it outputs: WvDial: Internet dialer version 1.61 Initializing modem. Sending: ATZ 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 ~[7f]}#@!}!}!} }8}"}&} } } } }#}$@#}%}&[q!z}'}"}(}"!0~ Carrier detected. Starting PPP immediately. Starting pppd at Wed Jun 6 17:24:31 2018 Pid of pppd: 2631 Using interface ppp0 pppd: �[7f] pppd: �[7f] pppd: �[7f] pppd: �[7f] local IP address 10.135.4.133 pppd: �[7f] remote IP address 192.168.120.9 pppd: �[7f] primary DNS address 192.168.4.145 pppd: �[7f] secondary DNS address 192.168.4.146 pppd: �[7f] .... and nothing for like 5 minutes, then I lose hope and abort it. and sometimes throws this: WvDial: Internet dialer version 1.61 Cannot open /dev/ttyUSB0: Device or resource busy Initializing modem. Sending: ATZ 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 wvdial: utils/wvtask.cc:303: static int WvTaskMan::yield(int): Assertion `*current_task->stack_magic == 0x123678' failed. Aborted It even connected and let me browsed a page a couple of times today (internet operator detected it too), but a few seconds later the internet was gone again as I guess the modem switched into that wrong mode again (1x). I'm gonna lose lotsa weight trying to investigate this on my own, I've already skipped dinner ;D ;D ;D |