博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
SIM8200EA-M2 5G HAT is equipped with Raspbian Pi to open hotspots
阅读量:3938 次
发布时间:2019-05-23

本文共 2259 字,大约阅读时间需要 7 分钟。

Many friends have asked me how to open hotspots through SIM8200, the following arrangements are for you:

1. Configuration

This configuration is only needed at the first time.

Open a terminal and run the following commands:

sudo apt-get install p7zip-full wget https://www.waveshare.com/w/upload/f/fb/SIM8200-M2_5G_HAT_code.7z 7z x SIM8200-M2_5G_HAT_code.7z sudo chmod 777 -R SIM8200-M2_5G_HAT_code cd SIM8200-M2_5G_HAT_code sudo ./install.sh

Please do not modify option, qmi_wwan_simcom, default.script,install.sh files or directorys, otherwise the dirver cannot be installed normally.

If you get error information, please check ifyou use the 2020-08-20-raspios-buster-armhf OS and take screenshot of error information and contact our support team for help.

Run ifconfig -a command to check WWAN0 interface.

 

2. Testing with AT command

sudo apt-get install minicom sudo minicom -D /dev/ttyUSB2

3. 5G Networking

cd Goonline make sudo ./simcom-cm

After running codes, DNS information are shown as figure below:

 

Do not close the above terminal window,open another terminal window to run the following commands

 

6. Enter the super administrator user

sudo -i

 

7. Install the library files

sudo apt-get install util-linux procps hostapd iproute2 iw haveged dnsmasq

8. Install AP software

git clone git://github.com/oblique/create_apcd create_apsudo make install

 

9. Create AP

Create a Wi-Fi network with WPA + WPA2 password:

sudo create_ap --no-virt wlan0 eth0 PI 12345678

This command creates a wireless network named PI on the wlan0 channel, and the password is 12345678.

After completing the creation of a wireless network, you can connect to a device with WiFi function such as a mobile phone.

 

10. Connect your phone to WIFI

Select Service Set Identifier Service Set Identifier: PI

Enter the corresponding Password: 12345678

Mobile phone WIFI connected to SSID: PI

 

FAQ:

1)If it appears that Your adapter can not be a station (i.e. be connected) and an AP at the same time, you need to disconnect the WIFI connection. Be careful not to turn off the WIFI, but forget the network. Do not connect to other hotspots, otherwise there will be conflict:
在这里插入图片描述

2)If there is an Operation not possible due to RF-kill problem, use the following command to unlock:

rfkill unblock all

在这里插入图片描述

 

转载地址:http://oaywi.baihongyu.com/

你可能感兴趣的文章
PHP中文件读写操作
查看>>
php开发常识b_01
查看>>
PHP单例模式
查看>>
PHP项目设计
查看>>
memcache的安装及管理
查看>>
git 传输
查看>>
创建新项目
查看>>
印刷工艺- 喷墨印刷
查看>>
印刷工艺流程
查看>>
印刷业ERP启蒙
查看>>
Java8 Lambda表达式使用集合(笔记)
查看>>
Java魔法师Unsafe
查看>>
spring cloud java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest
查看>>
Centos系统安装MySQL(整理)
查看>>
postgresql计算两点距离(经纬度地理位置)
查看>>
postgres多边形存储--解决 Points of LinearRing do not form a closed linestring
查看>>
postgresql+postgis空间数据库总结
查看>>
spring 之 Http Cache 和 Etag(转)
查看>>
基于Lucene查询原理分析Elasticsearch的性能(转)
查看>>
HttpClient请求外部服务器NoHttpResponseException
查看>>