You are not logged in.
Pages: 1
Hello Arch community. Some weeks ago, I was installing Arch in a PC, but I had to interrupt the proccess just after configuring the hostname (as described in https://wiki.archlinux.org/index.php/In … e#Hostname ). Yesterday I finally got to resume the installation. I used arch-chroot (as I hadn't installed a boot loader yet, the computer just throws an error about a missing GRUB file) with a LiveUSB. I think that the image I have now is a newer version (2017-01-01) than the one I used in the interrupted installation. The thing is, I couldn't get access to internet. I decided I could just wipe out everything and start from zero again, but I couldn't get the LiveUSB archiso to ping any website either. I've read a lot of things in the forums, but none has solved the problem. Here's some (selected) output that could be useful (from the LiveUSB):
ping -c 3 localhost
PING localhost(localhost.localdomain (::1)) 56 data bytes
64 bytes from localhost(localhost.localdomain (::1)) icmp_seq=1 ttl=64 time=0.043ms
...
--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2032 ms
rtt min/avg/max/mdev = 0.043/0.079/0.144/0.046 ms
ping -c 3 www.google.com
PING www.google.com (216.58.219.68) 56(84) data bytes of data.
--- www.google.com ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2030 ms
ping -c 3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) data bytes of data.
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2030 ms
ip link
1: lo ...
2: enp0s25: <BROADCAST,MULTICAST,IP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 00:22:64:1d:23:bc brd ff:ff:ff:ff:ff:ff
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.17.8.129 0.0.0.0 UG 202 0 0 enp0s25
172.17.8.128 0.0.0.0 255.255.255.192 UG 202 0 0 enp0s25
lspci -v
...
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
...
Kernel driver in use: e1000e
Kernel modules: e1000e
...
I've tried
modeprobe e1000e
and
dhcpcd enp0s25
with no result. I also tried to use dhclient like this:
pkill dhcpcd
systemctl stop dhcpcd@enp0s25.service
systemctl start dhclient@enp0s25.service
with no luck, again (I'm actually not sure if this is the right way to use dhclient. Couldn't find any clear example).
I hope you can help me, I really love arch
Last edited by larvasapiens (2017-02-03 14:03:36)
Offline
Immediately after booting the liveusb, what do these commands show :
ip addr
ip -family inet route show
ip -family inet6 route show
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
ip addr
1: lo ...
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 00:22:64:1d:23:bc brd ff:ff:ff:ff:ff:ff
inet 172.17.8.145/26 brd 172.17.8.191 scope global enp0s25
valid_lft forever preferred_lft forever
inet6 fe80::b87f:241b:ad66:22a9/64 scope link
valid_lft forever preferred_lft forever
ip -family inet route show
default via 172.17.8.129 dev enp0s25 src 172.17.8.145 metric 202
172.17.8.128/26 dev enp0s25 proto kernel scope link src 172.17.8.145 metric 202
ip -family inet route show
fe80::/64 dev enp0s25 proto kernel metric 256 pref medium
Offline
Did you run dhcpcd ? You should.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Yes, I did. But it didn't work either
Offline
Did you also follow the setup advice from the Arch Linux Wiki?
“Great minds discuss ideas; average minds discuss events; small minds discuss people.” -Eleanor Roosevelt
“It is our choices, that show what we truly are, far more than our abilities.” -J. K Rowling
-----
How to Ask Questions the Smart Way
Offline
Yes. I have a hostname, I can ping my hostname and my driver is loaded successfully.
Is my method of using dhclient correct?
pkill dhcpcd
systemctl stop dhcpcd@enp0s25.service
systemctl start dhclient@enp0s25.service
Offline
the pkill dhcpcd is not needed and may even cause problems.
before switching to another client , you may want to try connecting manually .
just stop the dhcpcd@enp0s25.service , then run dhcpcd enp0s25 .
The output should help with troubleshooting your connection.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Ok, I issued (on a fresh start of the LiveUSB):
systemctl stop dhcpcd@enp0s25.service
dhcpcd enp0s25
and got:
DUID 00:01:00:01:20:2b:33:b3:00:22:64:1d:23:bc
enp0s25: IAID 64:1d:23:bc
enp0s25: rebinding lease of 172.17.8.149
enp0s25: leased 172.17.8.149 for 604800 seconds
enp0s25: changing route to 172.17.8.128/26
enp0s25: changing default route via 172.17.8.129
forked to background, child pid 623
Then I tried to ping google, with the same result (3 packets transmited, 100% packet loss)
Offline
Can you ping 172.17.8.129?
Edit: Can you ping 138.201.81.199 (an Arch Linux server) ?
Last edited by ewaller (2017-02-06 15:20:38)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Update: just to try, I downloaded the lastest Linux Mint (18) image and prepared a LiveUSB using the same usbstick I used with arch. The Linux Mint image have access to the internet with no problems.
Offline
Good information. What address is being assigned to your card in Mint? Did you get a chance to ping the devices I had suggested in #10?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Sorry for the late response, I've been busy lately. I can ping 172.17.8.129, but not the Arch server.
I ended up installing Linux Mint in one partition in the meanwhile, but I'm still interested in Arch. From the Mint installation, this is what I get after running route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 172.17.8.129 0.0.0.0 UG 100 0 0 enp0s25
link-local * 255.255.0.0 U 1000 0 0 enp0s25
172.17.4.2 172.17.8.129 255.255.255.255 UGH 100 0 0 enp0s25
172.17.8.128 * 255.255.255.192 U 100 0 0 enp0s25
Could it be that the 172.17.4.2 destination is missing in the Arch Live USB? How could I add it?
Offline
By editing the /etc/hosts file and then you should see the list here is mine:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
# End of file
If you check the /etc/hosts file on Linux mint it looks similar to the one you've provided then copy some of the settings over to the Arch Linux partition. If both don't look the same then it must be a different network file which I haven't come across....
“Great minds discuss ideas; average minds discuss events; small minds discuss people.” -Eleanor Roosevelt
“It is our choices, that show what we truly are, far more than our abilities.” -J. K Rowling
-----
How to Ask Questions the Smart Way
Offline
The contents of that file in Mint are:
127.0.0.1 localhost
127.0.1.1 Eva04
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
fe00::0 ip6-mcastprefix
fe02::1 ip6-allnodes
fe02::2 ip6-allrouters
Eva04 is the hostname. In Arch, the file is the same as you provided.
Offline
/etc/hosts is used to translate names into ip-addresses, the change needs to be made in the routing table .
try
route add 172.17.4.2 gw 172.17.8.129
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Pages: 1