[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 Feb 21 00:17:35 UTC 2008


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-24-2005 23:11 PDT
Last Modified:              02-20-2008 16:17 PST
====================================================================== 
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, 

---------------------------------------------------------------------- 
 vda - 02-20-08 16:17  
---------------------------------------------------------------------- 
This report is way too old. Since we hear no other such complaints, it
seems to be fixed. 

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                          
02-20-08 16:17  vda            Status                   assigned => closed  
02-20-08 16:17  vda            Note Added: 0005214                          
======================================================================




More information about the busybox-cvs mailing list