LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2010, 05:06 PM   #1
robert77546
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Angry Problem with iface line in /etc/networking/interfaces


Hi,
I have single board computer with 4 built in Ethernet channels but I need 5 so I have added a quad Ethernet card. I have tried to use the interface file in /etc/networks/ to setup the network. I get a message that says:

debian:/etc/network# /etc/init.d/networking restart
Reconfiguring network interfaces.../etc/network/interfaces:20: too many parameters for iface line
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:20: too many parameters for iface line
ifup: couldn't read interfaces file "/etc/network/interfaces"
failed.

My interface file looks like:
# 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
auto eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7
mapping eth0 eth1 eth2 eth3 eth4 eth5 eth6 eth7
map 00:40:9e:00:9d:b2 lan
map 00:40:9e:00:9d:b0 front1
map 00:40:9e:00:9d:b1 front2
map 00:40:9e:00:9d:b3 back2
map 00:10:73:01:40:f4 ipx0
map 00:10:73:01:40:f5 ipx1
map 00:10:73:01:40:f6 ipx2
map 00:10:73:01:40:f7 ipx3
iface lan inet dhcp
iface ipx0 ipx static frame 802.2 netnum 0x001000
iface ipx1 ipx static frame 802.2 netnum 0x002000
iface ipx2 ipx static frame 802.2 netnum 0x003000
iface ipx3 ipx static frame 802.2 netnum 0x004000

What am I doing wrong?

debian:/etc/network# uname -a
Linux debian 2.6.29.6-rt23-rev03 #1 SMP Tue Sep 1 07:30:49 EDT 2009 i686 GNU/Linux
debian:/etc/network#

Thanks

Robert
 
Old 04-01-2010, 05:23 PM   #2
markoellermann
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
I think you are trying to specify too many settings on the iface line.

From the interfaces manual page (man interfaces) -
Quote:
Stanzas defining logical interfaces start with a line consisting of the word "iface" followed by the name of the logical interface. In simple configurations without mapping stanzas this name should simply be the name of the physical interface to which it is to be applied. (The default mapping script is, in effect, the echo command.) The interface name is followed by the name of the address family that the interface uses. This will be "inet" for TCP/IP networking, but there is also some support for IPX networking ("ipx"), and IPv6 networking ("inet6"). Following that is the name of the method used to configure the interface.

Additional options can be given on subsequent lines in the stanza. Which options are available depends on the family and method, as described below. Additional options can be made available by other Debian packages.
So IFAICT, you should have -

Code:
iface ipx0 ipx static
    frame 802.2
    netnum 0x001000
iface ipx1 ipx static
    frame 802.2
    netnum 0x002000
iface ipx2 ipx static
    frame 802.2
    netnum 0x003000
iface ipx3 ipx static
    frame 802.2
    netnum 0x004000
Hope this helps.

Last edited by markoellermann; 04-01-2010 at 05:25 PM.
 
  


Reply

Tags
interfaces, ipx



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost networking after renaming network interfaces rjickity Linux - Newbie 8 07-05-2009 09:55 AM
12.0 ACPI/Ethernet IFace issues gankoji Slackware 7 05-05-2008 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration