Wireless bridge/repeater mode problem

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Wireless bridge/repeater mode problem

Post by ispyisail »

What firmware version are you using?

mimile.mimile
Posts: 10
Joined: Tue Jun 26, 2012 10:19 am

Re: Wireless bridge/repeater mode problem

Post by mimile.mimile »

I gave a try for 1.5.4 and 1.5.5
now, ns2 runs with 1.5.4 due to ram limitation.

the strange effect is: all hosts can surf to internet but wireless hosts are blocked by some fw rules (i suppose) because they are invisible by others connected hosts.

I try to disable completely firewall and forward all packets to modem/router/dhcp/FW but no success.

have i missed some thing / rules ? (dnsmasq ?)

All my wireless hosts obtain their dynamic IP from modem/dhcp; and all wired hosts have static IP.

Second remark: in the first 2 minutes after booting Nanostation+gargoyle, no blocking at all. Then, bridging lan between wireless and wired hosts has dropped. I recall that surfing to wan internet is always succeeded from hosts connected.

Thank you very much for your replies
and i hope to find the solution with your help.

mikeymiles
Posts: 3
Joined: Wed Jul 11, 2012 4:33 am

Re: Wireless bridge/repeater mode problem

Post by mikeymiles »

I have the same problem too...

mikeymiles
Posts: 3
Joined: Wed Jul 11, 2012 4:33 am

Re: Wireless bridge/repeater mode problem

Post by mikeymiles »


mimile.mimile
Posts: 10
Joined: Tue Jun 26, 2012 10:19 am

Re: Wireless bridge/repeater mode problem

Post by mimile.mimile »

Thank you for suggestions.

Already done: no luck

Anyone may point me to directions of
"Extra rules MAY be required to full open all ports however. "
to remove any port restrictions and to allow all forwardings granted ?

mikeymiles
Posts: 3
Joined: Wed Jul 11, 2012 4:33 am

Re: Wireless bridge/repeater mode problem

Post by mikeymiles »

See this:
http://wiki.openwrt.org/doc/recipes/bridgedclient

"For routers based on the Broadcom chipset, the OpenWrt brcm-2.4 target supports bridged client mode through the proprietary wl.o driver.

This configuration will not work for routers that are on other platforms, such as Atheros chipsets - see Bridged Client Mode Issues. The UI will not display any warnings if this is attempted on a non-compatible chipset; it will silently fail in the fashion described in the "Issues" article. Some possible alternatives include Routed Client with relayd (Pseudobridge) or WDS (Atheros).
"

mimile.mimile
Posts: 10
Joined: Tue Jun 26, 2012 10:19 am

Re: Wireless bridge/repeater mode problem

Post by mimile.mimile »

mikeymiles wrote:See this:
http://wiki.openwrt.org/doc/recipes/bridgedclient

"For routers based on the Broadcom chipset, the OpenWrt brcm-2.4 target supports bridged client mode through the proprietary wl.o driver.

This configuration will not work for routers that are on other platforms, such as Atheros chipsets - see Bridged Client Mode Issues. The UI will not display any warnings if this is attempted on a non-compatible chipset; it will silently fail in the fashion described in the "Issues" article. Some possible alternatives include Routed Client with relayd (Pseudobridge) or WDS (Atheros).
"
Right, This configuration do NOT work for atheros such as Nanostation2.

But under gargoyle with repeater mode, you may, but the bridge between lan (wired hosts) and br-lan (wireless hosts) results in dhcp IP conflicts and slow down ip assignment.

The workarounds for slow dhcp ip assignment are:
Edit /etc/config/dhcp and set the predefined LAN DHCP pool to ignore and change authoritative to 0 in config 'dnsmasq' :

Code: Select all

 config 'dhcp' 'lan'
    option 'interface' 'lan' 
    option 'start' '100' 
    option 'limit' '150' 
    option 'leasetime' '12h'
    option 'ignore' '1'

 config 'dnsmasq'
   ...
   option 'authoritative' 0'
Edit /etc/config/firewall and add these forwardings wan -> lan, lan -> br-lan, br-lan >lan:

Code: Select all

 config 'forwarding'
   option 'src' 'wan'
   option 'dest' 'lan'

 config 'forwarding'
   option 'src' 'lan'
   option 'dest' 'br-lan'

 config 'forwarding'
   option 'src' 'br-lan'
   option 'dest' 'lan'
After these changes, no more access to repeater (nanostation2) from WIRED hosts but from wireless hosts. You must unplug ethernet cable from nanostation2 (if not, results in ip conflict).
That's all tests found that are not perfect but work.

Anybody has a better solution / trick ? Please

vkjuju
Posts: 1
Joined: Thu Nov 08, 2012 8:28 pm

Re: Wireless bridge/repeater mode problem

Post by vkjuju »

I just flashed my ns2 with dd-wrt, Unfortunately, there's no universal repeater on the drop down list of wireless mode, I got stuck and frustrated... :cry:

Post Reply