LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-28-2008, 03:36 PM   #1
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Rep: Reputation: 0
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
 
Old 03-28-2008, 03:45 PM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 03-31-2008, 03:33 PM   #3
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
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

Last edited by billyhood46; 03-31-2008 at 03:53 PM.
 
Old 03-31-2008, 03:47 PM   #4
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Original Poster
Rep: Reputation: 0
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

Last edited by billyhood46; 03-31-2008 at 03:54 PM.
 
Old 03-31-2008, 04:35 PM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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
 
Old 04-01-2008, 01:48 PM   #6
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
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.

Last edited by framp; 04-01-2008 at 01:49 PM.
 
Old 04-01-2008, 02:29 PM   #7
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Original Poster
Rep: Reputation: 0
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
 
Old 04-01-2008, 02:39 PM   #8
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
Quote:
Originally Posted by billyhood46 View Post
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 ...
 
Old 04-01-2008, 03:10 PM   #9
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
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 ?
 
Old 04-01-2008, 03:37 PM   #10
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Original Poster
Rep: Reputation: 0
I ran the script now how do I get the Information that it collected?
 
Old 04-01-2008, 03:41 PM   #11
billyhood46
LQ Newbie
 
Registered: Mar 2008
Location: Greenwood, Indiana
Distribution: Ubuntu, Suse.
Posts: 16

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by arno View Post
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

Last edited by billyhood46; 04-01-2008 at 04:06 PM.
 
Old 04-01-2008, 03:51 PM   #12
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
Quote:
Originally Posted by billyhood46 View Post
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).

Last edited by framp; 04-01-2008 at 03:52 PM.
 
Old 04-01-2008, 03:58 PM   #13
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.
 
Old 04-01-2008, 04:09 PM   #14
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
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.
 
Old 04-01-2008, 04:27 PM   #15
framp
Member
 
Registered: Apr 2003
Location: Next to Stuttgart, Germany
Distribution: Debian, Mint, Raspbian
Posts: 131
Blog Entries: 5

Rep: Reputation: 27
Quote:
Originally Posted by arno View Post
...
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

Last edited by framp; 04-01-2008 at 04:32 PM.
 
  


Reply

Tags
suse



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
cant connect to internet thru a LAN kiswahili Linux - Networking 12 06-06-2008 11:30 PM
connect to internet trough wireless others connect to me with lan Amir Menesy Linux - Wireless Networking 1 11-13-2007 08:28 PM
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
how to connect to internet by lan??? duzy Linare 3 09-21-2004 07:27 AM
Cant connect to the internet through LAN Jimmyscab Linux - Networking 5 12-09-2002 08:48 AM

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

All times are GMT -5. The time now is 11:04 AM.

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