Page 1 of 2
DHCP broken on WR741ND in Bridge mode
Posted: Sun Apr 07, 2013 4:53 pm
by cdprincipe
I have tryed every version from 1.4.6 to 1.5.9 on two 741 version 2.4 and one 741 version 4.20
In any case dhcp in bridge mode don't work
ITS A BUG
Re: DHCP broken on WR741ND in Bridge mode
Posted: Wed Apr 17, 2013 5:22 pm
by upcock
It's a Breakup. IT'S a breakup. I'm not leaving. DHCP server.
Re: DHCP broken on WR741ND in Bridge mode
Posted: Thu May 16, 2013 6:02 am
by sangelis
Hello,
After a lot of reading it seems that there is a mac address limitation that prevents lan clients at the lan side of the bridge from receiving dynamic ip from the main router. With static ip everything is working as expected. Will you issue a patch for this? It is really annoying especially with clients that you cannot set a static ip.
Is there any other way to fix this without a patch from you?
At least someone please issue a detailed guide on how to setup relayd with gargoyle. I am missing the luci part of the stabridge interface which is obviously different in the gargoyle interface.
Thank you in advance.
Re: DHCP broken on WR741ND in Bridge mode
Posted: Thu May 16, 2013 2:55 pm
by DoesItMatter
This is an OpenWRT issue - not a Gargoyle issue
There is an OpenWRT ticket for this issue:
https://dev.openwrt.org/ticket/12720
If it is affecting you - help and add/update to the ticket.
Re: DHCP broken on WR741ND in Bridge mode
Posted: Fri May 17, 2013 2:09 am
by sangelis
This ticket has to do with the wireless channels bandwith, and not with the DHCP at the lan side of the bridge. I am saying that the lan clients of my wr-741nd do not get dynamically ip from the main router and I have to set their ip manually by defining static ip to them.
Is there any solution?
Re: DHCP broken on WR741ND in Bridge mode
Posted: Thu May 23, 2013 1:32 am
by sangelis
So any advice? Can I change something to the /etc/config/network files or something else?
I am the only one that is facing this problem?
Re: DHCP broken on WR741ND in Bridge mode
Posted: Fri May 24, 2013 11:32 am
by DoesItMatter
Been busy with work.
I'll have time this weekend to try this out.
I just installed 1.5.10 so I'll configure my DIR-601 A1 in bridge mode
and see if I can get some wired clients to get a DHCP IP from
the main AP
If I can do this - I'll post the steps.
Re: DHCP broken on WR741ND in Bridge mode
Posted: Sat May 25, 2013 8:27 am
by sangelis
That's promising. Thank you for your time
Re: DHCP broken on WR741ND in Bridge mode
Posted: Sun May 26, 2013 9:37 pm
by DoesItMatter
Working fine for me - this is what I have configured:
Main AP - 192.168.1.1
DIR-601-A1 - Wireless Bridge to main AP (IP 192.168.1.5 / GW 192.168.1.1)
Wan Ethernet Port = Bridge to LAN
DNS Servers = use Gateway as DNS Server
Connect via Client Bridge - Repeater Disabled (I don't need repeater)
Operation Mode N+G+B - 40MHZ mode
I have a LAN wired client to the DIR-601 and it obtained
a DHCP IP address from the main AP
Reset your router to defaults and try with the settings above.
Re: DHCP broken on WR741ND in Bridge mode
Posted: Mon May 27, 2013 2:52 am
by sangelis
Hello,
Same settings except the channel. Mine is in G+B to much the main AP channel. Here are my config files.
dhcp
Code: Select all
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
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 '/.bit/178.32.31.41'
list server '/.bit/78.47.86.43'
list server '/.glue/66.244.95.20'
list server '/.glue/95.211.32.162'
list server '/.glue/95.142.171.235'
list server '/.parody/66.244.95.20'
list server '/.parody/95.211.32.162'
list server '/.parody/95.142.171.235'
list server '/.dyn/66.244.95.20'
list server '/.dyn/95.211.32.162'
list server '/.dyn/95.142.171.235'
list server '/.bbs/66.244.95.20'
list server '/.bbs/95.211.32.162'
list server '/.bbs/95.142.171.235'
list server '/.free/66.244.95.20'
list server '/.free/95.211.32.162'
list server '/.free/95.142.171.235'
list server '/.fur/66.244.95.20'
list server '/.fur/95.211.32.162'
list server '/.fur/95.142.171.235'
list server '/.geek/66.244.95.20'
list server '/.geek/95.211.32.162'
list server '/.geek/95.142.171.235'
list server '/.gopher/66.244.95.20'
list server '/.gopher/95.211.32.162'
list server '/.gopher/95.142.171.235'
list server '/.indy/66.244.95.20'
list server '/.indy/95.211.32.162'
list server '/.indy/95.142.171.235'
list server '/.ing/66.244.95.20'
list server '/.ing/95.211.32.162'
list server '/.ing/95.142.171.235'
list server '/.null/66.244.95.20'
list server '/.null/95.211.32.162'
list server '/.null/95.142.171.235'
list server '/.oss/66.244.95.20'
list server '/.oss/95.211.32.162'
list server '/.oss/95.142.171.235'
list server '/.micro/66.244.95.20'
list server '/.micro/95.211.32.162'
list server '/.micro/95.142.171.235'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option ignore '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
network
Code: Select all
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 type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ifname 'eth0 eth1'
option ipaddr '192.168.1.250'
option gateway '192.168.1.1'
option dns '192.168.1.1'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0 1 2 3 4'
wireless
Code: Select all
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option macaddr 'aa:ff:cc:44:44:cc' (It has been changed before posting)
option htmode 'HT20'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'DSSS_CCK-40'
option hwmode '11g'
config wifi-iface 'cfg2'
option device 'radio0'
option network 'lan'
option mode 'sta'
option client_bridge '1'
option ssid 'SSID'
option encryption 'psk'
option key 'security key'
config wifi-iface 'cfg3'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'SSID'
option encryption 'psk'
option key 'security key'
Still cannot get dynamic ip from main router. I even tested with a fresh install of version 1.5.10 to be sure. Also repeater disabled or enabled makes no difference. Same situation the lan client cannot obtain ip. I've also noticed that the wireless clients have a significant delay in obtaining the ip, if this has any point.
Can you see something wrong in my config files? Can you post your configs just to check the differences?
And last but not least, found this:
http://projectgus.com/2010/03/wireless- ... nt-page-1/
in the article it says:
The other is a small bugfix to allow a DHCP client to run on the router. The patches can be found here. These patches are against the 8.09 branch of OpenWRT SVN, I don’t think either will apply to the trunk.
But:
1. The patch is made for version 8.09, not 12.09
2. I don't know how to patch openwrt even if it was for 12.09