Linux/2-Config: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 8: Line 8:
auto eth0
auto eth0
iface eth0 inet static
iface eth0 inet static
address 192.168.0.2
  address 192.168.0.2
netmask 255.255.255.0
  netmask 255.255.255.0
network 192.168.0.0
  network 192.168.0.0
broadcast 192.168.0.255
  broadcast 192.168.0.255
gateway 192.168.0.1
  gateway 192.168.0.1
 
auto eth1
iface eth1 inet dhcp
</pre>
</pre>
* /etc/rcX.d [Runlevel scripts K=Kill S=Start]
* /etc/rcX.d [Runlevel scripts K=Kill S=Start]

Revision as of 12:36, 17 November 2012

config files

  • /boot/grub/menu.lst
  • /etc/apt/sources.list
  • /etc/apache2/*.conf
  • /etc/dhcp3/dhcpd.conf
  • /etc/network/interfaces
auto eth0
iface eth0 inet static
   address 192.168.0.2
   netmask 255.255.255.0
   network 192.168.0.0
   broadcast 192.168.0.255
   gateway 192.168.0.1

auto eth1
iface eth1 inet dhcp
  • /etc/rcX.d [Runlevel scripts K=Kill S=Start]
  • /etc/ssh/sshd_config
  • /etc/samba/smb.conf


  • /etc/fstab
  • /etc/hostname
  • /etc/hosts
  • /etc/inittab
  • /etc/resolv.conf