Page 1 of 1

Can I change the default subnet that resctoox uses?

Posted: Thu Mar 10, 2005 9:36 pm
by ghostcorps
Rathar than rebuilding our network, is there a way to change resctoox's default subnet? (192.168.1.* => 192.168.0.*) I need to ssh into it as I dont have a keyboard. MY housemate and I have looked throug the forums and come to the conclusion that we can't.. but I thought I'd ask before taking the long way.

=^_^=

Posted: Thu Mar 10, 2005 10:53 pm
by nobspangle
you don't need to change your whole network just the machine you want to use to ssh in with.

I think the only way of changing it would be to extract the iso, edit the network configuration and rebuild.

Posted: Fri Mar 11, 2005 12:35 am
by ghostcorps
We tried the first idea but still couldnt connect.. as for editing the network configuration.. where would it be?

Am about to open it up... but I dont like my chances of finding it blind.

Posted: Fri Mar 11, 2005 2:24 am
by ghostcorps
.. ummmm scuse me for being dumb.. but after extracting them..what am I suposed to view/edit these files with? even ultra edit brings up a whole bunch of nothing useful.

:?

Posted: Fri Mar 11, 2005 11:49 am
by nobspangle
extact the iso
gunzip the initrd.gz
mount the initrd as a loopback
edit the file etc/rc.d/rc.inet1
unmout the initrd
gzip the initrd
rebuild the iso

Posted: Tue Mar 15, 2005 8:27 am
by ghostcorps
Hi

Thanks for the help, we got as far as
edit the file etc/rc.d/rc.inet1
And found this:

Code: Select all

$ mkisofs -o initrd /home/cris/xbox/image
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used a1e4
48 extents written (0 Mb)           
$ mdconfig -a -t vnode -f /home/cris/xbox/initrd -u 0
mdconfig: open(/dev/mdctl): Permission denied
$ su
Password:
office#  mdconfig -a -t vnode -f /home/cris/xbox/initrd -u 0
office# ls
image   initrd
office# cd image/
office# ls
office# mount -t cd9660 /dev/md0 /mnt
office# ls
office# cd /mnt
office# ls
office#
what exactly am I suposed to edit? We cant find any network settings :(

=^_^=

Posted: Fri Mar 18, 2005 6:15 am
by ghostcorps
still havnt fixed this :(

we figured that
48 extents written (0 Mb)
Is telling us somethgin is wrong.. but still dont knwo what... if it helps this was mounted as a loopback on a BSD machine....?

Thanks again