Last active
November 29, 2022 17:57
-
-
Save manuel-rabade/02342ad08361b573b061 to your computer and use it in GitHub Desktop.
Modem Huawei E303 en Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# dmesg | |
... | |
... | |
[ 141.291550] usb 1-1.2: new high-speed USB device number 4 using dwc_otg | |
[ 141.412568] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=1f01 | |
[ 141.419643] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 | |
[ 141.431509] usb 1-1.2: Product: HUAWEI HiLink | |
[ 141.436031] usb 1-1.2: Manufacturer: HUAWEI | |
[ 141.457977] usb-storage 1-1.2:1.0: USB Mass Storage device detected | |
[ 141.469876] scsi0 : usb-storage 1-1.2:1.0 | |
[ 142.588084] usb 1-1.2: USB disconnect, device number 4 | |
[ 145.381523] usb 1-1.2: new high-speed USB device number 5 using dwc_otg | |
[ 145.503006] usb 1-1.2: New USB device found, idVendor=12d1, idProduct=14db | |
[ 145.510070] usb 1-1.2: New USB device strings: Mfr=2, Product=1, SerialNumber=0 | |
[ 145.521424] usb 1-1.2: Product: HUAWEI HiLink | |
[ 145.525960] usb 1-1.2: Manufacturer: HUAWEI | |
[ 145.596175] cdc_ether 1-1.2:1.0 eth1: register 'cdc_ether' at usb-bcm2708_usb-1.2, CDC Ethernet Device, 58:2c:80:13:92:63 | |
[ 145.635625] usbcore: registered new interface driver cdc_ether | |
... | |
... | |
# ifconfig eth1 up | |
# dhcpcd eth1 | |
dhcpcd[279]: version 6.6.2 starting | |
dhcpcd[279]: DUID 00:01:00:01:1c:06:ca:ea:58:2c:80:13:92:63 | |
dhcpcd[279]: eth1: IAID 80:13:92:63 | |
dhcpcd[279]: eth1: soliciting an IPv6 router | |
dhcpcd[279]: eth1: soliciting a DHCP lease | |
dhcpcd[279]: eth1: offered 192.168.1.100 from 192.168.1.1 | |
dhcpcd[279]: eth1: leased 192.168.1.100 for 86400 seconds | |
dhcpcd[279]: eth1: adding route to 192.168.1.0/24 | |
dhcpcd[279]: eth1: adding default route via 192.168.1.1 | |
dhcpcd[279]: forked to background, child pid 322 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /usr/bin/usb_modeswitch -v 0x12d1 -p 0x1f01 -M '55534243123456780000000000000a11062000000000000100000000000000' | |
# http://ilmoita.net/mot/?p=177 | |
# usb_modeswitch -b2 -W -v 12d1 -p 151a -n –message-content 555342437f0000000002000080000a11062000000000000100000000000000 | |
# http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1734 | |
# usb_modeswitch -v 0x12d1 -p 0x1f01 -V 0x12d1 -P 0x14dc -M "55534243123456780000000000000a11062000000000000100000000000000" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment