LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2004, 07:17 AM   #1
Pedal2Metal
LQ Newbie
 
Registered: Oct 2004
Location: South San Francisco, Ca.
Distribution: 7.3
Posts: 23

Rep: Reputation: 15
Con't connect to internet--Very frustrating


Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have a small LAN with 8 PCs connected through a Linksys Wireless-G gateway/router. I am trying to add a linux workstation/server to the network. The router is at address 192.168.1.1

All my machines, including my linux machine, have ip addresses between 192.168.1.5 - 192.168.1.15

This is my first Linux machine and it is running Redhat 7.3. I installed everything.

I need serious help here. I have configured my NICs, checked all my neccessary config files in my /etc.

I have also configured Samba.

My problems:
I can ping machines on my LAN but cannot talk to them.
I cannot access anywhere outside my network. For example, I tried logging onto iwon.com and recieved the following response:

Unknown host www.iwon.com

The only machine I can talk to on my network is the router to go into its administration setup.

I am at a loss. 1 week in and no success.

I have not configured apache or any of my server needs.

Help!!!!!!!!!!!!!!!!!!!!!!!!!!
 
Old 10-23-2004, 07:29 AM   #2
Pedal2Metal
LQ Newbie
 
Registered: Oct 2004
Location: South San Francisco, Ca.
Distribution: 7.3
Posts: 23

Original Poster
Rep: Reputation: 15
I forgot to mention that my whole network is hard wired. I am not using any wireless functions.
 
Old 10-23-2004, 08:02 AM   #3
JustAGuy
LQ Newbie
 
Registered: Aug 2003
Location: Arizona
Distribution: Mandrake 9.1
Posts: 17

Rep: Reputation: 0
Try listing the results for "ifconfig -a" for starters...

When you say "necessary config files" please list the ones that you have configured, and the relevant contents of each....details would be good.

It sounds like you don't have a default gateway configured (should be your router) and/or DNS servers specified.

What are you doing when you try "talking" to the other hosts on the network, specifically?

Have you tried pinging a host outside your local network by IP address, and what results do you get?

These steps should help narrow down the issue(s)

 
Old 10-23-2004, 09:34 AM   #4
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Re: Con't connect to internet--Very frustrating

Quote:
Originally posted by Pedal2Metal
Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have a small LAN with 8 PCs connected through a Linksys Wireless-G gateway/router. I am trying to add a linux workstation/server to the network. The router is at address 192.168.1.1

All my machines, including my linux machine, have ip addresses between 192.168.1.5 - 192.168.1.15

This is my first Linux machine and it is running Redhat 7.3. I installed everything.

I need serious help here. I have configured my NICs, checked all my neccessary config files in my /etc.

I have also configured Samba.

My problems:
I can ping machines on my LAN but cannot talk to them.
I cannot access anywhere outside my network. For example, I tried logging onto iwon.com and recieved the following response:

Unknown host www.iwon.com

The only machine I can talk to on my network is the router to go into its administration setup.

I am at a loss. 1 week in and no success.

I have not configured apache or any of my server needs.

Help!!!!!!!!!!!!!!!!!!!!!!!!!!
I would guess you plan on using DHCP to assign IP addresses and other network info to the linux box so did you run a dhcp client on it?
If you boot the linux box, go to a console [if you are in X and not the command line] and type dhcpcd then try to connect outside the network. If that fixes everything edit /etc/rc.d/rc.local and at the end add the line dhcpcd to start it at boot.

You can check on your settings for the card by typing ifconfig eth0 [that a zero not an oh] and make sure it has the appropriate entries filled in, mainly look at ip address and subnetmask. Also try this enter 64.233.167.104

This is the ip address for google.com, in case it is just a DNS issue. Check the dhcpcd first, becasue if that is the problem you will be missing a DNS server.

Also you can see the other machines, but can they see you? If not, check the firewall rules.

Last edited by WhiteChedda; 10-23-2004 at 09:36 AM.
 
Old 10-23-2004, 06:33 PM   #5
Pedal2Metal
LQ Newbie
 
Registered: Oct 2004
Location: South San Francisco, Ca.
Distribution: 7.3
Posts: 23

Original Poster
Rep: Reputation: 15
Nevermind: I finally figured it out.

But I still can't get Samba to work

Thank you
 
Old 10-23-2004, 06:55 PM   #6
WhiteChedda
Member
 
Registered: Aug 2003
Location: Florida
Distribution: Mandrake 9.1 for now
Posts: 205

Rep: Reputation: 30
Quote:
Originally posted by Pedal2Metal
Nevermind: I finally figured it out.

But I still can't get Samba to work

Thank you
what was it? Just for others who may run into it.
 
Old 10-23-2004, 10:19 PM   #7
Dummy-in-Linux
Member
 
Registered: Jun 2004
Location: Bangkok, Thailand
Distribution: Fedora 19 86_64
Posts: 355

Rep: Reputation: 32
Hello Pedal2Metal,

Maybe you can look at this website, it is a D-link router setup. But I think the idea about what to look for is the same for all routers.

http://adsl.yoll.net/ADSL-routers.html

With kind regards,

Richard
 
Old 10-25-2004, 01:11 AM   #8
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Rep: Reputation: 15
Quote:
Originally posted by Pedal2Metal
Nevermind: I finally figured it out.

But I still can't get Samba to work

Thank you

yes, yes, you must tell us! i'm having the same problem you were having!
 
Old 10-25-2004, 01:52 AM   #9
Pedal2Metal
LQ Newbie
 
Registered: Oct 2004
Location: South San Francisco, Ca.
Distribution: 7.3
Posts: 23

Original Poster
Rep: Reputation: 15
Well, I deserve it if I get flamed.

I was completely positive that of the two NIC connections on the back of my server, the top one was Eth0. It turned out that the bottom one is Eth0. The motherboard manual didn't mention this. I figured it out when I decided to wing it and switch the cables and vola'.

It's as they always say with electrical/computer stuff --"connections, connections, Connections"

I'm still having problems with Samba, though. ??

Please read my other post at:
http://www.linuxquestions.org/questi...hreadid=246941
 
  


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
no rule to make target - what does this mean? Con't chui_yap Linux - Newbie 2 12-30-2004 05:02 AM
malfunctioning SCSI (con't) BrainScanning Linux - Hardware 1 09-09-2004 01:53 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 08:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 08:58 PM
why scheduling algorithm con't implimented in form of module? mishranavaneet Linux - General 1 01-05-2004 07:43 AM


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