Communauté francophone des utilisateurs d'Ubuntu
Les Ubuntu-partys sont l'occasion pour beaucoup d'entre vous d'acquérir les goodies Ubuntu-fr faits par nos petites mains avec amour.
Pour tous les autres, fini le désespoir de les manquer
Il est désormais possible de vous procurer l'objet de votre choix grâce à la boutique en ligne, commune à Framasoft et Ubuntu-fr. Vous pourrez déjà y trouver mugs, t-shirts et, bien sûr, les Framakey Ubuntu-fr Remix.
bonjour,
J'ai décidé de passer sous linux ayant un pc qui pouvait me servir de cobaye, j'ai donc installé ubuntu avec succès , pas besoin de partitionner, j'ai effacé complétement windows.
j'utilise des prises devolo pour ma connection sur mon autre pc fonctionnant sous windows, matériel très pratique ne nécéssitant pas d'installation ou de configurations wifi...
http://www.devolo.fr/fr_FR_cs/produkte/ … anduo.html
bien , mais il faut installer un driver pour linux et un branchement USB (vieux pc, pas de port ethernet)
Donc, j'ai téléchargé ce drivers et l'ai décompressé dans ubuntu, et ça fait des heures que j'essaie vainement d'installer celui ci
j'ai ouvert le terminal et taper la commande suivante : "sudo apt-get install devolo"
trop facile, ça marche pas...évidmment ça doit pas être "devolo", peut être "duo dLan"
"sudo apt-get install duo dLan", marche pas non plus...
j'ai trouvé sur un tutoriel une métode pour chercher la paquet concerné et j'ai tapé ça :
"apt-cache search devolo"....rien trouvé
"apt-cache search duo dLan"...rien trouvé
je sèche, en fait je ne sais pas quoi lui demandé....
si quelqu'un voulait bien me donner la formule magique , ça serait très sympa:)
Hors ligne
oups, j'ai oublié de préciser que j'ai essayé par le biais de synaptic
pas de traces de devolo ou de duo dlan, bien que tout soit sur le burearesultats de recherche pour "devolo" et "duo dlan"...choux blanc:(
Hors ligne
Bonjour,
J'ai moi aussi quelques prises Devolo, très pratique quand on ne veut (peut) pas passer de cable ou que le WiFi est problématique. Par contre je n'ai pas eu à utiliser le driver pour Linux.
En ce qui concerne le pilote, c'est un fichier se terminant par ".tar.gz", ce n'est donc pas un paquet au sens Ubuntu, donc forcément les commandes idoines (apt-get install, aptitude, etc...) ne fonctionnent pas avec lui.
Il faut que tu décompresse le fichier, et probablement que tu le compile avant de pouvoir l'installer.
Met-toi dans un répertoire (/usr/local/src par exemple) et tape:
tar zxvf nom_du_fichier.tar.gz
Ca va décompresser le fichier. Ensuite il faut que tu te mette dans le répertoire créé par la décompression, et il va falloir que tu lance une série de commandes du genre
./configure make sudo make install
la commande 'configure' peut ne pas être disponible pour le driver, si cela ne fait rien, pas d'inquiétude.
Il doit aussi y avoir un fichier README fournis, le mieux est de commencer par le lire, Devolo a peut-être simplifié le processus.
Hors ligne
Merci de t'intéresser à mon cas et pour ton aide
bon ,ça ne marche toujours pas...
J'avais déjà décompressé le fichier mais avec une autre méthode, ouverture de celui ci et "extraire vers", donc il est sur le bureau décompressé.
j'ai malgré tout essayé avec ta méthode ( d'ailleurs c'est celle qui est préconisée sur le readme de dlan), mais j'ai un message d'erreur...
donc comme le dossier est bien présent sur le bureau, je me suis dit "on va continuer comme ça.."
Dans le readme, il y a aussi les manips à faire pour installer soit, le programme, soit le driver USB (et c'est celui qui m'intéresse d'abord car pas de connection ethernet", soit le programme + le driver
j'ai tout essayé, marche pas
je joins des impressions d'écran pour montrer ce que j'ai fait et les erreurs qui s'affichent


le readme explique qu'il faut ouvrir un sous dossier dlanconfig ( je ne le vois pas...)et rentrer les divers codes que tu m'avais d'ailleurs conseillé
Qestion qui va peut être faire rire certains, existe t'il plusieurs façons ou terminaux pour rentrer ces codes???
je sèche
Hors ligne
salut,
selon ton terminal, tu fais le make install dans ton rep /home
alors que tu devrais le faire dans le dossier contenant les drivers à installer ....
Hors ligne
Je ne sais pas ou tu en ai ...
mais tu devrais faire:
cd ~/Desktop/dLAN
appuie sur Tab pour que la ligne soit complétée automatiquement avec le bon nom de dossier.
puis
./configure
make
et enfin
sudo make install
Hors ligne
j'ai tapé :
cd home/marcob/desktop/dlan
résultat "aucun fichier ou repertoire de ce type"
pourtant le dossier est bien décompressé sur le bureau et je ne peux pas accéder à la premeière étape de l'installation
Hors ligne
Hors ligne
Hors ligne
Salut
tu devrais taper
cd /home/marcob/Desktop/dlan
Il manquait la majuscule à Desktop
Hors ligne
houuu, c'est sensible à la casse le terminal?
je vais essayer de suite
Hors ligne
Hors ligne
bon , j'arrive au moins à accéder à mon dossier , c'est un progrès![]()
message d'erreur :
je progresse façon "tango" un pas en avant , deux en arrière......
au niveau du readme , ça donne ça :
c'est pas faute d'avoir essayé toutes les formules magiques, marche pas
README file for
USB drivers and dlanconfig for devolo dLAN;
tested under SUSE Linux and Debian Linux
with kernel versions 2.4 and 2.6
01.03.2005
--------------------------------------------------------------------------------
Contents
1. Overview
2. Requirements
2.1 SUSE
2.2 Debian
2.3 libpcap
3. USB-driver installation (for USB connection)
and the configuration program dlanconfig
3.1 Unpack the compressed tar file
3.2 Installation
4. dLAN duo
4.1 Configuration - one-time application
(e.g. to test the installation)
4.2 Configuration under SUSE Linux permanent installation
4.3 Configuration under Debian Linux permanent installation
5. dlanconfig
5.1 Change password
5.2 Overview of the dLAN network
--------------------------------------------------------------------------------
1. Overview
This readme file contains information about installing the USB driver
and the configuration program dlanconfig under SUSE Linux and
Debian Linux.
We also describe the configuration of the dLAN adapters.
The dLAN duo can be connected either via Ethernet or USB ports.
If both are installed, USB has priority.
More detailed information about Linux commands is available in the
man pages. These are accessed by entering: man ifconfig.
--------------------------------------------------------------------------------
2. Requirements
First of all check that your system and installation are optimised:
2.1 SUSE
SUSE users can use the YAST program to set up the required system
components or to check that they are selected in advance. Use the SUSE
menu system to select -> Yast and enter your root password. In the
selection dialogue 'Install and Remove software' choose the 'Selections'
filter for a list of all of the system components.
To install the USB driver and the configuration program dlanconfig,
the following system components must be selected:
'C/C++ Compiler and Tools'
'Kernel Development' (for installing the USB driver)
2.2 Debian
Debian users wishing to install the USB driver need the appropriate
kernel-headers-xxx, which must be installed in advance. You will find
the exact description (e.g. kernel-headers-2.4.27) by entering
'uname -a'. Type in the following command to install the kernel
headers:
apt-get install kernel-headers-xxx
Depending on the configuration, the subsequent installation takes place
either automatically from the CD or from the Internet, assuming you
have access.
2.3 libpcap
libpcap is a library used by network sniffer programs. It offers these
programs an interface for processing and analysing data packets in
networks. You will need this library if you translate or write this
type of software yourself or if you wish to use the dlanconfig
configuration program.
Under SuSE Linux, the latest libpcap library is installed as standard.
We advise you to check you installation anyway.
Debian users will have to install the libpcab library themselves. Do
this by entering the following command:
apt-get install libpcap0.8-dev
Depending on the configuration, the subsequent installation takes place
either automatically from the CD or from the Internet, assuming you have
access.
Note: The devolo package includes a source text version of the libpcap
library. You should use this source text version if you have a different
distribution which does not include libpcap.
--------------------------------------------------------------------------------
3. USB-driver installation (for USB connection) and the configuration program dlanconfig
3.1 Unpack the compressed tar file
The following command unpacks the compressed tar file on your local
computer:
tar xzvf dLAN-linux-package-1.2.tar.gz
3.2 Installation
After unpacking the tar file, change to the subdirectory dlanconfig and
continue with the installation as follows:
There are three ways to carry out the installation:
- The dLAN configuration program dlanconfig only
- The USB driver for dLAN duo only
- The dLAN configuration program dlanconfig and the USB driver
To install the program dlanconfig only:
./configure
make cfgtool
make install-cfgtool (as root)
To install the USB driver for dLAN duo only:
./configure
make usbdriver
make install-usbdriver (as root)
To install dlanconfig and the USB driver:
./configure
make
make install (as root)
Note: Entering the following command will cause the USB driver to be
automatically loaded after a restart:
cd driver
make installboot (as root)
Note: If error messages are displayed or if the installation aborts,
check that your system meets with the system requirements.
--------------------------------------------------------------------------------
4. dLAN duo
The dLAN duo can be connected either via Ethernet or USB ports.
If both are installed, USB has priority.
After you install the USB driver from devolo, your computer will
recognise all connected dLAN duo adapters as network
interfaces. This means that a dLAN duo can be treated like
any other interface, such as an Ethernet port, for example.
Entering the command 'ifconfig -a' displays all network interfaces.
Each dLAN duo adapter has an identifier that consists of
'dlanusb' and a unique number (e.g. "0" for the first device, "1" for
the second, etc.).
Note: The command 'ifconfig -a' can only be executed as "root".
4.1 Configuration - one-time application
(e.g. to test the installation)
Note: All of the IP addresses named here are examples only.
After listing all of the network interfaces with the command
'ifconfig -a', continue with the configuration with the following
example entries:
ifconfig dlanusb0 198.168.0.1 netmask 255.255.255.0 up
Note: Make sure that the new IP addresses are not already being used in
your network and that they lie within your existing range of IP
addresses!
4.2 Configuration under SUSE Linux permanent installation
Note: This procedure can only be executed as "root".
For the permanent installation of the dLAN duo under SUSE
Linux, you should create a text file with the necessary information for
the adapter.
Enter the following information with any text editor (e.g. edit, pico):
- if IP addresses are to be assigned dynamically:
BOOTPROTO='dhcp'
STARTMODE='hotplug'
Finally, the file is saved under the unique identifier for the
dLAN duo adapter as follows:
/etc/sysconfig/network/ifcfg-dlanusb0
- if IP addresses are to be assigned statically:
BOOTPROTO='static'
STARTMODE='hotplug'
IPADDR='192.168.0.1'
NETMASK='255.255.255.0'
Note: Make sure that the new IP addresses are not already being used in
your network and that they lie within your existing range of IP
addresses!
Finally, the file is saved under the unique identifier for the
dLAN duo adapter as follows:
/etc/sysconfig/network/ifcfg-dlanusb0
To define a gateway, create the file
/etc/sysconfig/network/ifroute-dlanusb0
and enter the following information:
default 192.168.0.253 - -
Note: Make sure that the IP address is the same as that for your
gateway. In most cases the network router is the gateway.
To set the DNS server edit the file /etc/resolv.conf as follows:
nameserver 192.168.0.253
(IP address corresponds to that of the DNS server)
Note: Ensure that the IP address corresponds to that of your DNS server.
In most cases the network router is the DNS server.
Note: dLAN duo adapters cannot be configured graphically with
Yast.
4.3 Configuration under Debian Linux permanent installation
Note: This procedure can only be executed as "root".
Under Debian Linux, the following information is appended to the file
'/etc/interfaces':
- if IP addresses are to be assigned dynamically:
auto dlanusb0
iface dlanusb0 inet dhcp
- if IP addresses are to be assigned statically:
auto dlanusb0
iface dlanusb0 inet static
address 192.168.0.1
netmask 255.255.255.0
gateway 192.168.0.253 (only required for Internet access)
The file '/etc/resolv.conf' must be edited to ensure that the name
resolution is executed correctly. Enter the IP address for the DNS
server into this file, e.g.
nameserver 192.168.0.253 (only required for Internet
access)
Note: Ensure that the IP address corresponds to that of your DNS server.
In most cases the network router is the DNS server.
Note: Operating multiple network interfaces can potentially cause
problems with DNS and routing. We recommend the use of DHCP for the
assignment of IP addresses so that the DNS and gateway are adapted
automatically.
--------------------------------------------------------------------------------
5. dlanconfig
Note: The following procedure can only be executed as "root".
Entering 'dlanconfig' allows you to configure a HomePlug network. The
following entry is an example that adds your first local dLAN adapter
(dlanusb0) to your network:
/usr/local/sbin/dlanconfig dlanusb0
Note: If a local dLAN adapter is connected via Ethernet, then
dlanconfig will be started with the identifier of the appropriate
network card, i.e. if it is connected to the first network card,
then the entry is as follows:
/usr/local/sbin/dlanconfig eth0
A menu assists you to set the network password for the local and/or
remote dLAN devices. You also have an overview of all dLAN devices
installed in your network.
5.1 Change password
You can change the HomePlug password for the local dLAN adapter in the
menu by selecting the option 'Set local network password' and entering
the new network password. You will then see a brief confirmation if the
password was changed without error.
You can change the HomePlug password for a remote dLAN adapter in the
menu by selecting the option 'Set remote network password'. Enter the
new network password and the Security ID of the remote dLAN adapter. The
Security ID is printed on the back of every dLAN adapter. Please observe
that entering the Security ID (XXXX-XXXX-XXXX-XXXX) is case sensitive.
You will then see a brief confirmation if the password was changed
without error.
5.2 Overview of the dLAN network
For an overview of all of the remote dLAN adapters installed in your
dLAN network, use the menu to access the option 'List remote devices'.
dlanconfig also displays the connection rates between the local and the
remote dLAN devices.
If a remote dLAN adapter is highlighted with the * symbol, then the
connection rate value has not been updated.
--------------------------------------------------------------------------------
désolé si c'est un peu long, mais c'est nécessaire pour des explications qui auraient été confuses sans tout ça
Hors ligne
Et si tu essaie
sudo ./configure
?
Hors ligne
Bonjour,
Il te demande de regarder le fichier "config.log", pour savoir ce qui ne va pas, que contient ce fichier justement?
En ce qui concerne le fichier README, il te donne les explications nécessaires à la construction des divers outils et pilotes fournis.
En particulier, pour compiler un pilote, il est nécessaire d'installer les "headers" de l'OS, peut-être est-ce cela qui manque dans ton cas.
Le README indique d'installer le fichier kernel-headers..., mais Debian(Ubuntu) a changé le nom en linux-headers...
Pour Ubuntu/Debian, il faut taper une commande du genre:
apt-get install linux-headers-version_de_ton_noyau
Pour connaitre la version de ton noyau, tape:
uname -r
Exemple avec la version actuelle de Gutsy:
uname -r 2.6.22-14-generic apt-get install linux-headers-2.6.22-14-generic
Essaye ca, et relance un ./configure pour voir, et si un problème survient, affiche le contenu du fichier config.log
Hors ligne
oui, j'avais essayé de faire cette manip, mais cela n'avait rien donné...
hier soir, je me suis souvenu que j'avais un vieux pc qui traînait au sous sol donc j'ai récupéré un connecteur pci pour avoir le port ethernet qui me faisait défaut pour une connection et cela fonctionne donc parfaitement.
j'ai contourné le problème sans le résoudre
je réponds donc depuis le pc avec linux et j'ai réessayé de taper le code pour installer les kernels et cela a fonctionné....peut être manquait il une connection internet pour cela...c'est le chat qui se mord la queue
voilà le résultat
marcob@marcob-desktop:~$ uname -a Linux marcob-desktop 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686 GNU/Linux marcob@marcob-desktop:~$ apt-get install linux-headers-2.6.17-10-generic E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? marcob@marcob-desktop:~$ sudo apt-get install linux-headers-2.6.17-10-generic Password: Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Reading state information... Fait Les paquets suivants seront mis à jour : linux-headers-2.6.17-10-generic 1 mis à jour, 0 nouvellement installés, 0 à enlever et 192 non mis à jour. Il est nécessaire de prendre 909ko dans les archives. Après dépaquetage, 28,7ko d'espace disque supplémentaires seront utilisés. Réception de : 1 http://fr.archive.ubuntu.com edgy-security/main linux-headers-2.6.17-10-generic 2.6.17.1-10.34 [909kB] 909ko réceptionnés en 1s (468ko/s) (Lecture de la base de données... 88543 fichiers et répertoires déjà installés.) Préparation du remplacement de linux-headers-2.6.17-10-generic 2.6.17-10.33 (en utilisant .../linux-headers-2.6.17-10-generic_2.6.17.1-10.34_i386.deb) ... Dépaquetage de la mise à jour de linux-headers-2.6.17-10-generic ... Paramétrage de linux-headers-2.6.17-10-generic (2.6.17.1-10.34) ... marcob@marcob-desktop:~$
par "Il est nécessaire de prendre 909ko dans les archives." il entend quoi par là???, ça va être fait automatiquement ou je dois retrousser mes manches??
on va retenter de faire une installation de ce driver pour le port usb, non mais:P
Hors ligne
je viens d'installer la libpcap, chose que je n'arrivais pas non plus à faire sans connection...
la commande ./configure a marché, make aussi et make install aussi:)
voilà donc la dernière étape qui me pose problème :
marcob@marcob-desktop:~/Desktop/dlan$ sudo make install
make install in tool
make[1]: entrant dans le répertoire « /home/marcob/Desktop/dlan/tool »
mkdir -p /usr/local/sbin && \
/usr/bin/install -c -m700 dlanconfig_son dlanconfig /usr/local/sbin
mkdir -p /usr/local/man/man8 && \
/usr/bin/install -c -m 644 dlanconfig.8.gz /usr/local/man/man8
make[1]: quittant le répertoire « /home/marcob/Desktop/dlan/tool »
make install in driver
make[1]: entrant dans le répertoire « /home/marcob/Desktop/dlan/driver »
mkdir -p /lib/modules/2.6.17-10-generic/extra && /usr/bin/install -c -m 644 devolo_usb.ko /lib/modules/2.6.17-10-generic/extra
/sbin/depmod -a && /sbin/modprobe devolo_usb
In order to have your usb driver running and configured
at boot, you should go into driver directory and type
make installboot
make[1]: quittant le répertoire « /home/marcob/Desktop/dlan/driver »
marcob@marcob-desktop:~/Desktop/dlan$ make installboot
make: *** Pas de règle pour fabriquer la cible « installboot ». Arrêt.
marcob@marcob-desktop:~/Desktop/dlan$comment ça ? pas de règle pour fabriquer la cible "installboot"????![]()
Hors ligne
Re,
Il te dis de "you should go into driver directory", donc place-toi dans le répertoire voulu, ca doit être celui que l'on voit plus haut dans ton screenshot, /home/marcob/Desktop/dlan/driver.
Fait un
cd /home/marcob/Desktop/dlan/driver
Et retape la commande.
Hors ligne
question toute bête : ça a marché?
marcob@marcob-desktop:~/Desktop/dlan/driver$ sudo make installboot Password: ./installboot.sh: 22: [[: not found Starting boot-installing procedure... ./installboot.sh: 38: [[: not found Ubuntu /etc/ ./installboot.sh: 86: [[: not found ./installboot.sh: 128: [[: not found installing devolo in /etc/init.d.... creating link to devolo in /etc/rc2.d creating link to devolo in /etc/rc3.d creating link to devolo in /etc/rc5.d marcob@marcob-desktop:~/Desktop/dlan/driver$
Hors ligne
hum ... pas terrible les premiers lignes, un peu bugué le script d'installation devolo ... enfin...
A en juger par les dernière information affichées, on peut supposer que l'installation s'est correctement effectuée.
Tu peut faire quelques petites vérifications de base, genre un
ls -l /etc/init.d/devolo /etc/rc*/*devolo
Pour voir si le script a bien été mis en place.
Mais à priori, ca devrait fonctionner maintenant, il ne te reste plus qu'à tester ce pilote.
Hors ligne
non ,cela ne fonctionne pas...
j'ai refait les manips depuis ./configure, rien à faire le port usb ne fonctionne pas
voilà ce que donne la commande
marcob@marcob-desktop:~$ ls -l /etc/init.d/devolo /etc/rc*/*devolo -rwxr--r-- 1 root root 2198 2007-11-05 15:18 /etc/init.d/devolo lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc2.d/K80devolo -> /etc/init.d/devolo lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc2.d/S99devolo -> /etc/init.d/devolo lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc3.d/K80devolo -> /etc/init.d/devolo lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc3.d/S99devolo -> /etc/init.d/devolo lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc5.d/K80devolo -> /etc/init.d/devolo ktop:~$ lrwxrwxrwx 1 root root 18 2007-11-05 15:18 /etc/rc5.d/S99devolo -> /etc/init.d/devolo marcob@marcob-desktop:~$
ou alors...c'est dû au port usb en 1.1 et il le faudrait en 2.2 ...
Hors ligne
Bonjour,
Apparament, rien n'indique dans le README que l'USB doit être en version 2, regarde peut-être dans les autres documents fournis.
Sinon, pas évident de voir ou ca cloche, tu peut déjà procéder à quelques vérifications:
- regarder si le module est chargé, en tapant un 'lsmod' et en regardant si le driver devolo est présent dans la liste affichée
- faire les manipulations données dans le README (regarde les parties concernant Debian), ouvre une console et passe en root, la plupart des commandes réseau nécessitent d'être root;
- présence de l'interface dlanusb dans le fichier /etc/interfaces
- taper un 'ifconfig -a' et vérifier que l'interface dlanusb est présente
- essayer la commande donnée "dlanconfig dlanusb0' et voir si un message d'erreur s'affiche
Regarder dans les fichiers de log du système, dans /var/log/messages et/ou /var/log/syslog si quelque chose concernant dlanusb a été loggué.
Hors ligne