Category Archives: Debian Etch

Debian eth0, eth1, eth2, in Virtualbox or VMware Virtual machines when copying

Debian uses udev. Udev handles mapping MAC’s to the appropriate /dev/eth(X) file. If you copy a Virtual machine, Udev will remember the MAC address of the old NIC. When you copy the machine, the virtual host usually generates a new MAC address for the VM. Udev will assign the new Device to eth1, eth2, and so [...]
Also posted in Networking | Tagged , , | 1 Comment

Debian Samba share. no password. read only

Just install samba server: apt-get install samba edit the config: nano /etc/samba/smb.conf set security to “share” security = share and guest account to nobody guest account = nobody then you just need to create your share like this: [guest share] comment = a guest share path = /path/to/files browseable = yes read only = yes guest ok = yes
Also posted in Samba | Tagged , , | Leave a comment

MySQL table storage engine (switching from MyIsam to InnoDB)

I know I did this the hard way. there is a command that you can issue that will convert them on the fly. what I did was mysqldump the database, reinstall mysql(because of other reasons), and then edit the dump so that the line that specified the engine reads “ENGINE=INNODB” instead of “ENGINE=MyISAM”.Then I imported [...]
Also posted in MySQL | Tagged | Leave a comment

MySQL server –purge and reinstall

Screwed around for a bit. messed up MySQL. I decided to remove –purge, and start fresh. Unfortunately, the reinstall wouldn’t work. Long story short, i had to remove “mysql-server, mysql-server-5.0, and mysql-common”. when i ran this, it also pulled out other dependencies, but i just reinstalled them all. voila! worky.
Also posted in MySQL | Tagged , | Leave a comment

apt gives a “Segmentation faulty tree”

when running an update: sudo aptitude Ouch!  Got SIGSEGV, dying.. apparently, just remove some files: sudo rm /var/cache/apt/*.bin now everything is back to normal.
Posted in Debian Etch | Tagged | Leave a comment