You are not logged in.
Hi everyone,
I have installed arch linux with kde desktop in my thinkpad-t400 laptop. I delete the netctl and install networkmanager and kde networkmanager applet to configure my network connection. But I have a strange problem: I can browse webpage in firefox and read email using thunderbird, but I just can't ping to any other host. This is the output of ping:
ping -c 3 www.google.com
PING www.google.com (74.125.131.105) 56(84) bytes of data.
--- www.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2008ms
I can ping localhost only. I think it may be because of the way I set up networkmanager. I followed the steps in this link to set up networkmanager:
http://evilshit.wordpress.com/2012/09/1 … nome3/#ch2
Anyone knows how to solve this problem?
Offline
Welcome to the forums.
I recommend using the wiki rather than an outdated guide for a DE you aren't using. (I don't men the "this is deprecated bit" but the "updated" bit also appears to be out of date by now. For example, it ignores the new persistent network naming defaults.)
See https://bbs.archlinux.org/viewtopic.php?id=168162. Not sure it helps but appears to be the same issue.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks for reply.
I have read the post you mentioned. In that post, the problem is caused by iptables, but I didn't set any rules for iptables in my machine. This is the output of iptables --list:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Offline
What kind of connection do you have out to the internet - can other machines on the same network ping ok as perhaps your router is blocking pings or something?
Offline
You're not using Arch in a virtual machine are you?
Offline
I am using wifi to connect to internet. Other people can ping in the same network, so this is the problem of my machine. I am not using arch in virtual machine, I run it on my laptop directly.
Last edited by ttgump (2013-08-14 05:34:20)
Offline
If you don't use NetworkManager but bring up the network manually (see the wiki for instructions), can you ping then?
What if you use netctl - can you ping in that case?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
If I use netctl to connect manually I can ping. But netctl can't connect to wifi in my university(it uses wp2 enterprise), so I have to use networkmanager.
Offline
I wasn't suggesting it as a solution but as a diagnostic step i.e. now you know the problem is specific to networkmanager. That rules a bunch of other possibilities out.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Thanks for reply.
Yes, so I think the problem is caused by setting of my software system, not network or hardware problem.
Offline
FYI, I don't think that you should consider using netctl as connecting manually. Connecting manually would be directly using the tools that other network management utilities rely on. So you would use wpa_supplicant to asociate with the network, and then get the ip address, either with dhcp or setting it manually with the iproute2 package.
Offline
Yes. I have disabled dhcpcd and turn off network interface controllers in order to use network management. I used these commands:
disable dhcpcd:
$ sudo systemctl disable dhcpcd.service
$ sudo systemctl disable dhcpcd@.service
$ sudo systemctl stop dhcpcd.service
$ sudo systemctl stop dhcpcd@.service
turn off network interface:
$ ip link set down eth0
$ ip link set down wlan0
Offline
FYI, I don't think that you should consider using netctl as connecting manually. Connecting manually would be directly using the tools that other network management utilities rely on. So you would use wpa_supplicant to asociate with the network, and then get the ip address, either with dhcp or setting it manually with the iproute2 package.
Right but if ping works with netctl, that does appear to point to networkmanager, doesn't it? Or do you think netctl might be masking the real problem?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
No, I don't know what the problem is TBH. I just wanted to point that out so that if in the future the OP was asked to try connecting manually, he/she wouldn't just go straight to netctl thinking that was what was implied.
Back to the topic...
Offline
I find a new phenomenon: I can ping when I connect to home wifi (wep or wp2 personal) but I can't ping when I connect to the wifi using entriprise encryption.
Offline
Ping uses ICMP. Is this disabled by the firewall on the network with enterprise encryption?
Offline
But other machine can use ping even with enterprise encryption
Offline
So is this a problem only when you use both enterprise encryption and network manager?
That is, if you use the same encryption but not network manager, can you ping?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
So is this a problem only when you use both enterprise encryption and network manager?
- Yes, that's the problem
That is, if you use the same encryption but not network manager, can you ping?
- When I use netctl, I can't connect to enterprise encryption
Offline
https://wiki.archlinux.org/index.php/Wi … nual_setup
EDIT: I'm not clear netctl cannot manage that encryption - did you mean wpa2 by any chance? At least, there are instructions for eduroam and netctl uses wpa_supplicant, as far as I know, which can manage this for sure as it is what wicd relies on, too. But it will be better to do it manually in any case.
Last edited by cfr (2013-08-16 02:58:19)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline