Hi Sixfab community,
I have the Telit ME910C1-WW with Base hat and I wanted to use it to connect my Raspberry Pi 4B+ to the internet. I ran through all the Sixfab tutorial documentation for setting up hardware, and then using the tutorial to configure ECM on my modem but once I got the last step it leaves off at a Ping test which technically is correct but my Pi could not resolve hostnames.
It took me 6 months of off & on troubleshooting but finally I resolved my issue of only being able to Ping IP addresses, but no hostnames. I wanted to share some additional steps to setup my Pi to browse the internet in case anyone else is stuck:
Following the troubleshooting steps at the bottom of the ECM tutorial, with a slight modication:
- FIRST, ensure the line ‘nameserver 8.8.8.8’ is in /etc/resolve.conf by running
sudo cat /etc/resolve.conf
- If not, run
sudo nano /etc/resolve.conf
add the line
- Then AFTER step 1, run
sudo dhclient -v wwan0
and confirm you get an output message in shell saying “bound to {IP-Address} wwan0 -- renewal in 200216 seconds
”
- NOTE: The tutorial documentation reverses steps 1 & 2 which did not work for me
- Then run the AT command
AT#ECM=1,0
activation line (I used minicom)
- Should see OK returned
- Run
ifconfig
and note down the LTE modem’s IPv4 (interface wwan0) - Edit the raspberry pi’s wlan0 network interface > IP Address
- Assign a static IPv4 address to in the modem’s subnet (i.e 192.168.214.X/24)
- Set the Subnet to 255.255.255.0
- Set the Default Gateway to the modem’s IP (exact IP)
- (Redundant but I did this too) Set the DNS nameserver to 8.8.8.8
- Internet should now be connected and hostnames can now be resolved.
I am definitely a beginner when it comes to networking and all, but I hope this can help someone pick up where the Sixfab tutorial ends and provide some steps in more detail. Thanks!