Analog Devices® Eagle® driver for *BSD |
![]() |
|
Building User PPP with ATM supportFreeBSDIn order to support PPPoA (PPP over ATM), ppp must be recompiled with the appropriate options. First, make sure that you have ppp sources installed into /usr/src/usr.sbin/ppp. Enter this directory and edit the file named Makefile. Remove the line: NOATM= true Then, run the following command: % make && make install NetBSDUser ppp is not part of the base system in NetBSD. It is available through pkgsrc as net/userppp: % cd /usr/pkgsrc/net/userppp % make install clean User ppp will be installed as /usr/pkg/sbin/ppp. OpenBSDIn order to support PPPoA (PPP over ATM), ppp must be recompiled with the appropriate options. First, make sure that you have ppp sources installed into /usr/src/usr.sbin/ppp. Go into the /usr/src/usr.sbin/ppp/ppp directory and edit the file named Makefile. Remove the line: NOATM= /usr/include/netnatm required Then run the following commands: % cd .. % make && make install Configuring PPPHere is a sample /etc/ppp/ppp.conf configuration file that you can use to connect to your Internet Service Provider: default: set log Phase Warning add! default HISADDR set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set login adsl: set log local CCP Command DNS IPCP LCP TCP/IP Warning set device PPPoA:ueagle0:8.35
Synchronizing the modem
Note to XWindow users:
It is recommended that you run xconsole to see the debug messages that are
sent to the system console. % /usr/local/sbin/adsl-up If you see something like: eagleflash: Sorry, no pre-firmware modem found!
simply unplug and replug your modem from the USB and re-run the adsl-up script using
the above command. ueagle0: vendor 0x1110 ADSL-USB Modem, rev 1.00/50.0b, addr 2 ueagle0: End System Identifier: xx:xx:xx:xx:xx:xx The adsl-up script then wait for the modem to synchronize. It can take a while. You should see the lights on your modem starting to blink. Once your modem is synchronized, the adsl-up script will display your connection properties on the standard output: DSL Delineation : GOOD DSL DownRate : 6368Kb/s DSL UpRate : 640Kb/s The values DownRate and UpRate should reflect your connection speed. Establishing/Closing PPP sessionOnce your modem is synchronized (using adsl-up), you can use the following command to establish a PPP session with your provider: % ppp -dedicated adsl
To close the connection, you can simply kill the ppp process by using the "killall ppp" command. |
Copyright © 2003, 2004 Damien Bergamini. All rights reserved. Contact me for more informations on this site. |