LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-19-2004, 12:13 AM   #1
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Rep: Reputation: 0
Newb needs help setting up Internet.


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...

Thanks in advance.
 
Old 06-19-2004, 01:34 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
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.
 
Old 06-21-2004, 07:22 AM   #3
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
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
 
Old 06-21-2004, 11:38 PM   #4
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Original Poster
Rep: Reputation: 0
Hmm. I used DHCP and it worked until I restarted.

I'll try getting the info from DHCP then putting it in manually I suppose and post if it doesn't work.
 
Old 06-21-2004, 11:50 PM   #5
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Original Poster
Rep: Reputation: 0
It still requires me to re-setup in /stand/sysinstall every time I reboot until I can access anything...
 
Old 06-22-2004, 12:54 AM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
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.

And it should come up on the reboot.
 
Old 06-22-2004, 02:46 AM   #7
lancelott
LQ Newbie
 
Registered: Jun 2004
Location: Dark side of the moon
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
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.

And it should come up on the reboot.
Thanks! That worked like a charm.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up a network - Complete newb Remohnospmis Linux - Networking 3 08-14-2005 07:15 AM
Total fucking newb trying to get the internet on slack Testsubj Linux - Networking 4 03-26-2005 05:56 PM
Setting up Evolution with FC3 Total Newb dreyes81 Linux - Newbie 3 01-14-2005 05:08 PM
The first step to ascending newb status, acknowledging you're a newb :P LordRaven LinuxQuestions.org Member Intro 1 08-24-2004 05:05 PM
newb setting up mail server needs HELP SeanBoz Linux - Newbie 4 10-20-2002 08:42 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration