You are not logged in.

#1 2015-07-28 14:05:06

ioctlnetwork
Member
Registered: 2015-07-28
Posts: 2

Connecting to a mobile router via USB

Hi there! I have a Huawei E5330 plugged into a USB port. On the live media, it automatically connects to the router under the device name enp20s* (can't remember what exactly, but I can find out if it'll be helpful), which showed up along with my wlan card and eth card under the names wlp3s0 and enp2s0 respectively. In the fresh install, I installed dhcpcd and it initially worked out of the box; I admit I have no idea why. Now, however, the device doesn't even appear when I run

ip a

Instead, I just see my ethernet port, wifi card, and loopback, but it still shows up in

lsusb

.

Since it's a new install, I installed and removed a bunch of stuff, so I can't really narrow it down. Can anyone tell me how it worked in the first place or at least what to look for? Bonus points if you can tell me how I can get it to work again, but I'd really like to know what I'm missing? Do I need to install a firmware package or configure something? Cause, as I said earlier, it used to work without any meddling.

Last edited by ioctlnetwork (2015-07-28 14:16:12)

Offline

#2 2015-07-28 14:30:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Connecting to a mobile router via USB

Look at the output of dmesg before and after you plug in the device and post what the relevant lines that added to the output.   Also, run  journalctl -f and then plug in the device.  Post the output.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2015-07-28 14:50:21

ioctlnetwork
Member
Registered: 2015-07-28
Posts: 2

Re: Connecting to a mobile router via USB

Thanks for responding

dmesg:

963a964,991
> [ 6706.196048] usb 3-2: new high-speed USB device number 6 using xhci_hcd
> [ 6706.430978] usb-storage 3-2:1.0: USB Mass Storage device detected
> [ 6706.431324] scsi host10: usb-storage 3-2:1.0
> [ 6707.446818] scsi 10:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
> [ 6707.447768] sr 10:0:0:0: [sr1] scsi-1 drive
> [ 6707.448105] sr 10:0:0:0: Attached scsi CD-ROM sr1
> [ 6707.469825] sr 10:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
> [ 6707.469833] sr 10:0:0:0: [sr1] Sense Key : 0x3 [current] 
> [ 6707.469836] sr 10:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
> [ 6707.469841] sr 10:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
> [ 6707.469845] blk_update_request: critical medium error, dev sr1, sector 262136
> [ 6707.481713] sr 10:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
> [ 6707.481720] sr 10:0:0:0: [sr1] Sense Key : 0x3 [current] 
> [ 6707.481724] sr 10:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
> [ 6707.481728] sr 10:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
> [ 6707.481731] blk_update_request: critical medium error, dev sr1, sector 262136
> [ 6707.481736] Buffer I/O error on dev sr1, logical block 32767, async page read
> [ 6707.508557] sr 10:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
> [ 6707.508564] sr 10:0:0:0: [sr1] Sense Key : 0x3 [current] 
> [ 6707.508567] sr 10:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
> [ 6707.508570] sr 10:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fc 00 00 02 00
> [ 6707.508573] blk_update_request: critical medium error, dev sr1, sector 262128
> [ 6707.521648] sr 10:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
> [ 6707.521655] sr 10:0:0:0: [sr1] Sense Key : 0x3 [current] 
> [ 6707.521659] sr 10:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
> [ 6707.521662] sr 10:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fc 00 00 02 00
> [ 6707.521666] blk_update_request: critical medium error, dev sr1, sector 262128
> [ 6707.521671] Buffer I/O error on dev sr1, logical block 32766, async page read

journalctl -f:

Jul 28 22:48:24 eberos kernel: usb 3-2: new high-speed USB device number 8 using xhci_hcd
Jul 28 22:48:24 eberos kernel: usb-storage 3-2:1.0: USB Mass Storage device detected
Jul 28 22:48:24 eberos kernel: scsi host12: usb-storage 3-2:1.0
Jul 28 22:48:25 eberos kernel: scsi 12:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] scsi-1 drive
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: Attached scsi CD-ROM sr1
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] Sense Key : 0x3 [current] 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
Jul 28 22:48:25 eberos kernel: blk_update_request: critical medium error, dev sr1, sector 262136
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] Sense Key : 0x3 [current] 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fe 00 00 02 00
Jul 28 22:48:25 eberos kernel: blk_update_request: critical medium error, dev sr1, sector 262136
Jul 28 22:48:25 eberos kernel: Buffer I/O error on dev sr1, logical block 32767, async page read
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] Sense Key : 0x3 [current] 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fc 00 00 02 00
Jul 28 22:48:25 eberos kernel: blk_update_request: critical medium error, dev sr1, sector 262128
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] Sense Key : 0x3 [current] 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] ASC=0x11 ASCQ=0x0 
Jul 28 22:48:25 eberos kernel: sr 12:0:0:0: [sr1] CDB: opcode=0x28 28 00 00 00 ff fc 00 00 02 00
Jul 28 22:48:25 eberos kernel: blk_update_request: critical medium error, dev sr1, sector 262128
Jul 28 22:48:25 eberos kernel: Buffer I/O error on dev sr1, logical block 32766, async page read

Offline

#4 2015-07-28 14:58:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Connecting to a mobile router via USB

Your device is mounting as a CD ROM.  More and more manufacturers are playing tricks to appear as a CD ROM so that drivers can be automatically installed on certain operating systems from the US Pacific Northwest.  After installing the drivers are installed, those drivers cause the device to do a USB bus disconnect and re-enumerate where they present themselves as the device they really are.

See this thread.  You need look into usb_modeswitch.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB