Angel Tsankov wrote:
I managed to setup a connection using RP-PPPoE after enabling PPP in the kernel and installing RP-PPPoE, WvStreams, WvDial and OpenSSL. However, I'd rather not install all 4 packages when a single one would do.

OpenSSL is useful for other things to link to, but I agree about the others.

/etc/ppp/pppoe-server-options:

Does pppd read /etc/ppp/pppoe-server-options?

require-pap
login
lcp-echo-interval 10
lcp-echo-failure 2

I would normally put these sort of options in a file in /etc/ppp/peers and then run pppd with the option to call the name of the file. So if you put the options in /etc/ppp/peers/ISP you would launch pppd with

pppd call ISP

Besides, I setup /etc/ppp/pppoe.conf according to the instructions I received from my ISP.

Yes, but does pppd read /etc/ppp/pppoe.conf? In my experience it reads the name of the file in /etc/ppp/peers that you point it towards, it reads /etc/ppp/options, if your ISP uses pap authentication it reads /etc/ppp/pap-secrets and if your ISP uses chap authentication it reads /etc/ppp/chap-secrets

In fact, I just copied the file when PPPoE was setup with RP-PPPoE. There was no /etc/resolv.conf in the case with RP-PPPoE, so I decided not to create one in the case with PPP only.

If you launch pppd with the option usepeerdns it will create the file /etc/ppp/resolv.conf
If you want, you can make a symbolic link pointing at it from /etc

ln -s ppp/resolv.conf /etc/resolv.conf

Then I executed
pppd eth0
which produced:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3

It looks to me like this launches pppd to use the interface /dev/eth0 with just the options in /etc/ppp/options

Then I ping'ed an Internet host by IP address and got:
ping: sendto: Network is unreachable

Can someone help me setup a PPPoE connection using only the PPP package?

Read man pppd. And Google. There's tons of stuff out there about networking issues.

Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to