mhaas / fbwlan

A simple, easy social wlan hotspot. Exchange internet access for Facebook check-ins
GNU Affero General Public License v3.0
107 stars 56 forks source link

Can't start wifidog, lost internet access on the ap #28

Closed OmOiYuMe closed 7 years ago

OmOiYuMe commented 7 years ago

Ok, im doing everything according to the guide, but when i try to test it i get this:

root@OpenWrt:# fw3 reload -ash: fw3: not found root@OpenWrt:# /etc/init.d/dnsmasq restart dnsmasq: bad option at line 39 of /etc/dnsmasq.conf (Copied the line from the guide)

root@OpenWrt:# /etc/init.d/wifidog start Starting Wifidog ... Testing for iptables modules Testing ipt_mac ipt_mac module is working Testing ipt_mark ipt_mark module is working Testing ipt_REDIRECT ipt_REDIRECT module is working [3][Thu Feb 16 03:30:29 2017]19937 Invalid mask -ipset OK root@OpenWrt:# [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -F WiFiDog_br-lan_Trusted [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -F WiFiDog_br-lan_Outgoing [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -F WiFiDog_br-lan_Incoming [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -X WiFiDog_br-lan_Trusted [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -X WiFiDog_br-lan_Outgoing [3][Thu Feb 16 03:30:29 2017]19938 iptables command failed(1): iptables -t mangle -X WiFiDog_br-lan_Incoming [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_AuthServers [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_Outgoing [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_WIFI2Router [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_WIFI2Internet [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_Global [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -F WiFiDog_br-lan_Unknown [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_AuthServers [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_Outgoing [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_WIFI2Router [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_WIFI2Internet [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_Global [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t nat -X WiFiDog_br-lan_Unknown [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_WIFI2Internet [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_AuthServers [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Locked [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Global [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Validate [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Known [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -F WiFiDog_br-lan_Unknown [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_WIFI2Internet [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_AuthServers [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_Locked [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_Global [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_Validate [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_Known [3][Thu Feb 16 03:30:30 2017]19938 iptables command failed(1): iptables -t filter -X WiFiDog_br-lan_Unknown [4][Thu Feb 16 03:30:32 2017]19938 Auth server did NOT say pong!

root@OpenWrt:~# /etc/init.d/wifidog-fw-extra -ash: /etc/init.d/wifidog-fw-extra: not found

I'm using a WR741ND V4 with OpenWrt Attitude Adjustment 12.09-rc1 Tried to install dnsmasq but failed:

root@OpenWrt:~# opkg install dnsmasq-full Unknown package 'dnsmasq-full'. Collected errors:<

  • opkg_install_cmd: Cannot install package dnsmasq-full.

Installed ipset separatedly:

root@OpenWrt:~# opkg install ipset Package ipset (6.11-2) installed in root is up to date.

Added the ipset to firewall.user, and even executing the command "ipset create fb hash:ip" gives no error. What am I doing wrong? Oh, i added a space in "FirewallRule allow to-ipset fb" to "FirewallRule allow to -ipset fb" or else i got "Invalid or unexpected keyword to-ipset, expecting "to"" Removing the "-" just changes the error from "Invalid mask -ipset" to "Invalid mask ipset" Any help would be greatly appreciated. Thanks in advance.

OmOiYuMe commented 7 years ago

Dismiss this, turns ot, i was using an old version of openwrt, then, updated to the new one but cant install dnsmasq-full since my device only has 4MB nand, tried to set it up in ddwrt, but doesnt have ipset either, im searching for a better router.