This shows you the differences between two versions of the page.
— |
dapper.fr [2012/11/04 20:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | @related: [[dapper]] [[ubuntu]] [[syslinux]] [[distro]] | ||
+ | |||
+ | |||
+ | Le [[modem]] [[bewan]] [[ASDL]] [[http://www.essaymill.com/|research papers]] fonctionne avec le [[driver]] [[unicorn]] sous [[dapper]] voici la démarche avec l'aide de Enji : | ||
+ | |||
+ | ===== installer le livecd ===== | ||
+ | |||
+ | télécharger : l'iso de dapper votre choix, ie : | ||
+ | |||
+ | ed2k://|file|xubuntu-6.06.1-desktop-i386.iso|685314048|d4e0e990286ea21d11cc2453e8c368c0| | ||
+ | |||
+ | et les packages précompilés suivants : | ||
+ | |||
+ | * http://rzr.online.fr/debian/unicorn-modules-2.6.15-26-386_0.9.3-20080000ubuntu4+2.6.15-26-386+2.6.15-26.47_i386.deb | ||
+ | * http://launchpadlibrarian.net/11113052/unicorn_0.9.3-20080000ubuntu4_i386.deb | ||
+ | |||
+ | ===== booter linux ===== | ||
+ | |||
+ | |||
+ | Verifier que la version corresponde (Si c'est pas le cas, c'est pas bloquant on peut recompiler voir plus bas ...) | ||
+ | |||
+ | cat /proc/version | ||
+ | Linux version 2.6.15-26-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-lubuntu5)) #PREEMPT Thu Aug 3 02:52:00 UTC 2006 | ||
+ | |||
+ | Ensuite Installer les .deb telechargés précédements et essayez d'etablir la connection | ||
+ | : (sauter les étapes suivantes nécessaires à la compilation du driver) | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== telecharger les packages ===== | ||
+ | |||
+ | ==== le package unicorn a jour ==== | ||
+ | |||
+ | http://launchpadlibrarian.net/11113051/unicorn-source_0.9.3-20080000ubuntu4_all.deb | ||
+ | |||
+ | dpkg -i unicorn-source*.dev | ||
+ | |||
+ | Mais on ne peut rien en faire si les dependances ne sont pas satifaites : | ||
+ | |||
+ | ==== telecharger les packages manquants ==== | ||
+ | |||
+ | En partant du live CD, il manque des dépendances : | ||
+ | |||
+ | Liste des packages a telecharger | ||
+ | |||
+ | |||
+ | make_3.80+3.81.b4-1_i386.deb | ||
+ | debhelper_5.0.7ubuntu13_all.deb | ||
+ | kernel-package_9.001ubuntu15_all.deb | ||
+ | quilt_0.42-2_i386.deb | ||
+ | dpkg-dev_1.13.11ubuntu6_all.deb | ||
+ | html2text_1.3.2a-3_i386.deb | ||
+ | debconf-utils_1.4.72ubuntu9_all.deb | ||
+ | binutils_2.16.1cvs20060117-1ubuntu2.1_i386.deb | ||
+ | gcc_4.0.3-1_i386.deb | ||
+ | diffstat_1.41-1_i386.deb | ||
+ | gawk_3.1.5-2build1_i386.deb | ||
+ | libc6-dev_2.3.6-0ubuntu20_i386.deb | ||
+ | linux-kernel-headers_2.6.11.2-0ubuntu18_i386.deb | ||
+ | cpp_4.0.3-1_i386.deb | ||
+ | gcc-4.0_4.0.3-1ubuntu5_i386.deb | ||
+ | gcc-4.0-base_4.0.3-1ubuntu5_i386.deb | ||
+ | linux-headers-2.6.15-26_2.6.15-26.47_i386.deb | ||
+ | linux-headers-2.6.15-26-386_2.6.15-26.47_i386.deb | ||
+ | build-essential_11.1_i386.deb | ||
+ | coreutils_5.93-5ubuntu4_i386.deb | ||
+ | g++_4.0.3-1_i386.deb | ||
+ | g++-4.0_4.0.3-1ubuntu5_i386.deb | ||
+ | libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386.deb | ||
+ | libstdc++6_4.0.3-1ubuntu5_i386.deb | ||
+ | |||
+ | |||
+ | |||
+ | On peut les recupperer en passant parcourant les liens, par exemple pour (m-a) : | ||
+ | |||
+ | * 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://packages.ubuntu.com/dapper/devel/gcc-3.4 | ||
+ | * etc | ||
+ | |||
+ | |||
+ | etc (aidez moi a completer la liste pour (dapper et/ou [[Debian]] sarge) | ||
+ | |||
+ | |||
+ | ===== installer les packages un a un ===== | ||
+ | |||
+ | ls *.deb | xargs -n 1 dpkg -i | ||
+ | |||
+ | |||
+ | ===== recompiler le module pour le noyau courant ===== | ||
+ | |||
+ | |||
+ | sudo m-a --text prepare && sudo m-a a-i --text unicorn | ||
+ | |||
+ | A ce moment la : | ||
+ | |||
+ | ls /lib/modules/2.6.15-26-386/extra | ||
+ | # unicorn_pci_atm.ko unicorn_pci_eth.ko unicorn_usb_atm.ko unicorn_usb_eth.ko | ||
+ | |||
+ | ===== connecter le modem ===== | ||
+ | |||
+ | Fichiers de configuration + scripts: | ||
+ | |||
+ | se referer a | ||
+ | http://doc.ubuntu-fr.org/materiel/modem_adsl_bewan | ||
+ | |||
+ | |||
+ | Charger le module : | ||
+ | |||
+ | sudo depmod -aev | ||
+ | sudo modprobe -r unicorn_usb_atm | ||
+ | sudo modprobe -v unicorn_usb_atm ; dmesg | tail | ||
+ | |||
+ | Si ca échoue : | ||
+ | |||
+ | cd /lib/modules/2.6.15-26-386/extra | ||
+ | sudo insmod unicorn_usb_atm.ko | ||
+ | |||
+ | |||
+ | Puis | ||
+ | sudo unicorn-pppoatm connect | ||
+ | |||
+ | Les fois suivantes: | ||
+ | sudo unicorn-pppoatm start | ||
+ | |||
+ | |||
+ | Configurer [[PPP]] : | ||
+ | |||
+ | sudo pppconfig # (etc) | ||
+ | pon dsl-provider ; plog ; ifconfig ppp0 | ||
+ | |||
+ | ping www.tele2.fr | ||
+ | |||
+ | |||
+ | Vous pouvez vous aretter la si le modem marche bien pour vous, | ||
+ | pour les curieux ca continue : | ||
+ | |||
+ | |||
+ | |||
+ | ===== upgrader le systeme ===== | ||
+ | |||
+ | ===== recompiler le module pour le noyau a jour ===== | ||
+ | |||
+ | Il faut telecharger les linux-headers du nouveau noyau: | ||
+ | |||
+ | sudo apt-get update ; apt-get install linux-headers | ||
+ | # linux-headers-2.6.15-29_2.6.15-29.60_i386.deb | ||
+ | # linux-headers-2.6.15-29-386_2.6.15-29.60_i386.deb | ||
+ | |||
+ | Puis recompiler: | ||
+ | sudo m-a prepare | ||
+ | sudo m-a a-i --text unicorn | ||
+ | |||
+ | Les fichiers de configuration et le script unicorn-ppptoatm sont toujours bons. | ||
+ | |||
+ | rebooter | ||
+ | |||
+ | ===== tester ===== | ||
+ | |||
+ | cat /proc/version | ||
+ | Linux version 2.6.15-29-386 (buildd@terranova) (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 PREEMPT Mon Sep 24 17:18:25 UTC 2007 | ||
+ | |||
+ | Pour se connecter, voir plus haut | ||
+ | et tester si ca marche toujours, (c'est le cas pour 2.6.15-29-386, avec gcc4) | ||
+ | |||
+ | |||
+ | ===== Ensuite ? ===== | ||
+ | |||
+ | * recompiler un kernel plus recent et tester : | ||
+ | ** http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.8.tar.gz | ||
+ | ** http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2 | ||
+ | |||
+ | * tester pour les autres distros : Voir [[gutsy]] , [[Debian]], [[Knoppix]] etc | ||
+ | |||
+ | ===== Notes en vrac : Obsolètes ===== | ||
+ | |||
+ | |||
+ | Je suis pres a vous aider sous Debian sarge, | ||
+ | commencez par installer le systeme ( http://debian.org ) | ||
+ | et contactez moi a http://rzr.online.fr/contact.htm | ||
+ | |||
+ | |||
+ | Je recherche des testeurs [[Debian]], [[Knoppix]] , [[Ubuntu]] ... | ||
+ | pour ajouter la nouvelle version du paquet dans [[Debian]], merci | ||
+ | |||
+ | Je travaille a fournir un .deb pour debian sarge et dapper (version CD) ... | ||
+ | |||
+ | |||
+ | Si vous voulez testez la version 0.9.3 du module : | ||
+ | # copier coller ligne par ligne dans un terminal # | ||
+ | |||
+ | |||
+ | |||
+ | === Methode rapide : QUI NE MARCHERA PAS=== | ||
+ | |||
+ | Utiliser un module precompilé pour [[Ubuntu]] dapper BETA | ||
+ | |||
+ | http://rzr.online.fr/debian/unicorn-modules-2.6.15-21-386_0.9.3-1+2.6.15-21-386+2.6.15-21.32_i386.deb | ||
+ | |||
+ | cat /proc/version # sudo apt-get install linux-image-2.6.15-21-386 | ||
+ | Linux version 2.6.15-21-386 (buildd@rothera) | ||
+ | (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) | ||
+ | #1 PREEMPT Fri Apr 21 16:43:33 UTC 2006 | ||
+ | |||
+ | Manque de bol, j'ai compilé sur une beta .. il faut donc recommencer la procedure de compilation : [[unicorn-modules]] | ||
+ | |||
+ | Pour [[Ubuntu]] Dapper [[CD]] : | ||
+ | |||
+ | cat /proc/version | ||
+ | Linux version 2.6.15-23-386 (buildd@rothera) | ||
+ | (gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)) | ||
+ | #1 PREEMPT Tue May 23 13:49:40 UTC 2006 | ||
+ | |||
+ | |||
+ | === Methode classique : recompiler le module=== | ||
+ | |||
+ | === 0/ Si vous pouvez avoir access au net avec (un autre modem)=== | ||
+ | |||
+ | Tout ceci peut s'automatiser en ajoutant mon repo [[APT]] : | ||
+ | http://rzr.online.fr/contribs.htm | ||
+ | |||
+ | Puis : | ||
+ | |||
+ | sudo apt-get install module-assistant unicorn-source make gcc g++ | ||
+ | sudo m-a prepare && sudo m-a a-i --text unicorn | ||
+ | |||
+ | Sinon : | ||
+ | |||
+ | === 1/ Il faut recuperer les packages suivants :=== | ||
+ | |||
+ | http://rzr.online.fr/debian/unicorn-source_0.9.3-1_all.deb | ||
+ | http://rzr.online.fr/debian/unicorn_0.9.3-1_i386.deb | ||
+ | |||
+ | Ensuite les installer : | ||
+ | |||
+ | sous un shell root ( "sudo su" sous [[Ubuntu]] ) : | ||
+ | |||
+ | cd . # ou le repertoire ou les fichiers sont telechargés | ||
+ | dpkg -i unicorn_*.deb | ||
+ | dpkg -i unicorn_source*.deb | ||
+ | |||
+ | === 2/ compilation=== | ||
+ | |||
+ | Puis lancer : | ||
+ | |||
+ | m-a prepare ; m-a a-i --text unicorn | ||
+ | |||
+ | === 3/ Dependances=== | ||
+ | |||
+ | Il manquera probablement des dependances a ce moment la telecharger : | ||
+ | |||
+ | # apt-get install gcc-3.4 g++ gcc gcc-4.0 kernel-package # kernel-header | ||
+ | |||
+ | ou bien dans le cas ou Internet est indisponible copier les manuellement : | ||
+ | |||
+ | http://packages.ubuntulinux.org/dapper/misc/module-assistant | ||
+ | |||
+ | # http://ftp.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/g++-3.4_3.4.4-6ubuntu8.1_i386.deb | ||
+ | # http://ftp.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/cpp-3.4_3.4.4-6ubuntu8.1_i386.deb | ||
+ | |||
+ | |||
+ | puis installez les un a un un ( dpkg -i ... ) | ||
+ | |||
+ | puis retour 2/ | ||
+ | |||
+ | |||
+ | et etablir la connection | ||
+ | |||
+ | === Misc=== | ||
+ | |||
+ | http://forum.ubuntu-fr.org/viewtopic.php?id=1092&p=2 | ||
+ | |||
+ | http://forum.ubuntu-fr.org/viewtopic.php?pid=191692#p191692 | ||