Using 4G module with BananaPi
Contents
BPI-4G LTE module with banana pi
How to use BPI-4G LTE module with BPI-R2
1.Firstly, use R2 connects LTE module by USB or 14pin Headers. then execute command "lsusb" to have a look if R2 have drove the module. The red box is the id of 4G module.
After seeing this, execute command "ls /dev/ttyUSB*" to make sure the 4G module have been recognised as USB devs.
2. Execute the "./ppp1.sh &"
then execute command “ifconfig -a”,you will see ppp0
3. Execute command ”wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py” to download speed test tool.
4. Execute command "chmod +x speedtest-cli", then execute "./speedtest-cli"
ppp1_success_log.txt : http://forum.banana-pi.org/uploads/default/original/2X/e/eb7d46a0971c25f6337116d60e76590ce298b676.txt
FAQ
- (1) You could get ppp1.sh from here : https://pan.baidu.com/s/1yu0nTNQKPNPzprVPjhOPUA
- (2) Q: What should I do, if you meet this "expect (OK) ^M alarm Failed "
- (3) Q:How to test the communication between SIM card and 4G module?
- A:Use minicom, ”minicom -D /dev/ttyUSB2”,and then use AT commands to test, such as ”at”,”at+csq”,“at+ccid”,if you get response without error,that means the communication is OK.
- (4) Q: How to install libqmi?
- A: Download from here: http://www.linuxfromscratch.org/blfs/view/cvs/general/libqmi.html 1 ; then make and make install.
- If you meet this:
- you need to install libgudev-1.0-dev, then make and make install again.
- (5) Q:How to use qmi-wwan?
- A:There is a very easy way to use,I’ve put quectel-CM in home path of root,just execute “./quectel-CM &”,then execute “dhclient wwan0”,now you have finished the configurations.
- (6) Q:How to use GPS?