LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cant connect to the internet through the lan (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-to-the-internet-through-the-lan-631343/)

billyhood46 03-28-2008 03:36 PM

Cant connect to the internet through the lan
 
I am new to Linux and just setup suse 10.1 and I cant get firefox to connect to the internet. Although my evolution e-mail reader connects to the e-mail server and downloads from the web. It recognizes the lan connection and see's the other computers on the network. I have a d-link dir 655 wireless router connected via lan cable using satellite dsl through Hughesnet satellite service. when I check network settings I can ping an address and it works. Every indication says it should work!

Billyhood46
billyhood46@hotmail.com

camorri 03-28-2008 03:45 PM

The only thing that comes to mind is your DNS settings. Have a look at /etc/resolv.conf and see if there are correct DNS addresses listed. Most routers will pass DNS addresses back to the host machines.

Or to test if DNS is working at all, try a ping www.google.com and see if that figures out the IP address. If it doesn't work, the issue is DNS.

billyhood46 03-31-2008 03:33 PM

Quote:

Originally Posted by camorri (Post 3103454)
The only thing that comes to mind is your DNS settings. Have a look at /etc/resolv.conf and see if there are correct DNS addresses listed. Most routers will pass DNS addresses back to the host machines.

Or to test if DNS is working at all, try a ping www.google.com and see if that figures out the IP address. If it doesn't work, the issue is DNS.


Thanks for the reply They are correct and I can ping Google.COM but still no connection.

Billy

billyhood46 03-31-2008 03:47 PM

I have checked the DNS settings and they were correct and I can ping google.com when I first login but after that I can only ping an network computer address. I am stumped as to what the cause could be. When I installed the software it could'nt find a connection so after it installed I went in and set the DNS settings myself now the machine is aware of the lan. But the only thing I can think of is that it is an onboard Lan and Linux does'nt like onboard lan's.

Billy

camorri 03-31-2008 04:35 PM

Quote:

But the only thing I can think of is that it is an onboard Lan and Linux doesn't like on board lan's.
Not true. Linux doesn't care if the hardware is on the system board or a separate card.

Quote:

When I installed the software it could'nt find a connection so after it installed I went in and set the DNS settings mysel
I'm not sure what you mean by this. I know you added the DNS settings to your /etc/resolv.conf. Did you configure anything else?

Could you post the results of these command? 'lspci -v' ( I only need the part for your ehternet hardware )

Could you also post the contents of the file /etc/sysconfig/network-scripts/ifcfg-eth0

framp 04-01-2008 01:48 PM

Might be easier to run this script and check for configuration error messages. Otherwise just post the output which will give us a lot of network information to help you.

billyhood46 04-01-2008 02:29 PM

here are the results of ect/sysconfig/network/ifcfg-eth-id-
BOOTPROTO='dhcp'
BROADCAST="
IPADDR="
MTU="
NAME='Silicon Integrated 190 Gigabit Ethernet Adapter'
NETMASK='255.255.255.0'
NETWORK="
SMARTMODE='auto'
UNIQUE='rBUF.hjqy36_rj23'
USERCONTROL='no'
_nm_name='bus-pci-000:00:04.0'

and as for the command 'lspci -v' I don't know how to run it?

Billy
PS Thanks for the Help

framp 04-01-2008 02:39 PM

Quote:

Originally Posted by billyhood46 (Post 3107484)
and as for the command 'lspci -v' I don't know how to run it?

That's why I wrote the script to make the whole data collection and analysis easier for you and to make life easier for us who want to help ... there is much more info about your network config available which you can provide to us for problem determination ...

arno 04-01-2008 03:10 PM

To recap:
You can ping www.google.com only for a short time and then no more.

questions:
1) can you ping the ip address 64.233.183.147 ?
2) what information do you get after typing
route -n
3) is the content in /etc/resolv.conf changed in the meantime ?

billyhood46 04-01-2008 03:37 PM

I ran the script now how do I get the Information that it collected?

billyhood46 04-01-2008 03:41 PM

Quote:

Originally Posted by arno (Post 3107511)
To recap:
You can ping www.google.com only for a short time and then no more.

questions:
1) can you ping the ip address 64.233.183.147 ?
2) what information do you get after typing
route -n
3) is the content in /etc/resolv.conf changed in the meantime ?

yes I can ping this address sent 5 packets and received 5
etc/resolv.conf = nameserver 192.168.10.1

framp 04-01-2008 03:51 PM

Quote:

Originally Posted by billyhood46 (Post 3107531)
I ran the script now how do I get the Information that it collected?

You should get messages which tell you what to do.

Post the contents of the file collectNWData.out either on phpfi.com and then post the link in this forum (which will save diskspace on linuxquestions.org ;-) ) or just post the contents of this file with copy/paste in this thread (Pls use code tags to make your posting more readable).

camorri 04-01-2008 03:58 PM

Quote:

as for the command 'lspci -v' I don't know how to run it?
Open a konsole. Type 'lspci -v' without the quotes and press send. The quotes are there just to show you where the command begins and ends.

Then you can cut and paste the results here. We only need the part for your lan hardware.

arno 04-01-2008 04:09 PM

Routing is ok, its a dns problem, that is a /etc/resolv.conf problem.

Do you have more then 1 nic (wireless?)

This can cause the /etc/resolv.conf to change with a delay.

framp 04-01-2008 04:27 PM

Quote:

Originally Posted by arno (Post 3107564)
...
Do you have more then 1 nic (wireless?)
...

I've seen these [post the output of this command - reply ]+ postings a lot of time. That's why I wrote this script which collects a lot of network configuration information. You also will get an answer for your question because 'ifconfig' is one of the commands executed and which output will be collected.

It's a huge output .... but in general - at least that's my experience - you don't have these [post the output of this command - reply ]+ ping pong postings ;-) and will be able to provide help in a much more effective way


All times are GMT -5. The time now is 08:03 AM.