openwrt下挂载4g模块网络配置
来源:互联网 发布:龙腾数据恢复软件 编辑:程序博客网 时间:2024/04/30 14:12
etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.2.1'
config interface 'wan'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'static'
option netmask '255.255.255.0'
option ifname 'usb0'
option gateway '10.208.158.53'
option dns '221.130.33.60'
option ipaddr '10.208.158.53'
config switch
option name 'eth1'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth1'
option vlan '1'
option ports '0'
option vid '1'
配置完成后,/etc/init.d/network restart
这样就OK了
切换wan口到上一级路由配置/etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.2.1'
config interface 'wan'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'static'
option netmask '255.255.255.0'
option ifname 'eth0'
option gateway '192.168.1.1'
option dns '10.2.166.105'
option ipaddr '192.168.1.102'
config switch
option name 'eth1'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth1'
option vlan '1'
option ports '0'
option vid '1'
- openwrt下挂载4g模块网络配置
- openwrt 支持4G模块
- [OpenWrt] openwrt 4G LTE 配置
- [OpenWrt] openwrt 4G LTE 配置
- OpenWrt 4G网卡拨号配置
- 4G模块网络通信
- OpenWrt下通过EC20 R2.0 4G模块实现qmi拨号上网
- OPENWRT-4G-移植-ALT3800
- RT5350 HLK-RM04模块配置OpenWRT
- openwrt 编译内核模块中的配置问题
- RG100-AA下OpenWRT网络VLAN配置
- openwrt网络配置(有线,无线)
- OpenWRT USB 摄像头 配置网络摄像头
- Openwrt网络配置之简单路由器
- imx6ul之OpenWRT有线网络的配置
- 智能小车25:openwrt的网络配置
- MTK-OPENWRT加4G驱动
- [OpenWrt] openwrt无线配置
- Fresco正传(6):如何将PhotoView与Fresco的加载机制相结合,解决超大图显示
- MongoDB与内存
- React study(二)
- Java的 transient关键字
- WebApi系列~通过HttpClient来调用Web Api接口~续~实体参数的传递
- openwrt下挂载4g模块网络配置
- 对待二手车过户要理性
- linux执行shell报错:...^M: bad interpreter: 没有那个文件或目录
- WebApi系列~自主宿主HttpSelfHost的实现
- 控制 父布局上的 子View 边界
- 移植MPLS发现的问题(通过测试dce-linux发现)
- Java中的Volatile 变量
- WebApi系列~实际项目中如何使用HttpClient向web api发异步Get和Post请求并且参数于具体实体类型
- AppDelegate关于应用程序挂起、复原与终止的代理方法