Test this package on dapper :

deb dapper main
deb-src dapper main

Debian / Etch

su root -c "apt-get install aptitude sudo"
sudo aptitude install \
  wget module-assistant bzip2 quilt kernel-package debhelper linux-headers-2.6-686 
sudo aptitude install \
  linux-headers-2.6.18-5 linux-headers-2.6.18-5-686 linux-kbuild-2.6.18 \
  file html2text intltool-debian kernel-package \
  libssl0.9.8 libcompress-zlib-perl libmagic1 libmail-sendmail-perl po-debconf 
dpkg -i unicorn-source_0.9.3-2_all.deb 
m-a --text -k  /usr/src/linux-headers-2.6.18-5-686/  -l -2.6.18-5-686 a-i unicorn

OK : Ubuntu / Dapper : OK

1st Add my repository :

sudo apt-get install unicorn-source=0.9.3 module-assistant make gcc g++
sudo m-a prepare ; m-a a-i --text unicorn

(will give more details on asked)

I remember it compiled fine :

  • unicorn-modules-2.6.15-21-386_0.9.3-1+2.6.15-21-386+2.6.15-21.32_i386.deb
  • Linux ubuntumwm 2.6.15-27-386 #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006 i686 GNU/Linux # Dapper



sudo apt-get install subversion unp wget automake1.4 libgtk1.2-dev
svn co svn:// # [[Debian]]
cd unicorn
unp *.tar.gz
# cd unicorn ... debuild etc # [[dpkg]]

This trouble does not happend anymore :

// TODO //#~pcoval{
// unicorn/include/unicorn.h
// #define KVER 2_6_14_4
// /usr/local/src/linux-
#if ( KVER == 26144 )
#define skb_unlink(skb) {}
// TODO //#~pcoval}

not compiling : 0.8.7 and

Error : Sync but lost connection

# [[17183107.220000]] unicorn_usb: MSW state: SHOWTIME L0
modinfo /lib/modules/*/unicorn*usb*
# filename:      /lib/modules/2.6.15-27-386/unicorn_usb_atm.ko
# author:        fisaksen(a)
# description:    ATM driver for the ST UNICORN ADSL modem.
# license:        Proprietary
# vermagic:      2.6.15-25-386 preempt 486 gcc-4.0
cat  /proc/version
# Linux version 2.6.15-27-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Fri Dec 8 17:51:56 UTC 2006

Differents version apparently

Mine was :

modinfo  ./unicorn_usb_atm.ko
filename:       ./unicorn_usb_atm.ko
vermagic:       2.6.15-21-386 preempt 486 gcc-4.0


rm /lib/modules/2.6.15-27-386/extra/unicorn_*eth*
rm /lib/modules/2.6.15-27-386/extra/unicorn_*pci*
mkdir -p /lib/modules/`uname -r`/extra/
cp /lib/modules/2.6.10/extra/unicorn_usb_atm.ko /lib/modules/`uname -r`/extra/

[[PPP]] @


sudo apt-get install make gcc libc6-dev linux-headers-2.6.12-9-386 g++


unicorn-modules.txt · Last modified: 2014/09/04 22:11 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki