LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-06-2001, 11:47 PM   #16
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58

Well you almost had it


Your network is obviously working.


You need to bootup and run this

dhcpcd -h yourhostname

or pump -h yourhostname




Now I am assuming this worked instantly and you are now online happier than a puppy with two tails...



even if that did not work try this

edit the file.. /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
USERCTL=no #if you want
PEERDNS=yes #this may not help, try it anyway
DHCP_HOSTNAME=ccxxxxxx-a #this is what makes it work, this must be correct or you will not get connected, no way.


now reboot it will come up on boot

if you can now get ip addresses on the internet and not www.whatever.com

put the nameservers in /etc/resolv.conf

It has never been necessary for me it always did it for me.

but I run my own dns anyway

Last edited by DavidPhillips; 12-07-2001 at 12:26 AM.
 
Old 12-07-2001, 05:39 PM   #17
dangel
Member
 
Registered: Nov 2001
Location: atl
Distribution: redhat
Posts: 52

Rep: Reputation: 15
thanks david. i learned a few things. i have a question for you.
why does ping seem to break when the nameservers are not correct? ie. my name server is on a different network and the router goes down. if i am pinging an ip address on the network i'm currently on- than why does it fail with request time out (or whatever)? and even if say, i have a route out the internet (just not the internal dns server), i can't ping an outside ip address?
hope that made sense....
 
Old 12-10-2001, 04:11 AM   #18
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
without a connection to a dns server you will have to use ip numbers, names will not work.

DNS means Domain Name Server

if the name cannot be resolved into a number you can not locate the computer you are trying to reach.

the name servers are set in /etc/resolv.conf

for local computers that do not have a valid domain name add them to /etc/hosts


Last edited by DavidPhillips; 12-10-2001 at 04:13 AM.
 
Old 12-10-2001, 06:22 PM   #19
dangel
Member
 
Registered: Nov 2001
Location: atl
Distribution: redhat
Posts: 52

Rep: Reputation: 15
no no. i understand that. is why i said "when pinging an ip address" (such as 205.152.0.20) and i am connected to the internet (other boxes on another network with a dns server up and running can ping names and numbers with no problems) but dns is broke (dns server is on the other network but just cant get to it) why can't i ping an ip address. ie 205.152.0.20 ?? seems odd to me.
dns IS for name to ip address translation. so why do i have to have it just to ping an ip address?????
 
Old 12-13-2001, 04:02 AM   #20
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
check the default route


route -n
 
Old 12-13-2001, 06:28 PM   #21
dangel
Member
 
Registered: Nov 2001
Location: atl
Distribution: redhat
Posts: 52

Rep: Reputation: 15
ahhh. right right. makes sense...
 
Old 01-03-2002, 11:37 AM   #22
fnjh2
LQ Newbie
 
Registered: Dec 2001
Posts: 4

Rep: Reputation: 0
Thanks

Eh

Sorry to have dropped of the map without a hint of thanks. I had to drop the problem for a while because I had to actually get some work done, then the holidays etc. Anyway, I am not sure when I am going to get back to it, but thanks a bunch for your help. It has definately got me pointed in the right direction...

Jonathan
 
  


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
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
Dell Precision 670 Integrated NIC REFUSES to work with linux silex_88 Linux - Hardware 8 07-06-2005 11:57 AM
"Bringing up interface eth0: failed" on 3com NIC zoinkedzonker Linux - Networking 3 08-17-2004 12:18 AM
Dual 3COM NIC Boudewijn Linux - Hardware 0 11-25-2003 01:48 PM
3Com 3C509B = eth0 AND eth1: How is that possible? andrewstr Linux - Networking 8 11-18-2003 01:43 PM

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

All times are GMT -5. The time now is 04:02 PM.

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