You are not logged in.

#1 2021-07-09 16:14:45

yezmx
Member
Registered: 2021-07-09
Posts: 3

[SOLVED] wvdial can't detect my 4G modem

So, I'm new to archlinux and I faced an issue. I can't figure out why wvdial can't see my modem.

dmesg output:

usb 1-3: new high-speed usb device number 11 using xhci_hcd
usb 1-3: New USB device found, idVendor=05c6, idProduct=f00e, bcdDevice= 3.18
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3: Product: MegaFon M150-4
usb 1-3: Manufacturer: Qualcomm
usb 1-3: SerialNumber: 0123456789ABCDEF

lsusb output:

Bus 001 Device 011: ID 05c6:f00e Qualcomm, Inc. MegaFon M150-4

I tried modprobe usbserial but didn't solve the issue.

Yes, there are no ttyUSB* in /dev/

Appreciate any help!

Last edited by yezmx (2021-07-31 16:06:48)

Offline

#2 2021-07-09 16:55:24

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] wvdial can't detect my 4G modem

Does it appear as a network device (ip link) or maybe with another dev/tty... name?
Many "modern" modems should include a small dhcp- and webserver. Plug it in and set up dhcp to run on the new network interface if necessary. Then find out the gateway ip configured by the device and open it in a browser.

Last edited by progandy (2021-07-09 17:02:38)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2021-07-09 18:56:27

yezmx
Member
Registered: 2021-07-09
Posts: 3

Re: [SOLVED] wvdial can't detect my 4G modem

progandy wrote:

Then find out the gateway ip configured by the device and open it in a browser.

Yeah, it appears in ip link menu. I setup dhcp server and internet works, but I couldn't find gateway ip. I tried ip route but neither of them works

What's my next step?

Offline

#4 2021-07-09 19:30:52

progandy
Member
Registered: 2012-05-17
Posts: 5,321

Re: [SOLVED] wvdial can't detect my 4G modem

If you enter "ip route" there should be an entry with "default via ...". That is the gateway IP.

What is the output of

ip address
ip route

As that seems to be a rebranded qualcomm device, maybe something based on the API in this project could be used as well: https://github.com/song940/qualcomm-4g-lte-modem
Otherwise you'll have to capture the communication between the dongle and the provided windows tool and recreate it for linux.

Last edited by progandy (2021-07-09 19:54:18)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2021-07-10 08:23:50

yezmx
Member
Registered: 2021-07-09
Posts: 3

Re: [SOLVED] wvdial can't detect my 4G modem

progandy wrote:

What is the output of

ip address

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp0s20u3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether fc:de:56:ff:01:06 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp0s20u3
       valid_lft 84967sec preferred_lft 74167sec
    inet6 fe80::3c0e:ee70:a4f1:802c/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp0s20u5i2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether c4:3a:35:88:56:96 brd ff:ff:ff:ff:ff:ff

ip route

default via 192.168.1.1 dev enp0s20u3 proto dhcp src 192.168.1.100 metric 1002 
192.168.1.0/24 dev enp0s20u3 proto dhcp scope link src 192.168.1.100 metric 1002 

So I finally realised that I can open configuration page

Last edited by yezmx (2021-07-10 08:27:04)

Offline

Board footer

Powered by FluxBB