LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-08-2010, 04:27 PM   #1
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Rep: Reputation: 16
I was unable to connect to internet


couple of daysback I have installed ubuntu9.04 into my Desktop,here is the output of lspci,ifconfig
and I was unable to use firefox,updations

ifconfig
Code:
eth0      Link encap:Ethernet  HWaddr 00:1c:c0:85:52:16  
          inet addr:124.123.135.39  Bcast:124.123.191.255  Mask:255.255.192.0
          inet6 addr: fec0::a:21c:c0ff:fe85:5216/64 Scope:Site
          inet6 addr: 2002:7c7b:8dcf:a:21c:c0ff:fe85:5216/64 Scope:Global
          inet6 addr: fe80::21c:c0ff:fe85:5216/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1002 errors:537 dropped:0 overruns:0 frame:537
          TX packets:605 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:82839 (82.8 KB)  TX bytes:84460 (84.4 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:87 errors:0 dropped:0 overruns:0 frame:0
          TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7288 (7.2 KB)  TX bytes:7288 (7.2 KB)

pan0      Link encap:Ethernet  HWaddr 0e:96:16:92:0c:43  
          inet6 addr: fe80::c96:16ff:fe92:c43/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:23901 (23.9 KB)

pan0:avahi Link encap:Ethernet  HWaddr 0e:96:16:92:0c:43  
          inet addr:169.254.3.248  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
lspci
Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:08.0 Ethernet controller: Intel Corporation PRO/100 VE Network Connection (rev 01)
/etc/resolve.conf
Code:
# Generated by NetworkManager
nameserver 202.53.8.8
nameserver 202.53.8.9
any idea what am I suppose to do???

Last edited by srinivasmiriyalu; 06-08-2010 at 04:33 PM.
 
Old 06-08-2010, 05:03 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you're supposed to do some troubleshooting of the problem. Merely showing us these things is of very little use. This is all written in the past tense... "I was unable"... are you able to now?? can you ping things? can you do DNS resolution? can you ping your default gateway?
 
Old 06-08-2010, 05:18 PM   #3
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Original Poster
Rep: Reputation: 16
I was unable to connect to internet

No I am not able to ping things,what am suppose to do for resolving DNS?
 
Old 06-08-2010, 06:36 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331

Rep: Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089Reputation: 8089
Quote:
Originally Posted by srinivasmiriyalu View Post
No I am not able to ping things,what am suppose to do for resolving DNS?
Set up your network correctly. As acid_kewpie said, do some basic troubleshooting. He asked questions, so answer them. You've made several other posts where people have asked you questions, but you've never answered them.

You need to be able to ping your default gateway, and there's no way for us to know what that is, since you've given us no details about your network. The eth0 interface is up and configured, but we've no idea if it's right or not. Are you using DHCP? Static IP? Home or business network? Behind a firewall/router? What???

Last edited by TB0ne; 06-08-2010 at 06:39 PM.
 
Old 06-08-2010, 07:08 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by srinivasmiriyalu View Post
eth0 Link encap:Ethernet HWaddr 00:1c:c0:85:52:16
inet addr:124.123.135.39 Bcast:124.123.191.255 Mask:255.255.192.0
This is slightly surprising. Can you please tell me why you have selected these numbers, or, if you didn't select them, please tell me how they came about?

It would also be useful to say what you are trying to connect to (router, modem, usb device,...) and how (ethernet, wireless, etc).
 
Old 06-08-2010, 09:11 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
network connectivity is a combination of factors.

A route to tell packets to go in that direction.

$ route -n
$ netstat -r

And interface with an IP and other parameters.

$ ifconfig -a

And DNS to resolve humanized names to an IP address.

$ cat /etc/resolv.conf

You can check connectivity with various means.

$ ping yahoo.com
(assumes that DNS and routing is working)
$ ping -c 4 98.137.149.56
(assumes that routing is working / IP of yahoo.com in my location)
$ hosts <interface>
$ arp -vni <interface>

And progressively more complex from there. Normally dhcp takes care of a lot of this setup work.

# dhclient3 <interface>

And progressively more complex if you have more manual needs.
 
Old 06-09-2010, 11:07 AM   #7
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Original Poster
Rep: Reputation: 16
I was unable to connect to inter

I have not fixed that,I cant not able to ping gate way also,first let me find the results for the commands mentioned by shadow_7,once done i will let you know the result
 
Old 06-10-2010, 09:08 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
And then there's security measures that can also impede your connectivity (by design).

$ iptables -L
$ iptables -t nat -L

Firewall basically. And various proxies like squid. bind and dns_masq and other ways to try and manage / improve your security and system. It could be that the network is fine and security measures have the door blocked for all intents.

And more light hearted stuff like /etc/hosts /etc/hostname, plan file and other things to make you more available to your peers. But not really necessary to make a network connection.
 
Old 06-10-2010, 09:20 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,961
Blog Entries: 46

Rep: Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188Reputation: 3188
Hi,

'How to Ask Questions the Smart Way' would be one link you should look at to help us to help you in the future. You really need to perform some of the given actions or suggestions. Then post back errors, log information or whatever is relavant to the problem.

'jeremy' requested that all crystal balls be shipped back. We can no longer look over your shoulder to aid you so information from you is very important to allow us to aid in the resolution.

Just a few links to aid you;


Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Utimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 06-11-2010, 02:48 PM   #10
srinivasmiriyalu
Member
 
Registered: Mar 2009
Location: Banglore-India
Distribution: RHEL5.2,Fedora9&11,Opensolaris 5.11,SXDE 1/08,CentOS-5.3,Ubuntu 8.10
Posts: 149

Original Poster
Rep: Reputation: 16
I was unable to connect to internet

Thanks a lot ,I will look into the links and I will let you know if still am facing the problem
 
  


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
unable to connect to internet veeravicky Linux - Networking 2 03-19-2010 05:20 AM
Unable to connect to Internet srinivasmiriyalu Solaris / OpenSolaris 12 07-06-2009 09:07 AM
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 05:22 AM
unable to connect to internet LoveKing Linux - Networking 11 04-07-2006 01:12 PM
unable to connect to the internet shaahul Linux - Newbie 1 09-15-2003 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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