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 unknown interface eth0=eth0.
So ifup claims it is running the script. >>> The script I designate in the script line of the mapping stanza is >>> never being executed >> >> How do you know? > > I put the following in the script as the first line of execution: > > echo 1 > '/etc/network/blah' > > And the test file wasn't created; it was if I ran the script myself. That's generally a good indicator that the script is not being run. > Here are the contents of the script, which has 755 perms and root:root > ownership: Nothing looks wrong here. > When I run the role script as /etc/network/show-roles.sh -q -l eth0", > "INTERNAL-CEPHEUS" is the output. Which is the correct output, according to the man page. 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 arguments other than the interface name, it acts as though -l -q were given as arguments. Adam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]