DHCP packet received on eth0.2 which has no address

I was checking the logs on my Asus RT-N16 running OpenWRT and i had this one repeting itself continously:

Thu Jul 3 18:54:52 2014 daemon.warn dnsmasq-dhcp[1381]: DHCP packet received on eth0.2 which has no address

I’m running a PPPoE internet connection on my router, and others doing so faced the similar problem.


The solution is in the file that handles configuration for both DNS and DHCP on OpenWRT, which is located in /etc/dnsmasq.conf

The quick fix for this is to exclude your interface which the PPPoE line is connected to, from DHCP requests. This can be done by opening the file and adding the following line:


Or directly using echo:

echo “except-interface=eth0.2” >> /etc/dnsmasq.conf

Replace “eth0.2” with the interface that is popping in the logs.

Fake AP and real statistics with OpenWRT

My networking teacher said that it would be cool to turn one of the routers that we have been playing with (Asus RT-N16) into an AP so that the class would connect to it instead of the schools network nearest AP.

Why do that? So we can see who is accesing what, get some statistics on that and probably to make a “wall-of-shame” where we could write the students usernames and passwords.

Continue reading “Fake AP and real statistics with OpenWRT”