You are not logged in.

#1 2012-07-25 21:15:59

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

[Solved]Another pppoe problem

I just managed to installed the latest Arch netinstall and while installing the base system, I could connect to the internet using pppoe-setup but when the base system finally got installed and I rebooted, I receive

pppoe-setup: command not found

and this is the only way I can connect to the internet. In the old arch net-install method, I could simply select the pppoe package while installing and it would work after reboot which is not the case for new iso. Is there any work around?

Last edited by celebrimbor (2012-07-26 19:00:22)


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

#2 2012-07-25 21:54:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved]Another pppoe problem

install rp-pppoe


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2012-07-25 21:59:53

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

Re: [Solved]Another pppoe problem

Do you have the rp-pppoe package installed?

# pacman -Qi rp-pppoe

If not, you may need to chroot and install it. Using the Arch install media:

# pppoe-setup
<interactive prompt>
# pppoe-start
# ping -c 3 www.google.com

# mount /dev/sdxY /mnt           <--- Your "/" partition.
# cd /mnt
# for i in /proc /sys /dev /dev/pts; do mount -B $i .$i; done
# chroot .
# pacman -S rp-pppoe
# exit
# reboot

Last edited by DSpider (2012-07-25 22:02:56)


"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 2012-07-25 22:02:45

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [Solved]Another pppoe problem

celebrimbor wrote:

In the old arch net-install method, I could simply select the pppoe package while installing and it would work after reboot which is not the case for new iso. Is there any work around?

Why can't you install pppoe with the new iso? You can specify other packages to pacstrap when you install base and base-devel. Or is it that you can install pppoe but it doesn't work after reboot?

Offline

#5 2012-07-25 22:07:19

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

Re: [Solved]Another pppoe problem

Instead of:

# pacstrap /mnt base base-devel

I think you can do:

# pacstrap /mnt base base-devel grub-bios rp-pppoe

Sure.

You could've also installed it with pacman after the "arch-chroot /mnt" command.


"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

#6 2012-07-25 22:14:31

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

Re: [Solved]Another pppoe problem

Come to think of it... this could also work (instead of chrooting):

# pppoe-setup
<interactive prompt>
# pppoe-start
# ping -c 3 www.google.com

# mount /dev/sdxY /mnt        <--- Your "/" partition.
# pacstrap /mnt rp-pppoe

It will use the first mirror from the mirrorlist file, but it's ok, I guess... The package is under 100 KB.

Last edited by DSpider (2012-07-25 22:16:05)


"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

#7 2012-07-26 17:26:23

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

Re: [Solved]Another pppoe problem

@2ManyDogs Sir,

Why can't you install pppoe with the new iso? You can specify other packages to pacstrap when you install base and base-devel.

I had simply assumed that it would be a part of base packages, just as wpa_supplicant, so I didn't knew I had  to install pppoe with base and base-devel packages smile

Correct me if I'm wrong, but shouldn't someone include this in wiki? Or Shouldn't rp-pppoe be included in base packages along with all other network setup packages/plugins?

@DSpider

Come to think of it... this could also work (instead of chrooting):

# pppoe-setup
<interactive prompt>
# pppoe-start
# ping -c 3 www.google.com

# mount /dev/sdxY /mnt        <--- Your "/" partition.
# pacstrap /mnt rp-pppoe

You prevented the reinstall with that! Thanks 2.0! smile


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

#8 2012-07-26 18:49:32

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

Re: [Solved]Another pppoe problem

Don't forget to mark it as solved. wink


"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

#9 2012-07-26 19:00:02

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

Re: [Solved]Another pppoe problem

I didn't mark it as solved because I thought this required someone's attention:

Correct me if I'm wrong, but shouldn't someone include this in wiki? Or Shouldn't rp-pppoe be included in base packages along with all other network setup packages/plugins?

Anyways, marking it. tongue


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

#10 2012-07-26 19:29:00

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

Re: [Solved]Another pppoe problem

$ pacman -Sg base

Seems that ppp is included.

$ pacman -Qo pppd
/usr/sbin/pppd is owned by ppp 2.4.5-3
$ man pppd

https://wiki.archlinux.org/index.php/PP … _with_pppd


While I prefer the rp-pppoe's interactive way, I use NetworkManager to start my PPPoE connection.

So no, you don't necessarily need the rp-pppoe package after install.


"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

#11 2012-07-27 16:28:20

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

Re: [Solved]Another pppoe problem

But then writing a pppoe was a little too labourous! Anyways let bygones be bygones! smile

While I prefer the rp-pppoe's interactive way, I use NetworkManager to start my PPPoE connection.
So no, you don't necessarily need the rp-pppoe package after install.

I thought Network Manager was only a graphical utility that combined with nm-applet. Hence the thread trouble. smile

Last edited by celebrimbor (2012-07-27 16:28:41)


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

#12 2012-07-27 16:39:10

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

Re: [Solved]Another pppoe problem

Nah... The GUI is optional. I only start it once, when creating a new connection, then I remove the "/etc/xdg/autostart/nm-applet.desktop" file.

Need it for a new connection? Make a shortcut for "nm-applet" or run "nm-applet &" from a terminal.


"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

#13 2012-07-28 11:50:10

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

Re: [Solved]Another pppoe problem

O great idea! Many thanks smile


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

#14 2012-07-28 12:13:38

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [Solved]Another pppoe problem

celebrimbor wrote:

But then writing a pppoe was a little too labourous!

There's a slightly simpler way - no config files, provide everything on the commandline:

pppd user <username_here> password <password_here> updetach usepeerdns defaultroute plugin rp-pppoe.so eth0

It took me a while to memorize that whole line smile, but now I can easily connect via pppoe without any helper applications.

Another option, though I don't know if it's on the install media - netcfg. /etc/network.d/examples/pppoe shows you how to do it.


Edit: I was informed that my command was wrong, so I've corrected it. I had "username" where it should say "user"

Last edited by Gusar (2012-09-06 14:18:24)

Offline

#15 2012-07-28 13:24:23

celebrimbor
Member
From: Philadelphia, PA
Registered: 2012-07-04
Posts: 56

Re: [Solved]Another pppoe problem

@Gusar

There's a slightly simpler way - no config files, provide everything on the commandline:
pppd username <username_here> password <password_here> updetach usepeerdns defaultroute plugin rp-pppoe.so eth0
It took me a while to memorize that whole line , but now I can easily connect via pppoe without any helper applications.

Seems like a good alternative to NetworkManager. Will give a try at it. Thanks smile


“If you wish to make an apple pie from scratch, you must first invent the universe.”
― Carl Sagan, Cosmos

Offline

Board footer

Powered by FluxBB