@related : [[Modem]] [[unicorn]] [[BeWAN]] * 20080105: Page obsolete, voir [[dapper.fr]] ===== Obsolete ===== === unicorn pour kernel 2.6.11 (2.6.10 etc)=== sudo wget -O- http://rzr.online.fr/docs/contribs/sources.list \ >> /etc/apt/sources.list sudo apt-get update sudo apt-get remove unicorn-source unicorn unicorn-modules sudo apt-get install unicorn-source module-assistant sudo m-a auto-install --text unicorn === [[French]]=== Si vous voulez testez la version 0.9.3 du module pour [[Debian]] , [[Ubuntu]] etc copier coller ligne par ligne dans un terminal : \su root # ou sudo su sous ubuntu apt-get remove unicorn-modules unicorn unicorn-source rm -rf /usr/src/modules/unicorn /usr/src/unicorn* ===# telechargement pour dapper=== #{ si l'ordi peut etre connecté au net : wget -O- http://rzr.online.fr/docs/contribs/sources.list \ >> /etc/apt/sources.list sudo apt-get update sudo apt-get install unicorn-source=0.9.3-2 # apt-get install unicorn # req libc6, non indispensable sudo apt-get install module-assistant g++ gcc make libc6-dev kernel-package sudo apt-get install linux-headers-`uname -r` # [[Ubuntu]] sudo apt-get install kernel-headers-`uname -r` # [[Debian]] sarge #} #{ si connection impossible (copier les fichiers) cd /tmp/ wget http://rzr.online.fr/debian/unicorn-source_0.9.3-1_all.deb wget http://rzr.online.fr/debian/unicorn_0.9.3-1_i386.deb wget -nc -r -l 1 ftp://ftp.ubuntu.com/ubuntu/pool/universe/m/module-assistant/ wget -nc -r -l 1 ftp://ftp.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/ wget -nc -r -l 1 ftp://ftp.ubuntu.com/ubuntu/pool/main/l/linux-kernel-headers/ wget -nc -r -l 1 ftp://ftp.ubuntu.com/ubuntu/pool/universe/k/kernel-image-2.6.11-i386/ # * idem pour les pkg standards si dessus dpkg -i unicorn-source_0.9.3-1_all.deb # (puis installer) dpkg -i unicorn_0.9.3-1_i386.deb #} === Ubuntu dapper : Dependances === @tag: [[Ubuntu]] [[Dapper]] http://packages.ubuntu.com/dapper/misc/module-assistant * http://fr.archive.ubuntu.com/ubuntu/pool/universe/m/module-assistant/module-assistant_0.10.2_all.deb * http://launchpadlibrarian.net/11113051/unicorn-source_0.9.3-20080000ubuntu4_all.deb etc ===# Installation=== sudo m-a auto-install --text unicorn # cat /usr/src/modules/unicorn/README cat /var/cache/modass/unicorn-source*buildlog* dpkg -i /usr/src/unicorn-modules-`uname -e`*.deb apt-cache show unicorn-modules dpkg --contents unicorn-modules--*_0.9.3-1+*_i386.deb # ./lib/modules/2.6.10/extra/unicorn_usb_atm.ko # [[ToDo]] mkdir -p /lib/modules/`uname -r`/extra/ # exemple pour la version usb , sinon remplacer par unicorn_pci_atm cp /lib/modules/2.6.10/extra/unicorn_usb_atm.ko /lib/modules/`uname -r`/extra/ depmod -ae modprobe -v unicorn_usb_atm DebugLevel=2 ActivationMode=4 # ou 1 dmesg | grep unicorn zcat /proc/config.gz | grep CONFIG_REGPARM echo -e "unicorn-source hold" | dpkg --set-selections echo -e "unicorn-modules-$(uname -r) hold" | dpkg --set-selections echo -e "linux-image-$(uname -r) hold" | dpkg --set-selections echo -e "linux-headers-$(uname -r) hold" | dpkg --set-selections echo -e "linux-386 hold" | dpkg --set-selections echo -e "linux-image-386 hold" | dpkg --set-selections echo -e "linux-restricted-modules-common hold" | dpkg --set-selections echo -e "linux-kernel-headers hold" | dpkg --set-selections echo -e "libc6 hold\nlibc6-dev hold" | dpkg --set-selections sudo dpkg -l '*unicorn*' | awk '/^ii/ { print $2 " hold" }' | dpkg --set-selections sudo dpkg -l '*linux-image*' | awk '/^ii/ { print $2 " hold" }' | dpkg --set-selections sudo dpkg -l '*linux-headers*' | awk '/^ii/ { print $2 " hold" }' | dpkg --set-selections sudo dpkg -l '*linux-*-modules-*' | awk '/^ii/ { print $2 " hold" }' | dpkg --set-selections ( ... a suivre ... ) Vos remarques sont bienvenues à : http://forum.ubuntu-fr.org/viewtopic.php?id=8539&highlight=unicorn notes : sous ubuntu hoary et sarge pbs de dependances : libc6 (>= 2.3.5-1)