Page 1 of 10 123 ... LastLast
Results 1 to 10 of 97

Thread: Sagem Fast 800 with Ueagle-Atm

  1. #1
    Join Date
    Mar 2006
    Beans
    33

    Sagem Fast 800 with Ueagle-Atm

    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:

    Code:
    $ ifconfig
    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:

    Code:
    $ pon ueagle-atm
    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.
    Last edited by aces21; October 31st, 2006 at 03:06 PM. Reason: Also works with Edgy

  2. #2
    Join Date
    Jun 2006
    Beans
    1

    Re: Sagem Fast 800 with Ueagle-Atm

    I'm having problems =/

    I've followed your instructions to the letter, but it's not allowing me to connect.

    This is what ifconfig gives out:

    Code:
    Link encap: Local Loopback
    inet addr:127.0.0.1 Mask: 255.0.0.0
    inet6 addr: ::1/128 Scope: Host
    UP LOOPBACK RUNNING MTU:16436 Metric: 1
    RX Packets: 51 errors: 0 dropped: 0 overruns: 0 frame: 0
    TX Packets: 51 errors: 0 dropped: 0 overrruns: 0
    collisions: 0 txqueuelen: 0
    RX bytes: 4028 (3.9kib) TX bytes:4028 (3.9kib)
    The modem is shown to be operational, but it just won't connect to anything.
    I have a sneaking suspision that the 'local loopback' might have something to do with it. I have a feeling that it's basically connecting to itself (I thought only windows borked like that? )

    Any help you can give would be awesome. I can't use ubuntu until the modem works (can't get it to load X on any graphics settings so I need flgrx).

  3. #3
    Join Date
    Mar 2006
    Beans
    33

    Re: Sagem Fast 800 with Ueagle-Atm

    deepershade,

    if your model is operational, i.e. dmesg|grep ueagle gives you something like:

    usb 1-2: [ueagle-atm] modem operational
    usb 1-2: [ueagle-atm] ATU-R firmware version : 43e2ead7

    then it is likely a login issue. Which ISP are you with - are you sure it uses PPPOATM? If it does, then the most common problem I have seen is that pap-secrets and/or chap-secrets are wrong. You should check you have only the single line in both:

    "myusername" "*" "mypassword" "*"


    I also read that the correct way to startup pppd is to use the 'pon' command. So in this example, it would be:

    Code:
    $ pon ueagle-atm
    And to stop the connection, you would use:

    Code:
    $ sudo poff ueagle-atm
    I haven't tried this yet though. If it works, I'll update my howto. More importantly, you should be able to use the command:

    Code:
    $ plog
    to get diagnostic information from either /var/log/ppp.log or /var/log/syslog. Can you try this - what output do you get from plog? If you don't get anything, what is in /var/log/ppp.log and what do you get from the command:

    Code:
    $tail /var/log/syslog
    Let us know how you get on.

  4. #4
    Join Date
    Apr 2006
    Location
    Northern Abyss
    Beans
    Hidden!
    Distro
    Ubuntu 6.06

    Re: Sagem Fast 800 with Ueagle-Atm

    Thanks a lot for posting this aces. I just upgraded to Dapper and never would have figured all this out on my own - or I would have, but with great difficulty

    I did notice one minor typo in the post, although maybe it doesn't really matter:

    Where you say to do

    Code:
    $ sudo rm /lib/modules/'uname r'/kernel/drivers/usb/net/eagle/eagleusb.ko
    On my machine, it was actually located here:
    Code:
    $ sudo rm /lib/modules/'uname r'/kernel/drivers/usb/net/eagle/eagle-usb.ko
    (note hyphen in the file name)

    Another thing that kind of threw me was that I need to use decimal values for the VP.VC setting...however, there is a page on the eagle-usb wiki that breaks down lots of ISPs and their settings:

    http://faq.eagle-usb.org/wakka.php?wiki=ListConfigADSL

    I'm on Wanadoo in France, so I used:

    Code:
    plugin pppoatm.so 0.38
    deepershade, this could be the issue with your connection problems. At first I had the hex values instead of decimal, and the modem would do everything but connect. So perhaps the ISP table on the wiki at the link above will help you.

    Cheers again aces! 8)

  5. #5
    Join Date
    Jan 2006
    Location
    @ ~/
    Beans
    1,694

    Re: Sagem Fast 800 with Ueagle-Atm

    Im having major problems getting this to work,
    every time i try and run sudo make, it says:
    make[1]: Entering directory '/lib/modules/2.6.15-23-386/build'
    make[1]: *** No targets specified and no makefile found. Stop.
    make[1]: Leaving directory '/lib/modules/2.6.15-23-386/build'
    make[1]: *** [all] Error 2
    I have linux-headers and linux-headers-386 for my kernel version installed, and make installed. (i am on a computer with no internet access, and build-essential has loooooads of dependencies, so im guessing this is the root of the problem, but so far, just having make has been fine for most things)



    EDIT: Have installed build-essential, and exactly same thing happens.
    I redownloaded the .tar.gz from the other mirror, and exactly the same thing happens.
    Last edited by christhemonkey; July 4th, 2006 at 10:31 AM.
    Using ubuntu offline?
    Want to install new programs?
    Check out wubdepends
    If Stupidity got us into this mess,
    then why can’t it get us out?

  6. #6
    Join Date
    Mar 2006
    Beans
    33

    Re: Sagem Fast 800 with Ueagle-Atm

    Quote Originally Posted by christhemonkey
    Im having major problems getting this to work,
    every time i try and run sudo make, it says:


    I have linux-headers and linux-headers-386 for my kernel version installed, and make installed. (i am on a computer with no internet access, and build-essential has loooooads of dependencies, so im guessing this is the root of the problem, but so far, just having make has been fine for most things)



    EDIT: Have installed build-essential, and exactly same thing happens.
    I redownloaded the .tar.gz from the other mirror, and exactly the same thing happens.
    Are you running make from the directory where you unpacked the tar.gz? It says it can't find the makefile, which should be in there. To recap, did you:

    Code:
    $ tar -xvzf ueagle-atm-1.3.tar.gz
    $ cd ueagle-atm-1.3
    $ sudo make
    $ sudo make install

  7. #7
    Join Date
    Jan 2006
    Location
    @ ~/
    Beans
    1,694

    Re: Sagem Fast 800 with Ueagle-Atm

    Yes i did, and it fails at the sudo make stage.
    I have taken a brief look at the makefile, and there isnt much in it.
    It tries to compile things in /lib/modules/'uname -r'/build

    The folder exists on my system, but there is nothing in there...


    EDIT:
    Funnily enough on packages.ubuntu.com , when using the search contents of package option, it does not seem to be able to find my kernel version at all.... only the 2.6.15-22-various_architecture versions.
    Last edited by christhemonkey; July 4th, 2006 at 05:20 PM.
    Using ubuntu offline?
    Want to install new programs?
    Check out wubdepends
    If Stupidity got us into this mess,
    then why can’t it get us out?

  8. #8
    Join Date
    Jan 2006
    Location
    @ ~/
    Beans
    1,694

    Re: Sagem Fast 800 with Ueagle-Atm

    Well, installing the latest kernel (2.6.15-25-686) seems to have solved that problem.
    Sorted!

    EDIT: No it isnt sorted.
    It compiles and installs fine, but when i try and modprobe the ueagle-atm module, it reports that there were errors and then does not load it.
    Being the idiot i am, i decided to force load it, which led to a kernel that would no longer accept any sort of calls.
    Just rebooting now, will let know if problem still occurs.


    EDIT NO2: When loading the ueagle-atm kernel module, it says this:
    FATAL: Module ueagle_atm (/lib/modules/2.6.15-25-686/extra/ueagle-atm.ko):
    Unknown symbol in module, or unknown parameter (see dmesg)
    So here is the relevant dmesg output:
    usbcore: deregistering driver eagle-usb
    [eagle-usb] ADSL Device removed
    [eagle-usb] driver unloaded
    ueagle_atm: disagrees about version of symbol usbatm_usb_probe
    ueagle_atm: Unkown symbol usbatm_usb_probe
    This is using the 1.3 version of the ueagle-atm thing.
    Last edited by christhemonkey; July 4th, 2006 at 06:39 PM.
    Using ubuntu offline?
    Want to install new programs?
    Check out wubdepends
    If Stupidity got us into this mess,
    then why can’t it get us out?

  9. #9
    Join Date
    Jan 2006
    Location
    @ ~/
    Beans
    1,694

    Re: Sagem Fast 800 with Ueagle-Atm

    Should i recompile using the cvs/svn version, you reckon?

    Any opinions, thoughts, advice?
    Using ubuntu offline?
    Want to install new programs?
    Check out wubdepends
    If Stupidity got us into this mess,
    then why can’t it get us out?

  10. #10
    Join Date
    Jun 2006
    Beans
    31

    Re: Sagem Fast 800 with Ueagle-Atm

    Quote Originally Posted by deepershade View Post
    I'm having problems =/

    I've followed your instructions to the letter, but it's not allowing me to connect.

    This is what ifconfig gives out:

    Code:
    Link encap: Local Loopback
    inet addr:127.0.0.1 Mask: 255.0.0.0
    inet6 addr: ::1/128 Scope: Host
    UP LOOPBACK RUNNING MTU:16436 Metric: 1
    RX Packets: 51 errors: 0 dropped: 0 overruns: 0 frame: 0
    TX Packets: 51 errors: 0 dropped: 0 overrruns: 0
    collisions: 0 txqueuelen: 0
    RX bytes: 4028 (3.9kib) TX bytes:4028 (3.9kib)
    The modem is shown to be operational, but it just won't connect to anything.
    I have a sneaking suspision that the 'local loopback' might have something to do with it. I have a feeling that it's basically connecting to itself (I thought only windows borked like that? )

    Any help you can give would be awesome. I can't use ubuntu until the modem works (can't get it to load X on any graphics settings so I need flgrx).

    Hello, might this thread help you. I had exactly the same problem. Notice, specially the #9 post.

Page 1 of 10 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •