Temat: WA901ND - hot spot problem
Witam,
Wgrałem obraz z trunka do ww AP( http://www.tp-link.com.pl/products/deta … TL-WA901ND ). Chcę zrobić z niego hotspota przy pomocy nodogsplash jednak wymaga on iptables-mod-imq ( ma zależność kmod-ipt-imq też go nie ma) którego nie ma w trunku i nie mogę uruchomić nodogsplash. Czy jest możliwość dogrania w jakiś sposób tego pakietu?
BusyBox v1.19.3 (2012-02-28 21:11:58 MST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
ATTITUDE ADJUSTMENT (bleeding edge, r30753) ----------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juiceroot@OpenWrt:~# uname -a
Linux OpenWrt 3.2.5 #1 Wed Feb 29 09:06:46 MST 2012 mips GNU/LinuxMam jeszcze jeden problem a mianowicie dhcp nie przydziela mi adresu po wifi. Problem który występuje wyżej "ominąłem" przez wyłączenie opcji limitu transferu w nodogsplash, aczkolwiek nie jest to rozwiązanie
/etc/config/dhcp
root@OpenWrt:~# vi /etc/config/dhcp
config dnsmasq
option domainneeded 1
option boguspriv 1
option filterwin2k 0 # enable for dial on demand
option localise_queries 1
option rebind_protection 1 # disable if upstream must serve RFC1918 addresses
option rebind_localhost 1 # enable for RBL checking and similar services
#list rebind_domain example.lan # whitelist RFC1918 responses for domains
option local '/lan/'
option domain 'lan'
option expandhosts 1
option nonegcache 0
option authoritative 1
option readethers 1
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
#list server '/mycompany.local/1.2.3.4'
#option nonwildcard 1
#list interface br-lan
#list notinterface lo
#list bogusnxdomain '64.94.110.11'
config dhcp lan
option interface lan
option start 100
option limit 150
option leasetime 12h
config dhcp wlan
option interface wlan
option start 2
option limit 10
option leasetime 4h
config dhcp wan
option interface wan
option ignore 1
~/etc/configure/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0'
# option type 'bridge'
option proto 'dhcp'
config 'interface' 'wlan'
option 'ifname' 'wlan0'
option 'proto' 'static'
option 'ipaddr' '192.168.100.1'
option 'netmask' '255.255.255.0'/etc/nodogsplash/nodogsplash.conf
# interfejs radiowy
GatewayInterface wlan0
# klienci kt.rzy uzyskali autoryzacj. maj. pe.ny dost.p do sieci Internet
FirewallRuleSet authenticated-users {
FirewallRule allow
}
# przed autoryzacj. trzeba mie. dost.p do DNS
FirewallRuleSet preauthenticated-users {
FirewallRule allow tcp port 53
FirewallRule allow udp port 53
}
# dost.p do routera, czyli tylko DNS i DHCP
FirewallRuleSet users-to-router {
FirewallRule allow udp port 53
FirewallRule allow tcp port 53
FirewallRule allow udp port 67
}
# nazwa naszego Hotspotu
GatewayName OponSerwis-Hotspot
# interfejs zewnetrzny (WAN)
ExternalInterface eth0
# przekieruj na Google automatycznie
RedirectURL http://www.google.pl
# ka.dy uzyskuje autoryzacje
AuthenticateImmediately yes
# blokujemy konkretne MAC adresy
# BlockedMACList 00:00:DE:AD:BE:EF,00:00:C0:1D:F0:0D
# zarz.dzanie pasmem w..czone
# TrafficControl yes
# DownloadLimit 128
# UploadLimit 128