Discussion:
/etc/network/interfaces for ppp connection
(too old to reply)
Erdi Balint
2005-07-12 19:30:19 UTC
Permalink
Hi,

I want to configure my eth1 interface to use ppp to the dsl provider on
startup, so I wrote this in the /etc/network/interfaces file:

auto eth1
iface eth1 inet ppp
provider dsl-provider

However it does not seem to work, below are the appropriate lines from
syslog:

Jul 12 21:19:26 localhost pppd[6524]: Plugin rp-pppoe.so loaded.
Jul 12 21:19:26 localhost pppd[6525]: pppd 2.4.3 started by root, uid 0
Jul 12 21:19:26 localhost pppd[6525]: sendPacket: send: Network is down
Jul 12 21:19:26 localhost pppd[6525]: Exit.

If I change the interfaces file to this:

auto eth0
iface eth1 inet dhcp

it does work, but what it outputs makes me think that it is absolutely
erroneous:

irda0: unknown hardware address type 783
sit0: unknown hardware address type 776
irda0: unknown hardware address type 783
sit0: unknown hardware address type 776
Listening on LPF/eth1/00:09:6b:e0:39:ff
Sending on LPF/eth1/00:09:6b:e0:39:ff
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database.

Exiting.

Failed to bring up eth1.

What's more this takes about a minute and it is quite annoying to wait
this extra minute on each system startup. What's strange is that what
makes the ppp connection work afterwards...

Could you help?

Thanks a lot,
Balint
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Marty
2005-07-12 21:30:13 UTC
Permalink
Post by Erdi Balint
Hi,
I want to configure my eth1 interface to use ppp to the dsl provider on
auto eth1
iface eth1 inet ppp
provider dsl-provider
Here's what I use:

auto ppp0
iface ppp0 inet ppp
pre-up ip link set eth1 up
provider dsl-provider eth1
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
gustavo halperin
2005-07-13 20:20:09 UTC
Permalink
Hello

Just use 'pump', this package config the network automatically, work
perfect for me.

Gustavo
Post by Marty
Post by Erdi Balint
Hi,
I want to configure my eth1 interface to use ppp to the dsl provider
auto eth1
iface eth1 inet ppp
provider dsl-provider
auto ppp0
iface ppp0 inet ppp
pre-up ip link set eth1 up
provider dsl-provider eth1
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Continue reading on narkive:
Loading...