Re: Mapping stanzas in interfaces file not working

2004-02-03 Thread Chris Eisley
On Tue, 2004-02-03 at 10:04, Adam Aube wrote: > One thought - what if ifup stops parsing the script line after the first > space? Try putting the path to the script and its arguments in quotes > in /etc/network/interfaces. If that doesn't work, try altering the script > so that, given no argume

Re: Mapping stanzas in interfaces file not working

2004-02-03 Thread Thomas Hood
> mapping eth0 >script /etc/network/show-role.sh -q -l Here is one of the problems. You are not allowed to provide arguments ("-q", "-l") to the mapping script. -- Thomas Hood <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Troubl

Re: Mapping stanzas in interfaces file not working

2004-02-03 Thread Adam Aube
On Tuesday 03 February 2004 12:37 pm, Chris Eisley wrote: > On Tue, 2004-02-03 at 07:46, Adam Aube wrote: >> Have you tried manually running "ifup -v eth0"? If so, what was the >> output? > > Did just now; What I get is: > > Running mapping script /etc/network/show-role.sh -q -l on eth0 > Ignoring

Re: Mapping stanzas in interfaces file not working

2004-02-03 Thread Chris Eisley
On Tue, 2004-02-03 at 07:46, Adam Aube wrote: > On Tuesday 03 February 2004 04:42 am, Chris Eisley wrote: > > The problem is that when I put the mapping entry in, ifup gives the > > error "Ignoring unknown interface eth0=eth0." > > Have you tried manually running "ifup -v eth0"? If so, what was th

Re: Mapping stanzas in interfaces file not working

2004-02-03 Thread Adam Aube
On Tuesday 03 February 2004 04:42 am, Chris Eisley wrote: > The problem is that when I put the mapping entry in, ifup gives the > error "Ignoring unknown interface eth0=eth0." Have you tried manually running "ifup -v eth0"? If so, what was the output? > The script I designate in the script line

Mapping stanzas in interfaces file not working

2004-02-03 Thread Chris Eisley
Hello, I'm trying to switch over from commenting/uncommenting relevant iface stanzas (man pages call them stanzas, so no snipes about my lack of understanding of the word) in /etc/network/interfaces to using the mapping mechanism described in the interfaces man pages. The problem is that when I p