-
April 4th, 2007, 11:36 AM
#1
-
April 4th, 2007, 12:04 PM
#2
Yours looks like OpenBSD.
Here's my FreeBSD /etc/rc.conf:
Code:
hostname="MyComp.mydomain.home"
ifconfig_rl0="DHCP"
sendmail_enable="NO"
sshd_enable="YES"
syslogd_flags="-ss"
Oliver's Law:
Experience is something you don't get until just after you need it.
-
April 5th, 2007, 04:53 PM
#3
nice, but is that your local initialization script? i mean the "special" tweakings.
-
April 5th, 2007, 07:59 PM
#4
There is no local initialization script on FreeBSD
You can have one but in all those years I never had the need for one. With 5.0+ things got even better organized. Everything is controlled with variables in rc.conf. You want samba turned on? samba_enable="YES". Dhcpd? dhcpd_enable="YES". Firewall? pf_enable="YES".
All base services start from /etc/rc.d/* and ports start from /usr/local/etc/rc.d/* . And everything can be turned on/off or given special flags[1] using variables in rc.conf. Makes it much less error-prone and it also allows you to easily start/stop single services[2].
[1]
dhcpd_flags="-q"
dhcpd_ifaces="eth0"
[2]
/usr/local/etc/rc.d/isc-dhcpd start
/usr/local/etc/rc.d/samba stop
Last edited by SirDice; April 5th, 2007 at 08:10 PM.
Oliver's Law:
Experience is something you don't get until just after you need it.
-
April 5th, 2007, 08:09 PM
#5
wow, i didn't even get the time to seriously try freebsd (although i promised )
-
April 5th, 2007, 08:11 PM
#6
Yours might look like:
Code:
hostname=mycomp.mydomain.home
ifconfig_ath0="inet 192.168.0.1 netmask 255.255.255.0 ssid MYWIFI channel 6 mode 11g mediaopt hostap"
ifconfig_eth0="DHCP"
gateway_enable="YES"
sshd_enable="YES"
syslogd_flags="-ss"
sendmail_enable="NO" # this makes it run local-submit only
dhcpd_enable="YES"
dhcpd_ifaces="ath0"
bthidd_enable="YES" # Bluetooth services
Oliver's Law:
Experience is something you don't get until just after you need it.
Similar Threads
-
By Tedob1 in forum Other Tutorials Forum
Replies: 4
Last Post: October 15th, 2004, 06:31 AM
-
By gizmofreak in forum Other Tutorials Forum
Replies: 1
Last Post: December 23rd, 2003, 05:51 AM
-
By Gbin@ryR in forum AntiOnline's General Chit Chat
Replies: 8
Last Post: February 28th, 2002, 05:52 PM
-
By uraloony in forum The Security Tutorials Forum
Replies: 3
Last Post: December 19th, 2001, 02:50 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|