Le mercredi 26 janvier 2005 à 19:25 +0000, David Woodhouse a écrit :
(Originally sent to fedora-config-list but trapped for moderation,
and I
may get volunteers here too...)
Fedora Core 3 supports PPP over ATM (PPPoA) with any DSL modem which the
kernel can use as an ATM device -- currently that's only USB modems
based on the Alcatel SpeedTouch chipset
No :-)
Fedora Core 3 works near perfectly with Bewan modem. I use a Bewan PCI
ST with pppoatm. pppoeth also works but need some tricks. Other people
success to use Bewan USB ST modem.
Package for Bewan modem :
http://feliciano.matias.free.fr/bewan/FC3/
README file is missing :-)
The kernel-2.6.10-1.741_FC3.bewan is just because Bewan does not support
"CONFIG_REGPARM".
I only need to create a /etc/sysconfig/network-scripts/ifcfg-ppp0 file.
NB: Bewan is a proprietary driver.
, but we're working on more
hardware drivers.
The updated packages in rawhide also support PPP over Ethernet over ATM.
(PPPoE with a real DSL modem, not over _real_ Ethernet to an external
DSL modem/bridge).
pppoeth with bewan ("real DSL modem") works.
In ifcfg-ppp0 I set :
ETH=dsl0
That should work fine in FC3 too if you update your
rp-pppoe and install linux-atm packages from the yum repo at
ftp://ftp.infradead.org/pub/linux-atm/
To connect, first you need to install the firmware for your modem
into /lib/firmware (see the speedtouch-firmware.nosrc.rpm in the same
FTP directory) and then you need to configure it. You can just set up an
xDSL connection with system-config-network, then modify the resulting
configuation file /etc/sysconfig/network-scripts/ifcfg-ppp0 as follows.
For PPPoA, remove the 'ETH=' line, and add something like:
LINUX_PLUGIN=pppoatm.so
VCI=0
VPI=38
Replace the '0' and '38' with the appropriate values for your ISP.
There's
a table at
http://linux-
usb.sourceforge.net/SpeedTouch/faq/index.html#q12
which may help.
For PPPoE, also remove the 'ETH=' line, and add:
LINUX_PLUGIN=rp-pppoe.so
BR2684DEV=0
VCI=0
VPI=38
(again with corrected VCI= and VPI= values).
It would be useful if system-config-network could do that for you. Any
volunteers for doing that? There's an update for the 'New Device' UI at
http://david.woodhou.se/ADSLInterfaceDruid.glade but I don't talk
Python, and system-config-network from CVS doesn't even build at the
moment due to autocrap problems.
All we need to do is make 'DSL modem' one of the options in the newly-
renamed 'Hardware device' box. Then if 'DSL modem' isn't chosen,
shade
out the options for VCI, VPI and protocol. If it _is_ chosen, then write
out the config file according to the above instructions.
The UI for _editing_ devices also wants to be updated similarly.
It might also be useful to extend the providerdb with VPI/VCI/proto
information for various ISPs.
In the longer term, kudzu could perhaps learn to look
in /proc/net/atm/devices for ATM-capable devices, but that wouldn't show
up a SpeedTouch modem before its firmware is present anyway, so I
wouldn't want that to be the _only_ way the user can choose to use a DSL
modem.