You are not logged in.

#1 2013-08-16 15:51:45

LucetLux
Member
Registered: 2013-08-16
Posts: 165

[SOLVED] Problems with DSL on arch installation.

Hello everyone, I've been using linux for a while, I started with Ubuntu like a year ago, then I moved to Fedora and after some problems with that particular distribution I decided to try something else, and Arch looked like a good choice.

So, I downloaded an Arch .iso and decided to try it out, I'm familiarized with most of the programs and tools used on an Arch installation, except for one thing, I have a DNS connection and information regarding how to configure such thing is quite vague, the wiki page on that subject is barely even understandable, I tried using the instructions given there with no luck, I'm guessing that page might be a little outdated.
After doing some research I found out that all I had to do to configure my DSL connection was run "pppoe-setup" and then "systemctl start adsl" or "pppoe-start" to start it, those seem to be doing the same thing.

And that's when problems started, if I run ifconfig I can see that ppp0 has been given an internet IP address and I can also read my ISP's server address.
I can ping my ISP's server with no problems, so the connection seems to be working but when I try running "pacstrap /mnt base" I get a lot of errors as none of the servers are reached and the installation fails.

I'm probably missing something obvious, I will appreciate any guidance on the subject.

Thanks in advance.

Last edited by LucetLux (2013-08-18 01:33:17)

Offline

#2 2013-08-16 15:56:25

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,928

Re: [SOLVED] Problems with DSL on arch installation.

might be  a problem with dns servers set incorrectly, what result does 'ping www.google.com' give ?

please post the content of /etc/resolv.conf AFTER you have made connection with your isp.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2013-08-16 16:05:21

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

"ping www.google.com" gives the output "unknown host www.google.com"

I remember checking /etc/resolv.conf, there was just an IP address there that I think was my lan address.
I'll post the content of that file right away.

Offline

#4 2013-08-16 16:20:39

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

Okay here it is:

#Generated by resolvconf
nameserver 192.168.1.1

Offline

#5 2013-08-16 19:10:26

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,928

Re: [SOLVED] Problems with DSL on arch installation.

Assuming 192.168.1.1 is the ip address of your network card, we then have found the problem.

with your adsl/pppoe connection you don't get the dns servers from your isp automagically, so you'll need to set them manually.

You can look up the addresses of the dns servers your isp uses or fill in other dns servers like those from OpenDNS or Google.
below are the adresses for the OpenDNs servers, make sure you put them above your own ip address in /etc/resolv.conf .

nameserver 208.67.222.222
nameserver 208.67.220.220

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2013-08-16 20:37:31

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

That's kind of weird, on every other OS's I've used so far dns servers were set up automatically, but... I think it may have something to do with the way my "modem" works, it is actually a modem/router, I'm using it in modem mode, so dialing is handled by my computer, if I connect to it without dialing it runs in a *I don't know how to call it* mode, in which I can login into the thing's configuration utility, maybe for some reason arch's installation disc can't notice when the thing changes mode or whatever, I don't really know, I'm just guessing.

I'll give that a try now, but I'm sure it'll work, thank you for your help. (;

Offline

#7 2013-08-16 21:30:51

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

I have news, it didn't work, oddly enough.
I tried using my ISP´s DNS addresses, and both OpenDNS and GoogleDNS with no better luck than last time.

When I run "pacstrap /mnt base" I get:

==>Creating install root at /mnt
==>Installing packages to /mnt
::Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.us.leasweb.net : Resolving timed out after 10361 milliseconds
error: failed retrieving file 'core.db' from mirror.de.leasweb.net : Resolving timed out after 10361 milliseconds
error: failed retrieving file 'core.db' from mirror.nl.leasweb.net : Resolving timed out after 10361 milliseconds
error: failed retrieving file 'core.db' from archlinux.polymorf.fr : Resolving timed out after 10361 milliseconds
error: failed retrieving file 'core.db' from mirror.churri.net : Resolving timed out after 10361 milliseconds

and so on...

Offline

#8 2013-08-16 21:59:24

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] Problems with DSL on arch installation.

Can you ping www.example.com now?

Can you post the content of /etc/resolv.conf? I know you said what you tried but just to double-check.


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

#9 2013-08-16 22:09:07

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

Well the content of resolv.conf was:

#Generated by resolvconf
nameserver 200.40.30.245
nameserver 200.40.220.245

that when using my ISP´s DNS addresses, changing the IP´s to OpenDNS´s or Google´s when I was trying those.

If I were to end the connection and start it again resolv.conf would be changed back to how it was before, so I had to change the addresses while the connection was on.

I´ll try pinging, but I can already imagine the output, I think it will just timeout.

Offline

#10 2013-08-16 22:17:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] Problems with DSL on arch installation.

Did you check that 192.168.1.1 really was the ip of your network card and not, say, of the router/modem? It is a while since I used adsl so I can't remember the details but on my home LAN, nameserver is set to the ip of my router which is connected to the cable modem which is connected to the network.


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

#11 2013-08-16 22:26:03

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

I use a single device which can work as both router and modem, however it is configured to work only as a modem, so the PC handles all the config and dialing.
My modem's IP for accessing the configuration interface is 192.168.137.1 which only works when the DSL connection hasn't been dialed.
Just for a fact, we don't really use DSL here anymore, I have a PON connection, but we are still using the same connection protocols.
I'm quite sure that 192.168.1.1 is my address under my (nonexistent) LAN, so it's the address the modem gives my computer internally.
I'm sorry if that's not enough but that's all I can think of right now.

Last edited by LucetLux (2013-08-16 22:27:41)

Offline

#12 2013-08-17 06:40:45

na5m
Member
From: Rancho Cordova, CA
Registered: 2008-11-19
Posts: 30

Re: [SOLVED] Problems with DSL on arch installation.

A few years ago, I myself had DSL service (and it worked quite well and was speedy).
The service didn't simply just say to me "Hey.... you now have DSL."
What they did was give me a DSL "modem", which concurrently serves as a router.
So, theoretically, you should be able to plug your NIC directly into the DSL router.

Please tell us who you have DSL with and what equipment they gave you.


Let's go check out Hades!

Offline

#13 2013-08-17 16:29:42

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

The modem they gave me is a ZTE ZXA10 F660 GPON Modem/Router, which is currently working in Modem mode ONLY.

Offline

#14 2013-08-17 23:10:53

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

Whatever DNS address I use it always times out and fails to resolve, if I try pinging anything it always takes forever and then gives me a "unknown host" message.
The modem seems to be working, it dials and connects successfully and I can see its lights blinking as if it were working correctly, if I check ifconfig, ppp0 has been given an internet address and seems to be properly connecting to my ISP´s server, if I run route the list is always empty, I have no doubt that problems are caused by something misconfigured in arch and not by my modem, but I have so far failed to identify the problem.

Offline

#15 2013-08-18 01:16:25

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

I solved it, I noticed this during boot ¨Starting dhcpcd on enp0s10" mad
I ran systemctl stop dhcpcd@enp0s10.service, then ran pppoe-config and pppoe-start and it worked with no problems, so this is solved.
I have found a new unrelated issue, I'll probably start a thread on that if I can't solve it myself.
Thank you all for your help, you can mark this as solved now.

Offline

#16 2013-08-18 01:18:52

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] Problems with DSL on arch installation.

LucetLux wrote:

Thank you all for your help, you can mark this as solved now.

Arch is a DIY distro wink: https://wiki.archlinux.org/index.php/Fo … ow_to_Post.


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

#17 2013-08-18 01:32:51

LucetLux
Member
Registered: 2013-08-16
Posts: 165

Re: [SOLVED] Problems with DSL on arch installation.

Oh sorry, should've read that tongue
Also, I sent this exact message as a report to you accidentally as I got the report and Post reply buttons mixed, sorry about that, I'm kind of dyslexic.

Offline

#18 2013-08-18 01:54:05

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: [SOLVED] Problems with DSL on arch installation.

Well, you didn't send it to me. The mods will get it. Don't worry - it happens more than you might think. (This is probably a quote from one of the mods, actually.)

Usually people don't realise and their post appears with a mod saying "If you were wondering what happened to your post...". I wonder if you will get a repeat as a bonus tongue.


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

#19 2013-08-18 02:06:49

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] Problems with DSL on arch installation.

Welcome to Arch LucetLux; your report has been duly ignored tongue

Offline

Board footer

Powered by FluxBB