Archive for November, 2009

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

uses udev. Udev handles mapping MAC’s to the appropriate /dev/(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 .
Udev will assign the new Device to eth1, eth2, and so on. If you want to change your NIC assignments make Udev forget the old MAC.
In Debian 5 (lenny) it is in this file:

/etc/udev/rules.d/70-persistent-net.rules

In Debian 4 (etch) it is in this file:

/etc/udev/rules.d/z25_persistent-net.rules

To apply changes in Lenny: “udevadm trigger” or “udevtrigger” (in Etch)

Karmic install cannot login (gdm freezes) Nvidia

On a fresh of , using an 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the fixed the issue. To fix it:

  1. Do a hard reset on the machine
  2. When you arrive at the screen, DO NOT CLICK ON ANYTHING.
  3. press CTRL + ALT + F5. Your screen will switch over to a text console.
  4. Log in.
  5. Install the Nvidia glx
  6. sudo aptitude install nvidia-glx-new
  7. Reboot the machine.
  8. sudo reboot