Thursday, 7 August 2014

WiFi and Windows Server 2012


I'd tried 3 different Wi-Fi devices with my Windows Server 2012 before it clicked that they couldn't all not work. USB pens, PCI-E cards and the like.

So for those of you banging your heads against a wall wondering, why if the device is detected OK, the drivers are installed OK and everything appears fine, you cant find the page to connect to Wi-Fi networks under Windows Server 2012...its because its not installed!

Arghhh.

At no point does the O/S pop up and go "This functionality is not installed" it just sits there blankly (listing the networks for the Ethernet card if you've got one).

So if you want WiFi on Windows Server 2012:

1)Launch Server Manager
2)Manage/Add Roles and Features
3)Select Features from the left hand side (You may have to click Server Roles first, weird interface).
4)Tick and install Wireless Lan Service
5)Reboot
6)Fly

Hopefully this will help a few others avoid the desk munching I've been doing.

So I can confirm the TP-LINK TL-WDN4800 works fine under Winblows Server 2012.

Tuesday, 4 June 2013

MythTV and Recording from a SkyHD box.

At the moment my setup is as follows, a MythTV box runing Ubuntu Linux 11, with to Hauppauge Nova-S Plus S1 PCI Satellite cards. and 2TB of space.

It records (Mostly in SD since the BBC swapped to the S2 standard) quite happily day to day but I like to record the F1 to watch in the off season, so since this moved to Sky (boo hiss!!!) I need a way to get the recordings from the Sky box and on to MythTV.

3 Options present themselves

Option 1

Use Compisite out on the SkyHD box to the Composite in on one of Nova-S cards.
Upsides:Free
Downsides:Poor Quality

Option 2

open the SkyHD box take out the hard drive, nab the encrypted gp file, decrypt and ta da
Upsides:Free, HD
Downsides:Labourious

Option 3

use a HDMI in type recording device
Upsides:Easy, HD
Downsides:Not free, what if Sky switch on the HDCP encryption?

To begin with I'll go with Option 1 and see what the quality is like:
Capture over composite from SkyHD box.
Capture Via Composite from Sky HD Box
Not bad, watchable. But this is where i start to run into problems with sound. While the picture works a treat /dev/video0 there is no sound. Debugging the sound was a total pain in the whatsists and this blog entry is really here so I have somewhere to log the steps I went through.

Step 1, list all the audio in devices:

maff@mythbox:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 2: ALC889 Analog [ALC889 Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 2: CX8801 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: CX8801_1 [Conexant CX8801], device 0: CX88 Digital [CX88 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
maff@mythbox:~$

And this is where the fun and games begins, you can see the two sat cards CX8801 and CX8801_1. CX8801 is always /dev/video0 and CX8801_1 /dev/video1 however some times, say every other boot, the sound in is HW:2,0 and some times HW:3,0. Weird. Ok how about I plug the sound into mic in on the PC, thats unlikely to change. HW:0,0

To test this, a quick arecord remembering to specify sample rate of 48000 as this is what MythTV needs:

arecord -D hw:0,0 -r 48000 -f S16_LE -c2 foobar.wav

and play it back:
vlc foobar.wav

success!

excellent, so back the mythtv-setup bash in hw:0,0 in the card config, save back to mythtv and....

silence.

arse.

so whats the difference, arecord can get audio from hw:0,0 but not mythtv, turns out Mythtv needs an ALSA prefix in order to work so should be set to ALSA:hw:0,0 and finally sound!

Awesome, hopefully next time it craps out and goes silent I'll now have somewhere to look and find out what I did.



Saturday, 16 February 2013

Bigpower is down!

Worry not, I'm on the case.

Maff

Friday, 22 April 2011

Cyprus steak sauce.

Tablespoon of margarine into medium heat ovenable frying pan.
Add a roughly chopped onion.
3 cloves of garlic crushed.
1 sliced courgette.
2 tomatoes, roughly chopped.
Salt, 1 tsp of paprika. 1 tsp of coriander.
Cook until onions soft.
Add 5 thinly sliced button mushrooms.
Add 1 tablespoon of plain flour, stir in.
Add 1/2 glass of Merlot. Stir in.
Add 1 tablespoon of tomato puree. Stir in.
Add water until sauce is consistancy of pouring cream.

Add rare steak and cover with sauce. Bung in oven at gas mark 5 for 30 minutes.
Eat

Thursday, 31 March 2011

37% through Dracula by Stoker, Bram on Kindle for Android! http://www.amazon.com/kindleforandroid/

Wednesday, 30 March 2011

Link of the Week

This tickled me, with two little people at home learning the English language a certain amount of guessing of spellings goes on, I can only image the random collection of letters that spawned the thought in the head of the owner of textaligncentaur.com.

Awesomeness!

Tuesday, 29 March 2011

Blogging from a smartphone.

How easy is it?
Well, its easy enough, but damn is it slow. Which tard put the "," on a different tab to the text on android?
Next, a picture:
Well, I've taken a if of fat bloke ... can't figure out where in the text it comes.
Ok, test publish, lets see what happens.






Addendum:
I've left all the spelling mistakes and layout above as is from the phone to get an idea of what its like.