*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My NIC wasn't autodetected because I had to use the driver port. It's the onboard NIC of the Nvidia Nforce2 chipset. I installed the nvnet driver and loaded it but how do I set it up so I can access sites? I'm not familiar with using ifconfig/etc.
My DSL gateway is at 192.168.0.1 and this computer 192.168.0.2 if that means anything...
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Which BSD are you using? You don't say anywhere in your post and it's not in your visible profile.
Have you looked at the sticky at the top of this forum? It has links to the documentation for the 3 major BSDs (Free, Net, and Open) all of which contain information on setting up networking to connect to the Internet.
if your using freebsd then just use sysinstall and then choose manually set up and put in your info and it should work after a restart, I found that using dhcp to configure it sometimes doesnt work
If DHCP works for you... then you need to setup dhcp in /etc/rc.conf
Add the following lines in /etc/rc.conf:
--
ifconfig_DEVICENAME="DHCP"
dhcp_program="/sbin/dhclient"
dhcp_flags=""
--
Replace DEVICENAME with the name and number of the device... like rl0 or xl1... you get the idea. I don't know what the name is for your card or I would have included it for you.
Originally posted by frob23 If DHCP works for you... then you need to setup dhcp in /etc/rc.conf
Add the following lines in /etc/rc.conf:
--
ifconfig_DEVICENAME="DHCP"
dhcp_program="/sbin/dhclient"
dhcp_flags=""
--
Replace DEVICENAME with the name and number of the device... like rl0 or xl1... you get the idea. I don't know what the name is for your card or I would have included it for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.