Differences between revisions 15 and 16
Revision 15 as of 2003-11-05 02:44:26
Size: 8706
Editor: 12-203-13-49
Comment:
Revision 16 as of 2003-11-05 02:45:02
Size: 8680
Editor: 12-203-13-49
Comment:
Deletions are marked like this. Additions are marked like this.
Line 214: Line 214:
<--- tested to here --->

Miyamoto Musashi

Cogito *nix. Ergo sum. (I think *nix. Therefore I am.

See [http://www.personaltelco.net/index.cgi/musashi ptp-musashi for more info]

Other Interests

[http://www.bookoffiverings.com/ The Book of 5 Rings - Miymoto Musashi]

[http://www.carleton.ca/~rgray/TaoTeChing/ Tao Te Ching - Lao Tzu]

[http://www.nada.kth.se/~enge/tao.html Tao of Programming]

[http://groups.google.de/groups?selm=2gv256%243ug%40illuminati.io.com&output= Why I'm a geek]

NewCloneArmyBox Config

Here in will be the recipe needed to install a clean, effecient and viable build of Debian, NoCat and related apps to turn a NewCloneArmyBox into a powerfull node on the PTPnet

(These are rough notes taken by JeffWillard and DarrinEden from the actions of KeeganQuinn which will be hammered into a step by step recipe)

Conventions

  • text surrounded by quotes " " are things you must type either at the prompt or in response to a questions

=== The Debian Install === (booting using bf2.4 floppies and network install)

  • download the boot floppies from:

    [http://ftp.debian.org/debian/dists/stable/main/disks-i386/current/images-1.44/bf2.4 Debian Boot Floppies]

    • rescue.bin
    • root.bin
    • driver-1.bin
    • driver-2.bin
    • driver-3.bin
    • driver-4.bin
  • build boot floppies (from a linux system)
    • dd if="file.bin" of=/dev/fd0 bs=1024 conv=sync;sync
  • at boot prompt: mash the enter key (start 2.4 kernel vs. 2.2)
  • select Language and keyboard
  • hard disk (/dev/hda)
    • Create swap partition (128M)
    • Root partition --bootable (128Mb)
    • logical partition (.5 Gig)
    • 2nd logical partition (.5 Gig)
    • home (whatever is left over)
    • all FS type Linux exect swap which is linux swap

    • Init swap partition
    • init pri (ext3)
    • mount root filesystem
    • repeat above for var,usr,and home

  • kernel install
    • insert rescue disk followed by each driver disk as prompted
    • configure device driver modules
    • kernel/drivers/net
    • nic (de4x5)
  • configure network
  • install the base system
    • network
  • make system bootable "mbr"
  • reboot
  • set time
  • set root pwd
  • remove pcmcia packages? "yes"
  • install ppp? "no"
  • atp configuration "edit by hand"
  • run taskel? "no"
  • deselect? "no"
  • update configuration file? "yes"
  • Configuring debconf
    • select Readline
    • select medium
    • don't touch keymap
    • system wide readible directories? "yes"
    • serial "autosave once"
  • upgrade glibc? "Y"
  • update system? "yes"
  • mail config? "5"
  • mandb? "yes"
  • rebuild database? "yes"
  • erase any additional .deb files? "yes"
  • "apt-get update"
  • "apt-get install deborphan"
  • "deborphan"
  • "dbkp -P <all packages listed ---space in between>" (shouldn't this be dpkg -P ....????

  • "deborphan -a"
  • "dpkg -P <all packages you don't want>" which files (see below and cat up here!??? (pppoeconf pppconfig pppoe)

  • "deborphan -a"
    • repeat several times to ensure all packages are removed that you don't want

  • apt-get install ssh lynx ftp (don't we want ssh for mgt? and lynx used below)

The NoCat Install

  • "/sbin/ifconfig -a"BR

    • {{{ eth0 Link encap:Ethernet HWaddr 00:C0:F0:17:74:F6
      • inet addr:192.168.100.3 Bcast:192.168.100.255

        • Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2092 errors:0 dropped:0 overruns:0 frame:0 TX packets:1102 errors:0 dropped:0 overruns:0 carrier:0 collisions:2 txqueuelen:100 RX bytes:2948521 (2.8 MiB) TX bytes:78364 (76.5 KiB) Interrupt:10 Base address:0xe880

      eth1 Link encap:Ethernet HWaddr 00:00:F8:04:F2:9F
      • BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:11 Base address:0xec00

      lo Link encap:Local Loopback
      • inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) }}}

  • "sudo su -"
    • {{{We trust you have received the usual lecture from the local System Administrator. It usually boils down to these two things:
      • #1) Respect the privacy of others. #2) Think before you type.
      Password:}}}
  • "exit"
  • "logout"
  • "sudo -s"
  • "clear"
  • "apt-get install snmpd dnsmasq"
  • "apt-get install perl make gnupg"
  • "apt-get textutils lilo"
  • "deborphan -a"
    • {{{main/admin sudo main/net ssh main/admin pciutils main/utils fileutils main/utils shellutils main/utils textutils main/utils gnupg main/net dnsmasq main/net snmpd main/base lilo main/net iptables main/devel make main/editors nvi main/admin deborphan}}}
  • "lynx http://www.nocat.net" (this should be downloaded in a standard location i.e. mkdir /usr/local/incoming?)

    • Download the nightly build of NoCatAuth

    • exit lynx
  • "tar xvfz NoCatAuth-nightly.tgz"

  • "apt-get install wget patch"
  • "wget http://rune.thebasement.org/~ice/tmp/stable-01.patch"

  • "cd NoCatAuth-nightly"

  • "patch -p1 < ../stable-01.patch"

  • "vi /etc/kernel-img.conf"
    • {{{ do_symlinks = No do_initrd = Yes postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub do_bootloader = No}}}
  • "apt-get install kernel-image-2.4-K6"
    • I had to: "apt-get install kernel-image-2.4-686" (note: PII)
  • "dpkg -P lilo"
  • "apt-get install grub"
  • "mkdir /boot/grub"
  • "update-grub"
    • {{{Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) "y" }}}
  • "update-grub"
  • reboot
    • NOTE: my box needed to have the rescue disk used to recover...
      • that still didn't work. I tried chaning out out the drives connections to different controlls. It still yeilded a microcontroller error. I've downloaded bios version 1.11 from

[http://h18000.www1.hp.com/legacysupport/digital/epid122.html BIOS v.1.11 for the dec 3500 series pc] The text file with the bios update indicates that without it the bios will loose the the hard drive. hmmm sound familiar... First modifiy bios main section, boot menu change bios to update, exit saving changes. Boot off the boot floppy that was downloaded from above and all should be better. bummer I still have a microcontroller failure. Booted off the rescue disk with boot root=/dev/hda2 then installed lilo with "apt-get install lilo" ran "liloconfig" then tested with "/sbin/lilo". Now the system boots...

  • "uname -a"
  • "sudo -s"
  • "apt-get install ssmtp"
    • Automatically overwrite config files? "y"
    • Who gets mail for userids < 1000? "dje"

    • Name of your mailhub? "mail.personaltelco.net"
    • What domain to masquerade as? "personaltelco.net"
    • Allow override of From: line in email header? "y"
  • "deborphan"
  • "dpkg -P libident libpcre3"
  • "deborphan"
  • "cd /usr/local/incoming/NoCatAuth-nightly"
  • "make gateway"
    • {{{ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
      • Congratulations!
      • NoCat gateway is installed. To start it, check /usr/local/nocat/nocat.conf, then run bin/gateway as root.

      • -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-}}}

Installing the PTPnet Node Files

(soon to be)

Discussion

  • Why unstable?
  • Why couldn't this just be installed once, then imaged provided the drives are the same?

MusashiHybrid (last edited 2007-11-23 18:00:49 by localhost)