diff --git a/Huawei_e3372_rpi.jpg b/Huawei_e3372_rpi.jpg new file mode 100644 index 0000000..35ad731 Binary files /dev/null and b/Huawei_e3372_rpi.jpg differ diff --git a/README.md b/README.md index 5083367..0d36985 100644 --- a/README.md +++ b/README.md @@ -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-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` @@ -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` -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) -`ip a` +`ip addr show wwan0` ``` -1: lo: 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: 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: 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: 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 inet 10.121.79.142/30 brd 10.121.79.143 scope global noprefixroute wwan0