Jump to content

Rob

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Rob

  1. I got an error like this installing haserl on my first attempt. In that case, running ipkg install haserl gave me a url to download a file of slightly different size. I'd recommend downloading jasager-madwifi again to make sure the file is not corrupt. If that doesn't work, rename /usr/lib/ipkg/status temporarily and try to install again.
  2. Hardware: La Fonera+ - Fon2201 with 1.1.0 r2 firmware Skip straight to step Step 11: Flash FON's firmware. install gargoyle w/ freifunk (ap51-flash-gui.exe) http://gargoyle-router.com/ gargoyle_1.0.0_beta2-fonplus-2.6-root.squashfs gargoyle_1.0.0_beta2-fonplus-2.6-vmlinux.lzma connect pc to lan interface, plug in wan port... needed by ipkg installing packages: note: if ipkg errors, rename /usr/lib/ipkg/status temporarily & install others with -nodeps ssh to fon root@OpenWrt:~# rm /usr/bin/haserl root@OpenWrt:~# ipkg install ./haserl_0.8.0-2_mips.ipk root@OpenWrt:~# ipkg install -nodeps ./webif_0.3-10_mips.ipk root@OpenWrt:/etc/init.d# ./httpd_gargoyle stop root@OpenWrt:/etc/init.d# ./httpd start got to: http://192.168.1.1/cgi-bin/webif/info.sh webif interface is up... disable gargoyle interface on startup and enable webif interface: root@OpenWrt:/etc/init.d# ./httpd_gargoyle disable root@OpenWrt:/etc/init.d# ./httpd enable reboot - webif is running on port 80... Install Jasager: root@OpenWrt:~# ipkg install ./libruby_1.8.6-p36-1_mips.ipk root@OpenWrt:~# ipkg install ./ruby_1.8.6-p36-1_mips.ipk root@OpenWrt:~# ipkg install ./jasager-madwifi_1.ipk root@OpenWrt:~# ipkg install -nodeps ./jasager_1.2.ipk reboot skip step 19 – do not move /karma/www files – instead use: http://192.168.1.1:1471/ to access Jasager Fon+ has 3 interfaces lan, wan wifi – by default wifi interface is not configured root@OpenWrt:~# uci set network.wifi.ifname=ath0 root@OpenWrt:~# uci set network.wifi.proto=static root@OpenWrt:~# uci set network.wifi.ipaddr=192.168.66.1 root@OpenWrt:~# uci set network.wifi.netmask=255.255.255.0 root@OpenWrt:~# uci set network.wifi.dns=192.168.66.1 root@OpenWrt:~# uci set dhcp.cfg0875fa=dhcp root@OpenWrt:~# uci set dhcp.cfg0875fa.start=2 root@OpenWrt:~# uci set dhcp.cfg0875fa.limit=250 root@OpenWrt:~# uci set dhcp.cfg0875fa.leasetime=60m root@OpenWrt:~# uci set dhcp.cfg0875fa.ignore=0 root@OpenWrt:~# uci set dhcp.cfg0875fa.interface=wifi root@OpenWrt:~# uci commit reboot - wireless users get dhcp address Add firewall rules for wifi interface: modify /etc/init.d/firewall - added: config_get WIFI wifi ifname iptables -A FORWARD -i $WIFI -o $WIFI -j ACCEPT [ -z "$WAN" ] || iptables -A FORWARD -i $WIFI -o $WAN -j ACCEPT If you want lan and wifi interfaces to communicate, add: iptables -A FORWARD -i $WIFI -o $LAN -j ACCEPT iptables -A FORWARD -i $LAN -o $WIFI -j ACCEPT reboot - wireless users get dhcp & have internet access... Start karma automatically with blacklisted ssid’s: modify /etc/init.d/karma_ui – added to end of start section: wlanconfig ath0 create wlandev wifi0 wlanmode master & ifconfig ath0 192.168.66.1 up & iwpriv ath0 addkarmassid default & iwpriv ath0 addkarmassid linksys & iwpriv ath0 karma 1 & reboot - Jasager works without user intervention.... Thanks to Darren and digininja for making this possible!
×
×
  • Create New...