[BusyBox-cvs] [BusyBox 0000403]: "ifup -a" seems to ignore up/down/pre-up/pre-down in /etc/network/interfaces

bugs at busybox.net bugs at busybox.net
Thu Aug 25 06:11:17 UTC 2005


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=403 
====================================================================== 
Reported By:                Pfudd
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   403
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             08-24-2005 23:11 PDT
Last Modified:              08-24-2005 23:11 PDT
====================================================================== 
Summary:                    "ifup -a" seems to ignore up/down/pre-up/pre-down in
/etc/network/interfaces
Description: 
On boot, "ifup -a" is called, but it doesn't appear to be running the 'up'
option in the /etc/network/interfaces file.  Here's a sample (for usbd0):

iface usbd0 inet static                                           
        down changedns -r  192.168.1.1                            
        up changedns -a  192.168.1.1                              
        address 192.168.129.201                                   
        netmask 255.255.255.0                                     
        network 192.168.129.0                                     
        gateway 192.168.129.1

'changedns' is a shell script that comes with Opie, all it does is add or
remove 'nameserver 9.9.9.9' from /etc/resolv.conf.

The result: on boot, /etc/resolv.conf is empty when it should contain
'nameserver 192.168.1.1'.

The perplexing thing: it works if I run 'ifup -a' by hand.

I'm debating whether this is a BusyBox problem or not.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-24-05 23:11  Pfudd          New Issue                                    
08-24-05 23:11  Pfudd          Status                   new => assigned     
08-24-05 23:11  Pfudd          Assigned To               => BusyBox         
======================================================================




More information about the busybox-cvs mailing list