added image

This commit is contained in:
cpu
2023-12-27 21:57:24 +01:00
parent b9a481936b
commit d194998eb1
2 changed files with 22 additions and 15 deletions

BIN
Huawei_e3372_rpi.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 MiB

View File

@@ -3,7 +3,7 @@ Configuration of an LTE modem on the Raspberry Pi
[HUAWEI 4G Dongle E3372](https://consumer.huawei.com/za/routers/e3372/specs/) is an USB 2.0 device with a microSD card reader and a slot for a standard SIM Card [HUAWEI 4G Dongle E3372](https://consumer.huawei.com/za/routers/e3372/specs/) is an USB 2.0 device with a microSD card reader and a slot for a standard SIM Card
![Huawei-e3372-image](Huawei-e3372-image.jpg) ![Huawei-e3372-rpi-image](Huawei_e3372_rpi.jpg)
After plugging in the USB dongle check if Linux recognized it. E.g. `Huawei Technologies Co., Ltd. Modem/Networkcard` After plugging in the USB dongle check if Linux recognized it. E.g. `Huawei Technologies Co., Ltd. Modem/Networkcard`
@@ -94,27 +94,34 @@ Create configuration for the modem. Set `con-name 'Orange-LTE'` to any name and
`sudo nmcli connection add type gsm ifname '*' con-name 'Orange-LTE' apn 'internet' connection.autoconnect yes` `sudo nmcli connection add type gsm ifname '*' con-name 'Orange-LTE' apn 'internet' connection.autoconnect yes`
The configuration file is created as the con-name with the .nmconnection as the suffix The configuration file is created with the con-name as filename and nmconnection as the suffix
`ls /etc/NetworkManager/system-connections/` `sudo cat /etc/NetworkManager/system-connections/Orange-LTE.nmconnection`
``` ```
Orange-LTE.nmconnection [connection]
id=Orange-LTE
uuid=8dc159fe-e0ed-4a56-9b7f-fb813e2c4753
type=gsm
permissions=
[gsm]
apn=internet
number=*99#
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
``` ```
Check status of the network device `wwan0`. It should have an IP address assigned by your mobile provider (e.g. 10.121.79.142) Check status of the network device `wwan0`. It should have an IP address assigned by your mobile provider (e.g. 10.121.79.142)
`ip a` `ip addr show wwan0`
``` ```
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: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether dc:a6:32:e0:60:e1 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether fa:aa:97:2d:7f:0e brd ff:ff:ff:ff:ff:ff
4: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000 4: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff link/ether 00:1e:10:1f:00:00 brd ff:ff:ff:ff:ff:ff
inet 10.121.79.142/30 brd 10.121.79.143 scope global noprefixroute wwan0 inet 10.121.79.142/30 brd 10.121.79.143 scope global noprefixroute wwan0