LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I was unable to connect to internet (https://www.linuxquestions.org/questions/linux-newbie-8/i-was-unable-to-connect-to-internet-812946/)

srinivasmiriyalu 06-08-2010 03:27 PM

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

acid_kewpie 06-08-2010 04:03 PM

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?

srinivasmiriyalu 06-08-2010 04:18 PM

I was unable to connect to internet
 
No I am not able to ping things,what am suppose to do for resolving DNS?

TB0ne 06-08-2010 05:36 PM

Quote:

Originally Posted by srinivasmiriyalu (Post 3997033)
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???

salasi 06-08-2010 06:08 PM

Quote:

Originally Posted by srinivasmiriyalu (Post 3996985)
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).

Shadow_7 06-08-2010 08:11 PM

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.

srinivasmiriyalu 06-09-2010 10:07 AM

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

Shadow_7 06-10-2010 08:08 AM

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.

onebuck 06-10-2010 08:20 AM

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

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

srinivasmiriyalu 06-11-2010 01:48 PM

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 01:47 AM.