This howto works with both Dapper and Edgy (at least for me). It hasn't been tested with any older releases so your mileage may vary. I know a lot of people use this modem so I hope this howto helps you all.
You need to compile and install modules, so I assume you already have build-essential and kernel-headers installed. If not:
Code:
$ sudo apt-get install build-essential linux-headers-'uname -r'
where 'uname -r' is your kernel version.
If you can't use apt because your modem isn't working (which is probably why you're here), then you can get the required modules either off your installation CD, or if you upgraded online then go to http://packages.ubuntu.com/ and search for the required packages using the search function on the front page. If you download the .deb files and then copy them onto you Ubuntu system, you can install them using the command:
Code:
$ sudo dpkg -i 'filename'
where filename is the full name of the .deb file.
Both the Dapper and Edgy kernels come with eagle-usb and usbatm modules that need removing. If you already had your modem plugged in, you may even have the eagle-usb module loaded. You can check with:
Code:
$ sudo lsmod | grep eagle
If it returns anything, then unload the eagle-usb module with:
Code:
$ sudo modprobe -r eagle-usb
Now remove the modules from your machine:
Code:
$ sudo rm /lib/modules/'uname -r'/kernel/drivers/usb/atm/usbatm.ko
$ sudo rm /lib/modules/'uname -r'/kernel/drivers/usb/net/eagle/eagle-usb.ko
Now unplug your modem if it isn't already, to make sure its memory is cleared.
Plug it back in again
The latest ueagle-atm v1.3 work with both Edgy and Dapper. You can get it here
Save the file in your home directory, then:
Code:
$ cd ~
$ tar -xvzf ueagle-atm-1.3.tar.gz
$ cd ueagle-atm-1.3
$ sudo make
$ sudo make install
This should now have installed modules called usbatm and uealge-atm in '/lib/modules/'uname -r'/extras/'
Now you need to install the modem firmware. This was easy for me, but it depends on your ISP (I am with Tiscali in the UK).
I had to do the following (it is cut & pasted directly from the Ueagle-Atm wiki, I hope this is o.k.):
Download ueagle-data-1.1.tar.gz from here
Now untar it and change to the created directory:
Code:
$ tar xzf ueagle-data-1.1.tar.gz
$ cd ueagle-data-1.1
Create a subdirectory "ueagle-atm" in the firmware dir. For both Edgy and Dapper this is:
Code:
$ sudo mkdir /lib/firmware/ueagle-atm
Then copy all the files to it:
Code:
$ sudo cp -a * /lib/firmware/ueagle-atm
For me that was all. However you should check the official Ueagle wiki to see if your ISP is known to have problems. The wiki is here
If you're happy your firmware is setup properly, run:
Code:
$ sudo modprobe ueagle-atm
Fingers crossed this doesn't return an error. If all went well, your modem lights should flash for a bit, then both stay on. Now run:
Code:
$ dmesg|grep ueagle
You should see something like:
usb 1-2: [ueagle-atm] modem operational
usb 1-2: [ueagle-atm] ATU-R firmware version : 43e2ead7
If you have problems, take another look at the UEagle wiki for a possible soluton.
Now you just need to setup your internet conection. My ISP uses PPPoA, which is lucky for me because it looks the easiest to setup.
Create a file called ueagle-atm in /etc/ppp/peers, containing the following :
Code:
user "myusername"
plugin pppoatm.so VP.VC
noipdefault
usepeerdns
defaultroute
persist
noauth
You should replace "myusername" with the username you have with your ISP. Also you need to replace VP.VC on the plugin line with the VP.VC pair used by your ISP. These are the same as were required by eagle-usb, EXCEPT that Ueagle-Atm needs DECIMAL values, not hex. For example, the line in my ueagle-atm file is:
Code:
plugin pppoatm.so 0.38
The easiest way to make this file is to run:
Code:
$ sudo gedit /etc/ppp/peers/ueagle-atm
cut and paste the above into gedit, then save.
Now modify /etc/ppp/chap-secrets:
Code:
$ sudo gedit /etc/ppp/chap-secrets
You should have a single line which looks like this:
Code:
"myusername" "*" "mypassword" "*"
again, you should replace "myusername" and "mypassword" with your ISP login.
Once the configuration is ok, you need to run
Code:
$ sudo modprobe pppoatm
$ pon ueagle-atm
To check connection try:
You should see something like:
ppp0 Link encapoint-to-Point Protocol
inet addr:83.30.157.107 P-t-P:213.25.2.202 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:2019 errors:0 dropped:0 overruns:0 frame:0
TX packets:2025 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:724078 (707.1 KiB) TX bytes:184065 (179.7 KiB)
Also, the command 'plog' should return something similar to:
Jun 27 21:25:27 hostname pppd[5179]: Connect: ppp0 <--> 0.38
Jun 27 21:25:32 hostname pppd[5179]: CHAP authentication succeeded
Jun 27 21:25:32 hostname pppd[5179]: CHAP authentication succeeded
Jun 27 21:25:32 hostname pppd[5179]: Cannot determine ethernet address for proxy ARP
Jun 27 21:25:32 hostname pppd[5179]: local IP address 83.30.157.107
Jun 27 21:25:32 hostname pppd[5179]: remote IP address 212.74.111.187
Jun 27 21:25:32 hostname pppd[5179]: primary DNS address 80.225.252.58
Jun 27 21:25:32 hostname pppd[5179]: secondary DNS address 80.225.252.50
Smile You're done. Go browse your favourite sites!
Next time you reboot, if your modem is plugged in the ueagle-atm and pppoatm should load automatically. You just need to run 'pon ueagle-atm'. You could put this in a script or your session startup if you want.
KERNEL UPGRADE
If you upgrade your kernel, be sure to also get the same version kernel headers. The auto updater doesn't do this for you. Either get them with synaptic or else:
Code:
$ sudo apt-get install linux-headers-'uname -r'
Once you are booted into the new kernel, follow the steps above to remove the old eagle-usb modules and make ueagle-atm for your new kernel:
Code:
$ sudo modprobe -r eagle-usb
$ sudo rm /lib/modules/'uname -r'/kernel/drivers/usb/atm/usbatm.ko
$ sudo rm /lib/modules/'uname-r'/kernel/drivers/usb/net/eagle/eagle-usb.ko
Unplug then reconnect the modem, then:
Code:
$ cd ueagle-atm-1.3
$ sudo make
$ sudo make install
$ sudo modprobe ueagle-atm
When the lights stop flashing:
That should be it.
I hope this helps at least one person. I know its a long post, but it was fairly easy, honest. If you have any problems, feel free to ask, I may be able to help. Or you could try the Ueagle wiki, and they also have a forum here which is particularly good if you speak French (of course I don't, I'm english!). Finally, there is a mailing list here with a link to archived posts which I found particularly useful.
Bookmarks