dannyman.toldme.com


FreeBSD, Technical

HOWTO: Archive Audio Streams in to mp3 Files

Link: http://dannyman.toldme.com/2005/02/27/howto-convert-streams-mp3/

I am an NPR junkie, and my new place gets awful reception. And for a long time I have admired TiVo and wondered if my life might not be better if I had a DVR for NPR programs. Add to that KQED’s obnoxious plugin/popup window and the fact that I use an older version of RealAudio to avoid Spyware, which stutters and rebuffers all the time, and I have enough motivation to rig up something different.

I have rigged up a simple system to schedule rips of programs broadcast on the KQED audio stream in to easily manageable .mp3 files. If I had one of them iPod thingies I could even listen to the radio programs on the bus. I might even get around to warezing this to interested friends via BitTorrent and CSS, which would leave us another technical explanation. (more…)

9 Comments


FreeBSD, Technical

FAQ: Stream KQED on FreeBSD

Link: http://dannyman.toldme.com/2005/02/22/faq-stream-kqed-freebsd/

If you want to listen to KQED using FreeBSD, install mplayer:

mplayer mms://wmbcast.kqed.speedera.net/wmbcast.kqed/wmbcast_kqed_jan032006_0957_103495

UPDATE: I just discovered the -playlist feature. So, this works even better:

mplayer -playlist http://www.kqed.org/w/streamingfiles/kqed_wmp.asx

I have also figured out how to convert the Windows Media Player stream in to mp3 files, and may set up a system to “record” programs on a regular schedule, at which point I can listen to public radio as I would watch TV on a DVR. (Radio TiVo!)

If anyone might be interested in getting in on a non-RealAudio “NPR audio archive” via a bittorrent setup, I’d love to hear from you.

1 Comment


FreeBSD, Technology, Testimonials

Skype

Link: http://dannyman.toldme.com/2005/02/16/skype/

Skype is an Instant Messenger client with a twist — if you hook up a microphone you can CALL each other. Like a telephone, only you can see if your buddy is online before you interrupt them. The audio quality is very good, and clients are available for Windows, OS X, and Linux. The Linux client works on FreeBSD.

Even nicer, you can dial out on Skype, for exceedingly low rates. It costs us about 3c a minute to call Japan, though we’re going to get Noriko-san on Skype soon enough, and then the calls will be free.

If anyone wants to try it out, you can ring me at dannymanTM.

To answer a question you may have on your mind, Skype is not a telephone, so it is different from a VOIP service, where they send you a telephone that you hook up to your broadband. Instead, Skype is a way of making telephone calls from your computer. Unfortunately, people can not yet dial in to someone using Skype.

For me, though, it is as if the Internet has come full-circle: we used to have to find a cheap local number to dial in to the Internet on our existing telephone. Now, we are finding cheap services to make telephone calls on our existing Internet connection. Yow!

Feedback Welcome


FreeBSD, Technical

FreeBSD HOWTO: Software Mirror System Disk

Link: http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/

A new feature of FreeBSD 5.3 is the ability to set up a software mirror of your system disk. This allows you to boot off either of a pair of hard disks, which will then function as a RAID1, which will ensure system uptime in the face of a single disk failure. (more…)

41 Comments


FreeBSD, Technical

HOWTO: NDISulate Windows Drivers on FreeBSD

Link: http://dannyman.toldme.com/2005/01/05/freebsd-howto-ndisulate-windows-drivers/

This is the second time I am going to use NDIS to allow FreeBSD to load the Windows drivers for a Dell laptop to access the built-in wireless. As this is my second time, it is good to make my own crib sheet of what I have to do, so I can do it even quicker next time, and because you, the reader, might find yourself here thanks to Google.

In both cases that I have done this I have been starting with FreeBSD 5.3. According to this crib sheet, you need to be fairly current with 5.x to do this. That crib sheet is also my main source of reference.

If you have already done this to your system and find yourself having to re-do NDIS after an upgrade, you may find my “rendis” script handy.

If you have already done this to your system, and are tracking -STABLE I have read that you no longer have to follow these steps, but merely run:
ndisgen (more…)

36 Comments


FreeBSD, Technical

HOWTO: Play random mp3s with mpg123

Link: http://dannyman.toldme.com/2004/12/28/howto-mpg123-random-mp3s/

Assuming your mp3 collection is in $HOME/mp3s:

find $HOME/mp3s -name '*.mp3' | mpg123 -Z -@ -

The find command generates a list of .mp3 files in your $HOME/mp3s, and that mpg123 command says play songs randomly (-Z) from the list (-@) that I am feeding you via stdin. (-@ -)

To skip a song you are not enjoying, press control-C.

-d

Feedback Welcome


FreeBSD, Technical

FreeBSD and Laptops, Windows and rsync Backups

Link: http://dannyman.toldme.com/2004/12/07/frebsd-laptops-windows-backups/

My fancy new Dell laptop and FreeBSD are a bit of an odd couple. I haven’t tried yet, but apparently I could get the trackpad, nub and mouse keys working through something called “Project Evil” that supports Windows drivers under FreeBSD. Entering suspend mode causes the computer to reboot, this in part because apparently Dell has messed up their implementation of standards-compliant power management, but whatever. (more…)

Feedback Welcome


FreeBSD, Technical

FreeBSD: Overriding the System Timezone

Link: http://dannyman.toldme.com/2004/11/01/freebsd-user-timezone/

I just stumbled on this. My e-mail server is in California, but I am in Chicago. However, I launched my current screen before we ran tzsetup on the server, so my IRC window and mutt were displaying times in GMT.

Now the server is displaying times in Pacific time. Yet for my login shells it is displaying in Central time. How? (more…)

Feedback Welcome


FreeBSD, Technical

PostgreSQL Database Restored from Filesystem

Link: http://dannyman.toldme.com/2004/10/28/postgresql-database-restored-from-filesystem/

lnk.to is back online. I was even able to restore the database. I was skeptical, at first, because I could not understand quite how the Postgres database was laid out, filesystem-wise. And the install provided was different in layout than the install that had preceded it. How much fighting with Postgres would be required? (more…)

1 Comment


FreeBSD, Technical

Dovecot: IMAP Server Sounds Good (So Far)

Link: http://dannyman.toldme.com/2004/10/19/dovecot-sounds-good/

I’ve done UW-IMAP, Cyrus imap and Courier. Dovecot sounds like it took the best of all three:
(Thanks, Photo Matt)

(more…)

Feedback Welcome


FreeBSD, Technical

Latest Firefox Port on FreeBSD

Link: http://dannyman.toldme.com/2004/10/14/firefox-1-port-freebsd/

From the bleeding edge — get it working thusly:

  1. portupgrade
  2. Backup your bookmarks.html
  3. Remove your .mozilla directory
  4. sudo firefox to set things up
  5. chown -R `whoami` .mozilla
  6. Put your bookmarks.html back
  7. Run firefox under your own UID. :)
  8. And reinstall your preferred theme and all your favorite extensions.

At least it works well under Windows.

1 Comment


FreeBSD, Technical

HOWTO: Create a Tar Archive From a File List

Link: http://dannyman.toldme.com/2004/09/14/howto-create-tar-archive-from-manifest/

I had a list of files that someone requested. I wanted to put them in a tar archive, but the tar on the box doesn’t have an option to add a list of files. Huh. Well, this is quick and dirty, and will choke if you have any space in the filenames, but it met my purposes: (more…)

8 Comments


FreeBSD, Technical

Quick Unix Tip: “Look”

Link: http://dannyman.toldme.com/2004/08/18/look/

You may already know about /usr/dict/words, /usr/local/share/dict/words, /usr/share/dict/words or wherever it is on your local system that the list of English-language words is installed. I don’t know how many times I have egrepped this file to check my spelling.

Apparently though, there’s been a handy command available since Version 7 AT&T UNIX. It is called “look” and it is handy for looking up words. (more…)

Feedback Welcome


FreeBSD, Technical

Props to FreeBSD and its USB Support

Link: http://dannyman.toldme.com/2004/05/05/props-to-freebsd-and-its-usb-support/

I spied a pretty Microsoft mouse laying near my desk. It has laser beams. Cool. I swapped it in to my workstation. I was apprehensive at first, because the existing mouse is PS/2, and this new mouse is USB … oh man, this could be a pain in the ass. I even avoided unplugging the PS/2 mouse. Back in 1997 when PS/2 mice were new, I recall a coworker at NCSA being reluctant to reboot FreeBSD so that it would see the PS/2 mouse, which was in those days only probed at boot.

Well, wouldn’t you know, but the new mouse worked right out of the box, so to speak. The USB architecture detects the mouse, then runs the appropriate daemon and hooks it up to /dev/sysmouse, which X is looking at. Everything was great, except the wheel didn’t take. I dropped by the awesome and handy Mouse Wheel Support for X in FreeBSD, edited my usbd.conf, restarted the moused, and everything was groovy.

Yeah, Windows handles mice better, but I’m impressed that FreeBSD did well enough in one of its weak spots – I didn’t have to restart X or nuffin’!

/danny

Feedback Welcome


FreeBSD, Sundry

Gettin’ the Job Done!

Link: http://dannyman.toldme.com/1999/06/18/gettin-the-job-done/

Ah, so yesterday I drove over to Wal Mart and picked up some Liquid Wrench and a kit with a 2 ton jack and jack stands. And I adjusted the brakes. They’re better now, though not as good as I’d like … some of those adjusting stars are damned stuck. I’ll take it some place professional and hard-core perhaps.

Got to work around 3:30. Then I figured to punch down the Ethernet cables I could to the patch panel once and for all, while I installed FreeBSD on a machine to determine if Apsfilter and Samba could do a better job of sharing a printer than NT Workstation. Been bleeding my forehead trying to figure out how the freak Windows 95 clients were supposed to print to the NT Workstation that had adopted the printer before my arrival. FreeBSD and Samba proves to have better interoperability with Windows than NT Workstation does. The irony is not lost on me.

Since the machine I found happens to be a PentiumIII at 450 Mhz, and I was installing FreeBSD, and the graphics card looks pretty bad-ass too, I’m using the print server for my new desktop machine. It is too hard-core to be a humble printer server.

Left work around 3:30. My message about getting printing to work was well received, especially with the Windows 98 crowd. Slept in. Then I went to the Men’s Wearhouse and spent a lot of money. I bought a suit, shirt, two ties, socks, fancy shoes, some italian sandals, hell a belt, uhmmm. I even got a Men’s Wearhouse credit card. My first suit. Well, I bought about half a suit once for the Allen Hall formal one year, but this time I got all hard-core.

With the Men’s Wearhouse credit card, you get free pressing.

Anyway, then I did the laundry, eating at this chinese greasy spoon. Greasy food, but well, a big plate o’ stuff for $4.90, probably the best deal I’ve had yet in California.

Oh, I got the car washed yesterday too. There’s this big ol’ place on El Camino right by the house (like, a block or two away) where this army of Mexicans in blue shirts cleans your car inside and out for $13.25, I think it was. There’s a sign that says that they recycle the water, so going to the car wash uses less water than doing it yourself. And they give you lemonade and popcorn so it’s just really sweet.

I think the guy who gave the car back was hoping for a tip though. Next time. While they didn’t get all the little insect guts that had been pounded onto the hood at 75 MPH and then cooked on in the California sun over these past weeks, the car was really clean … I like it. Had that newish feeling.

Well, the plane leaves tonight at 11 PM. Mom is gonna meet me for tomorrow morning’s 4AM layover at O’Hare.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive