Debian girl
Create a silent mp3 to mute videos online
arecord -d 10 /zero | lame - -b 32 -h silence.mp3
Error mounting: mount: unknown filesystem type ‘exfat’

Unable to mount XX GB Filesystem
Error mounting: mount: unknown filesystem type ‘exfat’

You need to install ExFat support in Ubuntu.

sudo apt-add-repository ppa:relan/exfat
sudo apt-get update
sudo apt-get install fuse-exfat
Rename a debian server

Change name in those two files

vi /etc/hostname
vi /etc/hosts

Reconfigure openssh

/etc/init.d/ start
dpkg-reconfigure openssh-server
Debian kernel upgrade with Nvidia non-free drivers

I just upgraded my debian kernel and couldn’t startx anymore.

I needed to upgrade my nvidia non-free video drivers:

sudo aptitude update
sudo aptitude install nvidia-kernel-source
sudo m-a a-i nvidia-kernel-source
Format fat32 linux
sudo aptitude install dosfstools
sudo mkfs.vfat -cv -F 32 /dev/sdb1

I use the “dmesg” command to find the correct /dev file to format.

-c (search for bad blocks) -v (verbose)

Debian linux Nikon D90 USB PTP mount

Some stupid engineer removed the USB mass storage feature from their DSLR nikon products.

To plug your Nikon D90 or other to your ubuntu / debian linux, you have to install some software.

sudo aptitude install gphotofs
sudo adduser alissa plugdev
sudo mkdir /media/d90
sudo chmod a+rwx /media/d90

To mount your camera through USB with the PTP protocol:

gphotofs /media/d90

To unmount:

fusermount -u /media/d90
Install software from previous debian install

On the previous debian install:

sudo dpkg --get-selections > packages.log

I edit my packages.log to containt only sofware packages (no libs) and copy it on the new debian install where I type:

sudo dpkg --set-selections < packages.log

I fire aptitude and check if everything is ok, then I type G to install.

sudo aptitude
Install skype static with debian amd64

I always download and install the static linked version of skype for linux.

aptitude install alsa-base ia32-libs
tar xfj skype_static- 
cd skype_static-
mv skype_static- /usr/share/skype
sudo mv skype_static- /usr/share/skype
sudo ln -s /usr/share/skype/skype /usr/bin/skype

But then, when you run skype…

Inconsistency detected by dl-open.c: 643: _dl_open: Assertion
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT'

This bug with ia32-libs is solved with david’s solution.

dpkg -X libgdbm3_1.8.3-9_i386.deb /tmp/
dpkg -X libwrap0_7.6.q-18_i386.deb /tmp/
cp -avi /tmp/lib/* /lib32
cp -avi /tmp/usr/lib/* /usr/lib32
Installing my debian, going to post configs.