Differences between revisions 27 and 29 (spanning 2 versions)
Revision 27 as of 2002-01-03 22:33:38
Size: 4187
Editor: civis
Comment:
Revision 29 as of 2002-01-03 22:35:46
Size: 4214
Editor: civis
Comment:
Deletions are marked like this. Additions are marked like this.
Line 39: Line 39:
--JayPrimePositve, SeattleWireless:EricJohanson
Line 44: Line 46:
  * /etc/dhcpd
   * Make sure it knows the correct information for your eth0 subnet (Is the necessary)
  * /etc/dhcpd.conf
   * Make sure it knows the correct information for your eth0 subnet (Is this necessary?)
Line 51: Line 53:
--JayPrimePositve, SeattleWireless:EricJohanson --MichaelCodanti

This document goes hand in hand with the DebianLinuxAccessPoint 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: HostApMode

Info

This is a pre-built disk image/tarball for getting the fujisu 1000 running as an AP. 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
    #
  3. Put drive in Fujitsu, and boot it.
  4. That's it!

--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

--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 env
  • 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 


[CategoryHowto]

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