Monday, January 14, 2008

Record from line in using sox

Connect a device to your line in port on your PC.

I have connected an AM/FM stereo.

sox -t ossdsp -w -s -r 44100 -c 2 /dev/dsp -t raw - | lame -x -m s - ./file.mp3

Might need to run as sudo
Needs sox and lame installed

Saturday, January 12, 2008

Getting wireless card to work in linux

Finally got my Netgear WG111T working in linux.

It needs to have ndswrapper 1.7 or higher, Slax 5.0.8 has ndiswrapper 1.10 so you're good there.

To get it working I did:

ndsiwrapper -i athfmwdl.inf
ndiswrapper -i netwg11t.inf
ndiswrapper -m
modprobe ndiswrapper
ifconfig wlan0 up
dhcpcd -d wlan0