Differences between revisions 30 and 32 (spanning 2 versions)
Revision 30 as of 2003-03-29 01:46:48
Size: 2630
Editor: dsl093-039-042
Comment: remove password update
Revision 32 as of 2003-03-31 21:23:05
Size: 2728
Editor: dsl-208-151-246-210
Comment:
Deletions are marked like this. Additions are marked like this.
Line 64: Line 64:
Start here if you already have a stage2 tarfile. Substitute the device name of the Compact flash for /dev/hde. Start here if you already have a stage2 tarfile. Substitute the device name of the Compact flash for /dev/hde.  You can do a "wget http://www.personaltelco.net/download/bewitched/stage2-0.2.tgz" to get the file.
Line 74: Line 74:
tar -C /mnt/tmp -xzf ../stage2-0.2.tgz tar -C /mnt/tmp -xzf stage2-0.2.tgz
Line 86: Line 86:
At this point the CF is ready for first boot in the soecris box. Go to ConfigureBeWitched fro infromation on how to configure. At this point the CF is ready for first boot in the soecris box. Go to ConfigureBeWitched for infromation on how to configure.

Version 0.2

This procedure must be done as root on a machine that can mount a Compact Flash device as a disk drive.  You will also need grub installed.  If starting from a stage2 tarfile skip the first part of this.

wget http://www.personaltelco.net/download/bewitched/stage1-0.2.tgz
mkdir readonly
cd readonly
tar xzf ../stage1-0.2.tgz

edit etc/resolv.conf.default
        set up as appropriate for network config
                suggestion use maus as a nameserve
                    untill final configuration:
                "search personaltelco.net"
                "nameserver 204.245.198.90"

edit root/bin/mountu
        change /dev/hda4 to /dev/hda2

edit boot/grub/menu.lst
        change line: "terminal --timeout=10 serial console"
        to: "terminal --timeout=0 serial"
        change all instances(3) of: "console=tty0"
        to: "ramdisk_size=16384"
        delete lines "savedefault"

edit etc/init.d/mountall.sh
        before the line "mount -avt nonfs,nosmbfs,noncpfs,noproc"
        change "mkfs.ext2 /dev/hda3" to "mkfs.ext2 /dev/ram0"

edit etc/fstab
        change "/dev/hda3" to "/dev/ram0"
        delete lines for floppy, cdrom and swap (/dev/hda4)
        change "/dev/hda4" to "/dev/hda2"

edit etc/modules
        change "ne" to "natsemi"
        delete line "hostap_plx"

edit etc/default/pcmcia
        change "PCIC=i82365"" to "PCIC=yenta_socket"

edit etc/network/interfaces
        configure network as appropriate
                iface wlan0 inet static
                        address 10.11.0.1
                        netmask 255.255.255.0
                        network 10.11.0.0
                        broadcast 10.11.0.255
                        pre-up iwconfig wlan0 mode master
                        pre-up iwconfig wlan0 channel 1
                        pre-up iwconfig wlan0 essid www.personaltelco.net


# remove ssh keys
rm etc/ssh/*key*

mkdir dev proc var
ln -s /var/tmp tmp

at this point you can run "tar czf ../stage2-0.2.tgz *"

Start here if you already have a stage2 tarfile. Substitute the device name of the Compact flash for /dev/hde. You can do a "wget http://www.personaltelco.net/download/bewitched/stage2-0.2.tgz" to get the file.

dd if=/dev/zero of=/dev/hde count=100
cfdisk /dev/hde
        hde1 125m       bootable
        hde2 (the rest of the device)

mkfs.ext2 /dev/hde1
mount /dev/hde1 /mnt/tmp

tar -C /mnt/tmp -xzf stage2-0.2.tgz
umount /mnt/tmp

mkfs.ext3 /dev/hde2

run grub and enter the following commands
        device (hd0) /dev/hde
        root (hd0,0)
        setup (hd0)
        quit

At this point the CF is ready for first boot in the soecris box. Go to ConfigureBeWitched for infromation on how to configure.

--- BrianBeattie


[CategoryBeWitched]

BuildCompactFlash (last edited 2007-11-23 18:01:39 by localhost)