LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Con't connect to internet--Very frustrating (https://www.linuxquestions.org/questions/linux-newbie-8/cont-connect-to-internet-very-frustrating-246271/)

Pedal2Metal 10-23-2004 06:17 AM

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

Pedal2Metal 10-23-2004 06:29 AM

I forgot to mention that my whole network is hard wired. I am not using any wireless functions.

JustAGuy 10-23-2004 07:02 AM

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)

:study:

WhiteChedda 10-23-2004 08:34 AM

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.

Pedal2Metal 10-23-2004 05:33 PM

Nevermind: I finally figured it out.

But I still can't get Samba to work :(

Thank you

WhiteChedda 10-23-2004 05:55 PM

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.

Dummy-in-Linux 10-23-2004 09:19 PM

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

Ju Deddo Koinu 10-25-2004 12:11 AM

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!

Pedal2Metal 10-25-2004 12:52 AM

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


All times are GMT -5. The time now is 12:48 PM.