LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-05-2005, 12:44 PM   #1
duenasg
LQ Newbie
 
Registered: Jan 2005
Location: connecticut
Distribution: fedora 3
Posts: 16

Rep: Reputation: 0
Angry configuring machine for internet access


I have installed a nic card on my computer and I would like to access the internet. I have setup the address I want 192.168.1.1 in ifconfig and when I type route -n the gateway is 192.168.1.254 but when I ping this address is gives me an error "Destination Host Unreachable". What Am I missing. Can anyone assist me. Thanks in advance. Jerry
 
Old 01-05-2005, 01:42 PM   #2
zajaco0
LQ Newbie
 
Registered: Jul 2004
Location: Kentucky
Distribution: FC4
Posts: 18

Rep: Reputation: 0
first try

# /etc/init.d/network restart



it sounds to me like your 192.168.1.1 address should be the ip address of your gateway, ie router. This is one default router ip address that I know of. I guess 192.168.1.254 could be a gateway address also.

post output to the following commands:

ifconfig and
"dmesg | grep eth"

Are you running FC3?? if so you can just type "system-config-network" to reconfigure your network interfaces.

~Zach

Last edited by zajaco0; 01-05-2005 at 01:44 PM.
 
Old 01-05-2005, 01:43 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Need some additional info. Are you just connecting to an existing LAN or is this your home network? What does the network hardware consist of?
 
Old 01-05-2005, 02:00 PM   #4
duenasg
LQ Newbie
 
Registered: Jan 2005
Location: connecticut
Distribution: fedora 3
Posts: 16

Original Poster
Rep: Reputation: 0
after I ran the dmesg | grep eth, I got no IPv6 Rouers present. This computer is to setup a home LAN and after I shutdown the network interface I restarted and ping to the gateway and it doesn't reach it.
 
Old 01-06-2005, 08:34 AM   #5
duenasg
LQ Newbie
 
Registered: Jan 2005
Location: connecticut
Distribution: fedora 3
Posts: 16

Original Poster
Rep: Reputation: 0
Unhappy

I have changed the ip address from 192.168.1.1 to 192.168.1.10 and the gateway address to 192.168.1.1 and still have the same problem, it tells me that the address I am pinging is unreachable, even though the address is the one to the gateway.
 
Old 01-06-2005, 01:51 PM   #6
zajaco0
LQ Newbie
 
Registered: Jul 2004
Location: Kentucky
Distribution: FC4
Posts: 18

Rep: Reputation: 0
For us to be of any assistance, you're going to have to tell us the structure of your network. I assume you have a router set up in you home. What is the ip address of that? That will be the ip address of your gateway.
 
Old 01-06-2005, 02:00 PM   #7
duenasg
LQ Newbie
 
Registered: Jan 2005
Location: connecticut
Distribution: fedora 3
Posts: 16

Original Poster
Rep: Reputation: 0
the machine that i have is a dual pentium with a nic 2000 card. I want to access the internet using a dsl modem. One time when I had red hat 8.0 i somewhat got it to run for at least couple of months but i don't remember what i did then. I decided to upgrade to fedora 3 but i can not remember how to get eth0 to read the ip address for the gateway. i get it to accept 192.168.1.10 as the address and the the gateway address i am setting up is 192.168.1.1. I checked the route -n and it tells me that the default gateway is 192.168.1.1 on eth0 which i believe is how i would get to go out but no result. I cannot connect other computers to that one yet because they are windows based and i have not setup samba. Thank you for your assistance
 
  


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
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Need help configuring internet access through LAN harnadem Linux - Networking 3 03-26-2005 05:59 AM
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
Cable cnxn not working (eth1) on MDK10.0 Official[One machine, just Internet access] techsimian Linux - Networking 3 08-24-2004 12:46 PM
How do u setup your linux machine so that u may access it from the internet? gonus Linux - Software 4 06-13-2002 11:56 PM

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

All times are GMT -5. The time now is 09:24 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