LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-12-2004, 03:50 AM   #1
PDD
Member
 
Registered: Oct 2004
Location: Dublin
Distribution: RedHat 9.0
Posts: 59

Rep: Reputation: 15
NIC Config


Hi Guys,

n00b here, just wondering if you can help me out with my NIC config. I have done a fresh install of Debian 3.0 r2 and it failed to pick up my NIC during installation. I was able to set it up using a third party module (with alot of help) but it cant seea nything. I can see stuff on my LAN but not outside. I cant pint stuff like www.google.com like in windows so how do I tell if its getting a connection?

Anytime I do apt-get it gives me a 404. Any help on this would be really appreciated guys, in a tight spot here.

Dave
 
Old 11-12-2004, 04:00 AM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
have you specified a gateway? if yes then have you specified a nameserver? check /etc/resolv.conf for a nameserver, if there isn't one add one and try again.

linux_terror
 
Old 11-12-2004, 04:06 AM   #3
PDD
Member
 
Registered: Oct 2004
Location: Dublin
Distribution: RedHat 9.0
Posts: 59

Original Poster
Rep: Reputation: 15
NIC Config

How do I do that?
 
Old 11-12-2004, 04:26 AM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
if you are using a static ip address check in the file /etc/sysconfig/network-scripts/ifcfg-eth0 and see if this line is there

GATEWAY=192.168.0.1

the 192.168.0.1 address should be set to the address of your gateway, usually your routers ip address.
if the line isn't there then add it and do a

/etc/init.d/network restart

if the gateway is already set correctly or if you set it and it still doesnt work then take a look at the file

/etc/resolv.conf

and see if a nameserver is specified
the line would look something like this

nameserver 63.240.76.4

if its not there add it and see if you can ping yahoo.com.

NOTE:you will need to be root to edit these files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wireless nic config phoneix Mandriva 28 08-14-2005 11:54 AM
Don't know how to config NIC - HELP! Rasputin Linux - Networking 7 02-26-2004 11:21 PM
Help, Nic Config Illusion *BSD 4 07-15-2003 10:48 AM
Help with NIC config newbiejlove Linux - Hardware 7 04-04-2003 05:38 PM
Knoppix NIC Config newbiejlove Linux - Newbie 0 04-03-2003 09:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration