Doodle3D / doodle3d-firmware

The API of the Doodle3D WiFi box. This can for example talk to print3d, save settings, update the firmware etc.
www.doodle3d.com
GNU General Public License v2.0
13 stars 9 forks source link

no dhcp address in station mode #6

Closed woutgg closed 8 years ago

woutgg commented 11 years ago

After associating with an access point, the wlan interface (wlan-br to be precise) does not get an IP address. According to the log it is offered an address but it never gets assigned.

Hint 1: When doing a regular setup (i.e. vanilla build, using luci), everything works fine. Where are the differences?

Hint 2: dnsmasq logs that it received a DHCP packet but that the interface has no address. See this link. Adding the 'notinterface' setting merely prevents the log message.

Hint 3: setting a dummy address in the network configuration on the wlan interface (e.g. 192.168.11.1/24) seems to trigger udhcpc to be started and receive an address but it still does not get assigned.

woutgg commented 11 years ago

More to read: https://forum.openwrt.org/viewtopic.php?id=29599

woutgg commented 11 years ago

In case of 'Operation not supported' errors, those most likely have to do with the device being in bridge mode, or this problem.

peteruithoven commented 10 years ago

(Still happens sometimes)

olijf commented 8 years ago

Is this still an issue? Seems interface wlan-br does not exists in current builds? Seeing this is a bridge interface (suffix br) I am wondering why it would need an IP in the first place.

peteruithoven commented 8 years ago

Please try it out, see if you can reproduce it. Do you have enough information to do this?

olijf commented 8 years ago

Not nearly, but this morning I tried to reproduse this but as I said... I can't find the wlan0-br interface in the recent builds.

peteruithoven commented 8 years ago

You're sure this issue isn't mentioned in logead or the wifibox.log? If not I would close the issue.

companje commented 8 years ago

I'm closing this issue now. Feel free to re-open if needed.