Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

FreeBSD, my LAN card, and my router

ObviousGuy (578567) writes | more than 10 years ago


This weekend I downloaded the FreeBSD 5.2 .iso and tried installing it on my new used PC. I'm having some trouble with setting up the DHCP client.

This weekend I downloaded the FreeBSD 5.2 .iso and tried installing it on my new used PC. I'm having some trouble with setting up the DHCP client.

The LAN card is a 3Com card that is detected properly by the FreeBSD installation script. During installation, it asks me whether the card will use IPv6 or DHCP and I choose DHCP. The script then goes off to contact the DHCP server and retrieves what appears to be an appropriate IP address. 192.168.xx.3. The router is 192.168.xx.1, and my other PC (Win2K) is 192.168.xx.2 and works fine. So the .3 IP seems to be correct.

However, when the OS boots up, I am unable to make contact with anything. I can't ping the router, much less anything on the internet.

I went through the installation again and tried to install via FTP rather than from CD. That didn't work either, though the DHCP client seemed to retrieve an appropriate IP address from the router.

Besides a network connection, I seem to have everything installed correctly. My video needs a little tweaking, but I'm not sure how much I can do with that, it's an old system.

What can I do to get DHCP working?

cancel ×


Sorry! There are no comments related to the filter you selected.

hmmm (1)

ted_nugent (226799) | more than 10 years ago | (#8109309)

Doesn't really add up. Just to be sure - after the system is booted, you run ifconfig -all at the shell, and see your interface listed with the address? And you are pinging your router by IP address? Sorry if these are too obvious, but I need to ask. If everything checks out, try replacing your UTP cable.

Also, what security setting did you select? If you chose something other than medium, I wonder if IPFW was enabled?

Re:hmmm (1)

ObviousGuy (578567) | more than 10 years ago | (#8109371)

To answer your questions,

Do I get my IP and network adapter info from ifconfig? Yes. The IP address is an appropriate IP address for this network. Since this is the second PC hooked into the router, that looks about right.

Do I ping the router by IP address? I suppose I am. ping should do it? No response at all.

I see that DHClient is having trouble with timeouts in the boot sequence. It adjusts the timeout and then it either continues without another incident or I get a 3Com watchdog warning. I have no idea what's the problem here, or even if it is related to my networking problems.

As for the security settings, I am not sure what this would be or how to check it. I chose default settings throughout the installation process, so I'm probably set at whatever those defaults are.

Re:hmmm (1)

ted_nugent (226799) | more than 10 years ago | (#8110406)

I would probably try the following:
- Try to reach the bsd box from the win box.
- Take the UTP cable and hub port connected to the win box and plug that into the BSD box.
- Try a static address.

Re:hmmm (1)

ObviousGuy (578567) | more than 10 years ago | (#8110469)

The Win box is actually connecting via 802.11g, so I can't try the second suggestion. But from the Win box the router is visible, but the BSD box is not.

I have given thought to using a static address, but I'm not sure how much better that would be than what I've got now.

Along these lines, Billy Gates has posted some info [] regarding FreeBSD 5.2. I'm not clear on whether this is pertinent, but he claims it is so.

Seeing as how it is a change only in 5.2, I may try an earlier FreeBSD.

resolv.conf? (0)

Anonymous Coward | more than 10 years ago | (#8111963)

I just installed FreeBSD for the first time last week. I had the same problem as you, was getting an IP from my router but couldn't connect to anything. Turns out you need to add your router as a name server in /etc/resolv.conf.


watchdog timeout (1)

endx7 (706884) | more than 10 years ago | (#8142227)

Are you getting watchdog timeout errors for your card? I had gotten watchdog timeout errors when dhcp tried to run in 5.2 (or for that matter, when freebsd tried to send traffic through the card at all). I managed to get it working by disabling the apic stuff (see the 5.2 errata), which ended up not helping me anyway (because then the nvidia drivers didn't work anymore...ugh).

Anyhow, rumor has it there will be a 5.2.1, so I'd watch for that.
Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>