modules

Fanis Dokianakis madf at hellug.gr
Fri Mar 17 12:35:31 EET 2006


On Thu, Mar 16, 2006 at 07:42:45PM +0200, Θωμάς Δασκαλάκης wrote:
> Se ena PC exw 2 ethernet cartes kai thelw na orisw egw poia tha einai i eth0 
> kai poia i eth1 opote tha prepei na orisw tin seira me tin opoia fortwnoun ta 
> antistoixa modules.
> Any suggestions?
> -- 
> Θωμάς Δασκαλάκης
> t.daskalakis at gmail.com
>

man 5 iftab

NAME
       iftab - static information about the network interfaces

DESCRIPTION
       The  file /etc/iftab contains descriptive information about the various
       network interfaces.  iftab is only used by the program ifrename(8)  to
       assign a consistent network interface name to each network interface.

       /etc/iftab  defines a set of mappings.  Each mapping contains an inter‐
       face name and a set of selectors. The selectors allow ifrename to iden‐
       tify  each  network  interface  on  the  system. If a network interface
       matches all descriptors of a mapping, ifrename attempt  to change  the
       name of the interface to the interface name given by the mapping.



Meta me to ifrename metonomazontai ta interfaces

PROSOXH

 It is discouraged to try to map interfaces to default interfaces names
 such  as eth0, wlan0 or ppp0.  The kernel use those as the default name
 for any new interface, therefore most likely an interface will already
 use this name and prevent ifrename to use it. Even if you use takeover,
 the interface may already be up in some cases.  Not  using  those name
 will allow you to immediately spot unconfigured or new interfaces.
 Good  names are either totally unique and meaningfull, such as mydsl or
 privatehub, or use larger integer, such as eth5 or wlan5.   The second
 type is usually easier to integrate in various network utilities.


dhladh to

eth0 mac 00:AB:CD:EF:12:34
eth1 mac 00:BC:DD:FF:EE:22

den einai swsto !!!

alla ayto (pou xrhsimopoiw egw) einai

lan0 mac 00:AB:CD:EF:12:34
lan1 mac 00:BC:DD:FF:EE:22
gigabit0 driver sk98lin
fire0 driver eth1394 businfo 0000:02:05.0
fire1 driver eth1394 businfo 0000:02:06.0

Fanis




More information about the Linux-greek-users mailing list