|
Edited by Buddy at 2017-6-6 13:36
Hi All friends:
OrangePi 2G-IOT which base on 2G Modem, people can utilze GSM to connect Internet, Some day ago, it has been a hard work to make it work.
But now, It's OK we can utilze GSM easily to connect Internel.
Now, new Image (Ubuntu, Debian and Raspbian) has supported connect Internet via GSM.
So, this section will introduce how to use OrangePi 2G-IOT Linux distro to connect Internet via GSM.
We have two way to make it work.
1. Use new Linux distro Image from http://www.orangepi.org/downloadresources/
You can follow steps:
First, we need a SIM card. OrangePi 2G-IOT SIM support list:
Frequency Range: 850,900,1800,1900
Standard: GSM800
I use China Unicom SIM
Second, Download new OrangePi 2G-IOT Linux distro Image from http://www.orangepi.org/downloadresources/
Then, utilze "dd" write Image into SD-card
Next. Plug SIM card and SD card into OrangePi 2G-IOT, then startup....
Finally, Utilize "wvdial" to connect Internel, such as
2. Legacy Linux Image
The Legacy Linux Image for OragePi 2G-IOT. You can follow steps
First, startup your linux distro, (now support Ubuntu, Debian, Raspbian).
Install essential tools, such as:
- sudo apt-get install ppp wvdial
Copy code
Second, Configure wvdial
Adding new contents
- [Dialer defaults]
- ISDN = 0
- Modem Type = Analog Modem
- Phone = *99***1#
- Stupid Mode = 1
- Dial Command = ATDT
- Modem = /dev/modem0
- Baud = 460800
- Init1 = AT+COPS=0
- Init2 = AT+CFUN=1
- Init3 = AT+CGATT=1
- Init4 = AT+CGDCONT=1,"IP","OrangePi_2G-IOT","",0,0
- Init5 = AT+CGACT=1,1
- Username = " "
- Password = " "
Copy code Configure ppp, such as:
Alter contents:
- noauth
- name wvdial
- defaultroute
- replacedefaultroute
Copy code The last, utilize wvdial to connect Internet. such as:
Now, you can easily connect Internet.
*** End ***
|
This thread contains more resources
You need to Log in to download or view,No account?
Register
x
|