Re: newbie... 基本上網設定
ÁÂ, ¦ý§Ú¥i¥H¦b¨º¬Ý¨ì¥H¤U¸ê®Æ©O?
§Úªº Learning Debian GNU/Linux - O'Reilly ¦³¥H¤U¸ê®Æ:
.. typical /etc/init.d/network file.
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
IPADDR=192.168.1.10
NETMASK=255.255.255.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add default gw ${GATEWAY} metric 1
¦Ó Mastering Linux - Sybex ¦³¥H¤U¸ê®Æ:
start-up scripts, such as /etc/rc/d/rc.local... typical rc.local file
/sbin/ifconfig eth0 100.100.100.10 netmask 255.255.255.0 up
/sbin/ifconfig lo 127.0.0.1 up
/sbin/route add -host 127.0.0.1 lo
/sbin/route add -net 100.100.100.0 netmask 255.255.255.0 eth0
/sbin/route add default gw 100.100.100.1 eth0
¥H¤W Mastering Linux ªº §Ú¦³¸Õ¹L work (¨CÓ command ¥´)
¦ý´N·Qª¾§A¥´ªº Setting ¬O±q¦ó¨Ó...
¬O¤£¬O specific Debian ªº?
¡i ¦b evil (Lamer) ªº¤j§@¤¤´£¨ì: ¡j
: ¡i ¦b volospin (¥bÓ¥xÆW¤H) ªº¤j§@¤¤´£¨ì: ¡j
: : ÁÂ, ¨ºÀ³¦b¨ºÓ file add ¨º¨Ç¦æ¤~¥i¥H¨C¦¸ autorun, ¤£¥Î¦¸¦¸¥´©O?
: /etc/network/interfaces
: iface lo inet loopback
: iface eth0 inet static
: address 192.168.0.220
: netmask 255.255.255.0
: gateway 192.168.0.1
: [1mCopy and paste pls.[0m
--
[1;35;40m¡° [33m¨Ó·½ [30m¡À [32me-Fever BBS ¢I bbs.e-fever.org[30m ¡À [1;35m[[33mFrom: 202.71.197.38[35m][m
Reply to: