Recently I installed Ubuntu on my Desktop. But I met with a difficulty after the installation, my ethernet card is not getting detected.
I searched the repositories and I didn’t get far with that.
Then I searched this in Ubuntu forums, and found a thread similar to my issue.
A solution mentioned there was to install compat-wireless package and enable the module in the kernel.
I downloaded the package from http://linuxwireless.org/download/ and compiled it.
sudo apt-get update
tar -xjvf compat-wireless-x.x.tar.bz2
sudo make install
sudo modprobe atl1c
and rebooted the machine. Voila!!!!! it worked and was able to connect to the internet.
Debian based systems use the file /etc/hostname to read the hostname of the system at boot time and set it up using the init script /etc/init.d/hostname.sh. So on a Debian based system we can edit the file /etc/hostname and change the name of the system and then run,
# /etc/init.d/hostname.sh start
To make the change active. The hostname saved in this file will be saved on system reboot.
update-rc.d is the utility that Debian provides to manage init scripts. It is similiar to Redhat’s chkconfig. Say, you have a new service called “mine” that you would like to start at boot time. Make sure that the file “/etc/init.d/mine” exists. Below is the command that you can type to make your service run at boot time.
# update-rc.d mine defaults
This will make sure that when your system reaches runlevel 2, 3, 4 or 5 that the “mine” service will start up and that in runlevel 0, 1 or 6 it will be stopped. So you’re done with your “mine” and you would like to stop them from starting up when you reboot? Use the command to remove it from starting up at boot time:
# update-rc.d mine remove
To start up in runlevels 2 or 3, you could run the following command:
# update-rc.d mine start 45 stop 01236
Mine will start up when your system reaches runlevels 4 or 5, but stop at 0, 1, 2, 3 or 6.
rcconf ( apt-get install rcconf ) tool is a graphical interface that can be used from the shell to configure your init scripts.