FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 12-08-2011, 09:27 AM
"Ralf Mardorf"
 
Default netcfg pppoe 'error sending pppoe packet: Network is down'

-----Original Message-----
From: arch-general-bounces@archlinux.org on behalf of Karol Babioch
Sent: Thu 12/8/2011 10:53

Hi,

Am 08.12.2011 09:19, schrieb Ralf Mardorf:
> if I run (as root, there anyway still is no user) 'netcfg pppoe' I get 'error sending/receiving pppoe packet: Network is down'

Just to make sure that netcfg is really what you want. Do you plan to
install a (rich) desktop environment later on? At least I would
recommended using networkmanager instead of netcfg when using Gnome
and/or KDE, because there are applets for it, which makes the network
configuration quite easy. You can probably use these applets for other
windows managers as well.

Personally I'm even using networkmanager on boxes which don't have a
running X server, because of its dispatching possibilities (such as
starting SSH when there is a link established).

However for a completely static environment netcfg is probably just fine.

+++

Hi Karol

I'll install Xfce and Gnome (hopefully GNOME2 instead of 3, since I switched for earlier installs of other distros from KDE3 to GNOME2, when KDE4 became the successor and Xfce simply should replace GNOME3, while I'll still give GNOME3 a chance). Of cause, I could download the needed stuff using Part Magic, reboot into Arch and then install the packages, but I would like to install the DEs when I'm booted into Arch.

Hm? If netcfg should be ok, than perhaps something regarding to PPPoE might be bad?!

Currently the 'Ethernet Link/Act' LED of my Siemens ADSL device isn't lit. It was lit when I tested the example's "ethernet-dhcp", but than I got 'DHCP IP lease attempt. [failed]' while the LED is lit.

My settings for 'pppoe-setup' must be ok, since I'm using the same for the Parted Magic live CD.

*me_confused*

I don't know what I'm doing, I only have guesses of an idiot, the noob I'm.

Any hints are welcome.

Cheers!

Ralf
 
Old 12-08-2011, 09:27 AM
"Ralf Mardorf"
 
Default netcfg pppoe 'error sending pppoe packet: Network is down'

-----Original Message-----
From: arch-general-bounces@archlinux.org on behalf of Karol Babioch
Sent: Thu 12/8/2011 10:53

Hi,

Am 08.12.2011 09:19, schrieb Ralf Mardorf:
> if I run (as root, there anyway still is no user) 'netcfg pppoe' I get 'error sending/receiving pppoe packet: Network is down'

Just to make sure that netcfg is really what you want. Do you plan to
install a (rich) desktop environment later on? At least I would
recommended using networkmanager instead of netcfg when using Gnome
and/or KDE, because there are applets for it, which makes the network
configuration quite easy. You can probably use these applets for other
windows managers as well.

Personally I'm even using networkmanager on boxes which don't have a
running X server, because of its dispatching possibilities (such as
starting SSH when there is a link established).

However for a completely static environment netcfg is probably just fine.

+++

Hi Karol

I'll install Xfce and Gnome (hopefully GNOME2 instead of 3, since I switched for earlier installs of other distros from KDE3 to GNOME2, when KDE4 became the successor and Xfce simply should replace GNOME3, while I'll still give GNOME3 a chance). Of cause, I could download the needed stuff using Part Magic, reboot into Arch and then install the packages, but I would like to install the DEs when I'm booted into Arch.

Hm? If netcfg should be ok, than perhaps something regarding to PPPoE might be bad?!

Currently the 'Ethernet Link/Act' LED of my Siemens ADSL device isn't lit. It was lit when I tested the example's "ethernet-dhcp", but than I got 'DHCP IP lease attempt. [failed]' while the LED is lit.

My settings for 'pppoe-setup' must be ok, since I'm using the same for the Parted Magic live CD.

*me_confused*

I don't know what I'm doing, I only have guesses of an idiot, the noob I'm.

Any hints are welcome.

Cheers!

Ralf
 
Old 12-08-2011, 09:33 AM
"Ralf Mardorf"
 
Default netcfg pppoe 'error sending pppoe packet: Network is down'

Pardon, the M$ web-thingy is a PITA, next time it claims that something went wrong, I'll first check http://mailman.archlinux.org/pipermail/arch-general/2011-December/date.html.
 
Old 12-08-2011, 02:05 PM
"Ralf Mardorf"
 
Default netcfg pppoe 'error sending pppoe packet: Network is down'

-----Original Message-----
From: arch-general-bounces@archlinux.org on behalf of Thomas Bächler
Sent: Thu 12/8/2011 13:14

Am 08.12.2011 09:19, schrieb Ralf Mardorf:
> Hi
>
> if I run (as root, there anyway still is no user) 'netcfg pppoe' I get 'error sending/receiving pppoe packet: Network is down'.
> I never set up a wired pppoe connection manually before.
>
> Cheers!
>
> Ralf
>
> PS: I've seen that there are 2 entries to edit and one might or might not be a typo. Perhaps I'm missing much more .
> root@PartedMagic:/media/sda9# cat etc/network.d/pppoe
> CONNECTION='ppp'
> INTERFACE=eth0
> PEER='provider'
> PPP_TIMEOUT=10

The problem here is that the 'eth0' interface is not up when pppd is
launched. This would be easily solved by running
ip link set eth0 up
before launching pppd, but netcfg doesn't know that. I always planned to
write a 'pppoe' target for netcfg, but never did.

I can't think of a good workaround right now, maybe someone else has an
idea.

> root@PartedMagic:/media/sda9# cat etc/ppp/peers/alice
> # /etc/ppp/peers/your_provider
>
> plugin rp-pppoe.so
> # rp_pppoe_ac 'your ac name'
> # rp_pppoe_service 'your service name'
>
> # network interface
> eth0
> # login name
> name "[snip]"
> usepeerdns
> persist
> # Uncomment this if you want to enable dial on demand
> #demand
> #idle 180
> defaultroute
> hide-password
> noauth

Seems fine.

> root@PartedMagic:/media/sda9# cat etc/ppp/pppoe.conf

You don't need pppoe.conf - you don't even need the rp-pppoe package.
You only need the ppp package and the peers/pap-secrets files as shown
above.

There is some more information in the HOWTO [1] I wrote years ago, but
much of it is outdated.

[1] https://wiki.archlinux.org/index.php/PPPoE_Setup_with_pppd

+++

Thank you Thomas

so the easiest way for me seems to install a DE with a GUI network manager.
IIUC 'pacman -U' would be the way to install downloaded packages.
A 'meta' package like xfce4 wouldn't do the job, regarding to https://wiki.archlinux.de/title/Xfce I need to download several packages and even those packages might need a whole string of dependencies.

Any ideas what would be the DE, WM that needs less dependencies? Perhaps something frame based like Ion?!

Cheers!

Ralf
 
Old 12-10-2011, 10:31 AM
"Ralf Mardorf"
 
Default netcfg pppoe 'error sending pppoe packet: Network is down'

-----Original Message-----
From: arch-general-bounces@archlinux.org on behalf of Thomas Bächler
Sent: Thu 12/8/2011 17:18

You could first try this:
ip link set eth0 up
netcfg pppoe

This should work. As Javier pointed out below, you can put the 'ip'
command into a PRE_UP statement in your netcfg profile.

+++

Thank you

today I've got some time for my Arch Linux. Thomas, your hint does the job. Parallel to your reply I found
ifconfig eth0 up
netcfg pppoe
which does job too.

Cheers!

Ralf
 

Thread Tools




All times are GMT. The time now is 04:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org