Dark-Fx.com
IRC: Servers I hang out on2008-04-16 23:11:23 posted by Dark-Fx
I hang out on quite a few different IRC servers and get asked about what servers they are, so I'm putting this info up here. I don't generally disconnect at all, and I set the channels up I frequent to autojoin.
irc.acns.msu.edu
irc.zarquon.org
COFFEE.OFDOOM.ORG
irc.efnet.org
irc.freenode.net
irc6.foonetic.net
mtulug.fxaffinity.com (or lug.mtu.edu)
I may update this list as needed...
0 comments.
Disk Images: Mounting partitions from dd hard disk images in Linux
2008-04-09 22:55:42 posted by Dark-Fx
Okay, So you did a dd copy of an old disk you were using and just now need to grab something off of one of the partitions. You have a few choices of how to do this. You can use dd to copy just the specific partition out, or you can mount that partition as a loopback device with losetup. The latter is much more efficient.
First step, locate the image. Then run fdisk -lu on it:
$ fdisk -ul diskimage
You must set cylinders.
You can do this from the extra functions menu.
Disk diskimage: 0 MB, 0 bytes
15 heads, 17 sectors/track, 0 cylinders, total 0 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
diskimage1 * 17 254999 127491+ 6 FAT16
This spits out all the information we need to actually mount the loopback device to get this to work. Take the Starting sector number and multiply it by 512. In my case here, it's 17 * 512 = 8704. This number is needed for losetup to specify where the starting offset is.
Now run losetup:
$ losetup -o 8704 /dev/loop0 diskimage $ losetup -a /dev/loop/0: [0901]:16793696 (diskimage) offset=8704This shows that the loopback device is up and at the proper offset. Now just mount loop0 as if it were something like /dev/hda1. We want to mount it Read Only so we don't modify any of the image on accident.
$ mount /dev/loop0 /mnt -oro $ mount | grep loop0 /dev/loop0 on /mnt type vfat (rw)That's about it. To get rid of the loop device, umount the partition and run:
losetup -d /dev/loop0
0 comments.
Christmas: List
2007-11-08 11:05:54 posted by Dark-Fx
This is the list of stuff I wanted last year; what I don't need or already have is striked out.
Lightweight low-profile Aluminum car jack. Preferably >2 ton- Tool Chest with Ball Bearing drawers. If you can put a significant amount of weight on the drawers and still push them in with ease, these are the ones I'm talking about.
- Tools to go in the tool chest. I already have some, but doubles are fine
- Torque Wrench / High precision Torque Wrench in in/lbs.
Air Compressor with 10-30 lbs tankAir Hose- Air Tools
- Bench Grinder/Angle Grinder
Wet/Dry vacGenerator 1-3kW- Solar Power System with Grid Connect. >=1kW
Extension Cords8GB Black iPod NanoVIA EPIA-NL10000 Nano-ITX Motherboard- Mastering Regular Expressions, 3rd Edition
Learning Perl, Fourth Edition
- WinTV-HVR-1800
- xkcd Compiling Shirt. (Medium)
Firefox Hoodie (Large)- OpenBSD 4.2: The Because Security Matters Shirt(Medium)
New 65Whr battery for my Inspiron 700m laptop- Homaco M6 Adjustable Dual Rack - rack - 45U (19-84-SSDA2732)
- RFID blocking Black wallet
Microsoft Streets and Trips 2008 with GPS(Yes I already have the GPS from one of the older ones, but the new one is much more slick)- SUPERMICRO CSE-933T-R760B Black 3U Rackmount Case
- Super Mario Galaxy for Wii
- Blackberry 8820
0 comments.
School: Fall 2007
2007-08-17 09:30:22 posted by Dark-Fx
81484 CS 4121 R01 1 3.0 Programming Languages MWF 09:05 am-09:55 am
82025 CS 4331 R01 1 3.0 Intro to Parallel Programming MWF 11:05 am-11:55 am
81490 CS 4611 R01 1 3.0 Computer Graphics: Foundations MWF 01:05 pm-01:55 pm
81992 PSY 4010 R01 1 3.0 Cognitive Psychology TR 09:35 am-10:50 am
83886 PSY 4120 R01 1 3.0 Human Factors Psychology TR 12:35 pm-01:50 pm
82651 PSY 2200 R01 1 3.0 Behavior Modification T 07:05 pm-09:35 pm
Work M-F, 8-9am, 2-4pm
0 comments.
disks: New RAID5 array
2007-05-25 08:59:59 posted by Dark-Fx
I gave in and spent the money on 4 new 500G Seagate drives. I already had 2 of them so I figured 6x500G in RAID5 would work great. Right now I have them sitting in my desktop and rsyncing all the data from the mythbox over. After it's all done (going to take a while... ~1.3T of data), I'm going to take the current arrays out of the mythbox and just have this one in it.
The 4x200G SATA array will probably be going in my desktop. I'm planning on selling the 4x300G PATA array to MTU LUG (of which I am president next year) for $75 since we're desperately low on space there too.
New array: /dev/md0 2.3T 524G 1.7T 25% /mnt Old arrays: /dev/md0 826G 802G 24G 98% /opt/raid0 /dev/md1 551G 534G 17G 98% /opt/raid1
As you can see, I definitely needed the space, because getting rid of the 708G used for mythtv recordings wasn't an option...
0 comments.
debian: loop-aes
2007-04-23 20:22:26 posted by Dark-Fx
Okay, so we're going to install loop-aes the debian way.
First we need to install some packages:
sudo apt-get install linux-headers-`uname -r` module-assistant loop-aes-source loop-aes-utils
Now, build the module with module assistant:
sudo module-assistant prepare sudo module-assistant build loop-aes sudo module-assistant install loop-aes
Now we want to remove the current loop module and insert the new one:
sudo rmmod loop sudo modprobe loop
My preferred method is to use a small file on an existing partition and mount it seperately:
dd if=/dev/zero of=/volume bs=1k count=1M
This gives us a 1GB file named /volume. I prefer using AES256 so we're going to mount the loopback file here, and write an ext3 partition to it. It will ask you for a password which has to be 20 chars or longer.
losetup -e AES256 /dev/loop0 /volume mkfs -t ext3 /dev/loop0
Great. Now we have an encrypted file system. Lets unmount the loop:
losetup -d /dev/loop0
And to mount the file system normally, remember to use the password:
mount volume -o loop=/dev/loop0,encryption=AES256 /mnt/secure/ -t ext3
Now, we want the module to load on bootup. Add this line to /etc/modules:
loopAnd that's it! Piece of cake.
0 comments.
Utils: Windows Wireless Key Retrieval
2006-11-22 15:23:47 posted by Dark-Fx
I hate the fact that Windows doesn't offer a very simple way to retrieve the keys back out of the wireless system. I found a utility that does it quite well and easily.
WirelessKeyView
0 comments.
School: Summer 2007
2006-10-26 09:11:52 posted by Dark-Fx
1st half
50401 BA 2300 0A 1 3.0 Accounting Principles I MTWR 09:35 am-10:50 am
51813 FA 4950 02 1 3.0 Story Dev for Role-Playing MTWR 12:35 pm-01:50 pm
50404 BA 3200 R01 1 3.0 IS/IT Management MTWR 02:05 pm-03:20 pm
2nd half
50410 BA 3400 0A 1 3.0 Principles of Finance MTWR 09:35 am-10:50 am
51520 MA 5903 0A 1 3.0 Intro - Scientific Programming MTWR 11:05 am-12:20 pm
50408 BA 2110 0A 1 3.0 Quantitative Problem Solving MTWR 12:35 pm-01:50 pm
Work M-R 8-930, 330-5, Friday 8-5.
0 comments.
Site News: Server is back up
2006-09-22 18:22:30 posted by Dark-Fx
I finally got around to getting the server back up... Enjoy.
0 comments.
Life: Coop with Rockwell Collins
2006-05-10 08:44:57 posted by Dark-Fx
Last week friday I got an e-mail from Rockwell Collins asking if I wanted to do a phone interview for a coop for Fall 2006. Of course I had to say yes, because they're the company I eventually would love to work for when I'm done with college. I got an e-mail back on Monday telling me that they would be calling me at 4pm their time. I got the e-mail at around 3pm my time, so I didn't have much time to prepare. I left work, went home, and figured out a few questions I wanted to ask. I got the call a little after 5pm my time. The interview went for between 15 and 20 minutes.
Yesterday I got a call on my cell while I was in class from them. I forgot to turn my ringer off, so it was a little embarrasing. They proceeded to e-mail me when I didn't answer. The offer was for $13/hr, as well as a lot of benefits. I will basically be considered a full time employee, and my hire date is going to be August 2006. The coop is expected to go until Mid-May, so it's going to be around 9 months long I was quite surprised that it didn't even take a full day for them to decide that I was the one that they wanted to hire. The coop I'll be working on is in Cedar Rapids, Iowa, which is great because it's even in the same building as my girlfriend is. I'll most likely be living with her for 9 months. It's going to be a really cool experience. I'll basically get a taste of what it will be like after I graduate. If things go well, I'll be more likely to get a job there, and if things go well with Mary, I'll definitely want to be there. If things don't go well with her, which I wholey don't expect, I will know before I accept a final offer from Rockwell once I graduate, so I'll be able to decide if Cedar Rapids is the place I really want to be or not.
My Orientation date at Rockwell Collins is August 21st. My last day of summer classes here is August 11th, so I'll have a week off after my exams to move, and relax. I am definitely looking forward to this opportunity.
0 comments.