Posted: Mon May 30, 2011 16:10 Post subject: NS2 client mode not working
Has anyone else been having trouble with client mode on the Nanostation 2 or similar? Same for client bridge mode.
It can take like 5 to 10 mins before it will associate to the AP and even then stays stuck on 1mb/1mb rates and no traffic will pass, can't even get a WAN IP by DHCP. I've tried all sorts of different settings including ACK. It's not related to interference and AP mode works fine.
The AP is a Mikrotik in B mode without security, distance is 12.7 kilometers, I've tried auto ACK and static ACK of the actual distance (including the return distance), it will associate now but traffic still won't pass nor get an IP. It is in Gateway mode.
It connects and works immediately when using AirOS.
Here are the settings I'm using:
ACK too short = AP ack won't arrive in time at STA place, so it retries, and so on (no assoc)
ACK too long in poor signal conditions = STA waits tooooo long for an ack that will never arrive (either the STA frame did not reach the AP, or the AP ack lost in way to STA).
What is still NOT clear for years in ddwrt, is what we must TYPE IN the field called "Sensitivity Range (ACK Timing)___ (Default: 2000 meters). We assume we must type in meters, not seconds.
Let's see your 0 setting (i.e. Auto) as it repports on on the Status_Wireless.asp page : 95400m@657µs
Now let's see one of my pairs of PS5:
True distance AP->STA=2959m (5918m round-trip) perfect view, strong stable link 36<->54Mb/s SNR 31dB
ACK timing set manually in Wireless_Basic.asp to 3500m. Reported 45µs(3600m) in wireless Status.
3600/299792458=12µs (~4 times less than reported)
45µs*299792458=13491m (~4 times more than set/reported, and ~twice my round-trip, maybe to give some time to the peer for its own CPU calculations?)
183MHz <=> 5ns CPU clock cycles, 4*(1-1/4)*12µs=36µs=7200 CPU clock cycles, that may be that, enough to build and pass the ACK frame to the driver?
These strange values were never explained by the wireless gurus that advise to set more than twice the distance (i.e. more than the round-trip)
What ever, I set 10/20% more than half the round trip, and it's OK. Just give it a try, and as Sash says and as I sometimes do with NanoStations, add a SD19/SD24 antenna (don't forget to set Antenna to External, ... and don't fill the antenna gain field
And stick to the recommended 13064build, not exotic one _________________ ): FoReVeR nEwB
After paying €20 for DD-WRT, is there anything that can be done to get it to make it work? I really want to use the PPTP server.
I feel your pain after paying for ddwrt you get no help, "MR.READ THIS" (sash) acts like you should knew everything, and if you dont, then you need to go read a very ,very loong wiki and a text that only tells you not to bother if your too stupid, (like i am) and thats it..So short answer, no you wont get a decent costumer service if you are not smart anough.
No filters that I know of. AirOS passes traffic just fine, DD-WRT associates but will not even get an IP, nevermind pass traffic. Same MAC address too. I've tried setting a static WLAN IP and it makes no difference, not a DHCP problem. _________________ WZR-HP-G300NH [B0 B0]
WHR-G300N V1 (Ralink)
Just an idea : ddwrt has not arp-scan command inside, so you could (I would) try to set the NS2 as bridge, then use arp-scan from the PC : sudo arp-scan -I eth0 192.168.0.0/16 or 172.16.0.0/16 or 10.0.0.0/8, unless the AP forward public IP's.
Something I don't understand in your problem : Is the ISP aware that you want to connect to his AP? _________________ ): FoReVeR nEwB
Hi, connecting on a 13Km link, no problem at all using the EOC-2610. But conditions changed and I upgraded to Bullets 2, and M2.
13Km link, means go and return... then 26Km ACK must be around 27000 (meters) something between 26000 - 29000 would be fine, but you have to do tests. Also, start using a very low speed on manual settings.
Here, with a 24dB antenna, I can get 48Mb link extremely stable...
Have fun. If needed, I will post a print screen of my settings.
Michel. _________________ 2x EOC-2160 - AP 2x14dB Yagy to 450m link
2x EOC-2160 - RP 2x17dB Panels - 2x 7Mbps
1x WRT54G v2.2 - V24-SP2 13577VPN Eko
All Senao EOC-2610 V1.10 Std 15362 BS
1x UBNT Bullet 2 - RP 18dB Panel - 11Mbps - 13Km link
Yes I have already tried Static ACK (including the return distance) but it was no help, Auto ACK seems to work good. It will associate but NO traffic will pass. _________________ WZR-HP-G300NH [B0 B0]
WHR-G300N V1 (Ralink)