Rory Campbell-Lange <[EMAIL PROTECTED]> wrote:
>I need to set my static IP address on startup to x.y.z.141. 
>My router is on x.y.z.1
>My network is on x.y.z.0
>
>I'm confused about what I should be writing in the interfaces file.
>ifup gives the error: 
>    "/etc/network/interfaces: too many parameters for iface line"
>    
>for the line below.
>
>iface eth0 inet static address 194.159.148.141 netmask 255.255.255.0 

I think you need to put each of "address 194.159.148.141" and "netmask
255.255.255.0" on separate lines. The interfaces(5) man page has details
of the format.

Cheers,

-- 
Colin Watson                                     [EMAIL PROTECTED]

Reply via email to