首页 文章

ChilliSpot在OpenWRT上

提问于
浏览
0

我做错了 . 到目前为止我做了什么 . 1.通过Web菜单将ChilliSpot添加到OpenWRT . 2.从http://www.chillispot.org/chilliforum/topic18-documentation-howto-setting-up-openwrt-as-a-captive-portal-on-wrt54gl.html添加了/etc/init.d/S45firewall的配置.3 . 按照上面的页面配置chilli.conf .

手册中提到了一个配置,但我不知道将它放在哪里:

lan_ifname=br0
lan_ifnames="vlan0 eth1"
lan_proto=static
lan_ipaddr=192.168.1.1
lan_netmask=255.255.255.0
wan_ifname=vlan1
wan_proto=dhcp

此外,重新启动后,我没有看到辣椒进程运行(通过ps -w) .

当我手动运行 chilli -fd 时,我尝试通过手机连接到WiFi路由器时看不到任何连接 .

路由器是TP-Link,OpenWrt Attitude Adjustment 12.09-rc1 . Internet通过无线连接来自外部路由器 .

另外,由于某种原因,它说ipkg命令不存在所以我无法通过终端安装任何东西 .

并且,如果可能的话,请向我解释,就像我5岁,我对网络配置,尤其是路由器,我真的很陌生 .

问题是:在哪里提到上述配置( lan_iframe=.... )?这是什么意思 ?为什么ChilliSpot不能在路由器启动时运行?辣椒启动文件位于/etc/init.d并包含:

#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2012 OpenWrt.org

START=50

SERVICE_USE_PID=1
SERVICE_PID_FILE=/var/run/chilli.pid

start() {
    . /lib/functions/network.sh

    local ipaddr
    network_get_ipaddr ipaddr lan && \
            service_start /usr/sbin/chilli --dns1="$ipaddr"
}

stop() {
    service_stop /usr/sbin/chilli
}

非常感谢您的回复!

raidus守护程序驻留在另一台计算机上,并已经过验证可以使用radtest和其他工具 .

1 回答

  • 2

    我不能对Chillispot说太多,但我可以帮助你解决一些特定于OpenWrt的事情 .

    您链接的帖子非常过时(2007年) . 那时,OpenWRT使用NVRAM系统来存储配置 . 现在它使用UCI:http://wiki.openwrt.org/doc/uci

    要配置网络设置,请编辑/ etc / config / network文件 .

    您正在寻找的ipkg命令名为 opkg .

    你可能想要考虑CoovaChilli而不是Chillispot并找到一本更新的手册 . 也许这个会有所帮助(我自己没试过):http://opensource.telkomspeedy.com/wiki/index.php/OpenWRT:_Setup_Coova-Chilli

相关问题