You are not logged in.

#1 2015-11-29 13:21:43

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

[SOLVED] Using pppoe-start always times out on Arch, but not on PMagic

Hi.

I'm trying to install Arch and for that I need to set up my internet connection (using "# pppoe-setup").

So the process is like this:

# echo nameserver 8.8.8.8 > /etc/resolv.conf
# cat /etc/resolv.conf     (just to make sure)
# pppoe-setup

- typed the username provided by the ISP.
- pressed Enter for "eth0".
- pressed Enter for "no".
- typed "server".
- typed "1" for a firewall (but tried without a firewall and still no joy).
- typed the password provided by the ISP.

# pppoe-start
................TIMED OUT
/usr/sbin/pppoe-start: line 193: 792 Terminated             $CONNECT "$@" >/dev/null 2>&1

The same process works on a very old Parted Magic release (2012.10.10), since the very last time I used it, since way before it went all commercial and stuff. Figured I'd give it a shot, and it worked. Why doesn't it work on Arch? Is it a bug, what?

I have tried to uncomment the "LINUX_PATH" line from /etc/ppp/pppoe.conf and it still didn't work:

...
# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80

# Firewalling: One of NONE, STANDALONE or MASQUERADE
FIREWALL=STANDALONE

# Linux kernel-mode plugin for pppd.  If you want to try the kernel-mode
# plugin, use
LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so
#LINUX_PLUGIN=
...

Halp!

I can't install anything without an internet connection. neutral

Edit: I have tried a release from 6 months ago (more like 7 months ago at this point), called "archlinux-2015.06.01-dual.iso" found on one of the mirrors, for which the md5 checksum from the official website here matches and everything.

But still nothing! How far back do I have to go? Did no one report any issues with the "rp-pppoe" package on Arch Linux?

Last edited by DSpider (2015-11-29 19:30:38)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#2 2015-11-29 18:57:13

c0mm0ner
Member
Registered: 2015-11-09
Posts: 93

Re: [SOLVED] Using pppoe-start always times out on Arch, but not on PMagic

According to the wiki you should start your connection with "systemctl start adsl": https://wiki.archlinux.org/index.php/Di … 28PPPoE.29

Offline

#3 2015-11-29 19:30:23

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Using pppoe-start always times out on Arch, but not on PMagic

Solved it by using "enp0s7" instead of "eth0". God damn it.

If you don't know what your network interface is called under the new "udev as part of systemd", run (as non-root), either:

$ ip a

Or the following script (taken from here):

#!/bin/bash

  for i in /sys/class/net/*; do
    echo "==$i"
    udevadm test-builtin net_id "$i";
    echo
  done 2>/dev/null

So, yeah...

Wasted an entire Sunday with this shit, so here's the full step-by-step:

- ran the above script in a terminal ('bash ~/script.sh') and found out that my network interface is called "enp0s7" instead of "eth0"
- ran 'echo nameserver 8.8.8.8 > /etc/resolv.conf'
- ran 'pppoe-setup'
- typed the username provided by the ISP
- typed "enp0s7" instead of pressing Enter for "eth0"
- pressed Enter for "no"
- typed "server"
- typed "1" for a firewall
- typed the password provided by the ISP
- ran 'pppoe-start'

Last edited by DSpider (2015-11-29 19:33:25)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2015-11-29 21:59:39

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] Using pppoe-start always times out on Arch, but not on PMagic

[I should refresh posts before replying...]

Last edited by byte (2015-11-29 22:00:37)


1000

Offline

Board footer

Powered by FluxBB