Setup as default device your Chord Gem or any other bluetooth device

The instructions outlined in this article have been implemented on a Linux OpenSuSE 11.2 64bit but they will work on any Linux with close to none modification.
Install all alsa related packages to your distribution. Then type: hcitool scan and grab the MAC address of your device.
It will be something like 00:07:80:89:4A:33.
Then all you need is to modify your ~/.asoundrc file like the one provided below.




Setup NFS server in 5 minutes

Assuming you are on an ubuntu Linux. All you need is the following packages:
sudo apt-get install nfs-kernel-server nfs-common portmap
When configuring portmap do =not= bind loopback. If you do you can either edit /etc/default/portmap by hand or run:
sudo dpkg-reconfigure portmap
sudo /etc/init.d/portmap restart




How to check if firewall is blocking a port

Assume you want to check if port 2222 is running fine. Type the following: lsof -ni tcp:2222
You will get an ouput like:
COMMAND    PID   USER   FD   TYPE DEVICE SIZE NODE NAME
directadm 4132 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)
directadm 4377 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)
directadm 4378 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)
directadm 4379 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)
directadm 4380 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)
directadm 4381 nobody    0u  IPv4  12402       TCP *:rockwell-csp2 (LISTEN)




[1]
Items 1 - 3 of 3 displayed.

Back to Home page