ts-7000
[Top] [All Lists]

[ts-7000] ifup fails when the rootfs is read only

To:
Subject: [ts-7000] ifup fails when the rootfs is read only
From: "gajans.garage" <>
Date: Mon, 27 Oct 2008 15:49:21 -0000
Hi, 
My board is an arm 7260 with a 2.6.21-ts and a Debian file system on
USB. When I make the root fs read only. ifup does not seem to work.
Can someone tell me the files that are being modified when ifup runs ? 

# ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/wireless-tools

pump -i eth0
Failed to bring up eth0.
# mount -n -o remount,rw /
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
# ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/wireless-tools

pump -i eth0
run-parts --verbose /etc/network/if-up.d
# ls -al /etc/network/
total 40
drwxr-xr-x  8 root root 4096 Dec 31 21:25 ./
drwxr-xr-x 67 root root 4096 Dec 31 21:04 ../
drwxr-xr-x 21 root root 4096 Dec 31 21:25 config/
drwxr-xr-x  2 root root 4096 Oct 20  2008 if-down.d/
drwxr-xr-x  2 root root 4096 Oct 20  2008 if-post-down.d/
drwxr-xr-x  2 root root 4096 Oct 20  2008 if-pre-up.d/
drwxr-xr-x  2 root root 4096 Dec 31  1969 if-up.d/
lrwxrwxrwx  1 root root   16 Dec 31 21:11 ifstate -> /dev/shm/ifstate
-rw-r--r--  1 root root  213 Dec 31 21:06 interfaces
-rw-r--r--  1 root root   46 Dec 31 21:17 options
lrwxrwxrwx  1 root root   12 Dec 31  1969 run -> /dev/shm/run/
drwxr-xr-x  2 root root 4096 Dec 31 21:25 scripts/

Regards
Gajan



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] ifup fails when the rootfs is read only, gajans.garage <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU