Cool phone service for travelers
multiple numbers, no roaming… sounds like it just needs some growth, early adopters, and polish. Slick idea.
Cool phone service for travelers
multiple numbers, no roaming… sounds like it just needs some growth, early adopters, and polish. Slick idea.
Wow, I was putting together my MythTV machine and it was OK until I had to get my remote front-end working. Because of the WAF, I selected a small machine – the Hauppage MediaMVP. What I didn’t recognize was that the documentation for getting it running… umm… stinks. Or at least is severely misleading (http://www.mvpmc.org/ mvpmc-HOWTO-singlehtml.html, not linked so you don’t try and use it. I should have noticed when it used software 13 versions old.). Or is really hard to find. So here’s my trials and tribulations and fixes, for anyone who is doing it.
Add to Ubuntu (Feisty Fawn) to get the mvpmc code loaded:
apt-get install atftpd tftp
mkdir /tftpboot
chmod a+rwx /tftpboot
export TFTPBOOT=/tftpboot
cd /tftpboot/
wget http://downloads.sourceforge.net/mvpmc/dongle.bin.mvpmc-0.3.3?modtime=1169 586056&big_mirror=0
ln -s dongle.bin.mvpmc dongle.bin.mvpmc-0.3.3
ln -s dongle.bin.mvpmc-0.3.3 dongle.bin.mvpmc
but then I was shocked to find that while the config files for inetd were created, there was no inetd. So…
apt-get install xinetd tcpd
apt-get install nfs-common nfs-kernel-server
cd /etc
e exports
ls /media/hdb1/mythtv/recordings/
/etc/init.d/nfs-kernel-server start
/etc/init.d/nfs-common start
update-rc.d nfs-kernel-server defaults
and then it wouldn’t read the config file. Time to add the setting to have xinetd use inetd.conf…
e /etc/init.d/xinetd
add in flag: -inetd_compat
I learned that the instructions on mvpmc.org are pretty specific to the first generation of the machine, the H1. However, those aren’t made any more… and once I got into trouble, each piece turned out to be challenges with the version. I’ve got an H3. For that, you need a special service that whispers magic incantations into the ear of the MVP. It also needs a significantly different guide… and after searching and searching (has VLC notes for future) and searching (supersweet detail, enough to choke on and more, which also gave me the link to…) I finally stumbled across on http://mvpmc.wikispaces.com/ and started getting more progress on MythTV setup… well, almost…
e mvpboot.pl
and I then went spelunking into mvpboot.pl and mvprelay.c -
perl -MCPAN -e shell
install Net::Interface
apt-get install initrd-tools gcc
dd if=dongle.bin.mvpmc-0.3.3 of=dongle.bin.ver bs=1 count=40 skip=5
So once again I’m thrilled by Debian/Ubuntu and their dependencies… as well as the prompts (when you run a nonexistent program, Ubuntu now suggests packages to install that provide the command you’re trying to use… very cool). But I hate how I rely on them, because I thought once I actually installed GCC that it would work. I finally was googling and found I was still missing one big piece:
apt-get install build-essential
and now all the compilation stuff worked and Perl was happy. Argh!
I then started fighting my drive definitions… I had partitioned my three drives in a marvelous way, redundancy for the OS and big space for the media:
Mirrors on drive 1 and 2:
- 100mb – /boot
- 2gb – swap
- 28gb – /
One big XFS drive (3) for media:
- 400gb – /media
except it appears Ubuntu uses /media for its mount space, and somehow my brain didn’t register that. So when the folder was there, I thought it would have my big space… but no. Fought with fstab a while and eventually got it so the last drive moved to /mediafiles and all started working.
Now the shiny stuff. MVPMC can stream music from a central server, too…
apt-get install slimserver
and it didn’t work that well when I put it in. All I could get was a statement from Live365 that I wasn’t logged in. Shockingly, when I went to the SlimServer instructions and did some basic configuration
it worked. Who’da thunk it? I also had to chmod 777 to get it to read the media… I’ll clean that up later.
Other MythTV bits:
apt-get install mythweb mythmusic mythvideo mythplugins ogle mplayerapt-get install vlc videolan-doc
Followed the instructions on setting up vlc. It also said I needed mpslave to use aacPlus or Real Audio streams… right now I don’t need that bad enough to do the work. It’s not working yet, so I’ll have to poke it more later.
What remains? Glad you asked…
Ubuntu server without starting X
I wanted to have my server with X installed but not starting, and found a handy tool rcconf from a discussion about how to keep X from running automatically. It handles the startup alterations for you, kind of like chkconfig in redhat.
Technorati Tags: ubuntu, xwindows, rcconf
A friend of mine, Bill, found out that his password had been mailed to him in plaintext from his ’shiny, new 401k’ and he wrote about the disconcerting experience of a financial services company being careless with security. Having worked in a financial services company, I can only say that the troubles he encountered are not that bad… you should have seen some of the sausage in the factory I worked in.
That said, Bill violated a crucial rule of security and he needs to learn it as much as the Schwab folks need to learn their own lessons:
Never, never, never depend on someone else to provide your security.
Bill “used one of his common passwords”… and you shouldn’t have any of those. A common password is a common vulnerability, especially because you can’t know how companies will protect your passwords or your data — as he unfortunately learned. To avoid this, you can use a desktop application (such as the free Password Safe, originating from Bruce Schneier’s Counterpane Labs) or a browser plug-in (such as Password Hasher or Secure Login or any of the other 48 listed on the addons site) or the Mac’s built-in Keychain app so you can generate random passwords and never, never reuse them. Personally, I’ve been using Password Safe for years.
He also offers great tips for websites to make their applications more secure, like not asking for really constant, common, data like mother’s maiden name. The other option is to not answer with an expected response. Mother’s maiden name? Istanbul. Honeymoon location? Jones. And so on…
Never trust someone else’s security.
Technorati Tags: security, password, firefox
More quick reference links to apache goodness: mod-rewrite and virtual hosts overview. Next step, hooking up the rewrite so my old-format links with multiple blogs point to the new-format post URLs. sigh.
Wordpress is simple, but it still isn’t psychic.
And I also found that Redhat has a nice overview of named for those of us still learning BIND.
I finally got the MU installation working the way I desire, though it ended up requiring some code hacking. Why? For some reason, the wpmu-settings file strips out “www.” before evaluating the blog… and when it did that and redirected, it found my Apache redirect… which sent it back to www, which stripped… and so on.
It ended up being a very easy fix… comment out two lines and bingo! the code works how I expected. But it took hours of searching because the code somehow thinks a “www” subdomain should be handled differently than any other subdomain. I disagree, and once I remove the “www” restriction in the admin tool, I expect the code to behave consistently.
I finally found the solution on a couple of the WPMU forum threads where others had the same problem — I simply wasn’t searching for “www” because… well… why would that subdomain be handled any different than all others I was using?
I also found a link to a multisite manager which could eliminate a bunch of the multi-domain manual database work I was doing. I’m downloading it and will have to play with it later when I have free time…
MU themes and quotes now working
…thank goodness. OK, on to the next challenges… how to adapt the theme(s) to the new 2.x code, and then to run the theme security scanner…
used Stray Quotes since it appears to be more maintained. Now I just have to actually get updated themes and then add it in again…
Also, I got closer to the everything-running-multidomain (though not with multiple URLs to the same blog, and I may fall back on apache redirects) thanks to a discussion thread with Dr. Mike and then a recipe from cafespain for making multiple domains work:
There’s some discussion of issues with administration of blogs on other domains farther down after that recipe, but we’ll burn that bridge when we come to it.
Notes on getting mu working…
From David Yin, a tip on adding Ubuntu mod-rewrite:
To install mod_rewrite, “sudo a2enmod rewrite”
The site-add dialog doesn’t let you do both subdirectories and subdomains, though I can’t see why not. It also restricts you to a 4-character subdomain, but you can alter that within the database and it doesn’t seem to cause any problems. Not yet.
I’m also trying to figure out how to have both subdomains and subdirectories, and/or how to have multiple subdomains that point to the same blog. Still in process… let me know, Noble Reader, if you have any tips.
Apple’s design strikes again – five words that evoke so much. I’m surprised (and yet not so much) that Microsoft had to try and emulate them, and that the emulation is laughable. Why even try?
Thanks to JoelOnSoftware for the writeup…