View Single Post
  #6   (View Single Post)  
Old 25th July 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by sepuku View Post
My /etc/hostname.em0 has only "dhcp" nothing else.
could that be the problem?
No.
Quote:
I forgot to mention that the em0 interface is not the one used when i installed obsd.
This shouldn't matter.

You can always run tcpdump(8) on em0 to watch the packet traffic coming into the interface, but I suspect what you are going to see is that the client is broadcasting its initial request, & no server response is coming back in a timely manner. Depending upon the hardware used & the time of day, DHCP servers may be overloaded servicing other requests.

Peripherally, I don't know how you are connecting to the Internet, but if you are attaching your laptop directly, you may want to reset the modem/router used to attach to your ISP. In particular, the cable modem I use caches the MAC address of whatever device is attached. If I change which computer is attached to the modem, I have to turn the modem off, wait ~8 seconds, then turn it back on to ensure that the previous MAC address is not still being used before I can connect to the Internet again.
Reply With Quote