Home

ADSL2+ x86 Router User Manual – Linux

image

Contents

1. kkk knna a aa ananannannnna 25 Appendix C Firmware upgrades kkk k0 0000 NN NAA AA aaa 28 C 1 ADSL Firmware Flash Upgrade 28 APPENDIX D ADSL Troubleshooting erinit e ss 29 Di Loading Modules a kan ds 29 PAE AEE NG AG da 29 D 3 TXand RX packetSi pama an A LANA 29 D 4 LCP timeouts PPPoE and PPPOA only iii 29 D 5 Authentication Failure PPPoE and PPPOA only 30 D 6 ADSL Troubleshooting escient ean en internet 30 APPENDIX E Programmable LEDs amp Switches 33 Copyright sr o OA 34 This page is intentionally blank SAFETY WARNINGS CAUTION i Risk of explosion if the battery is replaced with an incorrect type Batteries should be recycled where possible Disposal of used batteries must be in accordance with local environmental regulations ii The Router PCB assembly should be installed in a CE compliant Chassis Case that is fully enclosed and can only be opened with the use of a tool or key iii Do not connect the ADSL ports on the Router to the Telecommunications Network until the PCB assembly is enclosed in a suitable Chassis Case iv In the event that the Router PCB assembly has to be removed the ADSL ports on the Router must be disconnected from the Telecommunications Network before opening Do not re connect the ADSL ports until the Router PCB assembly is case is re installed in an enclosed case WARNING Thi
2. Ge0s ADSL2 x86 Router User Manual Linux Revision 0 4 Table of Contents TAURO a A TB AN RR 5 Key Features A techni eden vit od eee ee ete eee ea datant ie terne 5 2 HARDWARE ciutat ANA Gaede thon elfe nn tete ne Re einen AN 6 2 1 Eront Panel Indicatorss steam en en as delete 6 2 2 Rear Panel Connections 7 2 3 External LEDs and Switch Connections 8 2 4 ADSL Filter Connections cer 9 3 Linux ADSL Setup ii A E E 10 AA etc eut 10 3 2 Kernel Configuration nee te LANA 10 3 3 ATM utilities and libraries 16 3 4 Bridging RFC1483 RFC2684 Utility for Bridged Ethernet 16 3 5 PPPOA Packages its asaan aaa NAg NG Mad haban balana naaa banaba 16 3 6 PPPOE Packages chien AT en sn a a NG AA 16 4 Linux ADSL SMOWUMEG shies cate Nman KA ei dan ida DRE teat ak eae da ikani a aai 17 4 1 Bridged Ethernet RFC1483 sie 17 42 PRPOEL Sa nes NG Maam BN sedation ee 17 4 3 PPPOA RFC2364J unnvikeren niende deras de et ati returned 17 SAMPPA anse ANA AGA A ean iota needed A cape pede 18 5 1 PPRoE Setup for ML PPP a a a seed kanga mag a GG eh ath en de Tee nee 18 5 2 PPROA Setup for MLEPPP ia Rent BAN NAAN a 19 5 3 ML PPP Link Monitoring 2 288282828 48008 leidas 20 6 Ethernet Setups es sees one A fn de beatae eee qd LE be 23 Appendix A ADSL Protocol and PVC Values kkk kanaan kkkkana nana 24 Appendix B CLI and ADSL Parameters
3. All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form by any means electronic mechanical photocopying recording or otherwise without the prior written consent of Traverse Technologies Australia Pty Ltd While reasonable efforts have been taken in the preparation of this manual to assure its accuracy the manufacturer and distributors assume no liability resulting from any errors or omissions in this manual or from the use of the information contained herein The information contained herein is subject to change without notice Revisions may be issued to advise of such changes and or additions 34
4. lt lt lt May YY NY YYYY Exit gt lt Help gt Then select Exit to return to the Network device support menu Scroll down to the PPP options and configure as shown Network device support Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt sila PPP point to point protocol support multilink support EXPERIMENTAL filtering support for async serial ports support for sync tty ports Deflate compression BSD Compress compression MPPE compression encryption EXPERIMENTAL over Ethernet EXPERIMENTAL over ATM C ELIGI lt Help gt 12 Select Exit to return to the Kernel Config Menu Scroll up and select Networking support Linux Kernel Configuration Arrow keys navigate the menu Enter selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help for Search Legend built in excluded lt M gt module lt gt A Executable file formats Emulations gt Networking support Device Drivers gt Firmware Drivers gt File systems gt Kernel hacking gt Secu
5. ATM Classical IP over ATM LAN Emulation LANE support lt M gt RFC1483 2684 Bridged protocols Per VC IP filter kludge lt gt 802 1d Ethernet Bridging Distributed Switch Architecture support gt lt gt 602 10 VLAN Support IE GVRP GARP VLAN Registration Protocol support Vv lt Exit gt lt Help gt The select Exit and return to the Network device support menu Scroll down to the Ethernet 10 100 drivers and select Network device support Arrow keys navigate the menu Enter selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt nng la gt IMQ intermediate queueing device support Universal TUN TAP device driver support Virtual ethernet pair device ARCnet support gt PHY Device support and infrastructure gt A Ethernet 10 or 100Mbit Ethernet 1000 Mbit gt Ethernet 10000 Mbit gt Token Ring driver support gt Wireless LAN gt Amel A AA A y yY VV oy lt Exit gt lt Help gt 14 Scroll down to RTL 8139C and configure as a module Ethernet 10 or 100Mbit Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes l
6. RFC1483 E q Belgacom PPPoE 35 or Bridged Eth RFC1483 PPPoA 8 J5 Routed IP RFC1483 Bluewin PPPoE pa PPPoA EH nz NZTelecom NZ Telecom PPPoA o 100 oo Portugal Telecom Ca 35 or Bridged Eth RFC1483 British Telecom PPPoA 0138 3 Bell South PPPoA 35 Earthlink PPPoE 35 24 Appendix B CLI and ADSL Parameters Included in the driver tarball on SourceForge is a simple CLI utility to allow access to the ADSL parameters for each port Usage soloscli g Port Parameter soloscli s Port Parameter Value Notes g get s set Port is the ADSL port number with a value of 0 or 1 Parameter is one of the defined parameters from the list below Value is one of the defined Values associated with the parameter from the list below Parameter Description Action Possible Values FirmwareVersion DSP Firmware Version GET Connected It Indicates if DSL Line is in Data mode or GET True False not OperationalMode Indicates the ADSL mode the port has GET GET trained to 11 413 g lite G Dmt Multimode ADSL2 ADSL2 Inactive State Indicates the state of the DSL Line GET Idle Showtime BitSwapping HandShake Training Discovery Training DELT DELT SpectrumTest TxBitRate Indicates the Line Tx Bit rate GET RxBitRate Indicates the Line Rx Bit rate GET RxATTNDR Maximum attainable rate Downstream GET TxATTNDR Maximum attainable r
7. submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt General setup gt Enable loadable module support gt Enable the block layer gt Processor type and features gt Power management and ACPI options gt Bus options PCI etc gt Executable file formats Emulations gt Networking support gt gt lt erd Hh ph gt lt Help gt 10 Scroll down to Network device support and select it Device Drivers Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt LOC Search Legend 2 built in pi excluded lt i gt module gs lt gt ATA ATAPI MFM RLL support gt SCSI device support gt Serial ATA prod and Parallel ATA experimental drivers Multiple devices driver support RAID and LVM gt Fusion MPT device support gt IEEE 1394 FireWire support gt 120 device support gt Macintosh device drivers gt Network device support ISDN support gt vi lt Select gt t de E a lt Help gt Scroll down to ATM drivers and sel
8. D if e var run ppp0 pid then 21 pids ps C pppd grep pppd awk print SI kill s TERM pids ps C pppd grep q pppd while eq 0 do sleep 1 ps C pppd grep q pppd done function check ping ping I ppp0 c 1 w 1 200 200 200 1 gt dev null if F ne OD then echo Ping check failed kill pppd gen magic start adsl fi E function start adsl if ngin ww then portlist 0 1 else portlist 1 fi for port in Sportlist do A cat sys class atm solos pci port parameters Connected if S A true then ADSL STATE Sport 1 echo Starting PPPD on port S port pppd call dsl port endpoint magic S MAGIC amp gt dev null else ADSL STATE Sport 0 echo ADSL port S port doesn t have line sync if S A false then echo There may be a problem with ADSL port S port fi fi sleep STIMEOUT done kill pppd kill existing nas interfaces for port in 0 1 de if e var run nas port pid then br2684ctl b s 2040 c S port a S port S VPI S VCI ifconfig nas port hw ether 00 0A FA 00 00 0S port up fir done gen magic start adsl while true do check adsl check pppd sleep 3 done 22 6 Ethernet Setup modprobe 8139cp ifconfig ethO 192 168 0 1 up ifconfig eth1 192 168 1 1 up 23 Appendix A ADSL Protocol and PVC Values ed A Protocol A Net TPG Optus
9. ackage Source supplied with linux atm 2 5 0 tar gz 3 5 PPPoA Packages Fedora install the ppp package Debian install the ppp package Source ppp 2 4 4 tar gz from ftp ftp samba org pub ppp 3 6 PPPoE Packages Download rp pppoe 3 10 tar gz from http www roaringpenguin com products pppoe To Install tar xvzf rp pppoe 3 10 tar gz cd rp pppoe 3 10 confiure enable plugin PPPDIR make make install Note PPPDIR is the ppp directory on your system eg usr local lib pppd 2 4 4 16 4 Linux ADSL Showtime IMPORTANT The following examples use Vpi 0 Vci 38 which are the common PVC values for the UK Other countries amp providers are different see Appendix A or check with your provider first 4 1 Bridged Ethernet RFC1483 modprobe atm insmod solos pci ko br2684ctl b s 2040 c 0 a 0 0 38 ifconfig nas0 203 123 69 1 up and for the second port br2684ctl b s 2040 c 1 a 1 0 38 ifconfig nas1 203 123 69 2 up 4 2 PPPoE modprobe atm insmod solos pci ko br2684ctl b s 2040 c 0 a 0 0 38 ifconfig nas0 up pppd plugin rp pppoe so nic nas0 user test password test noauth and for the second port br2684ctl b s 2040 c 1 a 1 0 38 ifconfig nas1 up pppd plugin rp pppoe so nic nas1 user test2 password test2 noauth 4 3 PPPoA RFC2364 modprobe atm modprobe pppoatm insmod solos pci ko pppd plugin pppoatm so 0 0 38 user test pa
10. ate Upstream GET AnnexType Indicates the AnnexType the line has trained GET AnnexA to AnnexB AnnexM AnnexL Inactive TxCellRate Indicates the Cell Transmit Rate GET RxCellRate Indicates the Cell Receive Rate GET PhyTXCellCount Cells transmitted via PHY in TX direction GET PhyRXCellCount Cells received via PHY in RX direction GET PhyCellDropCount Indicates the PHY Cell Drop Count GET RSCorrectedErrorsDn Reed Solomon Corrected Errors count GET Downstream 25 Parameter Description Action Possible Values RSUnCorrectedErrorsDn Reed Solomon UnCorrected Errors count GET Downstream RSCorrectedErrorsUp Reed Solomon Corrected Error count GET Upstream RSUnCorrectedErrorsUp Reed Solomon UnCorrected Error count GET Upstream ShowtimeStart Line up time in seconds GET ATURVendor CPE Vendor Id String GET CNXT ATUCCountry CO country code GET ATURANSIRev CPE ANSI Revision Number for T1 413 GET ATURANSISTD CPE ANSI Standard Version Number for GET 11 413 ATUCANSIRev CO ANSI Revision Number for T1 413 GET ATUCANSIId CO s ANSI Vendor Id GET BRCM TXN ADI Aware ST Alcatel IFX Ciena Catena CTLM Texasins AlcatelME AlcatelNtwrkS Cisco ATUCANSISTD CO ANSI Standard Version Number for GET 11 413 LocalSEF CPE SEF Severely Errored Frames count GET LocalEndLOS CPE LOS Loss of Signal count GET LocalSNRMargin CPE SNR Margin GET Returned in dB LocalLineAttn Downs
11. e upgrades C 1 ADSL Firmware Flash Upgrade Copy the firmware binary image to lib firmware solos Firmware bin Reload the driver with the firmware upgrade module parameter set rmmod solos pci ko insmod solos pci ko firmware_upgrade 1 The modem status LEDs will turn off during the upgrade When the upgrade is complete the LEDs will return to their normal behaviour Status messages are written to var log messages when the upgrade begins and ends Returning FPGA to Data mode is written when the upgrade is complete The firmware upgrade should take between 2 3 minutes to complete 28 APPENDIX D ADSL Troubleshooting D 1 Loading Modules If the ADSL module loads without error messages you should see the following in response to the Ismod command Module Size Used by solos_pci 15751 1 You will probably also see several other kernel modules loaded You should also see the following in the system log syslog command Solos PCI Driver Version 0 07 solos 0000 00 0c 0 Solos FPGA Version 0 03 svn 38 solos 0000 00 0c 0 Registered ATM device 0 solos 0000 00 0c 0 Registered ATM device 1 D 2 Line Sync If you have other devices sharing your ADSL line they must be connected via a filter or splitter to prevent them from interfering with your ADSL service See the connection diagram in Section 2 3 D 3 TX and RX packets If you are using Bridged Ethernet or PPPoE you can use the ifconfig command to check if packet
12. ect it Network device support Arrow keys navigate the menu Enter selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt BITE 7 Ethernet 10 or 100Mbit gt 7 Ethernet 1000 Mbit gt ag Ethernet 10000 Mbit gt Token Ring driver support gt Wireless LAN gt ttt Enable WiMAX Networking options to see the WiMAX driv USB Network Adapters gt Wan interfaces support gt ATM drivers gt FDDI driver support EXITO 11 Configure the Solos driver as a module ATM drivers Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt A lt Y Fujitsu FireStream FS50 FS155 ZeitNet ZN1221 ZN1225 IDT 77201 NICStAR ForeRunnerLE IDT 77252 NICStAR II Madge Ambassador Collage PCI 155 Server Madge Horizon Ultra Collage PCI 25 and Collage PCI 155 C Interphase ATM PCI x575 x525 x531 FORE Systems 200E series ForeRunner HE Series olos ADSL2 PCI Multiport card driver lt CE lt lt lt
13. een DC Power ON Indicator TX RX ADSLO Yellow Flashes with TX or RX data ADSLO LINK ADSLO Green Flashing indicates ADSLO training On indicates ADSLO Line Sync TX RX ADSL1 Yellow Flashes with TX or RX data ADSL1 LINK ADSL1 Green Flashing indicates ADSL1 training On indicates ADSL1 Line Sync TX RX ETHO Yellow Flashes with TX or RX data ETHO LINK ETHO Green On indicates ETHO Link up TX RX ETH1 Yellow Flashes with TX or RX data ETH1 LINK ETH1 Green On indicates ETH1 Link up LEDO Yellow Ei Nap ak eee LED2 Blue IDE Red Flashed with IDE activity 2 2 Rear Panel Connections 12VDC DC Power Input 9 14 VDC 5 5 2 5mm connector centre positive Typical current 1 0A 12W Max current 3 0A Console Serial Port RS 232 115 200 bps 8 Data bits 1 Stop bit No parity ETHO ETH1 Ethernet ports 10 100 Mbps USB USB port Supports USB1 amp USB2 User Switch General purpose user input push button ADSLO ADSL1 ADSL Ports Supports ADSL1 ADSL2 ADSL2 Annex A M 2 3 External LEDs and Switch Connections SO DIMM Socket IDE Mode IDE LED Power Real Time Clock CMOS See below IDE Header Compact Flash Socket 2 4 ADSL Filter Connections If your ADSL connection is also used by POTS Plain Old Telephone System devices such as phones fax machines and answering machines they must be filtered to prevent them from interfering with your ADSL connec
14. i g 1 LocalLineAttn port 1 The result returned by the CLI is in dB using the previous graph it is possible to estimate the line length D6 2 ADSL Standard You can check the line standard via the CLI Linux soloscli g 0 OperationalMode port 0 or Linux soloscli g 1 OperationalMode port 1 Possible values and maximum speeds are Standard Max Speed Downstream 11 413 8Mbps g lite 2Mbps G Dmt 8Mbps Multimode 7 ADSL2 12Mbps ADSL2 26Mbps Inactive 0 For a given line length the ADSL standard can have a large effect on line speed The ADSL standard is configured in the DSLAM and the Geos will automatically detect which standard to use So for example if your ADSL line is configured for G Dmt then the maximum speed possible is 8Mbps At longer line lengths this speed will drop according to the graph Also on very long or noisy lines the Geos may back off l e even though the line is configured for ADSL2 training may fall back to ADSL2 or G Dmt 31 D6 3 Signal to Noise Ratio The above graph is based on a Signal to Noise Ration SNR of 6dB 6dB is the lowest recommend SNR for good quality lines Lower SNR values will produce faster speeds but will be less stable For poor quality or noisy lines an SNR or 10 or 12 dB may be required Normally the target SNR is configured in by the DSLAM Your provider may allow you request a change of this stability profile or even provide a web
15. interface to allow adjustment of the SNR You can check the SNR via the CLI Linux soloscli g 0 LocalSNRMargin port 0 or Linux soloscli g 1 LocalSNRMargin port 1 In the situation where you need to increase the SNR due to a poor quality or noisy line it is possible to override the DSLAM configuration For ADSL2 and a 10dB SNR Linux soloscli s 0 BisAMaxMargin Disable default value is PerCO Linux soloscli s 0 BisAForceSNRMarginDn 0x60 10dB Linux soloscli s 0 ActivateLine Start For a 12dB or 14dB SNR use the following values instead in the above sequence soloscli s 0 BisAForceSNRMarginDn 0x78 12dB soloscli s 0 BisAForceSNRMarginDn 0x8C 14dB 32 APPENDIX E Programmable LEDs amp Switches GPIO 3 is the button SW1 near the USB socket GPIO 6 is LEDO GPIO 25 is LED1 GPIO 27 is LED2 modprobe cs5535_gpio major 222 mask 0x0E000048 for min in 3 6 25 27 do mknod m 0664 dev gpio_ min c 222 min done init the output LEDs echo Otdp gt dev gpio 6 echo Otdp gt dev gpio_25 echo Otdp gt dev gpio 27 Turn LEDs on echo 0 gt dev gpio 6 echo 0 gt dev gpio 25 echo 0 gt dev gpio 27 init the input echo loTPd gt dev gpio 3 Then you should be able to read dev gpio_3 and test for the first character being a 0 Button not pressed cat dev gpio_3 1loTPd While button is pressed cat dev gpio_3 OloTPd 33 Copyright Copyright 2012
16. rity options gt Cryptographic API gt OCF Configuration gt Virtualization gt vit lt Exit gt lt Help gt Next scroll down to Networking options and select it Networking support Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help for Search Legend f built in excluded lt M gt module lt gt Networking support Networking options gt Amateur Radio support gt CAN bus subsystem support gt IrDA infrared subsystem support gt Bluetooth subsystem support gt EXRPC session sockets Wireless gt WiMAX Wireless Broadband support gt RF switch subsystem support gt NON AA Y y lt lt ag lt lt lt Y CAE Hh du N ii lt Help gt 13 Scroll down to the ATM options and configure as shown Networking options Arrow keys navigate the menu lt Enter gt selects submenus gt Highlighted letters are hotkeys Pressing lt Y gt includes lt N gt excludes lt M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt Site lt gt The TIPC Protocol EXPERIMENTAL gt H synchronous Transfer Mode
17. s are being sent and received If packets are being sent but none are received check your ATM settings Do you have the correct VPI and VCI for your provider See Appendix A D 4 LCP timeouts PPPoE and PPPoA only Check var log messages for LCP timeouts These are often caused by incorrect ATM settings Check your VPI and VCI values against the table in Appendix A 29 D 5 Authentication Failure PPPoE and PPPoA only Check your username and password in the following files letc ppp chap secrets letc ppp pap secrets Note Some providers require an provider in the username eg mickey bigpond com or minnie bt co uk D 6 ADSL Troubleshooting The ADSL line speed is affected by several factors Line Length ADSL standard Signal to Noise Ratio SNR You can check the line speeds via the CLI Linux soloscli g 0 RxBitRate port 0 or Linux soloscli g 1 RxBitRate port 1 D 6 1 Line Length As the graph below shows speed is an inverse function of line length Downstream 0 10 20 30 40 50 60 70 80 90 Attenuation dB 0 7 14 22 29 3 6 43 5 0 5 8 65 Distance km 30 Important the above graph is theoretical is does not take into account line condition crosstalk or noise Shorter lines have less attenuation especially at high frequencies so there is more bandwidth for a given SNR You can check the line attenuation via the CLI Linux soloscli g 0 LocalLineAttn port 0 or Linux soloscl
18. s is a class A product In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures 1 Introduction Geos is a family of x86 Router boards with integrated ADSL2 ports Designed with Linux in mind these boards run standard x86 Linux Unlike any other ADSL router on the market there is no need for developers to port code to run on other architectures such as MIPS or ARM The same code used on a PC platform will run on a Geos This radically reduces the software effort to build a Linux appliance These boards are are suitable for a wide range of applications including Firewalls and gateways VOIP and PBX appliances Internet appliances Wireless hotspots Bonding routers 3 party bonding software required ML PPP routers Key Features 500MHz AMD LX800 CPU x86 Instruction set Single or dual integrated ADSL2 ports Annex A M with up to 2 5Mbps upstream per port Annex B option available on request Dual 10 100 Ethernet interfaces Serial console port USB via rear panel Mini PCI expansion slot for Wireless amp VOIP applications 12VDC power Compact Flash slot for diskless operation 44Pin IDE header for optional 2 5 HDD All device drivers are part of the current 2 6 Linux kernel 2 HARDWARE 2 1 Front Panel Indicators Label Colour Function PWR Gr
19. ssword test noauth and for the second port pppd plugin pppoatm so 1 0 38 user test2 password test2 noauth 17 5 ML PPP If your provider supports ML PPP you can bond both ADSL ports together and obtain close to double the speed of a single port 5 1 PPPoE Setup for ML PPP To set up PPPoE you need to create two ethernet interfaces first using br2684ctl USAGE br2684ctl b s 2040 c port num a port VPI VCI br2684ctl b s 2040 c 0 a 0 8 35 br2684ctl b s 2040 c 1 a 1 8 35 ifconfig nas0 up ifconfig nas1 up IMPORTANT The following above examples uses Vpi 8 Vci 35 which are the common PVC values for Australia and France Other countries providers are different see Appendix A or check with your provider first This will create two interfaces nasO and nas1 Then create two files in etc ppp peers called dsl0 and dsl1 as shown below The file dsl0 should contain the following plugin rp pppoe so nic nas0 user yourusername yourprovider noauth defaultroute usepeerdns mp The file ds11 should contain the following plugin rp pppoe so nic nas1 user yourusername yourprovider noauth defaultroute usepeerdns mp Then try pppd call dsi0 Wait 10 seconds for the first PPP session to come up then pppd call dsl1 18 5 2 PPPoA Setup for ML PPP IMPORTANT The following above examples uses Vpi 8 Vci 35 which are the common PVC values for Australia and France Other coun
20. t M gt modularizes features Press lt Esc gt lt Esc gt to exit lt gt for Help lt gt for Search Legend built in excluded lt M gt module lt gt E AMD 8111 new PCI lance support Adaptec Starfire DuraLAN support Broadcom 440x 47xx ethernet support nForce Ethernet support Intel R PRO 100 support Myson MTD 8xx PCI Ethernet support National Semiconductor DP8381x series PCI Ethernet support PCI NE2000 and clones support see help ealTek RTL 8139 C PCI Fast Ethernet Adapter support EXPE RealTek RTL 8129 8130 8139 PCI Fast Ethernet Adapter suppor ABBA AA A AAAA lt Exit gt lt Help gt Finally exit all menus and you will be prompted to save the new config and Select Yes Do you wish to save your new kernel configuration CESCAESC gt to continue Now your kernel is configured Your kernel amp modules will need to be recompiled and installed If you are not sure how to do this please refer the Kernel Rebuild Guide at http www digitalhermit com linux Kernel Build HOWTO html 15 3 3 ATM utilities and libraries Fedora install the linux atm package Debian install the libatm1 dev package Source linux atm 2 5 0 tar gz from http sourceforge net projects linux atm 3 4 Bridging RFC1483 RFC2684 Utility for Bridged Ethernet If you plan to use RFC1483 Bridged Ethernet you will need br2684ctl Fedora supplied with the linux atm package Debian install the br2684ctl p
21. tion The diagram below shows how POTS filters can be connected POTS Filters Phone ADSL Line Direct Connection P to ADSL Router no fitter ES It is also possible for several POTS devices to share the same filter POTS Filter Phone ADSL Line Pa Direct Connection to ADSL Router no filter Important DO NOT place a POTS filter in line between your ADSL Router and the Phone ADSL line 3 Linux ADSL Setup 3 1 Linux Driver The ADSL hardware on the Geos uses the GPL Linux Solos driver Linux kernels 2 6 23 and later are currently supported The following table indicates which driver to use for various kernels Kernel Source Comments 2 6 23 2 6 28 http sourceforge net projects openadsl files linux solos driver Not part of these standard kernels 2 6 29 2 6 30 http sourceforge net projects openadsl files linux solos driver Apply patches to standard kernel 2 6 31 and later Included in standard kernel source 3 0 1 and later Included in standard kernel source 3 2 Kernel Configuration This manual assumes the user is familiar with building 2 6 Linux kernels If you haven t built a kernel before please read the Kernel Rebuild Guide at http www digitalhermit com linux Kernel Build HOWTO html From your kernel source directory run make menuconfig and select Device Drivers Linux Kernel Configuration Arrow keys navigate the menu Enter selects
22. tream Line attenuation GET Returned in dB INPup Number of DMT symbols protected GET against impulse noise in Upstream INPdown Number of DMT symbols protected GET against impulse noise in Downstream RawAttn GET Returned in dB LocalTxPower Upstream Transmit Power GET Returned in dB RemoteTxPower Downstream Transmit Power GET Returned in dB RemoteSEF SEF count received by CO GET RemoteLOS LOS count received by CO GET RemoteLineAttn CO Rx Line Attenuation GET Returned in dB RemoteSNRMargin CO Rx SNR Margin GET Returned in dB LineUpCount Number of times the line has come up in GET SHOWTIME after system reboot Action Startup GET Startup SET DELT L3REQ SpectrumReverb SpectrumMedely SpectrumPilot MtsRequest 26 Parameter Description Action Possible Values ActivateLine Indicates Start Abort on the Line GET None SET Abort Start LineStatus Flag indicating if the Line was given GET True Abort Start It will be false if line is False aborted else true Retrain Option to configure the type of Retrain GET EnableAll EnableOverallOnly permissible on Line Controls the Retrain SET EnableCrcMinuteOnly conditions Disable EnableOverallOnly Status Status of the DSL physical link GET Disabled NoSignal Initializing EstablishingLink Up TotalStart Number of seconds since the beginning of GET the period used for collection of Total statistics 27 Appendix C Firmwar
23. tries providers are different see Appendix A or check with your provider first This will create two interfaces nasO and nas1 Then create two files in etc ppp peers called dsl0 and dsl1 as shown below The file dsl0 should contain the following pppd plugin pppoatm so 0 8 35 user yourusername yourprovider noauth defaultroute usepeerdns mp The file ds11 should contain the following pppd plugin pppoatm so 1 8 35 user yourusername yourprovider noauth defaultroute usepeerdns mp Then try pppd call dsiO Wait 10 seconds for the first PPP session to come up then pppd call ds11 19 5 3 ML PPP Link Monitoring For a permanent ML PPP connection a monitoring script daemon must be used to handle the error conditions that pppd can not Otherwise users will experience excessive delays and freezes in the case where one link goes down or there is a line fault Important The following example and script is written for PPPoE First create two files in etc ppp peers called dslO and dsl1 as shown below The file dsl0 should contain the following plugin rp pppoe so nic nas0 user yourusername yourprovider noauth defaultroute usepeerdns mp The file ds11 should contain the following plugin rp pppoe so nic nas1 user yourusername yourprovider noauth defaultroute usepeerdns mp Second create a script called mlppp sh as shown overleaf TIPS I Don t forget to configure the VPI and VCI for
24. your provider see Appendix A ii Change the file attributes so that mlppp sh is executable iii Run it 20 mippp sh bin bash VPI 8 VCI 35 Timeout for pppd to come up TIMEOUT 5 ADSL_STATE 0 0 ADSL STATE 1 0 MAGIC function gen magic A RANDOM 256 B RANDOM 256 C RANDOM 256 D SRANDOM 256 MAGIC printf 02x 02x 02x 02x SA SB SC SD function check ads1 RESTART_PPP 0 for port in 0 I 7 de A cat sys class atm solos pci port parameters Connected if S A true then if S ADSL STATE Sport eq O then echo ADSL port S port has line sync don t change last magic number start adsl Sport fi ADSL STATE port 1 else if A false then if S ADSL STATE Sport eq 1 then echo ADSL port port lost line sync RESTART_PPP 1 fi ADSL STATE port 0 fi E fis done if SRESTART PPP eq 1 then kill_pppd gen_magic start adsl fi z function check_pppd PROCESSES ps C pppd grep pppd we 1 LINKSUP 0 for port in 01 3 46 A cat sys class atm solos pci port parameters Connected if S A true then LINKSUP SLINKSUP 1 l done if SLINKSUP ne SPROCESSES then echo SLINKSUP links SPROCESSES processes kill pppd gen_magic start_adsl else check ping f kill pppd processes function kill pppd echo Killing PPP

Download Pdf Manuals

image

Related Search

Related Contents

Hamilton Beach 31605N barbecue  Franklin Industries, L.L.C. FCD-400 User's Manual  K600-FE  Indicateurs du patrimoine AVEC  SONATA - Dick Smith Hyundai  携帯式薪コンロ 取扱説明書  Boca Research FSP 44 User's Manual  Applica GRP99 barbecue  En savoir plus avec notre plaquette dédiée à l`éco  Benutzerhandbuch  

Copyright © All rights reserved.
Failed to retrieve file