Ronneil Camara wrote: > I would like to know what file is used for setting up ip addresses and > gateway. What about interfaces, how can I create more than 2 lan cards > enable. Let say, I got 2 3com nics.
The file of interest is /etc/network/interfaces, an example would be: # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or # /usr/share/doc/ifupdown/examples for more information. auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.3 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 This file contains bindings for loopback and an ethernet card. When using two cards, just use a second entry for eth1 with diff. IP address. > > In redhat, I used rpm. What pkg installer should I use in debian? The packages are .deb, the packager is dpkg, but u mostly use its frondends apt-get (e.g. apt-get install binutils) or dselect (a more "graphical" frontend). > > Can I also untar linux-2.2.19.kernel.source.tar.gz under /usr/src and do > the same stuff I've been doing for a long time? make menuconfig dep > clean modules modules-install bzImage. Should I also copy the compiled > kernel to /boot and edit lilo.conf then run lilo? Of course you can! I am doing it all the time with the 2.4 series, works great. > > Where can I find rc.local? What is the similar redhat init scripts > /etc/rc.d/init.d in debian? The scripts reside in /etc/init.d, the dirs /etc/rc1.d ... contain symlinks to those in /etc/init.d; distinguished by numerical order and mode (start or kill service). Timo