[arch-general] Arch intallation using usb-modem
Morten Bo Johansen
mbj at spamcop.net
Wed Mar 17 12:51:25 UTC 2021
On 2021-03-17 Andreas Bosch via arch-general wrote:
> The Huawei E3372 might automatically use the cdc_ether driver (hilink).
> Does it appear as a network device like "wwp..."? Then make sure the
> interface is up with DHCP and try to open its configuration page with lynx.
> The modem ip should be the gateway ip set by dhcp, often 192.168.8.1
I managed to get it to work:
# vim wv.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 S0=0
Modem = /dev/ttyUSB1
Modem Type = Analog Modem
Stupid mode = 1
Dial Command = ATDT
Password = ;
Username = ;
Phone = *99#
Init3 = AT+CGDCONT=1,"IP","bredband.oister.dk"
# wvdial -C wv.conf
I was wrong about usb_modeswitch not being activated. It
is because its documentation states that a device,
/dev/gsmmodem, is being created and since it wasn't there, I
assumed that it had not been run, but it was /dev/ttyUSB1
Oddly enough, when I tried /dev/ttyUSB0 first with no response
and then changed to ttyUSB1, I got the error,
"invalid dial command, ATDT*99#
i.e. wvdial somehow strips the space between the ATDT command
and the number so one must reset the modem and try again.
Wvdial is a wily program ;)
Thanks,
Morten
PS: I tried to mail the wv.conf file to myself, but the mail
command wasn't there!
More information about the arch-general
mailing list