[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/network/interfaces file



You can read "man interfaces" for the full details, but this is what it should be...

# Configure ethernet interface
auto eth1
iface eth1 inet static
        address 10.10.10.254
        netmask 255.255.255.0
        broadcast 10.10.10.255

The "auto eth1" tells it to start on boot up, the "iface" configures "eth1" as a "inet" (TCP/IP) "static" address. Then of course the next lines are what that address should be.



At 12:38 PM 13/03/2001, Bill Fowler wrote:
Hello,

I want to make my network config permanent with the /etc/network/interfaces
file in Debian 2.2.  The file is as follows:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
#
# Configure loopback interface
ifconfig lo 127.0.0.1
# Configure ethernet interface
IPADDR="10.10.10.254"
NETMASK="255.255.255.0"
BROADCAST="10.10.10.255"
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}


It doesn't seem to work.  When I boot up the interface does not get
configured.  The message I get is:

Configuring network interfaces: /etc/network/interfaces: option without
interface

Any help would be appreciated...

Bill


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: