Archive for July, 2011

How to monitor your microphone through headphones in Ubuntu

If you want to monitor your headphone feed, either for streaming it to the output or for mixing purposes, you’ll need to know your audio device names. Start with reading the latter half of this post to find your device names. Once you have the input and output device names, substitute them in the following command:

pacat -r --latency-msec=1 -d alsa_input.pci-0000_00_1b.0.analog-stereo | pacat -p --latency-msec=1 -d alsa_output.pci-0000_00_1b.0.analog-stereo

Note that the .monitor part has been removed from the playback device. Not much explanation to go on here, but it does the job and I’m writing this in a hurry.

Based on PulseAudio: Monitoring your Line-In Interface.

,

Leave a comment

Ubuntu and the Intel Centrino Wireless N 1000 wireless card

The Intel Centrino Wireless N card is on the Dell N4010 and some other laptops. In this case it was the N4010 that a buddy of mine had which gave him the trouble. It’s a compatible card, but needs some nudging to get it to work.

The N4010 also has a software kill button in the form of the F2 key. Bear that in mind when using this machine.

Start by installing rfkill:

sudo apt-get install rfkill

Now check the status of the card:

sudo rfkill list

You should get outputĀ similarĀ to the following:

0: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes

Take a look at dell-wifi‘s Hard blocked status. If it’s yes, your card is disabled via the F2-keys kill function. Hit the F2 key and do…

sudo rfkill list

…again. Your output should now resemble the above.

Now unblock by doing the following:

sudo rfkill unblock all
sudo rfkill list

Your output should now look like the following:

0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

Your card should now work normally. Now check the connection manager for wireless networks. Reboot and verify you still have connectivity.

, ,

Leave a comment

WordPress 3.2 admin area display errors under suPHP

If you do the automatic upgrade to the recently-released WordPress 3.2 and notice the admin area displays incorrectly, you may need to reset some file permissions.

Simply run the following from your web root:

chmod -R g+r,o+r *

Should be all set.

, ,

Leave a comment