Linux: Adding a new user with group
useradd -G {group-name} username
useradd -G {group-name} username
For those of you like me who have a worn-off sticker on the device, you can do a factory reset (button in small pinhole on bottom), and the default WIFI password is the MEID of the device. Note: It begins with 091
/etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 auto eth0 iface eth0 inet static address 208.85.x.x netmask 255.255.255.x gateway 208.85.x.x auto eth0:1 iface eth0:1 inet static address 208.85.x.x netmask 255.255.255.x
For PV ethernet support in the guest, you’ll need these drivers now available from the Fedora project: http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
Blackberry (RIM) data and email service confirmed down since 2:00AM Eastern 01/29/2011, with no ETA in sight. Looks like all carriers are affected, with AT&T and Verizon confirmed.
SAM4 has a slightly different database format and filesystem layout than SAM3. You should not try an in-place upgrade, or bad things can happen. The best way to upgrade if you have a large or refined playlist, is to install SAM4 along side SAM3 and copy the playlist tables over. This way you can leave […]
A quick non-destructive test of disk write performance on Linux. Useful for testing cheap HDD’s (write will almost always be worse than read): dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
If compiling a Vanilla kernel for CentOS, you may encounter the following after rebooting: Setuproot: moving /dev failed: No such file or directory Setuproot: error mounting /proc: No such file or directory Setuproot: error mounting /sys: No such file or directory […] Kernel panic – not syncing: Attempted to kill init! To resolve the booting […]
To validate the database: gfix -v -f database_file To (attempt to) repair the database: gfix -mend database_file
Sometimes an email account goes over quota and the quota can’t be adjusted due to the following error: Error invalid maildir size file The following commands ran as root will resolve most email quota issues for a Cpanel account, including incorrect quota calculations. Substitute <cpaneluser> with the Cpanel user which owns the email account having […]