Конфиги... | Альтернативный Форум

Конфиги...

  • Автор темы Автор темы metallphilin
  • Дата начала Дата начала
M

metallphilin

НЛО опубликовал
предалагаю сюда постить конфиги свои (рабочие)

мне к примеру нужно было редактировать конфиг /etc/conf.d/net

но он блин вообще пустой был :( и взять не где. вот это и послужило целью создания топика.

/etc/conf.d/net

PHP:
iface_eth0="172.22.8.155 broadcast 172.22.8.255 netmask 255.255.255.0"
gateway="eth0/172.22.8.1"

естественно изменить на свое.
 
добавлю, забыл про DNS:
/etc/resolv.conf
Код:
nameserver 172.22.0.1
 
положи фстаб. как монтировать фатники с нормальной кодировкой.
 
а я ntfs разделы в local.start монтирую =)
 
fstab:

PHP:
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't 
# needed; notail increases performance of ReiserFS (at the expense of storage 
# efficiency).  It's safe to drop the noatime options if you want and to 
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# <fs>			<mountpoint>	<type>		<opts>		<dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1		/boot		ext2		noauto,noatime	1 2
/dev/hda4		/		ext2		noatime		0 1
/dev/hda6		none		swap		sw		0 0
/dev/cdroms/cdrom0	/mnt/cdrom	iso9660		noauto,iocharset=koi8-r,ro	0 0
/dev/fd0		/mnt/floppy	vfat		noauto,iocharset=koi8-r,rw		0 0
/dev/hda2             	/mnt/c          vfat            noatime,users,rw   0 0
/dev/hda5             	/mnt/d          vfat            noatime,users,rw   0 0

# /dev/hda2		/mnt/c		vfat		noatime,users,rw,iocharset=koi8-r,codepage=866,exec,umask=000	0 0
# /dev/hda5		/mnt/d          vfat            noatime,users,rw,iocharset=koi8-r.codepage=866,exec,umask=000	0 0

# NOTE: The next line is critical for boot!
proc			/proc		proc		defaults	0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for 
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm			/dev/shm	tmpfs		nodev,nosuid,noexec	0 0
 
Назад
Верх Низ