Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Giorgos Keramidas
this will allow me to more easily maintain and backup the files. dhclient is able to use dhclient.conf when symlink'd. Apache seems to also work when httpd.conf is symlink'd. Can /etc/rc.conf be replaced with a symlink? I have done and the file isn't being read/found. Moving the actual file back to /etc

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Clay
I realized what the problem mostly likely was after submitting the question. I do believe that the mount point where I am wanting to have rc.conf located is not yet available when the file is read. Is there a way to have this FS mounted prior to rc.conf being read? Could I maybe place

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Joshua Tinnin
On Monday 28 February 2005 04:55 am, Clay [EMAIL PROTECTED] wrote: I realized what the problem mostly likely was after submitting the question. I do believe that the mount point where I am wanting to have rc.conf located is not yet available when the file is read. Is there a way to have

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Clay
rebuild the root partition. Thanks, -Clay . . . . . - Original Message - From: Joshua Tinnin To: freebsd-questions@freebsd.org ; Clay Sent: Monday, February 28, 2005 9:03 PM Subject: Re: Can /etc/rc.conf be replaced with a symlink? On Monday 28 February 2005 04:55 am, Clay [EMAIL PROTECTED

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Joshua Tinnin
the question. I do believe that the mount point where I am wanting to have rc.conf located is not yet available when the file is read. Is there a way to have this FS mounted prior to rc.conf being read? Could I maybe place this mount point above the root in fstab? I will give it try when I

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Kris Kennaway
On Mon, Feb 28, 2005 at 09:32:18PM -0500, Clay wrote: I could and may eventually write a script. I am putting together a media server for hosting my CD's as MP3's. I am wanting to move as many of system and app config files I change through this process to a location on my data partition

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Clay
All, I changed fstab so that my data partition would supposely mount before root, moved/symlink'd rc.conf, and rebooted. This did not allow rc.conf to be found, so doing this did not make it work. I will leave rc.conf in /etc for now and maybe work on a solution at a later time. Thanks

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Kris Kennaway
On Mon, Feb 28, 2005 at 10:38:38PM -0500, Clay wrote: All, I changed fstab so that my data partition would supposely mount before root, How do you think fstab will be read to know to mount some other partition first, when root (where fstab lives) is not yet mounted? moved/symlink'd rc.conf

Re: Can /etc/rc.conf be replaced with a symlink?

2005-02-28 Thread Joshua Tinnin
, February 28, 2005 9:03 PM On Monday 28 February 2005 04:55 am, Clay [EMAIL PROTECTED] wrote: I realized what the problem mostly likely was after submitting the question. I do believe that the mount point where I am wanting to have rc.conf located is not yet available when the file

Change MAC address of LAN card in rc.conf. How?

2005-02-27 Thread Rob
Hi, I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0

Re: Change MAC address of LAN card in rc.conf. How?

2005-02-27 Thread J65nko BSD
this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0 ether 11:22:33:44:55:66 However, this does not seem to work. No IP address is assigned to the LAN card after bootup. Apparently something is wrong here. Any idea how I can do this at bootup? echo 'ifconfig

Re: Change MAC address of LAN card in rc.conf. How?

2005-02-27 Thread Volodymyr Kostyrko
Rob wrote: I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0=inet 192.168.123.2 netmask 255.255.255.0

Re: Change MAC address of LAN card in rc.conf. How?

2005-02-27 Thread Rob
Volodymyr Kostyrko wrote: Rob wrote: I'm running 5.3 STABLE. I need to change the MAC address of my PC. I know it can be done like this: ifconfig rl0 ether 11:22:33:44:55:66 So I guessed I could make life a little easier by adding this in my /etc/rc.conf file as: ifconfig_rl0

Re: Change MAC address of LAN card in rc.conf. How?

2005-02-27 Thread Rob
--- Michael Grant [EMAIL PROTECTED] wrote: Just curious, why would you ever need to change your mac address? In my university network, IP numbers must match a previously registered MAC address, otherwise the IP number is blocked. So our group has a list of IP numbers, that each only work with

Can /etc/rc.conf be replaced with a symlink?

2005-02-27 Thread Clay
symlink'd. Apache seems to also work when httpd.conf is symlink'd. Can /etc/rc.conf be replaced with a symlink? I have done and the file isn't being read/found. Moving the actual file back to /etc fixed the problem. Thanks, -Clay ___ freebsd-questions

Re: can't reboot after messing up my rc.conf file

2005-02-23 Thread Sandy Rutherford
On Sun, 20 Feb 2005 06:48:33 -0800, Loren M. Lang [EMAIL PROTECTED] said: On Thu, Feb 17, 2005 at 12:44:55AM -0800, Sandy Rutherford wrote: On Wed, 16 Feb 2005 20:02:02 -0600, Jamie Novak [EMAIL PROTECTED] said: I may have missed something from the thread before I joined the

Re: can't reboot after messing up my rc.conf file

2005-02-20 Thread Loren M. Lang
On Thu, Feb 17, 2005 at 12:44:55AM -0800, Sandy Rutherford wrote: On Wed, 16 Feb 2005 20:02:02 -0600, Jamie Novak [EMAIL PROTECTED] said: I may have missed something from the thread before I joined the list, but is there any reason you can't just mount the filesystems and use vi as

Re: can't reboot after messing up my rc.conf file

2005-02-17 Thread Sandy Rutherford
On Wed, 16 Feb 2005 20:02:02 -0600, Jamie Novak [EMAIL PROTECTED] said: I may have missed something from the thread before I joined the list, but is there any reason you can't just mount the filesystems and use vi as you're used to? If you're getting far enough in the boot process to

can't reboot after messing up my rc.conf file

2005-02-16 Thread aklist_061666
Hi All: I was editing my rc.conf file and left off a quote mark, and now when I try to reboot I get an error and am prompted to drop into shell to fix it. The default prompt is /bin/sh, and if I hit return I get a prompt. How can I edit the file while I'm in that prompt? VI doesn't work

Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Kyle Mott
mount -a vi /etc/rc.conf Running fsck is your prerogative. -Kyle Mott aklist_061666 wrote: Hi All: I was editing my rc.conf file and left off a quote mark, and now when I try to reboot I get an error and am prompted to drop into shell to fix it. The default prompt is /bin/sh, and if I hit

Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Mike Jeays
On Wed, 2005-02-16 at 13:42, aklist_061666 wrote: Hi All: I was editing my rc.conf file and left off a quote mark, and now when I try to reboot I get an error and am prompted to drop into shell to fix it. The default prompt is /bin/sh, and if I hit return I get a prompt. How can I edit

Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Chris Hodgins
Mike Jeays wrote: On Wed, 2005-02-16 at 13:42, aklist_061666 wrote: Hi All: I was editing my rc.conf file and left off a quote mark, and now when I try to reboot I get an error and am prompted to drop into shell to fix it. The default prompt is /bin/sh, and if I hit return I get a prompt. How

Re: can't reboot after messing up my rc.conf file

2005-02-16 Thread Jamie Novak
, aklist_061666 wrote: Hi All: I was editing my rc.conf file and left off a quote mark, and now when I try to reboot I get an error and am prompted to drop into shell to fix it. The default prompt is /bin/sh, and if I hit return I get a prompt. How can I edit the file while I'm

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2005-01-20 Thread Erik Norgaard
Toomas Aas wrote: Andy Firman wrote: On my 4.10 box, there is a mysql-server script in /usr/local/etc/rc.d and nothing in /etc/rc.conf, yet mysql-server starts up a boot time. Why? Your mysql-server port was probably installed before 31.10.2004. It was modified to use rc.conf variables

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2005-01-20 Thread Gregor Mosheh
On my 4.10 box, there is a mysql-server script in /usr/local/etc/rc.d and nothing in /etc/rc.conf, yet mysql-server starts up a boot time. Why? (the following is true for 4.x) Check the /etc/defaults/rc.conf file You'll see in there that the default setting for local_startup

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2005-01-19 Thread Toomas Aas
Andy Firman wrote: On my 4.10 box, there is a mysql-server script in /usr/local/etc/rc.d and nothing in /etc/rc.conf, yet mysql-server starts up a boot time. Why? Your mysql-server port was probably installed before 31.10.2004. It was modified to use rc.conf variables at that date (see /usr

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-30 Thread Matthew Seaman
Anthony Atkielski wrote: I installed Apache 2.0.52 on my fresh reinstallation of FreeBSD 5.3, but I can't figure out how the new rc.conf system works. How do I set things up so I can start Apache in rc.conf? I installed Apache directly from the downloaded source rather than from the ports, so

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-29 Thread Anthony Atkielski
Joshua Lokken writes: JL # cat /usr/local/etc/rc.d/000.apache2libs.sh [...] Thanks. I couldn't get that to work, either. After trying several things, I finally copied the moused script and modified that, and cooked up something that seems to work. So I guess the problem is solved, even if

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Anthony Atkielski
Bill Moran writes: BM http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html BM BM Unfortunatly, this document doesn't fully explain how /usr/local/etc/rc.d BM has changed, but it's a good start nonetheless. More can be gleaned BM by following the links to other man

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Joshua Lokken
a working rc configuration for starting Apache 2.x automatically could show me what to place in which files, so I can build them myself? Supposedly the ports version of the product sets up these files. I have apache2 working fine on FreeBSD 5.2.1-RELEASE-p13. In /etc/rc.conf I have a line that reads

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Anthony Atkielski
Joshua Lokken writes: JL I have apache2 working fine on FreeBSD 5.2.1-RELEASE-p13. JL In /etc/rc.conf I have a line that reads: JL JL apache2_enable=YES JL JL and in /usr/local/etc/rc.d, I have: JL JL -rwxr-x--x 1 root wheel 183 Dec 28 13:55 000.apache2libs.sh JL -rwxr-x--x 1 root wheel

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-28 Thread Joshua Lokken
clement Exp $ # # PROVIDE: apache2 # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: FreeBSD shutdown # # Add the following lines to /etc/rc.conf to enable apache2: # apache2_enable (bool): Set to NO by default. # Set it to YES to enable apache2

Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-25 Thread Anthony Atkielski
I installed Apache 2.0.52 on my fresh reinstallation of FreeBSD 5.3, but I can't figure out how the new rc.conf system works. How do I set things up so I can start Apache in rc.conf? I installed Apache directly from the downloaded source rather than from the ports, so this wasn't done

Re: Starting Apache 2.0.52 in rc.conf under FreeBSD 5.3

2004-12-25 Thread Bill Moran
Anthony Atkielski [EMAIL PROTECTED] wrote: I installed Apache 2.0.52 on my fresh reinstallation of FreeBSD 5.3, but I can't figure out how the new rc.conf system works. How do I set things up so I can start Apache in rc.conf? I installed Apache directly from the downloaded source rather

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-18 Thread Andy Firman
/rc.d directory. There is also this entry in /etc/rc.conf: proftpd_enable=YES There is no need for entries in /etc/rc.conf if the script exists in /usr/local/etc/rc.d right? If you remove the /etc/rc.conf entry, you can still start the daemon manually (/usr/local/etc/rc.d

courier imap rc.conf entry?

2004-12-09 Thread Matthew Law
I've just installed courier-imapd from ports. I can't find any reference to the required entry in rc.conf to start it at boot time. Can someone please tell me what I need in there or tell me where to look for the info? I'd like SSL too if that makes a difference... TIA, Matt

Re: courier imap rc.conf entry?

2004-12-09 Thread Dev Tugnait
Did you check /usr/local/etc/rc.d? Also check /usr/share/examples/etc/defaults/rc.conf * Matthew Law ([EMAIL PROTECTED]) wrote: I've just installed courier-imapd from ports. I can't find any reference to the required entry in rc.conf to start it at boot time. Can someone please tell me what I

Re: courier imap rc.conf entry?

2004-12-09 Thread Matthew Law
* Dev Tugnait [EMAIL PROTECTED] [2004-12-09 12:00]: Also check /usr/share/examples/etc/defaults/rc.conf This helped a great deal. It's working now - thanks! Matt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

rc.conf and new startup scripts

2004-12-02 Thread Cezar Fistik
Hi all, I would like to get some info about changes to startup scripts that are in /usr/local/etc/rc.d/ directory. It looks like they are completely different now... calls to some strange functions etc. How do they relate to rc.conf? I mean now I need to tell in rc.conf: DAEMON_enable=YES

Re: rc.conf and new startup scripts

2004-12-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Cezar Fistik wrote: Hi all, I would like to get some info about changes to startup scripts that are in /usr/local/etc/rc.d/ directory. It looks like they are completely different now... calls to some strange functions etc. How do they relate to rc.conf? I mean now I need to tell in rc.conf

/usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Andy Firman
I just took over a FreeBSD box and there is a proftpd.sh script in the /usr/local/etc/rc.d directory. There is also this entry in /etc/rc.conf: proftpd_enable=YES There is no need for entries in /etc/rc.conf if the script exists in /usr/local/etc/rc.d right? Andy

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Martin Hepworth
Andy err no. the entry in /usr/local/etc/rc.d will read the rc.conf to get variables. Normally done thisway when program is installed from ports rather than hand compiled... -- Martin Hepworth Snr Systems Administrator Solid State Logic Tel: +44 (0)1865 842300 Andy Firman wrote: I just took

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Paul Schmehl
--On Thursday, December 02, 2004 07:39:00 AM -0900 Andy Firman [EMAIL PROTECTED] wrote: I just took over a FreeBSD box and there is a proftpd.sh script in the /usr/local/etc/rc.d directory. There is also this entry in /etc/rc.conf: proftpd_enable=YES There is no need for entries in /etc/rc.conf

Re: rc.conf and new startup scripts

2004-12-02 Thread Cezar Fistik
, December 02, 2004 6:11 PM Subject: Re: rc.conf and new startup scripts Cezar Fistik wrote: Hi all, I would like to get some info about changes to startup scripts that are in /usr/local/etc/rc.d/ directory. It looks like they are completely different now... calls to some strange functions

Re: /usr/local/etc/rc.d vs /etc/rc.conf question

2004-12-02 Thread Dick Davies
* Paul Schmehl [EMAIL PROTECTED] [1210 17:10]: --On Thursday, December 02, 2004 07:39:00 AM -0900 Andy Firman [EMAIL PROTECTED] wrote: I just took over a FreeBSD box and there is a proftpd.sh script in the /usr/local/etc/rc.d directory. There is also this entry in /etc/rc.conf

Help with rc.conf error, read-only file system

2004-11-30 Thread Michael G.
I've been away from FreeBSD for a while and I just loaded 5.3 and inavertently made an error in rc.conf. Now when I boot up the file system is read-only and I haven't been able to edit rc.conf to correct the simple mistake. Any help would be appreciated. Michael G

Re: Help with rc.conf error, read-only file system

2004-11-30 Thread David Kelly
I've been away from FreeBSD for a while and I just loaded 5.3 and inavertently made an error in rc.conf. Now when I boot up the file system is read-only and I haven't been able to edit rc.conf to correct the simple mistake. Any help would be appreciated. mount -a to attempt mounting all

Re: Help with rc.conf error, read-only file system

2004-11-30 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 30 November 2004 23:22, Michael G. wrote: I've been away from FreeBSD for a while and I just loaded 5.3 and inavertently made an error in rc.conf. Now when I boot up the file system is read-only and I haven't been able to edit rc.conf

Re: Help with rc.conf error, read-only file system

2004-11-30 Thread Conrad J. Sabatier
On Tue, 30 Nov 2004 17:04:03 -0600 (CST), David Kelly [EMAIL PROTECTED] wrote: I've been away from FreeBSD for a while and I just loaded 5.3 and inavertently made an error in rc.conf. Now when I boot up the file system is read-only and I haven't been able to edit rc.conf to correct

Re: Restarting rc.conf

2004-11-26 Thread Ruben de Groot
On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: This does not work if a service has been changed from YES to NO (or has been removed from rc.conf). Therefore I think this is better: foreach dir in /etc/rc.d /usr/local/etc/rc.d do cd $dir foreach file in * do $file

Re: Restarting rc.conf

2004-11-26 Thread Bill Schoolcraft
At Fri, 26 Nov 2004 it looks like Ruben de Groot composed: On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: This does not work if a service has been changed from YES to NO (or has been removed from rc.conf). Therefore I think this is better: foreach dir in /etc/rc.d /usr/local/etc

Re: Restarting rc.conf (SOLVED-duh)

2004-11-26 Thread Bill Schoolcraft
At Fri, 26 Nov 2004 it looks like Bill Schoolcraft composed: At Fri, 26 Nov 2004 it looks like Ruben de Groot composed: On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: This does not work if a service has been changed from YES to NO (or has been removed from rc.conf). Therefore I

Re: Restarting rc.conf

2004-11-26 Thread David Jenkins
On Fri, 26 November, 2004 15:00, Ruben de Groot said: On Thu, Nov 25, 2004 at 02:54:39PM +0900, Rob typed: This does not work if a service has been changed from YES to NO (or has been removed from rc.conf). Therefore I think this is better: foreach dir in /etc/rc.d /usr/local/etc/rc.d do

Re: Restarting rc.conf

2004-11-26 Thread Giorgos Keramidas
On 2004-11-26 18:59, David Jenkins [EMAIL PROTECTED] wrote: Just out of interest, does anyone think it would be useful to have such a script? i.e. to restart all services in /usr/local/etc/rc.d and /etc/rc.d (after checking rc.conf obviously) Not much. For instance, why would you want

Re: Restarting rc.conf

2004-11-24 Thread Ruben de Groot
On Mon, Nov 22, 2004 at 12:15:36PM -0600, Paul Schmehl typed: --On Monday, November 22, 2004 12:34:58 PM + David Jenkins [EMAIL PROTECTED] wrote: I would imagine for convenience - if their reasons are similar to what mine were. i.e if you have made several changes to rc.conf

Re: Restarting rc.conf

2004-11-24 Thread Rob
Paul Schmehl wrote: --On Monday, November 22, 2004 12:34:58 PM + David Jenkins [EMAIL PROTECTED] wrote: I would imagine for convenience - if their reasons are similar to what mine were. i.e if you have made several changes to rc.conf then manually restarting several services via /etc/rc.d

Restarting rc.conf

2004-11-22 Thread v . demartino2
I set up a postgresql server under FreeBDSD 5.3 stable. My question: if I modify rc.conf either directly or via sysinstall how can I make the system be aware of that WITHOUT REBOOTING, in other words, how can I make FreeBSD execute the modified rc.conf? Thanks Vittorio

Re: Restarting rc.conf

2004-11-22 Thread David Jenkins
On Mon, 22 Nov 2004 12:18:05 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I set up a postgresql server under FreeBDSD 5.3 stable. My question: if I modify rc.conf either directly or via sysinstall how can I make the system be aware of that WITHOUT REBOOTING, in other words, how can I

Re: Restarting rc.conf

2004-11-22 Thread Daniel Bye
On Mon, Nov 22, 2004 at 12:18:05PM +0100, [EMAIL PROTECTED] wrote: I set up a postgresql server under FreeBDSD 5.3 stable. My question: if I modify rc.conf either directly or via sysinstall how can I make the system be aware of that WITHOUT REBOOTING, in other words, how can I make FreeBSD

Re: Restarting rc.conf

2004-11-22 Thread David Jenkins
On Mon, 22 Nov 2004 11:40:50 +, Dick Davies [EMAIL PROTECTED] wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [1118 11:18]: I set up a postgresql server under FreeBDSD 5.3 stable. My question: if I modify rc.conf either directly or via sysinstall how can I make the system be aware

Re: Restarting rc.conf

2004-11-22 Thread Konrad Heuer
On Mon, 22 Nov 2004, David Jenkins wrote: On Mon, 22 Nov 2004 11:40:50 +, Dick Davies [EMAIL PROTECTED] wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [1118 11:18]: I set up a postgresql server under FreeBDSD 5.3 stable. My question: if I modify rc.conf either directly or via

Re: Restarting rc.conf

2004-11-22 Thread Giorgos Keramidas
execute the modified rc.conf? My question: if I modify rc.conf either directly or via sysinstall how can I make the system be aware of that WITHOUT REBOOTING, in other words, how can I make FreeBSD execute the modified rc.conf? I asked this question a long time ago as I wanted to do

Re: about the tmpmfs=YES in rc.conf

2004-11-11 Thread Giorgos Keramidas
the tmpmfs=YES option in rc.conf. I've found this url http://bsdvault.net/sections.php?op=viewarticleartid=53 very helpful. But I got only 256Mb of memory, so I can't mount 300Mb mfs into RAM. Hmm, then it's probably not a very good idea to mount /usr/obj as a memory disk. Using swap backed

about the tmpmfs=YES in rc.conf

2004-11-10 Thread LEI CHEN
Hi guys, I have just upgraded to 5-stable branch, and I noticed that the tmpmfs=YES and tmpsize=20m options can be put into /etc/rc.conf directly to create a memory file system automatically. My question is do I need to comment out the line to mount tmp on startup in the file /etc/fstable if I

stunnel_enable in /etc/rc.conf ?

2004-11-10 Thread Andy Firman
Running stunnel-4.05 on FreeBSD 4.10. In case of reboot, how do I tell the system to start stunnel on bootup? Do I put stunnel_enable=YES in /etc/rc.conf? Thanks, Andy ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo

Re: about the tmpmfs=YES in rc.conf

2004-11-10 Thread Giorgos Keramidas
On 2004-11-11 01:28, LEI CHEN [EMAIL PROTECTED] wrote: I have just upgraded to 5-stable branch, and I noticed that the tmpmfs=YES and tmpsize=20m options can be put into /etc/rc.conf directly to create a memory file system automatically. Yesterday, I have committed a couple of enhancements

Re: about the tmpmfs=YES in rc.conf

2004-11-10 Thread LEI CHEN
I've just added those two options into /etc/rc.conf and commented out the line in /etc/fstab. It works! :) df -h output is : Filesystem size used avail capacity Mounted on ... ... /dev/md031M 16k 28M0%/tmp I am just wondering what would be the mfs size that suitable

Re: about the tmpmfs=YES in rc.conf

2004-11-10 Thread Giorgos Keramidas
On 2004-11-11 02:17, LEI CHEN [EMAIL PROTECTED] wrote: On Thu, 2004-11-11 at 01:37, Giorgos Keramidas wrote: On 2004-11-11 01:28, LEI CHEN [EMAIL PROTECTED] wrote: I have just upgraded to 5-stable branch, and I noticed that the tmpmfs=YES and tmpsize=20m options can be put into /etc/rc.conf

Re: about the tmpmfs=YES in rc.conf

2004-11-10 Thread LEI CHEN
difference where your /usr/obj tree is stored though. yes, I've read this in the handbook, /usr/obj shadows /usr/src directories. Cool :) But how can I put it into memory? Using mdmfs(8). The mdmfs(8) utility is what does all the work behind the tmpmfs=YES option in rc.conf

5.3RC1 - /etc/defaults/rc.conf - netfs_types nfsv4

2004-10-28 Thread Pete - Jupiterhosting
I ran into this problem while mounting a netapp with nfsv4 during a reboot. Should /etc/defaults/rc.conf have nfs4 in the netfs_types list? I know I can add it to the extra_netfs_types variable under /etc/rc.conf, but if it's stable code, then it might be wise to add it into the defaults before

Re: 5.3RC1 - /etc/defaults/rc.conf - netfs_types nfsv4

2004-10-28 Thread Pete Wieckowski
Let me explain this a little better. I know that I shouldn't need to edit edit /etc/defaults/rc.conf because /etc/rc.conf overrides the default. My question is should this be added into the CVS tree so people don't run into this problem while putting an 'nfs4' in /etc/fstab. If I were to have

FreeBSD 5.2.1 startup issue after adding MySQL daemon fireup line in /etc/rc.conf

2004-09-23 Thread simon butsana
Hi, I have a machine that worked fine a couple of hours ago. After installing MySQL everything went OK and I have been able to shutdown and restart it several times. After FreeBSD startup, I had to manually launch the following command to manually launch the MySQL server daoemon:

Re: FreeBSD 5.2.1 startup issue after adding MySQL daemon fireup line in /etc/rc.conf

2004-09-23 Thread Bill Moran
simon butsana [EMAIL PROTECTED] wrote: Hi, I have a machine that worked fine a couple of hours ago. After installing MySQL everything went OK and I have been able to shutdown and restart it several times. After FreeBSD startup, I had to manually launch the following command to

Re: FreeBSD 5.2.1 startup issue after adding MySQL daemon fireup line in /etc/rc.conf

2004-09-23 Thread Andrew L. Gould
On Thursday 23 September 2004 03:29 am, simon butsana wrote: Hi, I have a machine that worked fine a couple of hours ago. After installing MySQL everything went OK and I have been able to shutdown and restart it several times. After FreeBSD startup, I had to manually launch the following

Re: reload rc.conf during boot process

2004-09-21 Thread Giorgos Keramidas
the selected configuration file to rc.conf. I put my program in... the rc.d mount script, so that the disk is mounted writeable at the time and my C program is able to issue cp (bad way I know) to replace rc.conf. After running my program in the rc.d mount script I then did a . /etc/rc.conf

Re: reload rc.conf during boot process

2004-09-21 Thread Giorgos Keramidas
On 2004-09-21 14:18, Markie [EMAIL PROTECTED] wrote: Giorgos Keramidas [EMAIL PROTECTED] wrote: | After running my program in the rc.d mount script I then did a | | . /etc/rc.conf | | but rc.conf doesn't get reloaded. | | The /etc/rc script is a ``driver script'' that loads rc.conf

Re: reload rc.conf during boot process

2004-09-21 Thread Markie
- Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: Markie [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 2:24 PM Subject: Re: reload rc.conf during boot process | On 2004-09-21 14:18, Markie [EMAIL PROTECTED] wrote: | Giorgos Keramidas [EMAIL

Re: reload rc.conf during boot process

2004-09-21 Thread Giorgos Keramidas
and not reload rc.conf? Wouldn't I need a run_rc_script before the unset _rc_conf_loaded, to actually run my selectcf script? :-) It's there already. I've just used a trick with md5(1) to check if the file rc.conf changes and you missed it because it's hidden between two other lines. Just above

Re: reload rc.conf during boot process

2004-09-21 Thread Markie
- Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: Markie [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 2:51 PM Subject: Re: reload rc.conf during boot process | On 2004-09-21 14:40, Markie [EMAIL PROTECTED] wrote: | I was just looking

Re: reload rc.conf during boot process

2004-09-21 Thread Giorgos Keramidas
On 2004-09-21 15:04, Markie [EMAIL PROTECTED] wrote: Just tested that out and it seems to work, it didn't start up sshd with my test config! I had a little problem(?) with rcorder though, I think. I specified # REQUIRE: mountcritlocal and from what I read, I was expecting my script to come

Re: reload rc.conf during boot process

2004-09-21 Thread Markie
- Original Message - From: Giorgos Keramidas [EMAIL PROTECTED] To: Markie [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, September 21, 2004 6:05 PM Subject: Re: reload rc.conf during boot process | On 2004-09-21 15:04, Markie [EMAIL PROTECTED] wrote: | Just tested that out

reload rc.conf during boot process

2004-09-20 Thread Markie
Is it possible to do this somehow? I was trying my hand out at C and made a cool little menu for myself. It looks for files in /etc/ which are named rc.conf.x and lists them in the menu. Then, when you select one on boot, it copies the selected configuration file to rc.conf. I put my program

rc.conf/ifconfig issue

2004-09-16 Thread Mark Thomas
Running 4.10-STABLE as of today. I have the following in /etc/rc.conf: gif_interfaces=gif0 gifconfig_gif0=A.B.C.D W.X.Y.Z ifconfig_gif0=inet 192.168.101.1 192.168.102.1 netmask 0x After a boot I see: # ifconfig gif0 gif0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1280

FW: rc.conf/ifconfig issue

2004-09-16 Thread Mark Thomas
To answer my own question, I also needed to add gif0 to network_interfaces: network_interfaces=xl0 xl1 lo0 gif0 Mark Thomas [EMAIL PROTECTED] -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 3:10 PM To: [EMAIL PROTECTED] Subject: rc.conf

Re: cannot get rc.conf to configure an second interface

2004-08-27 Thread Ciprian Badescu
--- Eric F Crist [EMAIL PROTECTED] wrote: Bob Ababurko wrote: Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set

editing the rc.conf

2004-08-27 Thread Soo-Hyun Choi
Hi, When I need to change the IP settings, I usually go over the rc.conf directly (as root) to change the IP settings. The question is that once I change the settings I need to re-boot the system in order to the change be working. Is there any way that I can apply the changes without re-booting

Re: editing the rc.conf

2004-08-27 Thread Bill Moran
Soo-Hyun Choi [EMAIL PROTECTED] wrote: Hi, When I need to change the IP settings, I usually go over the rc.conf directly (as root) to change the IP settings. The question is that once I change the settings I need to re-boot the system in order to the change be working. Is there any way

Re: cannot get rc.conf to configure an second interface

2004-08-27 Thread Bob Ababurko
At 04:55 PM 8/26/2004 -0500, you wrote: Bob Ababurko wrote: Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set up an I am not sure

Re: editing the rc.conf

2004-08-27 Thread Subhro
Read the manual pages for ifconfig. Regards S. On Fri, 27 Aug 2004 08:48:19 -0400, Bill Moran [EMAIL PROTECTED] wrote: Soo-Hyun Choi [EMAIL PROTECTED] wrote: Hi, When I need to change the IP settings, I usually go over the rc.conf directly (as root) to change the IP settings

Re[2]: cannot get rc.conf to configure an second interface

2004-08-27 Thread Sopov Alexey
This should work fine. /etc/rc.conf: ifconfig_fxp0=inet 192.168.102.14/24 ifconfig_fxp1=inet 192.168.102.15/32 defaultrouter=192.168.102.1 BA At 04:55 PM 8/26/2004 -0500, you wrote: Bob Ababurko wrote: Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have

Re: editing the rc.conf

2004-08-27 Thread Nikos Vassiliadis
Ifconfig was mentioned. You can also reinitialize your system with shutdown(8). Shutdown will bring the system in single-user state (will kill all processes) and when you exit that, you'll have all changes made to rc.conf, active. Use shutdown now and then just exit the single-user shell. Cheers

Re: editing the rc.conf

2004-08-27 Thread Soo-Hyun Choi
A couple of people suggested to read the ifconfig man page. I do understand the ifconfig, and I can change the IP settings using ifconfig without re-booting the system. What I wondered was a way of editing rc.conf directly and how I can it be working without re-boot the system. As Nikos suggested

Re: editing the rc.conf

2004-08-27 Thread Ruben de Groot
On Fri, Aug 27, 2004 at 05:04:08PM +0100, Soo-Hyun Choi typed: A couple of people suggested to read the ifconfig man page. I do understand the ifconfig, and I can change the IP settings using ifconfig without re-booting the system. What I wondered was a way of editing rc.conf directly

Re: cannot get rc.conf to configure an second interface

2004-08-27 Thread Charles Swiger
On Aug 27, 2004, at 9:30 AM, Bob Ababurko wrote: I am curious as to how these netmask settings will effect the way my routes will be handled. If I use a /32, what does that meanor more specifically, what is going on here? FreeBSD does not let you configure two network interfaces on the

Re: editing the rc.conf

2004-08-27 Thread Kevin D. Kinsey, DaleCo, S.P.
rc.conf directly and how I can it be working without re-boot the system. As Nikos suggested, it would not be a good way if there is only one way to go for it by using 'shutdown now' command; as it kills all the running processes. I believe in FreeBSD 5.x, soon to become -stable, all you need to do

Re: editing the rc.conf

2004-08-27 Thread Charles Ulrich
Except that the man page for ifconfig will tell you nothing about the correctness of your entries in rc.conf. For that you have to reboot. Most of us here can glance at them and say yea or nay, but most new users can't. And the ifconfig man page is not really newbie material either. Charles

Re: editing the rc.conf

2004-08-27 Thread Geert Hendrickx
On Fri, Aug 27, 2004 at 05:04:08PM +0100, Soo-Hyun Choi wrote: A couple of people suggested to read the ifconfig man page. I do understand the ifconfig, and I can change the IP settings using ifconfig without re-booting the system. What I wondered was a way of editing rc.conf directly

Re: editing the rc.conf

2004-08-27 Thread Robert Huff
Geert Hendrickx writes: You could simply rerun one/some/all of the /etc/rc-scripts, e.g. sh /etc/rc.network in your case. But I don't think this is recommended. Let me second this. It is entirely possible that a script expecting to start networking makes assumptions about the

cannot get rc.conf to configure an second interface

2004-08-26 Thread Bob Ababurko
Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set up an I am not sure how to disable it. Here is my rc.conf entries that refer

Re: cannot get rc.conf to configure an second interface

2004-08-26 Thread Bill Moran
Bob Ababurko [EMAIL PROTECTED] wrote: Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set up an I am not sure how to disable

<    1   2   3   4   5   6   7   >