<html>
<body>
<form action="" method="post" target="iframe">
<input type="text" name="name" />
<input type="submit" value="提交" />
</form>
<iframe name="iframe" style="display:none;"></iframe>
</body>
</html>
<html>
<body>
<form action="" method="post" target="iframe">
<input type="text" name="name" />
<input type="submit" value="提交" />
</form>
<iframe name="iframe" style="display:none;"></iframe>
</body>
</html>
现在已经是手机4G时代了,5G时代也将来临,但大家是否真正的体会到了4G的速度呢,答案是否定的。
一、移动手机卡4G配置APN:
1、打开手机设置选项;
2、选择移动网络;
3、选择sim卡信息
4、选择接入名称(APN)
5、新建APN
6、名字:CMTDS APN:cmtds
7、保存,并选择CMTDS
8、重启手机
大部分人用的接入点基本上都是CMNER或者CMWAP,尤其是网络繁忙的时候,极易造成网络拥堵,而CMTDS这个接入点用的人极少,所以网速会得到一定的提升。
二、联通手机卡4G配置APN:
1、打开手机设置选项;
2、选择移动网络;
3、选择sim卡信息
4、选择接入名称(APN)
5、新建APN
6、名字:WONET APN:wonet
7、保存,并选择WONET
8、重启手机
三、电信手机卡4G配置APN:
1、打开手机设置选项;
2、选择移动网络;
3、选择sim卡信息
4、选择接入名称(APN)
5、新建APN
6、名字:CTLTE APN:ctlte
7、保存,并选择CTLTE
8、重启手机
输入以下两条命令:
cd build_dir/host/pkg-config-0.29.2/glib ./configure --enable-iconv=no --with-libiconv=gnu
执行完以上指令,继续编译:
make V=99


资源介绍:
1、WiFi IEEE802.11 b/g/n
2、I2S音频接口
3、I2C总线接口
4、USB主口
5、百兆以太口网口
6、两个普通IO口
应用方向:
路由器、机器人、WiFi模组、语音识别、音响……
尺寸:
38.62mm x 23.59mm x11mm
规格书:
注:配置/etc/network/interfaces已无用
root@ubuntu:~# vim /etc/netplan/50-cloud-init.yaml
network:
ethernets:
ens33:
addresses: [192.168.1.108/24]
dhcp4: true
optional: true
version: 2
执行命令 使配置生效
root@ubuntu:~# netplan apply
在 Openwrt下要 启用/重启/关闭 无线接口是使用命令 “wifi”来完成的。
启动无线接口:不带参数直接在命令行运行 wifi 命令;
如果修改了无线的配置,我们需要重新启动无线接口使配置生效,同样是不带参数直接在命令行下运行 wifi 命令;
如果需要关闭无线装置,加上“ down “参数使用 “wifi down”
大多数情况下新安装的 Openwrt 是默认关闭无线接口的。
To rebuild the configuration file, e.g. after installing a new wireless driver, remove the existing wireless configuration (if any) and use the wifi config command with stdout redirected to the /etc/config/wireless file:
root@OpenWrt:~# rm -f /etc/config/wireless; wifi config > /etc/config/wireless
1、问题出现的原因
当我打开我的Ubuntu的准备写点内容的时候,窗口提示我系统升级,当时没有在意,大概浏览了下更新列表感觉不错,就更新了,有16更新到18版。使用sudo apt-get update的时候,提示没有公钥无法验证下列签名。
2、问题解决
通过提示很容易理解,
sudo apt–key adv ––keyserver keyserver.ubuntu.com ––recv–keys 40976EAF437D05B5
注意:
解决方法中的 40976EAF437D05B5要与你提示错误中的签名(如下)一致。
由于没有公钥,无法验证下列签名: NO_PUBKEY 40976EAF437D05B5
测试下效果,
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 814, in __init__
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)
python2.7升级到python3需要对ssl进行校验
所以需要引入模块ssl
import ssl
在urlopen中
context添加ssl._create_unverified_context()
关闭ssl校验即可
url = "https://www.baidu.com"context = ssl._create_unverified_context()get = urllib.request.urlopen(url, context = context ).read() print(get)
但是这种办法不推荐,因为最好不要关闭验证
> from urllib import request >>> url = 'https://www.baidu.com' >>> with request.urlopen(url) as f: ... data = f.read() ... print(f.status)
以上办法可能会无效
取消全局验证
import ssl ssl._create_default_https_context = ssl._create_unverified_context
然后使用urllib.urlopen(‘url’)