cb wrote:
> I am preparing to set up a pppoe connection and due to my limited
> experience with pppoe I had a few questions. I plan to use Redhat 9.0 or
> Fedora c1. I also plan to use the rp-pppoe scripts that are in Redhat.
>
> Lets say that I am using eth0 for my pppoe connection. I understand that
> when I run adsl-setup it creates
> /etc/sysconfig/network-scripts/ifcfg-ppp0 that uses eth0 physically.
>
> 1. What does /etc/sysconfig/network-scripts/ifcfg-eth0 config file have
> in it. In other words is it setup for dhcp, static? I assume that the
> file needs to exists, but during boot if it is not setup correctly it
> will give a fail. If static do you just leave it the IPADDRESS= blank?
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
> 2. If I do ifconfig -a command I assume that the ppp0 interface will
> have an IP, what will eth0 have?
eth0 Link encap:Ethernet HWaddr 00:A0:24:C0:43:C8
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14676 errors:0 dropped:0 overruns:0 frame:0
TX packets:9938 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10263296 (9.7 Mb) TX bytes:793866 (775.2 Kb)
Interrupt:10 Base address:0x23
Note that there's no IP address. You don't need one.
> 3. How do you use kernel pppoe? It seems that adsl-* scripts are user
> space programs?
The best reference I have is
http://csociety-ftp.ecn.purdue.edu/p...les/pppoe.html
although I use rp-pppoe in user space myself.