onsdag 4 februari 2009

tisdag 3 februari 2009

humor




putt print? e-mait?

onsdag 14 januari 2009

update to my appe aiport rambling

frid's comment in my blog regarding 802.1x in aiport extremes made me investigate the issue further.

i can't find this in apples documentation anywhere, but if you have the “Allow this network to be extended” checkbox checked, the options for WPA2-Enterprise disappear.








jiha! thanks frid!

söndag 11 januari 2009

at last...

itunes adds every song two times when you import albums

maybe i am the last person to understand why this happens.

when you drag in albums into itunes you sometimes get two copies of every song. very frustrating.


seems like this happens when the folders contains playlist files. if you want to drag the albums into itunes, remove .pls and .m3u files in the folder. if you just want to add one album, just drag the playlist file into itunes.

söndag 4 januari 2009

i have been walking around thinking that both Apple Airport Extreme and Apple Airport Express had support for WPA2-Enterprise and 802.11x. none of them have.

there goes my vacation-project :(.

söndag 14 december 2008

how i use smart playlists in itunes

i have a large mp3 collection on a shared network disk and when i reinstall my computer i add albums and songs ad-hoc.
to just sync the songs i actually listen to with my ipod i create a smart playlist like this:


(match songs that have been played one time or more.)

onsdag 10 december 2008

local DoS in vista

open an elevated cmd prompt and add a route with a netmask larger than 32 bits:

route add 1.2.3.4/400 1.1.1.1


bsod!


more about the buffer overflow here.

tisdag 9 december 2008

get computer models from wsus

if you want to get data from wsus that the built in reporting tools doesn't support you can use the powerpack for powergui to get basically anything you want that is in wsus internal database.

  1. download and install powergui
  2. download and extract wsus powerpack
  3. (you also have to have the wsus administration tools installed on your workstation.)
open up powergui and add the powerpack by rightclicking the top PowerGUI node and choose import. point to the location where you unpacked the wsus powerpack and click open.


now you can browse around the wsus-tree in powergui and do some really nice stuff. for example, list all the computer models in your network (click Computers > Get-ComputerTargets) and export them to a csv file.

måndag 17 november 2008

tip of the day

this is a classic but sometimes i forget:

in windows vista press CTRL+ALT while you click on a program to open it in elevated mode.

tisdag 11 november 2008

boot camp 2.1 update: Error applying transforms.

this is was an irritating one.


boot camp 2.1 update fails because i am using a swedish version of windows vista.


to fix:
open up regedit and locate this key (the productkey kan vary):
change the Language REG_DWORD value to 409 hex.

söndag 9 november 2008

HTPC

i have what we call a "i-landsproblem" in sweden, at home.

we got ourselves a nice big tv yesterday and now i want to retire the old mac mini G4 who served as GUI for the old, smaller tv.

what i want is an interface that looks good on a tv and is maneuverable with only a wireless mouse. all the files are served from two 1TB external iomega drives connected to a HP 2510p laptop, running windows 2008 enterprise edition.

the candidates are:
  1. Mac mini G4 1.4Ghz with 512MB RAM
  2. HP 6210s, 2Ghz Celeron with 1GB RAM
  3. Asus EeePC 901, 1,6Ghz intel atom with 2GB RAM

i think i am going to start by testing xbmc under linux on the HP 6210s.

onsdag 29 oktober 2008

windows command of the day

you can pipe stdout to the clipboard in windows.

example:
ipconfig /all | clip

lördag 25 oktober 2008

google reader keyboard shortcuts

speaking to a unix-consultant at work yesterday, he told me that I had to use the old vi keyboard shortcuts to navigate in a console menusystem.
i told him that it was no problem and that i have owned oreilly's learning the vi editor for eight years.

but then i struck me.
i use the google reader shortcuts a lot and the shortcuts for "up" and "down" is the same as for vi!

"k" for up and "j" for down.

fredag 17 oktober 2008

windows command of the day

this is a old one. but sometimes you scratch your head trying to remember this one:

subst:
Associates a path with a drive letter.


kind of an old shool symoblic link for windows.

lets say for example that you remove a computer from the domain for a retired user that has a lot of files linked to his old home directory. and you have copied over all the files from the network drive to a folder on the local harddrive. and you just want to get it over with and have some well deserved coffee.

use subst and walk away :).
i have plans of writing down som guides on how to deploy windows with MDT both to macs (bootcamp) and the asus eeepc. over wireless.

stay in tune.

in love with resource monitor in server 2008



sitting home on a friday night a bit drunk and monitoring the migration from our old mac-based fileserver at home to the new windows-based one. installing WSUS 3.0 SP1, Windows Deployment Toolkit and running robocopy. listening to old school electronic music and sipping on a beer.
at last some sunshine after a hard week at work.

onsdag 8 oktober 2008

dynamic DNS clients is not registering when using non Microsoft DHCP-server

scenario:
the clients are getting their DHCP-leases from a non-microsoft server and is using the DNS-server in server 2003 as DNS.

problem:
no clients are updating their A RR:s in DNS.


accordning to Microsoft, with the default settings, all versions of windows from 2000 and up should register their own A records and ask the DHCP-server to update the corresponding PTR-records.




but in my case, this didn't happen. i verified that it wasnt a permissions error by setting a static IP and saw that the records got registered.


today after tearing my hairs out for months i finally figured out that the "ask the DHCP-server to register"-part is the culprit.



from this draft http://tools.ietf.org/html/draft-ietf-dhc-dhcp-dns-12:
"If a client that owns/maintains its own FQDN wants to be responsible for updating the FQDN to IP address mapping for the FQDN and address(es) used by the client, then the client MUST include the Client FQDN option in the DHCPREQUEST message originated by the client. A DHCP client MAY choose to include the Client FQDN option in its DISCOVER messages as well as its REQUEST messages. The rightmost ("S") bit in the Flags field in the option MUST be set to 0.

the client sets the 0x00 flags and wants to register its own A-records:


okey, i knew that. but why is it not updating?


then i found this:
"Even, if the Client FQDN option carried in the DHCPREQUEST message has its Flags field set to 0 (indicating that the client wants to update the A RR), the server MAY (under configuration control) update the A RR. The update MUST be originated following the procedures described in Section 5.4. The server MAY originate the update before the server sends the DHCPACK message to the client. In this case the RCODE from the update [RFC2136] MUST be carried to the client in the RCODE2 field of the Client FQDN option in the DHCPACK message, and the Flags field in the Client FQND option MUST be set to 3."

the server replies back with the flags 0x03 which tells the client NOT to update its records, because the server will do this for him.



so XP and Vista is following the RFC-draft but the DHCP-server (who has the ability to register the RR's) tells the client not to do it!



aah, the satisfaction of solving a hard problem. can't beat it :)

söndag 28 september 2008

got myself an eeepc 901!

got the linux model but just booted up into linux once to test how the keyboard felt :).



went into vlite and created a slimmed down vista ultimate cd and copied it to a usb-stick.

used the drivers on asus ftp to get (almost) all the hardware working. after lowering the page file to 200MB and turned of hibernation (open a administrator cmd and type in powercfg -h off) , I got almost 800MB free on my C-drive.


2.7 WEI-points means that i can run the aero-theme if i want. sweet. even if i prefer the windows classic theme set to best performance, as i do on xp.




i am also currently waiting on a 2GB stick of memory that i ordered.


have a feeling that though this installation works perfectly, i am going to wipe the disk soon and see if i can get osx or openbsd installed and working as nicely as vista.