[GNUz] Voyage setup part2: read-only

Steve Holdoway gnuz@inode.co.nz
Tue, 23 May 2006 16:47:23 +1200


as I said earlier, a lot of stuff is initialised from /ro/<where you expect it to be> on reboot.

...like anything in the following directories...

wifirewall:/# ls -l /ro
total 16
drwxr-xr-x  2 root root 5120 Feb 26 16:17 dev
drwxr-xr-x  3 root root 1024 Feb 26 16:17 etc
drwxr-xr-x  2 root root 1024 Feb 26 16:13 root
drwxrwxrwt  2 root root 1024 Feb 26 16:16 tmp
drwxr-xr-x  2 root root 1024 Feb 26 16:17 usr
drwxr-xr-x  9 root root 1024 Apr 22 09:08 var

for example, config files...

wifirewall:/ro# ls -l etc
total 13
-rw-r--r--  1 root root   44 Feb 26 16:13 adjtime
-rw-r--r--  1 root root   11 Apr 22 09:06 hostname
-rw-r--r--  1 root root   28 Dec 15  2004 issue
-rw-r--r--  1 root root   24 Dec 15  2004 issue.net
drwxr-xr-x  3 root root 1024 Feb 26 16:17 network
-rw-r--r--  1 root root   68 Apr 22 09:05 resolv.conf


Steve
PS. vi works fine on this distro, what other editor could you possible need (:


On Tue, 23 May 2006 16:31:08 +1200
Nick Rout <nick@rout.co.nz> wrote:

> 
> On Tue, 23 May 2006 16:17:08 +1200
> Rik Tindall wrote:
> 
> > Nick Rout wrote:
> > > 
> > > everything is writable after remountrw
> > 
> > I wonder if I've been writing to the ramdisk then? eg /root/ comes back 
> > empty despite #remountrw. I haven't bothered #remountro at close as I 
> > assume it won't matter.
> 
> remountrw
> 
> do the changes to the files in their normal place in th filesystem, eg
> 
> 
> vi /etc/network/interfaces
> 
> not sure if you have to remountro after that, It cannot hurt.
> 
> 
> 
> > 
> > > about the only config file that needs changing is
> > > /etc/network/interfaces
> > 
> > # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
> > # /usr/share/doc/ifupdown/examples for more information.
> > auto lo
> > iface lo inet loopback
> > 
> > auto eth0
> > iface eth0 inet static
> >           address 10.1.1.5
> >           netmask 255.255.255.0
> >           broadcast 10.1.1.255
> > 	 gateway 10.1.1.1
> 
> 
> Use the examples given by the voyage readme and the other docs on their
> site. It is all set out quite nicely.
> 
> isn't your eth0 getting its configuration via dhcp from another machine? All you want here is 
> 
> auto eth0
> iface eth0 inet dhcp
> 
> > 
> > 
> > > and if you want to change the dnsmasq config I suggest you do it in the
> > > dnsmasq.more.conf file
> > 
> > As that file excludes any eth0 reference [ah, that might be what's 
> > missing!], my dnsmasq.conf took this entry only:
> > 
> > # Add other name servers here, with domain specs if they are for
> > # non-public domains.
> > #server=/localnet/192.168.0.1
> > 
> > server=/10.1.1.1
> > #added RT 230506
> > 
> > 
> > Maybe just remove the '/'? ..Or the whole line?
> 
> 
> Nothing needs changing other than /etc/network/interfaces
> 
> > 
> > Dale suggested recently that these ADSL modems have a mini-DNS in them.
> > 
> 
> usually they have DNS.
> 
> -- 
> Nick Rout <nick@rout.co.nz>
> 
> 
> _______________________________________________
> GNUz mailing list
> GNUz@inode.co.nz
> http://lists.ourshack.com/mailman/listinfo/gnuz