Re: Urgent!. Problem with / etc / rc.conf

看板FB_questions作者時間14年前 (2011/11/06 12:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/9 (看更多)
On Sun, Nov 6, 2011 at 12:10 AM, Zantgo <zantgo@gmail.com> wrote: > Without wanting to erase all contents of / etc / rc.conf, by running "echo" slim_enable = "YES" "> / etc / rc.conf". Please help!. Well, the absolute basics would be: hostname="<YourHostNameHere>" ifconfig_<NameOfNicCardDeviceHere>"="inet <IPADDRESS> netmask <NETMASK>" defaultrouter="<IPOfGateway/Router>" You may also have had: sshd_enable="YES" You can also look at dmesg -a and get a grasp over what other services you had started. Two other things, use >> rather than > to append to the file (better yet, learn vi, it's much safer), and always backup any changes from default you make to config files. I keep them all on pastebin.com for convenience, but you can keep them anywhere, even scribbled on a postit note stuck to the front of the server in question (what I used to do). Rob _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1EjWt35- (FB_questions)
討論串 (同標題文章)
文章代碼(AID): #1EjWt35- (FB_questions)