You are not logged in.
I have 2 Arch machines, and one of them worked for a year without a problem
But suddenly the internet connection has stopped on both of them and on a Win machine too, I can ping to any IP on the three machines but can't do anything else
Information about my main Laptop:
I use wpa_supplicant to connect
less /etc/resolve.conf nameserver 192.168.1.1*Everything works fine on tablets and mobile phones
*When I try to connect through USB tathering nothing changes
*I posted this from my tablet
Last edited by nasser (2017-11-11 19:17:12)
Offline
I can ping to any IP on the three machines but can't do anything else
Can you ping machines not in your local network? What is an example of "anything else"? What fails, and with what error messages?
Note too that wpa_supplicant is not sufficient for a connection. Are you also running dhcpcd or something similar?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Online
nasser wrote:I can ping to any IP on the three machines but can't do anything else
Can you ping machines not in your local network? What is an example of "anything else"? What fails, and with what error messages?
Note too that wpa_supplicant is not sufficient for a connection. Are you also running dhcpcd or something similar?
Sorry I meant I can ping to static IP's for WebSites but can't brows the website
"Server not found", and can't use pacman
And I run dhcpcd for the interfaces like "wlp2s0"
Offline
....the internet connection has stopped on both of them and on a Win machine too....
So if every machine has stopped -- Arch or Windows -- I would look to the router you are behind. Has anything changed there? Any other devices you can try?
Matt
"It is very difficult to educate the educated."
Offline
Sorry I meant I can ping to static IP's for WebSites but can't brows the website
"Server not found", and can't use pacman
Does your nameserver work (nslookup, ping with a domain instead of an ip)?
# test with your default nameserver
nslookup example.com
# test with google nameserver
nslookup example.com 8.8.8.8
# http test with curl
curl example.com
# http test directly to ip
curl --header "Host: example.com" 93.184.216.34Last edited by progandy (2017-11-03 13:08:55)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
The router is fine (I can use my tablet and mobile phone and can ping to IP addresses)
nslookup didn't work with default nameserver
;; connection timed out; no servers could be reachedBut worked with Google nameserver
curl:
curl: (6) Couldn't resolve host: www.google.com But worked with http test direct to IP
Offline
Could you post
ip route?
Offline
Could you post
ip route?
default via 192.168.1.1 dev wlp2s0 src 192.168.1.5 metric 303
192.168.1.0/24 dev wlp2s0 proto kernel scope link src 192.168.1.5 metric 303Offline
dig google.com
nmap -p 53 192.168.1.1Offline
dig google.com nmap -p 53 192.168.1.1
dig:
;; connection timed out;no servers could be reached And nmap:
Command not found
Offline
well, installing nmap sounds like a solution to the latter??
Offline
Moving to NC...
Offline
Ok guys IDK how that's happened but when I wake uo in the morning every thing back to normal
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
well, installing nmap sounds like a solution to the latter??
How?
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
You mean how installing nmap is a solution to this problem?
And nmap:
Command not found
How did you install Archlinux? ![]()
Offline
You mean how installing nmap is a solution to this problem?
And nmap:
Command not foundHow did you install Archlinux?
I meant: given that the problem is complete lack of a network connection, it may not be easy or obvious to the OP how to install anything. I assume you were thinking that the OP could download the package elsewhere to removable media and then install the package using pacman -U or so?
Last edited by cfr (2017-11-06 00:20:07)
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
Ok, tbh that question didn't cross my mind at all... (and the OP didn't ask)
The USB walk is certainly a solution that always works, but in the particular situation, changing the DNS server to 8.8.8.8 would very likely have provided a workaround (inferable from the context ant comment #13 suggests that the router rebooted or fetched a new DNS from the ISP to be wired through; android will for more or less sure at least resort to googles DNS)
Offline