network connected no internet
My unbuntu 10 is installed and my network is active it says auto etho actived but it does not get online any idea's of what it could be
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
May be your ISP not use DHCP? Does your Windows configure to get IP address automatically or it use static IP?
Revision history for this message
|
#2 |
it was automatic but I took my windows no longer exist. How do I check to see if it is my ISP
Revision history for this message
|
#3 |
What setting you have on computer you now use to write this message?
Revision history for this message
|
#4 |
this is my windows pc a spare pc. This has automatic ip address and everything set up when it came from dell. My linux computer is a totally different computer.
Revision history for this message
|
#5 |
Run in terminal
ifconfig eth0
Copy output here
Revision history for this message
|
#7 |
Link encap Ethernet HWaddr 00:16:17:8e:83:a0 inet 6 addr fe 80:: 216 17ff: fe8e 83a0/64 scope: Link UP Broadcast Multicast MTU:1500 metric :1 RX packets :336244 errors:0 dropped 0 overruns:0 frame:0 Tx packet:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2066490 (20.6mb) TX bytes:7062 (7.0 KB) interrupt:23 Base address : 0x8000
Revision history for this message
|
#8 |
you run this command with ethernet cable connected?
Revision history for this message
|
#10 |
Run this command with ethernet cable connected
Revision history for this message
|
#11 |
etho Link encap Ethernet HWaddr 00:16:17:8e:83:a0 inet addr: 127.0.0.1 bcast 127.255.255.255 Mask: 255.0.0.0 inet addr: 127.0.0.1 Bcast: 127.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::216: 17ff: fe8e:83a0/64 scope: Link UP Broadcast Running Multicast MTU:1500 Metric:1 RX packets:336782 errors: dropped:0 overruns:0 frame:0 TX packets:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:20699059 (20.6 MB) TX bytes:7062 ( 7.0KB) Interrupt:23 Base Address:0x8000
Revision history for this message
|
#12 |
okay, i see some strange setting like 127.0.0.1
Open Edit connections in Network Manager
Revision history for this message
|
#13 |
There should be connection named "Auto eth0". Choose it and click Edit. Then choose "IPv4 Settings" tab. Is there chosen DHCP method?
Revision history for this message
|
#14 |
Okay
what do u want me to do?
Revision history for this message
|
#15 |
Yes it says Automatic ( DHCP)& Automatic (DHCP Address only) which one
Revision history for this message
|
#16 |
Automatic ( DHCP)
There no other connections expect "Auto eth0"?
Revision history for this message
|
#18 |
Auto eth is the only one I did what is the next step
Revision history for this message
|
#19 |
What NetworkManager says, when you connect cable? Auto eth0 connected?
Revision history for this message
|
#20 |
yes but still not internet
Revision history for this message
|
#21 |
it is saying no network connection it is saying wired connection 1 does this mean I have more than one connection?
Revision history for this message
|
#22 |
Try to copy IP setting from computer with working Internet. Return to editing connetions and choose Manual method. After that enter IP address, Mask and Gateway.
Revision history for this message
|
#24 |
I don't see gateway on this read out of the ip address & mask
Revision history for this message
|
#25 |
Where you don't see gateway? In NetworkManager?
Revision history for this message
|
#26 |
I see it but what is the number for the gateway. I don't see a number is what I mean
Revision history for this message
|
#27 |
Gateway means IP of Gateway. In Windows it should be shown in connection settings near IP and Mask
Revision history for this message
|
#28 |
when I hit apply it said wired network established so I got my network established now how do we get it to get online
Revision history for this message
|
#29 |
try to run ping in terminal to check
ping 8.8.8.8
Revision history for this message
|
#30 |
just type ping in my terminal
Revision history for this message
|
#31 |
I right clicked and my internet information came up which it never did before is that a good sign?
Revision history for this message
|
#32 |
No, it just because you choose Manual mode.
Does ping work?
Revision history for this message
|
#33 |
no when i typed ping in the terminal no command ping found did u mean it gives me a list of other words like bing wing ding etc
Revision history for this message
|
#34 |
Then try to open address 209.85.148.147 in browser
Revision history for this message
|
#35 |
Are you sure you're typing it correctly? For example, on my system:
ek@Apok:~$ ping
Usage: ping [-LRUbdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface]
[-M pmtudisc-hint] [-m mark] [-S sndbuf]
[-T tstamp-options] [-Q tos] [hop1 ...] destination
ek@Apok:~$ ping -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=52 time=586 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=52 time=553 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=52 time=857 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=52 time=664 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 4 received, 20% packet loss, time 4006ms
rtt min/avg/max/mdev = 553.092/
On the other hand, if you type it incorrectly, for example:
ek@Apok:~$ Ping -c 5 8.8.8.8
No command 'Ping' found, did you mean:
Command 'ping' from package 'inetutils-ping' (universe)
Command 'ping' from package 'iputils-ping' (main)
Command 'bing' from package 'bing' (universe)
Command 'wing' from package 'wing' (universe)
Command 'ding' from package 'ding' (universe)
Command 'jing' from package 'jing' (universe)
Ping: command not found
Revision history for this message
|
#36 |
then I am tying it wrong. What do I need to type in on my system to get it to ping? do I need my Ip address name of my computer?
Revision history for this message
|
#37 |
Ping is only one way of checking. Try to open 209.85.148.147 in Firefox
Revision history for this message
|
#38 |
To ping, just run this in a Terminal on the affected machine:
ping -c 5 8.8.8.8
That's like the command Maxim Petrov gave you, but it has the additional advantage that it stops by itself, so you don't have to manually terminate it with Ctrl+C. (@Maxim Petrov: I hope you don't mind.)
Make sure ping is not capitalized, and that there is a space between ping and -c, and a space between -c and 5, and a space between 5 and 8.8.8.8.
Please also attempt to open 209.85.148.147 in a web browser on the affected machine.
Revision history for this message
|
#39 |
it says network is unreachable
Revision history for this message
|
#41 |
okay what am I looking for when I run this command?
Revision history for this message
|
#43 |
Link encap Ethernet HWaddr 00:16:17 8e: 83:a0 inet addr 127.0.0.1 bcast 127.255.255.255 mask 255.0.0.0.
inet addr: fe80::216: 17ff:fe8e:83a0/64 Scope:Link Up Broadcast Running MultiCast MTU:1500 Metric:1
RX packets:3363922 errors:0 dropped:0 Overruns:0 carrier:0 collisions:0 txqueluelen:1000 RX bytes:22369905 (22.3MB) TX Bytes:13902 ( 13.9 KB) Interrupt:23 Base addres:0x8000
Revision history for this message
|
#44 |
Strange. Copy here file /etc/network/
Revision history for this message
|
#46 |
it says permission denied
Revision history for this message
|
#47 |
If you ran
/etc/network/
then that attempted to run the file as a program. But it is not a program; it is a configuration file. And you do not want to run it; you want to see what it contains. To make the contents of the file display in the Terminal, you should instead run:
cat /etc/network/
Revision history for this message
|
#48 |
it says auto lo iface lo inet loopback
Revision history for this message
|
#49 |
is that a good thing or a bad thing
Revision history for this message
|
#50 |
Edit Connection again and choose IPv6 tab. Is there IPv6 disabled?
Revision history for this message
|
#51 |
it says ignore do u want me to disable it?
Revision history for this message
|
#53 |
okay what is our next step?
Revision history for this message
|
#54 |
Are you sure that you correctly enter IP address and Mask when editing connection?
Revision history for this message
|
#55 |
do u think my firefox is not installed right or something like that?
Revision history for this message
|
#56 |
yes I am sure I can try it again.
Revision history for this message
|
#57 |
Do u think it is some kind of a driver issue?
Revision history for this message
|
#58 |
Hey does anyone else have any idea's
Revision history for this message
|
#59 |
Question is marked solved. You should reopen it.
Revision history for this message
|
#60 |
I am not sure y it is marked solved I never did. But do u have any idea's thoa?
Revision history for this message
|
#61 |
The 'ifconfig eth0' output in #43
"RX bytes:22369905 (22.3MB) TX Bytes:13902 (13.9 KB)"
shows that there was internet traffic on your machine. So apparently at that time the network connection was working.
So it might be possible that the network is working, but only firefox is not correctly configured.
To check if package management can use the network, please open a terminal (ctrl-alt-t) and issue the commands
ifconfig
sudo apt-get update
You will be asked for your password, please enter it when requested and note, that you will not see any feedback when typing the password (no echo, not even '*' placeholders). When the second command has finished select all output in the terminal window (edit - select all), copy it (edit copy) and paste into a new message of this question thread.
Revision history for this message
|
#62 |
@Mangus Q Allen
You can change this status's question back from Solved by posting a message at https:/
@Manfred Hampl
Mangus Q Allen has no Internet connection of any kind in the affected Ubuntu system,, and thus cannot access Launchpad while booted into that system. So how do you want him to paste the contents of the Terminal on that machine here?
Revision history for this message
|
#63 |
I still need a answer
Revision history for this message
|
#64 |
@ Manfred Hampl
It is pages of output but it basically says W: Failed to fetch hhp:// security. ubuntu.com/dist maverick-security /multiverse/
would it work if I had internet connected to my unix machine?
Revision history for this message
|
#65 |
Maybe I was mislead by some of the question/answer messages, but in comments #7, #11 and #43 I saw an 'ifconfig eth0' output like "...RX bytes:22369905 (22.3MB) TX Bytes:13902 (13.9 KB)..." This is evidence that there was 22.3 MB data successfully downloaded via the eth0 interface. Still you say that you cannot connect to the internet. From where did that traffiic come?
Can you please give more information about your network setup. Do you have a router? Do you have a small local area network?
Please again provide the output of these commands:
ifconfig eth0
ping -c 5 8.8.8.8
ping -c 5 127.0.0.1
And when giving that output please try to
1. include the line with the command
2. try to use copy/paste: in the terminal 'edit - select all' and 'edit - copy', and then paste it to a document that you can transfer to your computer with internet connections for pasting into the question document (this is to avoid typo errors as there must have been, like "etho" instead of "eth0" etc.)
Revision history for this message
|
#66 |
I have a high speed modem from time warner cable I have no small network it just one system running straight from the high speed modem to the computer threw a ether net cable. I will ping my computer in a few seconds the
if config information
Link encap Ethernet HWaddr 00:16:17:8e:83:a0 inet 6 addr: fe80:: 216: 17ff:fe8e:83a0/64 Scope Link up Broadcast Multicast Mtu:1500 Metric:1
RX packets:40602 errors:0 dropped:0 overruns:0 frame:0 TX packets:21 errors: dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes: 2604701 (2.6mb) TX bytes:3944 (3.9 KB) interrupt:23 Base address:0x8000
ping -c network is unreachable
ping 127.0.01
64 bytes from 127.0.01: icmp_ req=1 ttl=64 time=0.040 ms
repeats that 4 more times
127 oubg statustics
5 packets transmited 5 recieved 0% packets loss time 3998ms rtt min/avg/max/mdev= 0.301.0.
this is all theinformation
Revision history for this message
|
#67 |
ok, it seems to me that the problem is in network configuration on the Ubuntu system.
Do I understand your current ways of working correctly: You have a Windows PC pluuged in at that cable where you want to connect your Ubuntu PC to be able to answer questions on launchpad? If this is a misinterpretation please tell exactly what and how you are currently doing with respect to networks and do not execute what I write below!
If that is the case please open a terminal on your Windows PC and enter the command "ipconfig".
Write down the numbers that you see besides IPv4 address, net mask and gateway.
Then plug out the cable from the Windows PC and plug into the Ubuntu PC.
Issue the command "ifconfig eth0" and note down what you see as numbers near Inet address, bcast and mask.
Then go to NetworkManager, select manual configuration for eth0 and enter the numbers that you have written down from the Windows PC.
Issue the command "ifconfig eth0" again and look if the numbers shown there have changed.
Issue the command "ping -c 5 8.8.8.8" to check if you have a connection.
The final solution should be to switch back the configuration settings in network-manager to automatic, if that is what your ISP needs (and what seems to be what your Windows PC successfully uses).
Revision history for this message
|
#68 |
The ping said network unreachable the numbers did not change on my ubuntu system I typed in the numbers from the windows system it was a no go
Revision history for this message
|
#69 |
did it have to have the " around it cause it wold not come up when I put the " around the ping command
Revision history for this message
|
#70 |
This is weird. I think we have to rule out hardware problems.
Did this PC have a successful network connection once in the past (maybe even with a different operating system).
When this PC is running and plugged in to the network, are there network activity indicators blinking (on the high speed modem and on the network card of the PC)?
Please remove the network cable from that PC and issue the terminal command
ipconfig
and copy/paste the complete output
then connect the PC with the network, wait half a minute and issue the terminal command
ipconfig
again, and again copy/paste the output.
Revision history for this message
|
#71 |
It says no command found.
Revision history for this message
|
#72 |
sorry, my fault, it should be
ifconfig
Revision history for this message
|
#73 |
okay I will run that
Revision history for this message
|
#74 |
etho Link encap:Ethernet Hwaddr 00:16:17:8e:83:a0 inet6 addr: fe80 :: 216 17ff fe8e 83a0/64 Scope: Link Up BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:12596 errors:0 dropped:0 overruns:0 carrier: collisisons:0 exqueuelen:1000 RX bytes:774422 ( 774.4KB) TX bytes:8563 (8.5 KB) interrupt: 23 Base address:0x8000
lo Link encap: local loopback inet addr: 127.0.0.1 Mask 255.0.0.0. inet 6 addr: :: 1/128 scope host up loopback running MTU 16436 Metric:1 RX Packets:165 errors:0 dropped:0 overruns:0 frame: TX packets:165 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txquelen:0 RX bytes:11167 (11.1 KB) TX bytes:11167 ( 11.1 KB)
Revision history for this message
|
#75 |
with the internet connected it is
Link encap Ethernet HWaddr 00:16:17:8e:83:a0 I net addr:169.254.8.27 bcast: 169/254.255.255. Mask 255.255.0.0 I net6 adr fe80::216: 17ff:fe8e:83a0/64 Scope:Link UP BROADCAST RUNNING MULTICAST Mtu:1500 Metric:1 RX packets:12646 errors:0 dropped:0 overruns: frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisisons:0 txquelelen:1000 RX Bytes:77422 ( 777.4KB) TX Bytes:10083 (10.0 KB) interrupt:23 Base address:0x8000
Revision history for this message
|
#76 |
Do you see the difference? Now you have got an IP address of 169.254.8.27 (no more the 127.0.0.1).
So please try the ping command again
ping -c 5 8.8.8.8
Revision history for this message
|
#77 |
it says Usage { - KRYbdfnqrvVaAd} [ -c Count] [ -i interval] [ -w deadline] [-p pattern] [ -s packetsize] [-t ttl] [ -I interfaces] [-M pmtudisc-hint] [-m mark] [ -S sndbuf] [ t Tstsmap-options] [ -Q tos] [ hop ...] destintation
Revision history for this message
|
#78 |
is it important when I hooked up my internet to my ubuntu system and clicked on my fire fox it says unable to find proxy server
Revision history for this message
|
#79 |
is it important when I hooked up my internet to my ubuntu system and clicked on my fire fox it says unable to find proxy server
Revision history for this message
|
#80 |
Sorry for the delay in responding, but I was away from home for some days.
when the ping command comes back with 'Usage...' you must have mistyped the command.
As already written above: in all such cases please do not only post the response in this question document, but include the full command that you have issued in your posting!
To continue with your problem:
Please start again:
unplug the network cable from your Ubuntu computer.
Issue the command
ifconfig
This will most probably show an output without "inet addr", just something with "inet6 addr"
The connect you network cable to your Ubuntu computer (and leave it connected without interruption until you have done the things below)
Issue the command
ifconfig
This should now show an output with "inet addr", and figures similar to 169.254.8.27
If that is not the case please post what you have done and what you have received (as exact as possible) in this question document.
If you did receive an inet addr 169.254.... response:
please issue the commands
route
ping -c 5 8.8.8.8
and post the output (again as exact as possible)
Can you help with this problem?
Provide an answer of your own, or ask Mangus Q Allen for more information if necessary.