Bienvenue sur eagle-usb

EagleFaq

InstallClarkConnect

PagePrincipale :: DerniersChangements :: ParametresUtilisateur :: Vous êtes ec2-18-232-169-110.compute-1.amazonaws.com
This is a short instruction how to let ClarkConnect operate with eagle-usb 2.2.0 and PPPoA/PPPoE connection. To reach me send an e-mail : las ( at ) stankiel ( dot ) pointclark ( dot ) net
ClarkConnect is a Linux distribution based on Fedora Core2? designed to be a secure server/gateway computer. For more information about ClarkConnect visit http://www.clarkconnect.org

For now eagle_usb module is compiled for 2.6.9-5-cc - ClarkConnect Home 3.0 R1 (I was unable to compile kernel module for kernel 2.6.9-10.cc ClarkConnect Home 3.0 R2).
You can dowload module and app rpm from http://www.stankiel.pointclark.net/eagle/
ClarkConnect should be installed with PPPoE as connection type. After instalation of CC on first console there is an application designed to do simple configuration tasks.


Installation

(i) download rpm with software eagle-usb-2.2.0-0.1.i386.rpm
(ii) download rpm with kernel module eagle-usb-module-2.6.9-5.cc-2.2.0-0.1.i386.rpm
(iii) logon as root and type :
# rpm -ih /path/to/driver/eagle-usb-2.2.0-0.1.i386.rpm /path/to/driver/eagle-usb-module-2.6.9-5.cc-2.2.0-0.1.i386.rpm
(iv) plug in your modem


Postinstallation

(i) rename files :
# mv /sbin/adsl-start /sbin/adsl-start-pppoe
# mv /sbin/adsl-stop /sbin/adsl-stop-pppoe
(ii) create symlinks :
# ln -s /usr/sbin/startadsl /sbin/adsl-start
# ln -s /usr/sbin/stopadsl /sbin/adsl-stop
(iii) edit /etc/modprobe :

#cut#
alias eth0 eagle_usb
alias eth1 8139too
alias usb-controller uhci-hcd
#cut#

That means that you need to replace "eth0" with "eth1" (and "eth1" with "eth2" if you use DMZ) and add "alias eth0 eagle_usb" at beginning.


Configuration

(i) as root type :
# eagleconfig -e
(a) find your ISP and type its code
(b) type your DSL username provided by your ISP
(c) type your DSL password provided by your ISP
(d) "y" for password encryption
(e) "y" for automatic DNS update
(f) "n" for connection start on boot
(g) "n" for cron connection check
(h) "eth0" for name of modem interface
(ii) wait for connection to be established

(iii) verify files /etc/ppp/chpa-secrets and /etc/ppp/pap-secrets (they should look this same, especially if you don't know that your ISP supports password encryption) - you may safely remove line with "adsl * adsl *"

(iv) reboot system, if prompted for configuring new device choose "Ignore" (during startup you should se "Bringing up interface ppp0 [OK]")

(v) on second console login as root and type :
# ifconfig
you should recive something similar
eth0      Link encap:Ethernet  HWaddr 00:60:4C:16:E6:3E 
          inet6 addr: fe80::260:4cff:fe16:e63e/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST  MTU:65535  Metric:1 
          RX packets:25822221 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:24089230 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:2280568020 (2174.9 Mb)  TX bytes:2450123200 (2336.6 Mb) 
 
eth1      Link encap:Ethernet  HWaddr 00:02:44:34:8C:51 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0 
          inet6 addr: fe80::202:44ff:fe34:8c51/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:25415895 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:25915333 errors:0 dropped:0 overruns:10 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:3595534487 (3428.9 Mb)  TX bytes:2736257192 (2609.4 Mb) 
          Interrupt:11 Base address:0x9400 
 
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0 
          inet6 addr: ::1/128 Scope:Host 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1 
          RX packets:158643 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:158643 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:14854632 (14.1 Mb)  TX bytes:14854632 (14.1 Mb) 
 
ppp0      Link encap:Point-to-Point Protocol 
          inet addr:83.31.29.176  P-t-P:213.25.2.29  Mask:255.255.255.255 
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1 
          RX packets:255789 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:258484 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:3 
          RX bytes:109914706 (104.8 Mb)  TX bytes:128030268 (122.0 Mb) 
 


Troubleshooting

E : Some pages do not open on my network computers
S : You need to edit /etc/rc.d/rc.firewall , find section "RunCommonRules" and at the end of this section before "}" add these lines

#cut#
# MTU problem fix
#
$IPTABLES -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
#cut#



Additional informations
(i) PPPoE need to be tested more (I still don't know if it works, for me it seems OK).