Créer les chap-secrets et pap-secrets :
# Secrets for authentication using CHAP
# client server secret IP addresses
ton_compte * "ton_pass"
Puis faire un petit script qui sera lancé au boot :
#!/bin/bash
modprobe unicorn_pci_atm
sleep 60 # attente que la ligne soit up
# pppd tourne déjà ?
[ -f /var/run/ppp0.pid ] || exec pppd user ton_compte persist
2- PPPOETH
On peut aussi utiliser pppoeth (module unicorn_pci_eth).
Dans ce cas le nouveau ppp n'est pas nécessaire.
Il faut installer le paquet rp-pppoe (normalement déjà installé).
- recompiler tout le noyau sans CONFIG_REGPARAM.
- compiler et installer bewan (n'installes que unicorn_pci_eth.ko sinon kudzu se mélange parfois les pinceaux (c'est encore une erreur bewan)). Voir [*].
- lancer kudzu. Il va faire n'importe quoi mais ce n'est pas grave.
- Lancer system-config-network et configurer une ligne adsl pppoeth. Il insistera pour utiliser eth0, acceptes et continues.
- Ajouter à /etc/modprobe.conf :
alias dsl0 unicorn_pci_eth <== bewan existe dsl0 (encore une erreur bewan)
options unicorn_pci_eth PROTOCOL=pppoe VPI=8 VCI=35
options dsl0 PROTOCOL=pppoe VPI=8 VCI=35
Edites /etc/sysconfig/network-scripts/ifcfg-ton_fai pour avoir quelque chose comme ça (normalement il n'y a que le paramètre ETH à éditer) :
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
USERCTL=yes
PEERDNS=yes
TYPE=xDSL
DEVICE=ppp0
BOOTPROTO=dialup
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
PERSIST=no
SYNCHRONOUS=no
DEFROUTE=yes
USER='ton_compte'
ETH=dsl0 <=== system-config-nework met eth0
PROVIDER=ton_fia
DEMAND=no
ONBOOT=yes
Pour activer la ligne "/sbin/ifup ton_fai" doit marcher. La ligne sera activée au boot.
J'utilise pppoatm car c'est un peu plus rapide.
[*]
installation de bewan :
Le driver est ici : http://www.bewan.fr/bewan/utilisateurs/telechargement/download.php?(...)
$ tar xfz A1012-A1006-A904-A888-0.8.7.tgz
$ cd unicorn/libm
$ make
$ cd ../unicorn_pci
$ KERNEL_SOURCES=/lib/modules/`uname -r`/build make modules
$ mkdir /lib/modules/`uname -r`/kernel/extra
$ cp unicorn_pci_((atm)|(eth)).ko /lib/modules/`uname -r`/kernel/extra
N'installes qu'un des deux modules (unicorn_pci_atm.ko ou unicorn_pci_eth.ko).
$ depmod -a
!!!! Ça doit être fait depuis le nouveau noyau sans CONFIG_REGPARAM !!!!
# L'enfer
Posté par itstimetogo . En réponse au message bewan adsl pci st. Évalué à 2.
FC3 sera plus "cool" (surtout pour pppoatm).
Je n'ai pas une FC2 mais je pense que ça doit marcher.
Il y a deux méthodes :
1- PPPOATM
Il faut recompiler tout le noyau sans CONFIG_REGPARM (c'est un bug bewan). Vérifier que ATM est supporté par le noyau.
Il faut installer le nouveau ppp qui supporte pppoatm :
rpm -Uvh http://fr2.rpmfind.net/linux/fedora/core/development/i386/Fedora/RP(...)
Compiler bewan, installer bewan[*]. Lancer kudzu pour "qu'il te foute la paix" au prochain boot.
Puis configurer "normalement" ppp :
/etc/ppp/options :
lock
usepeerdns
debug
ipparam ppp0
noipdefault
noauth
default-asyncmap
defaultroute
hide-password
noaccomp
noccp
nobsdcomp
nodeflate
nopcomp
novj novjccomp
lcp-echo-interval 20
lcp-echo-failure 300
sync
maxfail 32000
persist
plugin /usr/lib/pppd/2.4.2/pppoatm.so 8.35
Créer les chap-secrets et pap-secrets :
# Secrets for authentication using CHAP
# client server secret IP addresses
ton_compte * "ton_pass"
Puis faire un petit script qui sera lancé au boot :
#!/bin/bash
modprobe unicorn_pci_atm
sleep 60 # attente que la ligne soit up
# pppd tourne déjà ?
[ -f /var/run/ppp0.pid ] || exec pppd user ton_compte persist
2- PPPOETH
On peut aussi utiliser pppoeth (module unicorn_pci_eth).
Dans ce cas le nouveau ppp n'est pas nécessaire.
Il faut installer le paquet rp-pppoe (normalement déjà installé).
- recompiler tout le noyau sans CONFIG_REGPARAM.
- compiler et installer bewan (n'installes que unicorn_pci_eth.ko sinon kudzu se mélange parfois les pinceaux (c'est encore une erreur bewan)). Voir [*].
- lancer kudzu. Il va faire n'importe quoi mais ce n'est pas grave.
- Lancer system-config-network et configurer une ligne adsl pppoeth. Il insistera pour utiliser eth0, acceptes et continues.
- Ajouter à /etc/modprobe.conf :
alias dsl0 unicorn_pci_eth <== bewan existe dsl0 (encore une erreur bewan)
options unicorn_pci_eth PROTOCOL=pppoe VPI=8 VCI=35
options dsl0 PROTOCOL=pppoe VPI=8 VCI=35
Edites /etc/sysconfig/network-scripts/ifcfg-ton_fai pour avoir quelque chose comme ça (normalement il n'y a que le paramètre ETH à éditer) :
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
IPV6INIT=no
USERCTL=yes
PEERDNS=yes
TYPE=xDSL
DEVICE=ppp0
BOOTPROTO=dialup
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
PERSIST=no
SYNCHRONOUS=no
DEFROUTE=yes
USER='ton_compte'
ETH=dsl0 <=== system-config-nework met eth0
PROVIDER=ton_fia
DEMAND=no
ONBOOT=yes
Pour activer la ligne "/sbin/ifup ton_fai" doit marcher. La ligne sera activée au boot.
J'utilise pppoatm car c'est un peu plus rapide.
[*]
installation de bewan :
Le driver est ici :
http://www.bewan.fr/bewan/utilisateurs/telechargement/download.php?(...)
$ tar xfz A1012-A1006-A904-A888-0.8.7.tgz
$ cd unicorn/libm
$ make
$ cd ../unicorn_pci
$ KERNEL_SOURCES=/lib/modules/`uname -r`/build make modules
$ mkdir /lib/modules/`uname -r`/kernel/extra
$ cp unicorn_pci_((atm)|(eth)).ko /lib/modules/`uname -r`/kernel/extra
N'installes qu'un des deux modules (unicorn_pci_atm.ko ou unicorn_pci_eth.ko).
$ depmod -a
!!!! Ça doit être fait depuis le nouveau noyau sans CONFIG_REGPARAM !!!!