[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
Fri Aug 25 16:03:34 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
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-25-2006 09:03 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.
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 08-25-06 09:03  
---------------------------------------------------------------------- 
Any chance that you can try to reproduce this either with current trunk or
with the 1.2.1-release?

Thanks in advance, 

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         
08-25-05 00:37  mdeschamps     Issue Monitored: mdeschamps                    
08-25-06 09:03  bernhardf      Note Added: 0001592                          
======================================================================




More information about the busybox-cvs mailing list