Created Saturday 20/5/2006
This document describes configuring hotplug/firmware for usb modem support using the UEagle ATM driver.
Using the Eagle ATM driver requires kernel support for the following:
PPP (point-to-point protocol) support PPP support for async serial ports PPP support for sync tty ports PPP Deflate compression PPP BSD-Compress compression PPP over ATM
A relevant ppp package with the pppoatm plugin is also required. The packages are ppp and rp-pppoe. Check that these are installed and install them if not (e.g., via yum):
bash $ rpm -aq|grep ppp
download, compile and intall compile ueagle-atm (creates ueagle-atm.ko and usbatm.ko in /lib/modules/`uname -r`/extras):
bash # wget <url>ueagle-atm-1.3.tar.gz bash # tar zxvf ueagle-atm-1.3.tar.gz bash # cd ueagle-atm-1.3 bash # make bash # make install
Install the eagle atm firmware. Fedora stores firware configuration in /lib/firmware. E.g., to install the eagle 1.1 firmware:
bash # wget <url>ueagle-data-1.1.tar.gz bash # tar zxvf ueagle-data-1.1.tar.gz bash # cd ueagle-data-1.1 bash # mkdir -p /lib/firmware/ueagle-atm bash # cp * /lib/firmware/ueagle-atm
The kernel module pppoatm provides ppp support over atm and the Eagle ATM kernel module compiled and installed in #2 provides usb atm support for the Eagle driver. Load, both pppoatm and ueagle_atm with modprobe(8)
bash # modprobe pppoatm bash # modprobe ueagle_atm
The above modprobe should load several modules. Check that pppoatm and ueagle_atm are loaded using lsmod(8)
bash # lsmod | egrep "pppoatm|eagle" pppoatm 6016 0 ppp_generic 28436 1 pppoatm ueagle_atm 27180 0 usbatm 19072 1 ueagle_atm atm 37684 2 pppoatm,usbatm
Loading ueagle_atm should cause the digital signal processing firmware installed in #2 to be sent to the attached usb modem (which should also reboot and be operational). Monitor /var/log/messages and check for [ueagle-atm] kernel level messages, like the following:
bash # tail -f /var/log/messages May 20 08:40:25 joslyn kernel: usb 1-1: [ueagle-atm] (re)booting started May 20 08:40:38 joslyn kernel: usb 1-1: [ueagle-atm] modem operational May 20 08:40:38 joslyn kernel: usb 1-1: [ueagle-atm] ATU-R firmware version : 44e2ea17
In addition, driver status for the loaded eagle atm driver can be found in the /proc filesystem. E.g.,
bash # cat /proc/driver/ueagle-atm/*
This step configures an internet connection. The connection type depends on the chosen ISP, which may use either:
This configuration option discusses only configuration for pppoa, which requires a named configuation file in /etc/ppp/peers/ and entries in /etc/ppp/pap-secrets
Create a new file /etc/ppp/peers/eagle-atm, with the following content:
user "iamuser@myisp.com" # VP.VC pair for ISP (specify in decimal) plugin pppoatm.so 0.35 noipdefault usepeerdns defaultroute persist noauth mru 1492 mtu 1492 nobsdcomp nodeflate nopcomp novj novjccomp noaccomp -am updetach
Add user and passwd entry into /etc/ppp/pap-secrets and /etc/ppp/chap-secrets. E.g., the following might be used if your ISP is myisp.com and your user name is iamuser with password of mypassword:
"iamuser@myisp.com" * "mypassword" *
The ppp interface for pppoe for the Eagle ATM driver driver uses pppd(1), unlike the old eagle-usb driver (see adsl) which used startadsl and stopadsl. To start the ppp interface, pass the name of the peer configuration created in #xx.E to pppd:
bash # pppd call ueagle-atm
Then check the ppp interface is started with ifconfig(1):
bash # ifconfig -a
To stop the interface:
bash # pppd
Stuart Moorfoot © 20 May 2006 foo@bund.com.au