Eagle USB

From blag.wiki.aktivix.org

Jump to: navigation, search

Contents

Intro

The Eagle USB DSL modem packages work with the Eagle 8051 Analog modems, such as the Sagem F@st 800.

Install

To check if the packages are installed on your system run:

rpm -q eagle kernel-usb-eagle

If they are not installed, you can install them by running as root:

apt-get update
apt-get install eagle kernel-usb-eagle
depmod -a

Or, since you may not be on the 'net yet...you can install them from CDROM:

mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/BLAG/RPMS
rpm -Uvh eagle-* kernel-usb-eagle-*
depmod -a

(Note the package may be renamed kernel-module-usb-eagle in the future.)

Then plug in your modem. To see how it faired, run:

dmesg

Or look in the logfile: /var/log/messages. If you really want to find out lots of info about it, run:

/usr/sbin/lshw

Load driver into kernel

To load the driver into your kernel run as root:

/sbin/modprobe eagle-usb

Configuration

The configuration files are:

/etc/eagle-usb/eagle-usb.conf


You should make a backup of this file before you edit it, in case you want to revert to the original

cp -p /etc/eagle-usb/eagle-usb.conf /etc/eagle-usb/eagle-usb.conf-dist

You will need to make changes to these lines:

#POTS FOR EAGLE
OPTN0=80020066

The OPTNO will need to be changed to the telephone number (guess).

VPI=00000008
VCI=00000023

VPI and VCI need to be changed to values given to you by the Internet Service Provider.

You may need to change the encapsulation:

#The following values are valid for encapsulation :
#MPOA_MODE_BRIDGED_ETH_LLC ----> 1
#MPOA_MODE_BRIDGED_ETH_VC  ----> 2
#MPOA_MODE_ROUTED_IP_LLC   ----> 3
#MPOA_MODE_ROUTED_IP_VC    ----> 4
#MPOA_MODE_PPPOA_LLC       ----> 5
#MPOA_MODE_PPPOA_VC        ----> 6
Encapsulation=00000006

You don't need to change anything if your Internet Service Provider is using PPP over ATM. If they are using a different encapsulation, you'll have to change the values. Translation:

1 = Bridged Ethernet LLC
2 = Bridged Ethernet Virtual Circuit
3 = Routed IP LLC
4 = Routed IP Virtual Circuit
5 = PPP over ATM LLC
6 = PPP over ATM Virtual Circuit

You probably don't need to change other values in the file.

Documentation

Documentation files are in:

/usr/share/doc/eagle-VERSION

Where version is the version you are running such as eagle-1.9.6

Firmware

There are two firmware files:

/usr/share/misc/dsp_code_isdn.bin
/usr/share/misc/dsp_code_pots.bin

If needed you'll probably need the second one, unless you know you are on ISDN (not very common).

Links

http://sl33p3r.free.fr/linux.html http://www.eagle-usb.org

Personal tools