|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Quote:
# dhclient em0
|
|
||||
Hello once again ocicat.I have already tried that yet i get the same message with different intervals.My /etc/hostname.em0 has only "dhcp" nothing else.
could that be the problem?I tried the example on the FAQ and i also could not make it work. I forgot to mention that the em0 interface is not the one used when i installed obsd.I had my hdisk attached to another pc(using an external case) to make the installation since my X60 has no cd drive.The interface that the system used to download and install obsd was nfe0.I hope this information helps. |
|
||||
I'm not sure what do you mean with that. :/ And how can i make it work?I see no "psysical network connection" in the networking part of the faq.
edit:I 'm gonna try another cable and test if the cable is the problem. Last edited by sepuku; 25th July 2011 at 02:24 PM. |
|
|||
Quote:
Quote:
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. |
|
||||
By physical connectivity, I mean functioning Ethernet cables/connectors, and functioning NICs. You need bits to be able to flow along wires, before DHCP will work.
1) Are there status indicator LEDs for the NIC at either end of your Ethernet connection? If so, that will show whether the NICs are seeing electrical connections. 2) Check your Ethernet cabling -- bad cables/connectors are not uncommon. 3) Use an alternate port on your hub/switch/router if available, as NICs on such equipment can fail. 4) Swap NICs on your computer, if you can. |
|
|||
Quote:
$ ifconfig em0 With an Ethernet cable connected to both the modem & laptop, if you don't see a light on the em0 interface lit, you don't yet have Layer 1 (physical layer) connectivity. Last edited by ocicat; 25th July 2011 at 02:42 PM. |
|
||||
OK i'm embarased! :$ it was just the cable! :/ I bought a new one and everything is fine.Thank you for your patience and your time once again.I got one more question though:
If i reset my router,after i set the username and password, do i have to do anything else to have a working interface?Or just by re-entering username and password everything's ok? |
|
|||
I can only assume you are talking about setting the username & password on your router. This isn't something standardized, so you will have to either read the documentation coming with the router or experiment on your own.
|
Tags |
ethernet, interface settings |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Connecting to internet via adsl router | michaelrmgreen | FreeBSD General | 3 | 9th August 2009 12:29 PM |
pkgsrc pkg_add problems not connecting | Mr-Biscuit | NetBSD Package System (pkgsrc) | 30 | 14th June 2009 11:28 AM |
pkg_add problems with connecting | Mr-Biscuit | NetBSD Package System (pkgsrc) | 2 | 26th May 2009 11:44 AM |
Connecting to router wirelessly | guitarscn | OpenBSD General | 16 | 21st January 2009 03:47 AM |
Connecting to wireless router | TomAmundsen | FreeBSD General | 19 | 25th August 2008 10:14 PM |