2008-06-15

dmix

After many changes in my USE flags (alsa/arts) and the fact that I kept breaking my audio (NWN would have no sound, wine kept blocking other apps from accessing the audio harware and many other problematic things), I finally got a working dmixed (and arts free) audio setup *yay*.

This is how I (FINALLY) fixed it:

  1. Created a working /etc/asound.conf (see bellow) and restart alsasound.

  2. Removed arts altogether in favour of alsa (USE="-arts alsa") in /etc/make.conf, ran emerge -NDv world

  3. while tired="true"; do; sleep 8h; done

  4. Restarted X (/etc/init.d/xdm restart).

...and now I have dmix (which now works with wine!!!)!

Here is my /etc/asound.conf

pcm.dmixed {
ipc_key 1025
type dmix
slave.pcm "hw:0,0"
}

#one called "dsnooped" for capturing
pcm.dsnooped {
ipc_key 1027
type dsnoop
slave.pcm "hw:0,0"
}

#and this is the real magic
pcm.asymed {
type asym
playback.pcm "dmixed"
capture.pcm "dsnooped"
}

#a quick plug plugin for above device to do the converting magic
pcm.!default {
type plug
slave.pcm "asymed"
}

#a ctl device to keep xmms happy
ctl.pasymed {
type hw
card 0
}

#for aoss:
pcm.dsp0 {
type plug
slave.pcm "asymed"
}

ctl.mixer0 {
type hw
card 0
}

And as you can see in the screenshot below, you can see wine (foobar2000) using the dmix plug as it's output device :)



NOTE: Step 3 (sleeping) is optional :P

2008-05-08

VMPlayer Anoyances

Here's something that I discovered whilst trying to figure out why I could only start some VM's and not others on an ntfs3g volume.

# cat ntfs3g.txt
If you are running your Virtual Machine on an ntfs3g formatted volume and you encounter the following error:

VMware Player unrecoverable error: (vcpu-0)
Failed to allocate page for guest RAM!
A log file is available in "vmname.log". Please request support and include the contents of the log file.
To collect data to submit to VMware support, run "vm-support".
We will respond on the basis of your support entitlement.

Try adding the following line to your VMX (configuration file):

mainMem.useNamedFile=FALSE

NOTE: replace vmname with the name of your Virtual Machine.

I found this out from the following VMware Communities forum thread here

2008-04-24

Adventures in Open Source (Part 2)

Welcome to Part 2 of Adventures in Open Source!

This post is continuation on the previous article Adventures in Open Source (Part 1). In this post I will give you even more Tips, Tricks and useful information about Linux open source applications and their uses.

dellBiosUpdate
As the name suggests, dellBiosUpdate (which is provided by libsmbios) is tool for updating a Dell BIOS in linux. This came about because one day, I noticed an unanswered and unread post on forums.gentoo.org titled Dell BIOS update: extract_hdr, and I decided to investigate/research this because I also wanted to know if it was possible to flash your BIOS under Linux. I then found out (Thanks to the likes of the the Gentoo unofficial wiki post, HOWTO Dell BIOS Upgrade) that I don't even need M$DOS to flash the BIOS on my M1730!


quagmire ~ #modprobe dell_rbu
quagmire ~ # dellBiosUpdate -t -f system_bios_ven_0x1028_dev_0x01f7_version_a06/bios.hdr
BIOS file matches this system and is newer.
quagmire ~ # dellBiosUpdate -u -f system_bios_ven_0x1028_dev_0x01f7_version_a06/bios.hdr
Supported RBU type for this system: (MONOLITHIC, PACKET)
Using RBU v2 driver. Initializing Driver.
Setting RBU type in v2 driver to: PACKET
writing (4096) to file: /sys/devices/platform/dell_rbu/packet_size
Writing RBU data (4096bytes/dot):
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
.............
Done writing packet data.
Activate CMOS bit to notify BIOS that update is ready on next boot.
Update staged sucessfully. BIOS update will occur on next reboot.
quagmire ~ # rmmod dell_rbu

After doing the above, It occured to me that this process is somewhat the same as when you flash in windows, as the bios data is written to a special section of the bios or EEPROM, then a "bios update" flag is set so that the system will immediately start the flash process upon reboot. Nifty eh?


SCP (SSH)
I learned that it is possible to transfer files (and folders) to/from a remote path that has one or more spaces in it!

You need to enclose the entirety of the remote hosts argument in quotes and put escape sequences into it. For example:
scp -r "/media/sdd/2008-semester1/csg2207/Unit Schedule" "remotehost:~/UNI/2008-semester1/csg2207/Unit\ Schedule"


Gentoolkit (eclean-dist)
eclean-dist (a wrapper for eclean distfiles), is a tool provided by app-portage/gentoolkit that provides easy distfile cleaning (deleting)

After searching for a solution (thanks to the powers of google), I found that the Gentoo tool exists already. It seems to do an intelligent job at checking against installed packages and removing old distfiles (or tarballs). Pretty neat :)


rsync
That's right. rsync! I haven't done much research into the differences between cvs and rsync, but it seems to be a much easier to use alternative for synchronisation of file trees (UNI, savegames, software repositories, music, movies etc.) and using openssl (ssh) as a transport mechanism with almost no effort!

Here's an example (or proof) of me synchronising a folder of uni unit to my file server:

dean@quagmire ~ $ rsync -uav /media/UNI/2008-semester1/csg2207/ dean@192.168.1.2:~/UNI/2008-semester1/csg2207
Password:
building file list ... done
Assessments/assignment2/contrib/
Assessments/assignment2/contrib/delete.me
Assessments/assignment2/tmp/
Assessments/assignment2/tmp/the sample of risk management.docx.exe
Unit Schedule/
Unit Schedule/delete.me

sent 17094 bytes received 104 bytes 6879.20 bytes/sec
total size is 45568991 speedup is 2649.67

NOTE: I have to reserve TrueCrypt for private data only, as TrueCrypt requires elevated privileges, which I don't have on most UNI computers :(


That's it for this edition! I hope this was as interesting to read as it was for me to research and discover how to use them! Feel free to drop me a line if you have any contributions or corrections. Next post irssi!

2008-04-21

Mouse Rage

So I finally "spat the dummy" and had a bit of a rage and killed my Logitech G7 mouse because it kept on randomly stopping (mouse pointer kept freezing for short periods of time). I slammed it a little too hard onto the mouse pad, causing it to stop responding. Indefinitely. Oh well. Now I have a replacement Logitech MX400 and hopefully, this one will survive more than 5 months :P

2008-04-10

Why Gentoo?

In response to Ben's Blog about the some topic, bellow is a culmination of my reasons for choosing this fantastic distribution.

Oganisation
I have found that most of the system is will organized and seems to adhere to a strict guideline of naming conventions and standards of which, most are documented on the official Gentoo documentation or the Unofficial Wiki

Minimalistic Approach
I have learned allot (more) about Linux in general since I started using this distribution. It's stage 3 install process not only seems like a "Linux from Scratch" but with this method you can install a base system for less disk cost that the latest Windows® Vista™ Service pack...

Configurability
The ability to configure everything with text files is pretty mush a norm for any Linux distribution, but Gentoo has an edge in this area, as there are many command-line tools to assist with configuration such as: etc-update, rc-update, euse, equery, eselect and (lets not forget the almighty) emerge.

Genkernel is also a winner in my books too.

Sane (Simple) Package management
Emerge for me is by far the most powerful and easiest to use (once you understand the do's and don'ts) package management that I have ever come across. Being able to have packages a tweaked to my architecture, pre-configured and all dependencies met by typing one command is very important aspect for me.

Apart from these reasons above, I still stand most of my old arguments from a while back.

2008-03-23

Adventures in Open Source (Part 1)

Welcome to the "Adventures in Open Source Series"!

Since buying my Dell XPS M1730, I have been using Gentoo Linux on it exclusively and with surprisingly good results, however I have also learned allot more about certain open source software package in general, so here I will outline some of the these (and also some of the failures) that I've experienced so far.

Screen
I have learned to use screen in a much more powerful way than ever before. Until now I was not aware of screen's configuration file capabilities, so had never used it. I found that not only can you make screen automagically setup all your screens for you, but you can also do some awesome console customisation as well (see my ~/.screenrc bellow).


screen -t default
screen -t "compile (emerge)"
screen -t config
screen -t rtorrent rtorrent
screen -t misc
hardstatus alwayslastline
hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'

Here is a picture of what it looks like:

PS: This is actually in use on my fileserver (also a Gentoo box), hence the different hostname.

TrueCrypt
Since I almost lost my band new 8Gb USB mass storage device at UNI last week, I have decided to start using cryptography, so I remembered reading a planet.gentoo.org article about it and considering I am using Linux at home and Windows *shudder* Vista at UNI, I thought I would give this a try, Not just for portability and security but for any easy backup mechanism also (all I have to backup/synchronise one single file rather than managing lots of files and folders).

I followed the guide on the Gentoo Wiki here, and created a new volume now all I have to do is mount it and it's all there!

dean@quagmire ~ $ truecrypt -u /media/UNI/uni-2008-semester1.dat /media/UNI/uni
Enter password for '/media/UNI/uni-2008-semester1.dat':
dean@quagmire ~ $ ls -alh /media/UNI/uni
total 24K
drwx------ 6 dean dean 4.0K 1970-01-01 08:00 .
drwxr-xr-x 4 dean root 4.0K 1970-01-01 08:00 ..
drwx------ 6 dean dean 4.0K 2008-03-23 12:30 csg2207
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csg3308
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csi2102
drwx------ 7 dean dean 4.0K 2008-03-23 12:30 csi3207

And of course here's the proof that it's all working:

dean@quagmire ~ $ mount |grep -i truecrypt
/dev/mapper/truecrypt0 on /media/UNI/uni type vfat (rw,uid=1000,gid=1000,umask=077)
dean@quagmire ~ $

Wine
Well, as you may or may not be aware, my wine success has been pretty hit and miss (more like miss when it comes to M$ products and games), but this is due to the fact that wine is considered to be in perpetual development and the fact that I am trying to run proprietary software on a non-native platform *wink*

VirtualBox OSE
Alright, I must admit that I had an issue with this piece of software, but once I got it working it ran like a dream... I've been able to install Windows XP and (of course) Gentoo into Virtual Machines with no hassles whatsoever!



So it seems that I am not only more productive with a powerful Linux desktop, but I am also a much happier computer user as a whole even with the few "glitches" the arise every now and again.

If you learned something, enjoyed reading this article or have anything to contribute (or correct) ,feel free to leave feedback as comments on this post.


Coming soon: "Adventures in Open Source (Part 2)"!

2008-02-26

Gentoo GNU/Linux on Dell XPS M1730 (Part 2)

I have made significant progress on this project and have decided to continue with my findings so far.

I fixed the sound problem. Seems that snd-hda-intel was broken in alsa-1.0.14 (from kernel 2.6.20 - 2.5.22). I simply emerged the latest kernel, and now it works! even with surround!!

Next up I got TwinView working (finally). Seems that the nvidia driver thinks that my LCD (2702WFP) is a CRT, so I plugged in a DVI-VGA converter on the notebooks DVI port and hooked the LCD up via VGA (DB15 - DB15) cable and now she works. Interestingly enough, TwinView uses a form of xinerama, so all I had to do to stop getting a desktop stretched across both screens (and apps placed between both monitors), was to add USE="xinerama" into make.conf and re-emerged everything (emerge -uDavN) and now the WM detects the boundaries between displays!!!

TODO List
Wireless: I have installed ipw3945, but according to the Gentoo Wiki ipw3945 Hardware Article, it seems that iwlwifi is both newer and easier to implement and it will be available in gentoo-sources-2.4.24, but since it's masked, I'm reluctant to use it.

Software Suspend (to disk): This will be very important especially when using this beast at UNI. As I mentioned above, the 2.6.24 kernel has iwlwifi inbuilt, but I realised that the tuxonice-sources is at 2.4.24 (masked) so why not "kill two birds with one stone"?

TavelRemote: Since I also use this system to watch stuff (on the 27" monitor), it would be nice to be able to utilise lirc with the travel remote.

g15 GamePanel: According to some users, it's possible to use this via the g15tools, but it is low priority for me, since I use this thing as desktop-like system, where I can't even see the damn thing :P

MultiMedia Keys: This is yet another low-priority job. I will tinker again with xmodmap and app support to see if I can get it working in the future.

Who needs Microsoft® Windows™? Not me!


UPDATE: 26/02/2008 @ 1353
I discovered that the g15 Gamepanel is now working!
I had the g15daemon and libg15 stuff emerged a while back but I never noticed it working until now (I suspect the the newer kernel-2.6.23 has made a difference).

2008-01-18

Digital Camera Debacle

So, now that I'm going to Sydney, I want to preserve some of my memory's of the place by capturing them on a camera, which by now you have probably guessed, that I don't have one :P

I was looking to purchase a Pentax Optio A30 (the "A" series is the most advanced of Pentax's Optio range), but since it's near impossible to get one due to the announcement of it's successor (A40) which is due out some time in February, I am stuck with a very difficult buying decision...

Do I buy the older A30 or do I risk it with the newer A40 model, which could be potentially unavailable (I need this by 6/02/2008)?

My friend has already bought his (not so practical, but awesome) camera, and he is trying to convince me to buy the A30.

Because of this, I feel a bit boned...

UPDATE: 19/01/2008 @ 1219
I have decided to buy a JVC GZ-HD3 video camera instead :)
I just hope it arrives in time for me to configure it (play around with it) before Sydney...

2008-01-05

HOWTO: Encode single-file (CD) to FLAC with embeded CUE sheet

I finally remembered how to do it (hence the reason for bloging about it)

This is intended as a rough guide on how to do it manually (I am still looking into automating this process with abcde):


  1. Rip the audio CD as RW_RAW using cdrdao or some other program that can generate a compatible cuesheet and/or tocfile. I used the following command to do this (For more information on command syntax please read the cdrdao man page):

    cdrdao read-cd -v 3 --device=x,y,z --driver generic-mmc \
    --read-raw --read-subchan rw_raw --datafile image.bin \
    image.toc

  2. Convert your tocfile that was created in the previous step to a cuesheet (cdrdao comes with program 'toc2cue' that can generate a very simple cuesheet). If you already have a cuesheet, then move onto the next step.

  3. Encode the raw image. I used the following commandline to encode mine.
    flac --cuesheet=image.cue -8 image.bin --endian=big \
    --channels=2 --sign=signed --sample-rate=44100 --bps=16

    NOTE: The --sign and --endian options may differ for you (especially if you use PPC or something like that).


NOTES: the --ogg option doesn't seem to work when using the --cusheet option and flac exits with the following error (this will probably happen to you if you try to use that option as well):

image.bin: 100% complete, ratio=0.895
image.bin: ERROR during encoding
state = FLAC__STREAM_ENCODER_OGG_ERROR

I have included my command-line usage for reference purposes only! So, don't come crying to me if you just copied and pasted those commands at it doesn't work!

2008-01-03

I miss my KDE...

Since I'm stuck up north on yet another shift I'm beginning to have withdrawals from some of the nifty little features that makes KDE so awesome. Stuff like temporary focus-grabbing on the Kmix dock icon (being able to adjust the volume without having to change window focus is very neat... now that I realise it's missing :P ) and virtual desktops... by default!

I forgot to mention (until now) that I managed to get sound working on the XPS M1730 although doing so confirmed my suspicions somewhat. It seems that alsa in the latest kernel has broken snd-hda-intel (stac92xx) support.

I Still haven't gotten WiFi working yet either (ran out of time last RDO due to Portal), so this beast is glued to the one (hot) spot in the house for now. Maybe this heat will force me to get wifi working so that I can enjoy some nice cool aircond offered in the lounge room?

2007-12-08

Dell (Australia) Refuses Vista Refunds

It would seem that after contacting Dell for about 5 days straight, I have been thusfar unable to obtain a refund for my UNUSED copy of Windows® Vista™ Home Premium (32bit) that came with my XPS M1730.

Here are some of the lame "reasons" they gave me:


  • We are unable to refund due to Microsoft Licensing.
  • You accepted the agreement when you purchased the computer online as part of our policy.
  • You will be breaching the Microsoft License if you send the product back.
  • Because this is OEM version, we are unable to provide a refund because it is bundled with your computer.

These "reasons" didn't seem to make any sense, so I did some digging around on the Dell website for these policies and this is what I came up with:

The Dell's "Total Satisfaction" Policy states the following:
"You may return software for refund or credit only if the sealed package containing the diskette(s) or CD(s) is unopened"

I also checked their Terms and Conditions of Sale ("Terms and Conditions") and that states the following:

"All software provided is subject to the terms and conditions of the license agreement relating to that software. Customer acknowledges its obligations to abide by such license agreements. Customer acknowledges that Dell does not warrant any software under these Terms and Conditions. In addition to any rights the customer may have under statute, all software is warranted in accordance with the license agreement that governs its use."

So, if I do NOT to agree to the the Windows® Vista™ EULA and adhere to the conditions within it (don't use it and uninstall said software), am I not entitled to a refund???

One thing is for sure: The call centre minions at Dell don't know ANYTHING about software licensing and are not trained to deal with this situation, which means I am now stuck with a rather expensive coaster :P


UPDATE: 08/12/2007 @1620
I have lodged a complaint with OFT as I believe that Dell is not acting in accordance with their own policies and is therefore acting illegally by refusing a refund (IANAL).

UPDATE: 03/01/2008 @1605
I got a call from an Australian Dell representative (Sydney) and they left a message for me to contact them, just have to wait until 10/01/2008 before I can call him. Hopefully he can give me some good news...

UPDATE: 06/06/2008 @1036
This is a very late update. There will be no refund from Dell as I have not only lost the telephone number for the person I needed to speak to, but I have failed to get this done within 90 days of the purchase, due mainly to work and the fact that I don't want to have to do this process in a hurry again. Since the release of Windows® Vista™ I will no longer use windows for personal use (and soon to be for work use to), so even though I will have to go this process yet again, my next Dell Notebook *WILL* be Windows-free!

2007-11-29

Gentoo GNU/Linux on Dell XPS M1730

So I just received my brand new M1730 from Dell and since Dell sent a 32bit version of Windows Vista I have decided to decline the Windows Vista EULA, opt for a refund/credit and install Gentoo on it instead.

Heres how I did it (this is not intended as a howto).

First of all I ghosted (both) installed HDD's for the factory configuration (in case I had to restore for some reason).

Next I slid the good 'ol Gentoo 2007.0 LiveDVD into the DVD drive and proceeded to boot the machine with a one-time boot option (F12) but after trying many different versions and arch types I finally resorted to the amd64 LiveDVD which seemed to do the trick (except iiNet's rsync mirror seems to be borked).

Once I installed the base system it was as easy as doing a normal install except for the following options that I added to /etc/make.conf

CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"

I was intending to use suspend2-sources as this is a laptop and it would be nice to be able to suspend/resume this beast between UNI and home (suspend2-sources are patched with both genpatches which includes the patches found in gentoo-sources, and Software Suspend 2 which is a new and improved implementation of suspend-to-disk for the Linux kernel¹) but unfortunately its masked for the amd64 arch.

About the only problem I encountered (other than accidentally trying to use the wrong arch for the stage3) was the CONFIG_PHYSICAL_START option in the default kernel configuration, as it was set to 10000. As per this webpage, I edited the .config and set it to 20000 and then the kernel happily compiled (I even have 32bit emulation too!).

All I need to do now is emerge xorg, wine/cedega, firefox and openoffice, then configure suspend2 (tuxonice), dual monitors and all the other niggly little laptop features on this thing (like aux LCD, mic sense jack, media buttons and wifi) :P

I will try to remember to post as I get devices working on this beast.

UPDATE: 07/12/2007 @ 1336
I managed to get output on the DVI interface in single link mode, but the resolution is all wrong (way too small)! It is either an xorg.conf MetaMode miss configuration or the latest nvidia drivers are borked...

2007-11-26

Squid logging issues

I finally got denied websites and ntlm group-based authentication working on the squid server at work, but it seems that it (still) doesn't log usernames in the access.log (which also has to be explicitly defined in squid.conf to be able to log for some reason...

I have tried allot of Google searches for it but there's nothing relevant that I can find, so I think this is either an undocumented 2.6 bug or I am not looking properly for any possible userid logging bugs.

This sure is beginning to bug me.

Maybe I have missed something...

2007-10-30

No Alienware Laptop for me...

On the 4/9/2007 I purchased an Alienware Aroura m9700 notebook. Until the last few days I have not received any correspondence or communication from Alienware about my order because it looks like they have gone into receivership.

Below is a snippet of the email that was sent to me that confirmed this:



From: sales@alienware.com.au
Sent: Tuesday, 9 October 2007 3:59 p.m.
To: <deleted>
Subject: RE: Arora m9700 status.

Dear Mr <deleted>,

We apologise for the serious delay in your order. Alienware Australia which was a subsidiary company of Jackar Holdings has been affected as its parent company Jackar Holdings which operated the Alienware license in Australia has fallen into bankruptcy last week. Alienware America has taken over all operations and will honour all sales and warranty claims. We are able to process your order and it will be dispatched to you in the next 7 – 14 days.

I will try and push your order through faster and keep you updated.

Best Regards,

Alienware Sales


Alienware Australia



After waiting even longer for it, they still failed to get my order done within that time period as the next email states:



Sent: 29 Oct 2007 13:08
To: <deleted>
Subject: RE: Arora m9700 status.

Dear <deleted>,

Firstly I would like to apologise for the current situation as stated below your order was affected by the bankruptcy of our local partner. The M9700 has gone end of life I am able to upgrade you to the M9750 at no extra cost however we would need you to do a chargeback on your credit card for the last order and re process your card. If this is of interest please provide a contact number and I will give you a call to run you through the process.


Best Regards,

Alienware Sales


Alienware


The problem with this was not necessarily the waiting, but the lack of communication and the fact that this was also arranged with my current employer as a salary sacrifice. Alienware also will not directly refund me so I now have to fill out a funds dispute form for my bank and so hopefully I should get a refunded soon.

Anyway, it looks like Dell have a similar product for about the same costs and specifications.



UPDATE: 8/12/2007 @1638
The Credit Card Charge back went through last week and now my funds (and happiness) is back. Hooray!

2007-10-26

Very Clean USB Flash Disk

I now have a very clean USB flash disk. Not wiped clean of data, but hermetically/hygienically clean :P. I not only accidently left it in my pocket during my scheduled clothes washing, but I also left it outside to alow it to dry, only to forget about it and have it get rained on. Funny thing is, it still works!

With this in mind, I think I will continue to buy Astone USB mass storage devices due to there (tested) reliability and toughness when completely submerged into liquid, dried and used again!

2007-10-24

WSUS Breaks itself

It seems that the WSUS-3.0-sp1 update from Automatic Updates has broken WSUS on one of the servers at work!

Apon initial investigation, I found that WSUS 3.0 was installed, the files were all there and the database existed, however there was no registry entry for the configuration.

This is how I fixed it (after realising that it refused to uninstall).

Logged onto the Perth main WSUS server and exported HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup and imported it into my replica server. I immediately uninstalled WSUS and installed the default 3.0 version and I am now back in business :)

NOTE TO SELF: Move away from Windows-based servers and workstations...

2007-09-22

GWN Contributions

Well, I have finally decided to contribute to my favourite OS!

I have sent an email to the gwn-feedback team to see if I can help by writing articles for them every so often. If accepted, I will write-up about planet.gentoo.org blogs and maybe even Gentoo Press related articles ^_^

I just hope this this doesn't take up too much of my time like these blogs of mine :P

2007-08-18

CIFS and Windows Server 2003

Today I had an incident this morning (which, as of the time of writing this, I am still working on) where a Windows XP machine decided to BSOD with the UNMOUNTABLE_BOOT_VOLUME.

Doesn't surprise me to see that the KB article above won't help me fix this issue as I found out a few hours later that there was a power surge from the night before!!!

So to fix this I (naturally) fired up a Linux distro (this time it was Knoppix

Next up I begin receiving this error when trying to connect to mapped network drives for storage of the recovered data using smbmount(8)...

    cli_negprot: SMB signing is mandatory
4650: protocol negotiation failed
SMB connection failed

Well, after about 5 minutes of pulling my hair out while googling for a solution, I found the answer!!! CIFS! I thought that smbmount(8) was broken (I've had some bad experience in the past) however it seems that if if you use CIFS instead it will happily connect to a Windows 2003 Server file share!!

Now if only I could get all this data recovered :P

Time to call Dell for a replacement HDD (gotta love their support) and purchase one in the interim...

2007-08-16

Random Post #2

I used the Dell Support Request form for the first time and noticed that the fscking web application won't work with a standards compliant browser (Mozilla Firefox) *argh*

I am also starting to really dislike administering Windows servers at the moment because of weird user home directory permissions and active directory in general (replication times over frame really are soooooo sloooowwww!)

Not only, but also, I am in the process of migrating my DCSE to a self-managed account so that regardless of what company I work for, I will always have access to, and be able to manage my DCSE profile.

CLI-Tip #0001:


mstsc /v:server

This allows a user to quickly connect to a server running
terminal services (or a Windoes XP machine with remote
desktop configured) by specifying the name or IP address
on the command-line. Very handy for those that use
"rdesktop" alot :)

2007-08-05

Cygwin is broken.. no wait! windows is!!

Well I was starting to wonder why my good 'ol mkisofs for windows (cygwyn port) was not working.

I'd had this issue such a long time ago but I forgot how to overcome it because I didn't have a blog back then and didn't bother to document any of the technical stuff I did (I'm also still lazy that I don't document these sorts of things, but instead I occasionally blog it here)

Anyways here goes:

I usually like to dump my command-line tools in %SystemRoot%\commands and seperate some of the bigger projects and utils that need additional libraries (cygwin is one of them) and throw them into seperate directories underneath that one and put all the path environment variables into windows so that everything just works... but it didn't :-/

I got some DLL entrypoint was not found error in cygevt__somethingorother so I thought "WTFOMG!!!11!!1 cygwin is broken!" I was only half right.... ...

I downloaded the latest cygwin base tarball, extracted it and I was having the same error. This didn't seem right it all! so I scoured the utils directories to see if one of them had a corrupt/bad version of cygwin... and lo behold! my cdrdao package directory had a fUxx0r3d version!!! (not only that I noticed that the directory it was in, was defined in the %PATH% environment variable before cygwin was!

FIXED!!!!
I AM AWESOME.. SO AWSOME
... well not really :P

At least I have all my essential command-line unix-ported tools now on my windows box at work :)

 
Google+