Hi nam,
here's the current DHCP config on the AP:
~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
config dhcp 'eth0_1'
option start '100'
option leasetime '12h'
option limit '150'
option interface 'eth0_1'
--------
It's important to note that if I connect to the wds AP with a mobile
phone or a laptop i correctly get an IP address via DHCP and reach the
rest of the network.
Thanks
Federico
On 10/23/2015 06:33 PM, nam pham wrote:
> Hi,
> Can you run the following command in your AP (Have DHCP sever)
>
> #cat /etc/config/dhcp
>
> I guess your dhcp configuration has something wrong
>
> Thanks,
> Nam.
>
> On 24 October 2015 at 00:19, Nemesis <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi everybody,
>
> I'm trying to understand how WDS works with 2 TP-Link WDR4300.
>
> Is this wiki page still relevant?
> http://wiki.openwrt.org/doc/recipes/atheroswds
>
> Ihave successfully connected the two routers via wifi, I see
> confirmation of thisin the AP both via the luci interfaceand via
> ifconfig(because I see "wlan0.sta1").
>
> The problem is that the client doesn't et an IP address from the
> DHCP server running on the AP, so I cannot reach the internet nor
> any other host in the network.
>
> I also do not understand how to debug, what commands and tools
> should I use to understand what I'm doing wrong?
>
> the situation on the client router is as follows:
>
> * the arp table is empty;
> * the routing table is empty;
> * bridge is brought up correctly between eth0.1 and wlan0 (wds
> client) but no DHCP lease is obtained from the AP
>
> Any other link to read and study?
>
> Thanks
> Federico
>
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> <mailto:[email protected]>
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
>
>
>
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users