Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Customize DSL (kernel + software), 2.6.17.3, and Aircrack< Next Oldest | Next Newest >
android6011 Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: July 06 2006,21:21 QUOTE

I am looking to compile a new kernel, and add aircrack to DSL. Currently I have it on  my thumb drive. Is this possible to do? and if it is how should I do it? Thanks
Back to top
Profile PM 
android6011 Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: July 23 2006,01:29 QUOTE

so it is not possible to add a custom kernel to DSL?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: July 23 2006,04:34 QUOTE

You could look at the kernel source in mydsl.
Back to top
Profile PM 
newby Offline





Group: Members
Posts: 171
Joined: June 2006
Posted: July 23 2006,17:48 QUOTE

Quote (android6011 @ July 06 2006,17:21)
I am looking to compile a new kernel, and add aircrack to DSL. Currently I have it on  my thumb drive. Is this possible to do? and if it is how should I do it? Thanks

Do you have DSL on the thumbdrive?
Does aircrack run from the thumbdrive?

(I suspect it does.)
If so, you don't need to rebuild the kernel.

roberts Posted: June 26 2006,00:28
Quote
All kernels used in DSL are stock kernels.
The only patch applied is that standard Knoppix patch.
This patch is available in the kernelsource.dsl in the repository as well as many other places on the net.[/quot]

Posted: April 14 2004,15:11
by meo
[quote]
                Remastering HOWTO for Damn Small Linux (Copying manually)

Start by running from the live DSL-cdrom

Become root and mount the right partition

$sudo su
#mount -rw /dev/hda3 /mnt/hda3

Make the directories needed

#mkdir /mnt/hda3/source
#mkdir /mnt/hda3/newcd
#mkdir /mnt/hda3/newcd/KNOPPIX

Copy necessary files to directory /newcd

#cp -Rp /cdrom/autorun.bat /mnt/hda3/newcd
#cp -Rp /cdrom/autorun.inf /mnt/hda3/newcd
#cp -Rp /cdrom/index.html /mnt/hda3/newcd

Copy files to directory /newcd/KNOPPIX

#cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda3/newcd/KNOPPIX
#cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda3/newcd/KNOPPIX

Copy the sources to the right directory

#cp -Rp /KNOPPIX/* /mnt/hda3/source
#cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/source

Go through and copy wanted things to /mnt/hda3/source

I usually keep scripts, studyprojects  and whatever I want  to have handy in a directory on a usb-drive. That makes it easy to copy it to what will be the home directory on the live cd. In that way all I have to take along is the live cd, knowing it's all right there (and perhaps some favorite mp3's on the usb-drive):

(Don't forget to mount your usb-drive first with mount.app if you try this)

#cp -Rp /mnt/sda1/Docs/* /mnt/hda3/source/home/damnsmall

Create the custom compressed image file:

#mkisofs -R /mnt/hda3/source | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX

Create the iso-file as follows:

#cd /mnt/hda3
#mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o myknoppix.iso newcd

Copying your new iso-file to another partition to be able to burn it
First be sure that you have mounted the target partition (You can use the mount.app)

#cp /mnt/hda3/myknoppix.iso /mnt/hda1

Now just burn the iso with whatever software you have installed in the target partition.

It can surely be done in many ways, but this is the way I do it


                                    DSL remastering HOWTO (Reinstalling apt-get)

Mount, copy and chroot

$sudo su
#mount /mnt/hda3
#cp -Rp /KNOPPIX /mnt/hda3
#mount --bind /dev /mnt/hda3/KNOPPIX/dev
#chroot /mnt/hda3/KNOPPIX
#mount -t proc /proc proc

(Connect to internet)

#dpkg-restore
#nano /etc/apt/sources.list  (Change to the testing branch)

Add and remove packages to your liking

#umount /proc
#ctrl+D
#mkdir /dev/hda3/newcd  (Copy everything from cd except the KNOPPIX image to this directory )
(See the previous HOWTO if you are uncertain)

Create the custom compressed image file

#mkisofs -R /mnt/hda3/KNOPPIX | create_compressed_fs - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX

Create the iso-image

#cd /mnt/hda3
#mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o my_custom_DSL.iso newcd

Testing the new KNOPPIX-image

Make a boot-floppy

#dd if=/mnt/hda3/KNOPPIX/boot.img of=/dev/fd0

Boot with this floppy to try if your new KNOPPIX-image works (Then burn it if you like)
Back to top
Profile PM 
crusadingknight Offline





Group: Members
Posts: 65
Joined: Nov. 2005
Posted: July 23 2006,18:59 QUOTE

Quote (newby @ July 23 2006,13:48)
Do you have DSL on the thumbdrive?
Does aircrack run from the thumbdrive?

(I suspect it does.)
If so, you don't need to rebuild the kernel.

??? Newby, aircrack requires patched kernel drivers in order to function.

--------------
System:
eTower 566.12, 32MB RAM, 7GB HD, 200MB swap, 1x USB v.1, Intel 810GFX, Intel 810 Audio.
Recompiled so far: Pretty much everything. I think I'll have to do a remaster to cut the growing bloat off my system.
Back to top
Profile PM WEB MSN 
6 replies since July 06 2006,21:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Customize DSL (kernel + software)

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code