Differences between revisions 38 and 39
Revision 38 as of 2002-01-19 18:56:11
Size: 4488
Editor: civis
Comment:
Revision 39 as of 2002-01-27 13:22:34
Size: 4543
Editor: civis
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
  * Set the timezone (tzconfig) and current date/time

This document goes hand in hand with the DebianAp page. Once your image is created this shows you how to load the image onto a FujitsuStylistic1000. You can download it in two formats:

If you think that you've found a bug in the image please report it on the DebianApImageBugs page, make sure you include enough information for me to duplicate it. -- AdamShand

See also: DebianAp, DebianApImageBugs, HostApMode

Info

This is a pre-built disk image/tarball for getting the FujitsuSytlistic1000 running as an AccessPOint. It has NoCatAuth, NAT, firewalls, and DHCP support right out of the box.

Cool features: It looks like it has IPv6 support, EXT3 for fast(er) reboots (well, it still takes 5 min with 40mb of ram in the system, but hey..). We are currently really looking for bugs with this system. If you find any see DebianApImageBugs.

  • Q. What happens if you use a DD image on a larger drive?

  • A. It won't work because DD is a bit level copy so it copies all the formatting information which is reliant on disk geometry. That being said I've actually never tried it, it's possible that it will just format your larger disk to the smaller size. Try it and report back ;) -- AdamShand

Using the dd image

  1. Put drive in laptop, it should show up as /dev/hde (if it doesn't you'll need to adjust the rest of the document accordingly).
  2. Be VERY careful with the next command. If you use the wrong drive (if the 340 meg PCMCIA drive is not hde), you WILL fsck your other drive. This took up about 15 miuntes on a 166 MHz Toshiba Notebook

    {{{# bunzip2 -dc ImageFileName.bz2 | dd of=/dev/hde

666144+0 records in 666144+0 records out}}}

--JayPrimePositve, EricJohanson

  • Things that you may need to change:
    • The password for root
    • /etc/network/interfaces
      • If you aren't using DHCP for eth0 put in IP, subnet, gateway, etc.
      • Check the channel setting for wlan0
    • /etc/dhcpd.conf
      • Make sure it knows the correct information for your eth0 subnet (Is this necessary?)
    • /etc/resolv.conf
      • Set the correct name servers for your connection
    • /etc/hostname
      • Name the machine what you like
    • Create the SSH keys (takes about 5 minutes)
      • dpkg-reconfigure ssh
        • Just follow your nose through the options (No, Yes, OK)
    • Set the timezone (tzconfig) and current date/time

--MichaelCodanti

Using the tar ball

  1. Put drive in laptop, it should show up as /dev/hde (if it doesn't you'll need to adjust the rest of the document accordingly).
  2. Format the disk (if you don't have cfdisk, normal fdisk will do just fine):

    # cfdisk /dev/hde I set my partition table up like this and it seems to work fairly well. {{{hde1 Boot Primary Linux 299.93

hde2 Primary Linux swap 41.15}}}

  • Format the filesystem (we'll upgrade to EXT3 later):

    # mke2fs /dev/hde1

  • Mount the drive:

    # mount /dev/hde1 /mnt

  • Untar the image onto the drive (note the image is compressed with bzip2 so it will require a recent version of tar and the bunzip2 utility), on my laptop this takes 2 or 3 minutes:

    # tar Ixvf /mnt/debian-ap-image-yyyymmdd.tar.bz2 -C /mnt

  • Chroot into the mount point so that you can

    # chroot /mnt

  • Update the filesystem to support EXT3:

    # tune2fs -j /dev/hde1

  • Exit out of the chroot'd environment and run
  • cp /mnt/etc/lilo.conf.install /mnt/etc/lilo.conf

  • Modify /mnt/etc/lilo.conf so the top section reflects the current device name of the drive
  • Make the image bootable with lilo (first # exit out of the chroot'ed environment):

    # lilo -r /mnt -C /etc/lilo.conf

  • Boot the drive up in the Stylistic and then install grub (do this on the Stylistic):

    # grub-install 


[CategoryDocumentation]

DebianApImage (last edited 2012-03-11 02:31:15 by RussellSenior)