"line 7" is OK but the rest is very bad. It looks like you get a wrong data from DHCP server. For exam "bogus packet, option fields too long" points to invalid UDP packet from DHCP server... Try connect to WLAN in some another place, please. It would be a fast test that issue is in device or in WLAN router. EDIT: BTW, multiple "sending discover" points to somethink wrong with DHCP server or connection to it. It usualy responds on first request... may be second. But multiple ... there is a problem with WiFi network setup, and based on your description that only DNS doesn't work - the problem inside WiFi network, not in N900.