Size: 3278
Comment:
|
Size: 3437
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 13: | Line 13: |
Q. What happens if you use a DD image on a larger drive? |
|
Line 71: | Line 73: |
* exit out of the chroot'd env * {{{cp /mnt/etc/lilo.conf.install /mnt/etc/lilo.conf}}} |
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:
The [http://www.personaltelco.net/download/warez/debian-ap-20011211.tar.bz2 tarball]
A dd [http://www.personaltelco.net/download/warez/debian-ap-20011210.img.bz2 image] (requires a 340mb drive).
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?
Using the dd image
- 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).
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 #
- Put drive in Fujitsu, and boot it.
- That's it!
- Cards that worked:
- Cards that didn't work:
Dlink DWL-650 (Can't do cardbus) prism2: GetNextTuple: No more items
["3Com AirConnect"] AirconnectComments
--JayPrimePositve, EricJohanson
Using the tar ball
- 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).
- 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