海运的博客

OpenWRT路由配置万能中继WISP

发布时间:September 26, 2012 // 分类:OpenWrt // No Comments

OpenWrt配置无线客户端接口:

config 'interface' 'wisp'
    option 'proto' 'dhcp'

无线配置一客户端+一AP:

#https://www.haiyun.me
config 'wifi-device' 'radio0'
    option 'type' 'mac80211'
    option 'channel' '5'
    option 'macaddr' '00:1f:a3:65:55:8e'
    option 'hwmode' '11g'
    option 'txpower' '20'
    option 'country' '00'

config 'wifi-iface'
    option 'ssid' 'TD811R'
    option 'encryption' 'psk2'
    option 'device' 'radio0'
    option 'mode' 'sta'
    option 'network' 'wisp'
    option 'key' 'onovps'
    option 'bssid' 'C8:3A:35:02:15:28'

config 'wifi-iface'
    option 'device' 'radio0'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'ssid' 'OpenWrt'
    option 'encryption' 'psk2'
    option 'key' onovps'

OpenWrt下配置开启WDS/无线中继

发布时间:September 25, 2012 // 分类:OpenWrt // No Comments

OpenWrtAP配置:

#https://www.haiyun.me
config 'wifi-device' 'radio0'
    option 'type' 'mac80211'
    option 'channel' '5'
    option 'macaddr' '00:1f:a3:65:55:8e'
    option 'hwmode' '11g'
    option 'txpower' '20'
    option 'country' '00'

config 'wifi-iface'
    option 'device' 'radio0'
    option 'wds' '1'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'ssid' 'WDS'
    option 'encryption' 'psk2'
    option 'key' 'onovps'

WDS客户端配置参数,需关闭DHCP服务,由主AP分配IP。

config 'wifi-device' 'radio0'
    option 'type' 'mac80211'
    option 'channel' '5'
    option 'macaddr' '00:1f:a3:65:55:8e'
    option 'hwmode' '11g'
    option 'txpower' '20'
    option 'country' '00'

config 'wifi-iface'
    option 'device' 'radio0'
    option 'network' 'lan'
    option 'mode' 'ap'
    option 'ssid' 'OpenWrt'
    option 'encryption' 'psk2'
    option 'key' 'onovps'

config 'wifi-iface'
    option 'device' 'radio0'
    option 'wds' '1'
    option 'bssid' '00:1f:a3:65:55:88'
    option 'network' 'wan'
    option 'mode' 'sta'
    option 'ssid' 'WDS'
    option 'encryption' 'psk2'
    option 'key' 'onovps'
分类
最新文章
最近回复
  • 1: 方法一ngtcp2要改下:./configure PKG_CONFIG_PATH=/usr/l...
  • 海运: 关闭服务器
  • 海风: override.battery.charge.low以及override.battery.r...
  • koldjf: 不能过滤
  • 杰迪武士: 此文甚好甚强巨,依照此文在树莓派2 + Rasbian上部署成功 感谢博主美文共赏
  • 海运: ups不知有没选项可设置此参数,不过你可以在另外一台电脑上安装nut客户端自动关机。
  • kgami: 想请教一下,设置了的电脑自动关机之后,几秒后UPS怎么也跟着关机了,导致另外一台电脑没关机就断...
  • 海运: 写的很详细了啊,/etc/nut/hosts.conf用以nut-cgi连接nut服务器参数,...
  • ryan: 请问下nginx配置好了,怎么和这个nut链接呢?最后可视化管理这块能给个详细一点的教程么?谢谢。
  • 1: /etc/config/fstab配置文件 https://openwrt.org/zh/do...