You are not logged in.
Pages: 1
Hey guys
I am still new to Archlinux. I've just installed the base system und rebooted. Now I tried to Install Xorg but can't reach any servers.
I googled a bit and read in the wiki but couldn't find a solution.
There is a possibillity, that ipv6 is in the way. However I didn't find a way to get around that. I use Grub to boot and tried the ipv6.disable=1 command but it seems clearly out of place... and does nothing. --> In the Wiki I have to put the comand at the end of the line. I don't have a line but instead a window with code.
I checked my Mirrorlist and deleted all non german servers. Also checked that all the remaining are uncommented.
I pinged google and it works but I can't ping any repo-servers.
I think that I just need to disable ipv6 but don't know how. The wiki wasn't clear in the case of grub.
Since I don't have X I cant post my conf files. (Or better: I don't know how )
Thank you in advance
Offline
I don't think that IPv6 is the problem. Have you tried any non German server?
For example, try worldwide server.
Server = https://dgix.ru/mirrors/archlinux/$repo/os/$arch
Server = http://mirror.rackspace.com/archlinux/$repo/os/$arch
For further information can you please post your,
* ifconfig
* route -n
* cat /etc/resolv.conf
Offline
I just tried the first mirror. even added it to the mirrorlist. Nothing changed.
ifconfig and route are unknown commands.
the output of
* cat /etc/resolv.conf
# Generated by resolvconf
nameserver 192.168.1.1
Offline
Post the output of
ip a
uname -a
cat /proc/cmdline
For ifconfig and route, install net-tools https://wiki.archlinux.org/index.php/FA … ge_is_X.3F
Offline
Try to changing your DNS to Google public DNS.
Open /etc/resolv.conf
Replace the content with the following lines,
nameserver 8.8.8.8
nameserver 8.8.4.4
Save the file, and try run pacman again
Can you post your grub config (/boot/grub/grub.cfg) ?
Last edited by ms (2015-06-02 11:46:53)
Offline
For ifconfig and route, install net-tools
If the problem is that pacman can't be used to install packages, then this suggestion will likely only lead to frustration. There are ways to install 'offline' but they are a bit involved for a newcomer to arch and tangetial to the issue at hand.
Maximumtaste, can you describe how you connect to the internet? Are you wired, or wireless? Do you use network management services, or connect manually? After giving the other information requested in the posts above, you could try also pinging the mirrors - you say you can ping google, but pacman fails: so is it a networking problem that you not able to connect to (ping) the mirrors, or is the problem specific to pacman?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
uname -a
Linux anbeliewebell 4.04-2-ARCH #1 SMP PREEMPT FRI May 22 03:05:23 UTC 2015 x86_64 GNU/Linux
cat /proc/cmdline
BOOT-IMAGE=/boot/vmlinuz-linux root=UUID=8c0a57b7-fff8-4019-8b73-1fe3421e506b rw quiet
ip a
Is there a way to print that into a file and to copy it on usb?
Open /etc/resolv.conf
Replace the content with the following lines,
nameserver 8.8.8.8
nameserver 8.8.4.4
did it. When X is installed I can post the rest.
I am using Internet over a router which is getting internet over a Laptop. (Can't physically connect to the Inetrnet)
I did'nt know how to set a DNS so it was the easiest way. The router had DHCP and was set with Gateway and DNS. In that way I installed Linux before. Because the WLAN-chip on my old Macbook needs a proprietary driver.
Offline
Is there a way to print that into a file and to copy it on usb?
Yes.
$ ip -a > ip-a.txt
Insert your usb and then mount it manually,
$ su -
password:
# mount /dev/sdx1 /mnt
Copy the content to the USB drive,
# cp ip-a.txt /mnt
and then unmount it back,
# umount /dev/sdx1
* Replace sdx with your USB drive (usually they were sdb1, if you only have one hard disk in your PC/laptop).
BTW, did changing the content of /etc/resolv.conf fix your problem?
Offline
Is there a way to print that into a file and to copy it on usb?
mount the USB stick.
ip a > /theMountPointOfYourUSB/somefilename
unmount the USB stick
... When X is installed I can post the rest.
You might be interested in wgetpaste
It lets you capture console output and post it on sites such as pastebin. It returns a link that you share with us.
Edit: Snaked by ms
Last edited by ewaller (2015-06-02 16:34:16)
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
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:1b:63:af:ae:b8 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.252/24 brd 192.168.1.255 scope global ens5
valid_lft forever preferred_lft forever
inet6 fe80::e8a1:3acc:cda0:7e67/64 scope link
valid_lft forever preferred_lft forever
ifconfig
ens5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.252 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e8a1:3acc:cda0:7e67 prefixlen 64 scopeid 0x20<link>
ether 00:1b:63:af:ae:b8 txqueuelen 1000 (Ethernet)
RX packets 511 bytes 661196 (645.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 500 bytes 39700 (38.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17
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 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 202 0 0 ens5
192.168.1.0 0.0.0.0 255.255.255.0 U 202 0 0 ens5
cat /etc/resolv.conf
# Generated by resolvconf
# nameserver 192.168.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4
I just reset my laptop and had to go through the steps again. Its the nameserver that is important.
I go through the steps:
dhcpcd ens5
nano /etc/resolv.conf
after that it works. How do i make that permanent?
I'll definitively try wgtpaste.
Gnome works! Thanks!
Offline
I go through the steps:
dhcpcd ens5
nano /etc/resolv.conf
after that it works.
I suspect there is something more there in the nano step. Do you just add the google DNS to the file? Or does simply opening and closing it with nano suffice? I'm guessing it's the former - but I hate guessing. (edit: nevermind, I guess this is implied by the `cat` command above - I was just looking at those steps.)
If that is indeed the case, there are ways to make that permanent - but you really shouldn't have to: this is a bandaid, not a cure. We should dig a little more to find the actual cause.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Do you just add the google DNS to the file?
Your first guess was right.
the output of cat /etc/resolv.conf showed that too.
Please let's dig deaper.
Last edited by maximumtaste (2015-06-02 18:02:53)
Offline
Unfortunately I know very little about DNS magics. If dhcpcd is working correctly *and* your service provider/router/etc are working properly then simply running dhcpcd should add a working dns entry to /etc/resolv.conf. That is not happening, so one of these parts if failing. I suspect dhcpcd is working right, but your ISP/router may not have and/or is blocking the normal DHCP mechanisms (magicnisms to me). Others should be able to help diagnose that part further.
To start, have you modified /etc/dhcpcd.conf at all? If so, what has been changed? (Generally no changes are needed to that file).
Also, the output of `hostnamectl` may be useful.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
hostnamectl
Static hostname: anbeliewebell
Icon name: computer-laptop
Chassis: laptop
Machine ID: 0b7a3d43dd2b47f9b1fbe197a4e93a02
Boot ID: 2e5abc70e26f4f9a9bd68a339615c1e6
Operating System: Arch Linux
Kernel: Linux 4.0.4-2-ARCH
Architecture: x86-64
I think dhcpcd is working since the IP that was generated in resolv.conf is the IP igave to my router.
Maybe that helps:
At first I tried to make a static ip adress and connect the laptop directly to the other one. I just didn't know how to give archlinux a DNS-server-adress.
Last edited by maximumtaste (2015-06-02 18:21:09)
Offline
The hostname looks good. The static IP is likely the issue - but those with experience with that will have to give the best answers, but in the meantime, have you done anything like this part from the wiki?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
nope. And I tried to write a static IP before installing the OS to the harddisk.
I now have WLAN (so I connect directly to the router and Internet) but I still need to update the resolv.conf.
Last edited by maximumtaste (2015-06-03 07:48:25)
Offline
Hey Guys
Achlinux works fine. But I still have to edit the resolv.conf
Is there someone who can help?
Offline
Pages: 1