In a new ubuntu 18, Ping works very well, but wget and browser error?
Good night, everyone, Can't I ask a question here?
Thank you.
My system is Ubuntu 18.04 which was installed just now.
I formatted the "/" part, but keep the "/home" part.
The computer had been ubuntu 14.04 before the reinstallation.
The network wasn't right when ubuntu 14.04 and still error now.
When I ping a domain, It works very well, but wget apt and browser can't work.
When adding a USB wireless card, the network is alright.
What should I do to find out the Problem?
Thank you!
$ ping -c3 askubuntu.com
PING askubuntu.com (151.101.65.69) 56(84) bytes of data.
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=1 ttl=52 time=134 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=2 ttl=52 time=133 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=3 ttl=52 time=132 ms
--- askubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 132.458/133.681/134.628/1.000 ms
$ wget askubuntu.com
--2019-01-29 12:05:12-- http://askubuntu.com/
Resolving askubuntu.com (askubuntu.com)... 151.101.65.69, 151.101.1.69, 151.101.193.69, ...
Connecting to askubuntu.com (askubuntu.com)|151.101.65.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.1.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.193.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.129.69|:80... failed: Connection refused.
Here is the other information.
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 20100 0 0 enp2s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp2s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0
$ ifconfig -a
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9997:3ae3:6798:1ac8 prefixlen 64 scopeid 0x20<link>
ether 00:ea:01:28:99:88 txqueuelen 1000 (Ethernet)
RX packets 141444 bytes 136582388 (136.5 MB)
RX errors 0 dropped 79 overruns 0 frame 0
TX packets 82546 bytes 5792934 (5.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6524 bytes 984671 (984.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6524 bytes 984671 (984.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
networking wget
New contributor
add a comment |
Good night, everyone, Can't I ask a question here?
Thank you.
My system is Ubuntu 18.04 which was installed just now.
I formatted the "/" part, but keep the "/home" part.
The computer had been ubuntu 14.04 before the reinstallation.
The network wasn't right when ubuntu 14.04 and still error now.
When I ping a domain, It works very well, but wget apt and browser can't work.
When adding a USB wireless card, the network is alright.
What should I do to find out the Problem?
Thank you!
$ ping -c3 askubuntu.com
PING askubuntu.com (151.101.65.69) 56(84) bytes of data.
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=1 ttl=52 time=134 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=2 ttl=52 time=133 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=3 ttl=52 time=132 ms
--- askubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 132.458/133.681/134.628/1.000 ms
$ wget askubuntu.com
--2019-01-29 12:05:12-- http://askubuntu.com/
Resolving askubuntu.com (askubuntu.com)... 151.101.65.69, 151.101.1.69, 151.101.193.69, ...
Connecting to askubuntu.com (askubuntu.com)|151.101.65.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.1.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.193.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.129.69|:80... failed: Connection refused.
Here is the other information.
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 20100 0 0 enp2s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp2s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0
$ ifconfig -a
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9997:3ae3:6798:1ac8 prefixlen 64 scopeid 0x20<link>
ether 00:ea:01:28:99:88 txqueuelen 1000 (Ethernet)
RX packets 141444 bytes 136582388 (136.5 MB)
RX errors 0 dropped 79 overruns 0 frame 0
TX packets 82546 bytes 5792934 (5.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6524 bytes 984671 (984.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6524 bytes 984671 (984.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
networking wget
New contributor
add a comment |
Good night, everyone, Can't I ask a question here?
Thank you.
My system is Ubuntu 18.04 which was installed just now.
I formatted the "/" part, but keep the "/home" part.
The computer had been ubuntu 14.04 before the reinstallation.
The network wasn't right when ubuntu 14.04 and still error now.
When I ping a domain, It works very well, but wget apt and browser can't work.
When adding a USB wireless card, the network is alright.
What should I do to find out the Problem?
Thank you!
$ ping -c3 askubuntu.com
PING askubuntu.com (151.101.65.69) 56(84) bytes of data.
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=1 ttl=52 time=134 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=2 ttl=52 time=133 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=3 ttl=52 time=132 ms
--- askubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 132.458/133.681/134.628/1.000 ms
$ wget askubuntu.com
--2019-01-29 12:05:12-- http://askubuntu.com/
Resolving askubuntu.com (askubuntu.com)... 151.101.65.69, 151.101.1.69, 151.101.193.69, ...
Connecting to askubuntu.com (askubuntu.com)|151.101.65.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.1.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.193.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.129.69|:80... failed: Connection refused.
Here is the other information.
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 20100 0 0 enp2s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp2s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0
$ ifconfig -a
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9997:3ae3:6798:1ac8 prefixlen 64 scopeid 0x20<link>
ether 00:ea:01:28:99:88 txqueuelen 1000 (Ethernet)
RX packets 141444 bytes 136582388 (136.5 MB)
RX errors 0 dropped 79 overruns 0 frame 0
TX packets 82546 bytes 5792934 (5.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6524 bytes 984671 (984.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6524 bytes 984671 (984.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
networking wget
New contributor
Good night, everyone, Can't I ask a question here?
Thank you.
My system is Ubuntu 18.04 which was installed just now.
I formatted the "/" part, but keep the "/home" part.
The computer had been ubuntu 14.04 before the reinstallation.
The network wasn't right when ubuntu 14.04 and still error now.
When I ping a domain, It works very well, but wget apt and browser can't work.
When adding a USB wireless card, the network is alright.
What should I do to find out the Problem?
Thank you!
$ ping -c3 askubuntu.com
PING askubuntu.com (151.101.65.69) 56(84) bytes of data.
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=1 ttl=52 time=134 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=2 ttl=52 time=133 ms
64 bytes from 151.101.65.69 (151.101.65.69): icmp_seq=3 ttl=52 time=132 ms
--- askubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 132.458/133.681/134.628/1.000 ms
$ wget askubuntu.com
--2019-01-29 12:05:12-- http://askubuntu.com/
Resolving askubuntu.com (askubuntu.com)... 151.101.65.69, 151.101.1.69, 151.101.193.69, ...
Connecting to askubuntu.com (askubuntu.com)|151.101.65.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.1.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.193.69|:80... failed: Connection refused.
Connecting to askubuntu.com (askubuntu.com)|151.101.129.69|:80... failed: Connection refused.
Here is the other information.
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 20100 0 0 enp2s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp2s0
192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp2s0
$ ifconfig -a
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.199 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::9997:3ae3:6798:1ac8 prefixlen 64 scopeid 0x20<link>
ether 00:ea:01:28:99:88 txqueuelen 1000 (Ethernet)
RX packets 141444 bytes 136582388 (136.5 MB)
RX errors 0 dropped 79 overruns 0 frame 0
TX packets 82546 bytes 5792934 (5.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 6524 bytes 984671 (984.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6524 bytes 984671 (984.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
networking wget
networking wget
New contributor
New contributor
New contributor
asked 2 mins ago
SailingSailing
11
11
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sailing is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113709%2fin-a-new-ubuntu-18-ping-works-very-well-but-wget-and-browser-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sailing is a new contributor. Be nice, and check out our Code of Conduct.
Sailing is a new contributor. Be nice, and check out our Code of Conduct.
Sailing is a new contributor. Be nice, and check out our Code of Conduct.
Sailing is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1113709%2fin-a-new-ubuntu-18-ping-works-very-well-but-wget-and-browser-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown