J’ai un routeur et je souhaiterais l’utiliser pour me connecter à internet sous debian. Par quoi devrais je commencer dans la configuration du routeur? et que faire ensuite?
Merci
heu…lire la doc du routeur…
et avoir un fichier /etc/network/interfaces qui ressemblent à ça :
[code]# This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
The loopback network interface
auto lo
iface lo inet loopback
The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp[/code]
C’est quoi exactement ce “allow-hotplug”, c’est en rapport avec le type de connection (rj45, usb …) ? le wifi ?
euh…je sais pas…
En fait je suis connecté à mon routeur(speedtouch) par cable ethernet. Et comme le net se configure tout seul à l’installation grâce au dhcp, je n’ai jamais modifié ce fichier.
Je crois que ça veut dire qu’on peut brancher “à chaud”.
Ben voyons usinagaz, il faut lire le manuel…
Ben c’est à dire que … moi je lis le manuel qu’à l’heure du thé, en fait
[quote]Lines beginning with the word “auto” are used to identify the physical interfaces to be brought up when ifup is run with the -a option. (This option is used by the system boot scripts.) Physical interface names should follow the word “auto” on the same line. There can be multiple “auto” stanzas. ifup brings the named interfaces up in the order listed.
Lines beginning with "allow-" are used to identify interfaces that should be brought up automatically by various subsytems. This may be done using a command such as "ifup --allow=hotplug eth0 eth1", which will only bring up eth0 or eth1 if it is listed in an "allow-hotplug" line. Note that "allow-auto" and "auto" are synonyms.
[/quote]
En gros c’est la même chose, sauf que la méthode pour monter une interface peut différer et du coup avoir une incidence au démarrage de ton système. Je dis cela car j’ai vu certaines personnes avoir des problèmes avec un allow-hotplug qu’ils n’avaient pas avec auto. L’apparition d’interface du type ethx_rename était mise en évidence.
Je n’en sais pas plus sauf que j’utilise auto et que cela fonctionne très bien.
[quote=“usinagaz”]Ben c’est à dire que … moi je lis le manuel qu’à l’heure du thé, en fait [/quote]