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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-08-2010, 04:27 PM
|
#1
|
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:
|
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.
|
|
|
06-08-2010, 05:03 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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?
|
|
|
06-08-2010, 05:18 PM
|
#3
|
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:
|
I was unable to connect to internet
No I am not able to ping things,what am suppose to do for resolving DNS?
|
|
|
06-08-2010, 06:36 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by srinivasmiriyalu
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.
|
|
|
06-08-2010, 07:08 PM
|
#5
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
Quote:
Originally Posted by srinivasmiriyalu
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).
|
|
|
06-08-2010, 09:11 PM
|
#6
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
|
|
06-09-2010, 11:07 AM
|
#7
|
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:
|
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
|
|
|
06-10-2010, 09:08 AM
|
#8
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
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.
|
|
|
06-11-2010, 02:48 PM
|
#10
|
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:
|
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
|
|
|
All times are GMT -5. The time now is 06:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|