Then I executed
pppd eth0
which produced:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3
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?
Yes, sorry for inaccurate instructions in the Wiki. You need to run:
ip link set eth0 up
and only then "pppd eth0" (assuming that everything ele is correct)
I built and installed the 2.6.11.12 kernel with support for PPP (plus suboptinos). Then I installed the PPP 2.4.6 package as
described in the BLFS book from 2006-05-31. Then I followed the instructions on http://wiki.linuxfromscratch.org/blfs/wiki/PPP for
establishing a PPPoE connection:
1. created the /etc/ppp/ip-up and the /etc/ppp/peers/pppoe files;
2. populated the /etc/ppp/pap-secrets and the /etc/ppp/chap-secrets files;
3. issued "ip link set eth0 up" (this produced no output on the terminal);
4. issued "pppd call pppoe" and I got:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3
Failed to create PPPoE socket: Address family not supported by protocol
Then I removed the updetach option from /etc/ppp/peers/pppoe and reissued "pppd call
pppoe". This time I only got:
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.3
The I tried to ping a host on the Internet by IP address and I got:
ping: sendto: Network is unreachable
I also made sure that the ip-up does not get called by adding the following
line at the top:
echo 'ip-up called'
Further help on establishing a PPPoE connection using the PPP package only would be greatly appreciated.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page