Jump to content

Recommended Posts

Posted

Is there a way to make armbian find my modem auto?
 

I am running

Orange Pi One with Armbian 5.20 Debian Jesse

 

And Orange Pi PC with Armbian 5.20 Debian Jesse

My issue is that it finds the flash memory in my modem but not the modem itself i have to manually set it to modem via this command

usb_modeswitch -v 12d1 -p 1f01 -M '55534243123456780000000000000011062000000101000100000000000000'

 

Now the OS see it as a modem and i can run command

 

dhclient -v eth1

And it will load up the eth1 and it will work fine. Issue is i have to do those steps after reboot.

On my Rasberry device i run Raspberrian and it does all those steps per automatic its plug and play.

Am not very good with linux, but are there some kind of driver or similar i can install so it can work more like plug and play?

Also BIG thanks for armbian its really nice! Thank you for making this!

Posted

I have Vodaphone stick K3765 and it got switched by the usb_modeswitch from

usb_modeswitch: switch device 12d1:1520 on 001/002

to

usb_modeswitch: switched to 12d1:1465 on 001/003

but the no further steps are executed and no serialUSB devices created.

 

Mar  6 07:08:53 localhost systemd-udevd[2553]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/soc.0/1c1a000.ehci0-controller/usb1/1-1 1 2': No such file or directory
Mar  6 07:08:53 localhost systemd[1]: Created slice system-usb_modeswitch.slice.
Mar  6 07:08:53 localhost systemd[1]: Starting USB_ModeSwitch_1-1:1.0...
Mar  6 07:08:54 localhost usb_modeswitch: switch device 12d1:1520 on 001/002
Mar  6 07:08:54 localhost kernel: [   79.003924] ehci_irq: highspeed device disconnect
Mar  6 07:08:54 localhost kernel: [   79.004038] usb 1-1: USB disconnect, device number 2
Mar  6 07:08:59 localhost kernel: [   83.734301] ehci_irq: highspeed device connect
Mar  6 07:08:59 localhost rsyslogd-2007: action 'action 9' suspended, next retry is Mon Mar  6 07:09:29 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Mar  6 07:08:59 localhost kernel: [   83.957593] usb 1-1: new high-speed USB device number 3 using sunxi-ehci
Mar  6 07:08:59 localhost kernel: [   84.113247] usb-storage 1-1:1.5: USB Mass Storage device detected
Mar  6 07:08:59 localhost kernel: [   84.113751] scsi1 : usb-storage 1-1:1.5
Mar  6 07:08:59 localhost kernel: [   84.114538] usb-storage 1-1:1.6: USB Mass Storage device detected
Mar  6 07:08:59 localhost kernel: [   84.114779] scsi2 : usb-storage 1-1:1.6
Mar  6 07:08:59 localhost systemd-udevd[2614]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/soc.0/1c1a000.ehci0-controller/usb1/1-1 1 3': No such file or directory
Mar  6 07:08:59 localhost kernel: [   84.184939] cdc_ether 1-1:1.1 wwan0: register 'cdc_ether' at usb-sunxi-ehci-1, Mobile Broadband Network Device, 02:50:f3:00:00:00
Mar  6 07:08:59 localhost kernel: [   84.185073] usbcore: registered new interface driver cdc_ether
Mar  6 07:08:59 localhost NetworkManager[613]: <info>  [1488784139.6140] devices added (path: /sys/devices/soc.0/1c1a000.ehci0-controller/usb1/1-1/1-1:1.1/net/wwan0, iface: wwan0)
Mar  6 07:08:59 localhost NetworkManager[613]: <info>  [1488784139.6141] device added (path: /sys/devices/soc.0/1c1a000.ehci0-controller/usb1/1-1/1-1:1.1/net/wwan0, iface: wwan0): no ifupdown configuration found.
Mar  6 07:09:00 localhost root: usb_modeswitch: switched to 12d1:1465 on 001/003
Mar  6 07:09:00 localhost kernel: [   85.091313] scsi 1:0:0:0: CD-ROM            Vodafone CD ROM (Huawei)  2.31 PQ: 0 ANSI: 2
Mar  6 07:09:00 localhost kernel: [   85.095968] sr0: scsi-1 drive
Mar  6 07:09:00 localhost kernel: [   85.095984] cdrom: Uniform CD-ROM driver Revision: 3.20
Mar  6 07:09:00 localhost kernel: [   85.096486] sr 1:0:0:0: Attached scsi CD-ROM sr0
Mar  6 07:09:00 localhost kernel: [   85.103634] scsi 2:0:0:0: Direct-Access     Vodafone Storage (Huawei) 2.31 PQ: 0 ANSI: 2
Mar  6 07:09:00 localhost kernel: [   85.110160] sd 2:0:0:0: [sda] Attached SCSI removable disk
Mar  6 07:09:00 localhost systemd[1]: Started USB_ModeSwitch_1-1:1.0.
Mar  6 07:09:02 localhost ModemManager[590]: <info>  Couldn't find support for device at '/sys/devices/soc.0/1c1a000.ehci0-controller/usb1/1-1': not supported by any plugin

 

Any ideas?

Posted

Whatever I try with the modem Huawei K3765 same result: It got switched to the modem mode, but ttyUSB nodes are not created.

 

When same modem Huawei K3765 is inserted into Mint or Ubuntu it gor switched and recognized by Networkmanager.

In all cases I have installed usb_modeswitch and ModemManager.

So it seems something is not right  on kernel.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines