| 数据搜索系统,热门电子元器件搜索 |
|
PI01-3 数据表(PDF) 17 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
PI01-3 数据表(HTML) 17 Page - List of Unclassifed Manufacturers |
|
17 / 21 page ![]() 4.2.9 Setting up wvdial This step will cover using wvdial with the IoT Bit instead of Network Manager.The reason for using wvdial instead of Network Manager is when you want to be able to switch between AT command mode and internet mode easily. As once the network is configured via Network Manager, it will have removed access to the ATPort available via the USB. Now we need to configure the wvdial.conf file to enable IoT Bit to connect to the internet using your SIM card. You will need the USSD code used to fetch the SIM cards registered number. The default is *99# and should be the same for most SIM cards or you can just use the SIM cards’ phone number if you can't find the USSD code. Just remember that you will have to edit the file to change the number if you change the SIM. We will need to open the file found in the iotbit_Install folder called wvdial.conf using a text editor of your choice. $ sudo nano /home/pi/iotbit_Install/wvdial.conf Then add to the file your USSD code or phone number in the 'Phone =' field. Save and exit the file by pressing CTRL+X then Y. We now need to back up the old wvdial.conf file and move your modified wvdial.conf to the correct place for the system to find it. $ sudo mv /etc/wvdial.conf /etc/wvdial.conf.bak $ sudo mv /home/pi/iotbit_Install/wvdial.conf /etc/wvdial.conf $ sudo wvdial This last step takes around 30 seconds. If successful, you should be connected to the internet with your Raspberry Pi. 4.2.10 Set wvdial to use modem automatically To enable the Raspberry Pi to connect IoT Bit to the internet using the mobile network automatically, we use the following steps. First, open the file called interfaces using: $ sudo nano /etc/network/interfaces Then add the following lines at the bottom of the file: $ auto ppp0 $ iface ppp0 inet wvdial Then reboot the Pi, ensuring that the IoT Bit is on and the Modem USB port is connected to the Pi. $ sudo reboot If successful when the Raspberry Pi boots you should be able to connect to the internet using your IoT Bit. Figure 23 - Wvdial Interface Figure 24 - Interfaces File 16 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |