2018年10月9日 星期二

MMDVM Main Board LAN To WAN wifi to AP Mode

default is ETH RJ45 is LAN Mode,Change it To WAN mode is More Stable ,ping is <10ms,wifi ping >20 ms.

wifi Change to AP Mode To Manage
Default SSID is MMDVM no passwork


nano /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 globals 'globals'
option ula_prefix 'fd2e:2f55:5a3f::/48'

config interface 'lan'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.85.1'
option netmask '255.255.255.0'
option ip6assign '60'
option ifname 'radio0'

config device 'lan_dev'
option name 'eth0'
option macaddr '40:d6:3c:03:17:3b'

config switch
option name 'switch0'
option reset '1'
option enable_vlan '0'

config interface 'wwan'
option proto 'dhcp'
option ifname 'eth0'

option hostname 'mmdvmwan'
-----------------------------------------------

nano /etc/config/wireless
------------------------------------------------

config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11g'
option path 'platform/10300000.wmac'
option country '00'
option legacy_rates '1'
option disabled '0'
option channel '7'
option htmode 'HT40'

config wifi-iface
option network 'lan'
option device 'radio0'
option mode 'ap'
option key '13902982913'
option wmm '0'
option ssid 'MMDVM'
option encryption 'none'

------------------------------------------
OPTION  Enable ACCESS WAN web config
nano /etc/config/firewall
--------------------------------------------
config zone
option name 'wan'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option input 'ACCEPT'

option network 'wan wan6 wwan'


沒有留言:

張貼留言