else is wrong. I read couple of good forums about udev-rules and
usb_modeswitch confings and I managed to get the device from CDROM state to
modem-state. Im not sure is this the correct mode. Atleast it doesn't
connect.
lsusb
Code: Select all
Bus 003 Device 007: ID 12d1:155e Huawei Technologies Co., Ltd. MobileWhen connected to usb, the leds flashes red and green. Signaling it has no
connection and apparently has, since green light should be always on if
properly connected. It gives three interfaces.
dmesg
Code: Select all
[ 2085.767199] usb 1-6: USB disconnect, device number 35
[ 2086.084430] usb 1-6: new high-speed USB device number 36 using xhci_hcd
[ 2086.304245] usb 1-6: New USB device found, idVendor=12d1, idProduct=155e, bcdDevice= 1.02
[ 2086.304249] usb 1-6: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2086.304250] usb 1-6: Product: Mobile
[ 2086.304251] usb 1-6: Manufacturer: Mobile
[ 2086.304252] usb 1-6: SerialNumber: 123456789ABCD
[ 2086.349258] option 1-6:1.0: GSM modem (1-port) converter detected
[ 2086.349343] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB0
[ 2086.352254] option 1-6:1.1: GSM modem (1-port) converter detected
[ 2086.352313] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB1
[ 2086.352365] option 1-6:1.2: GSM modem (1-port) converter detected
[ 2086.352405] usb 1-6: GSM modem (1-port) converter now attached to ttyUSB2
[ 2086.413230] cdc_ncm 1-6:1.3: MAC-Address: 4a:9c:6f:bc:d2:8e
[ 2086.413375] cdc_ncm 1-6:1.3 wwan2: register 'cdc_ncm' at usb-0000:01:00.0-6, Mobile Broadband Network Device, 4a:9c:6f:bc:d2:8e
[ 2086.440608] cdc_ncm 1-6:1.3 wwp1s0f0u6i3: renamed from wwan2Code: Select all
# wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu May 25 13:58:59 2023
--> Pid of pppd: 6022
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0
--> Using interface ppp0Code: Select all
# dhcpcd wwan0
dhcpcd-9.4.1 starting
DUID 00:04:03:c0:02:18:04:4d:05:65:57:06:9c:07:00:08:00:09
wwan0: waiting for carrier
wwan0: carrier acquired
wwan0: IAID 00:00:00:02
wwan0: waiting for 3rd party to configure IP address
timed out
dhcpcd exitedI read this is HiLink or something and needs dhcp to connect, but I can't do that either.
Does anyone else have this modem or a working configuration for it?
Code: Select all
ifconfig -a
enp3s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 18:c0:4d:65:57:9c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=128<NOARP> mtu 1480
sit txqueuelen 1000 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwan0: flags=144<POINTOPOINT,NOARP> mtu 1500
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwan1: flags=144<POINTOPOINT,NOARP> mtu 1500
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwp1s0f0u6i3: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether ea:d2:26:fc:87:02 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

