Re: Starting new entries in /etc/rc.conf
On Wed, Nov 26, 2003 at 02:00:27PM -0800, Kevin Stevens wrote: > If you're running the U10 headless, dropping DTR on the connection > will, by default, drop the U10 into OpenBoot, stopping execution of the > OS (this is true on most if all Sun boxes, not just the U10). There's > a simple setting change to make on the U10 if you don't want this to > happen. I no longer recall what it is offhand, but a quick Google > should fix you up. On most sun kit, turning the power key to the padlock symbol will prevent the system breaking to OBP on loss of DTR on the console. There's an equivalent thing you can do on the netras and other small kit that doesn't have a key as such -- I think it's just setting an environment variable in the OBP stuff. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Starting new entries in /etc/rc.conf
On Wed, Nov 26, 2003 at 02:00:27PM -0800, Kevin Stevens wrote: > On Nov 26, 2003, at 06:55, Bill Schoolcraft wrote: > > > >This FreeBSD box is a headless one which is also has a DB9 to a > >headless Ultra-10 at my house and when I reboot it does > >something wonky to the Ultra-10 so I'd hate to do that remotely > >right now for I'm at work and couldn't "kick-it" manually if I > >had to. > > If you're running the U10 headless, dropping DTR on the connection > will, by default, drop the U10 into OpenBoot, stopping execution of the > OS (this is true on most if all Sun boxes, not just the U10). There's > a simple setting change to make on the U10 if you don't want this to > happen. I no longer recall what it is offhand, but a quick Google > should fix you up. It's in /etc/default/kbd; I also forget the name of the option, but it has ALTERNATE in the name. Ceri -- pgp0.pgp Description: PGP signature
Re: Starting new entries in /etc/rc.conf
On Nov 26, 2003, at 07:11, Bill Schoolcraft wrote: At Wed, 26 Nov 2003 it looks like Kevin Stevens composed: Both these machines are on the network via cat5 and I can't remember if I had to unplug the serial to reboot the FreeBSD box before and not affect the Ultra-10 or what I did. I know now that the serial cable is hooked up so I'll wait till I get home. I do recall that when Solaris would "halt" I would have to serial in and I think type "go" if I'm not mistaken -- then it would resume running. It was in a protective sleep mode if I recall and did not need to be rebooted. Yes, that's what I described; "go" is the command to exit OpenBoot and resume program (OS) execution. It isn't a sleep mode, btw, everything is still spinning and humming. My worst instance of this was working (desperately) on a new Sun blade server trying to get some network modelling software running. My connection was via PC laptop COM1, and as I was typing someone periodically would hook up to the IR link on the laptop to transfer some more files to me to copy over. Every time they did so, the Sun would apparently crash. The IR link set itself up as COM3 on a shared interrupt with COM1, every time it saw activity on the port it invisibly interrupted the terminal session and the Sun was dropping into OpenBoot. Oops. KeS -- |<--"Word-Wrap-At-72-Please"-- >| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life."_\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
At Wed, 26 Nov 2003 it looks like Kevin Stevens composed: > If you're running the U10 headless, dropping DTR on the connection > will, by default, drop the U10 into OpenBoot, stopping execution of the > OS (this is true on most if all Sun boxes, not just the U10). There's > a simple setting change to make on the U10 if you don't want this to > happen. I no longer recall what it is offhand, but a quick Google > should fix you up. > > Even if you still don't want to reboot the fbsd box, I'd think you'd > want to fix this for reliability reasons. > Thanks, Both these machines are on the network via cat5 and I can't remember if I had to unplug the serial to reboot the FreeBSD box before and not affect the Ultra-10 or what I did. I know now that the serial cable is hooked up so I'll wait till I get home. I do recall that when Solaris would "halt" I would have to serial in and I think type "go" if I'm not mistaken -- then it would resume running. It was in a protective sleep mode if I recall and did not need to be rebooted. -- |<--"Word-Wrap-At-72-Please"-->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life."_\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
On Nov 26, 2003, at 06:55, Bill Schoolcraft wrote: At Wed, 26 Nov 2003 it looks like Lowell Gilbert composed: With something as important as starting up a mailer, I recommend a quick reboot just to be sure that it will start back up Thanks for the reply, This FreeBSD box is a headless one which is also has a DB9 to a headless Ultra-10 at my house and when I reboot it does something wonky to the Ultra-10 so I'd hate to do that remotely right now for I'm at work and couldn't "kick-it" manually if I had to. If you're running the U10 headless, dropping DTR on the connection will, by default, drop the U10 into OpenBoot, stopping execution of the OS (this is true on most if all Sun boxes, not just the U10). There's a simple setting change to make on the U10 if you don't want this to happen. I no longer recall what it is offhand, but a quick Google should fix you up. Even if you still don't want to reboot the fbsd box, I'd think you'd want to fix this for reliability reasons. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
At Wed, 26 Nov 2003 it looks like Lowell Gilbert composed: > With something as important as starting up a mailer, I recommend a > quick reboot just to be sure that it will start back up Thanks for the reply, This FreeBSD box is a headless one which is also has a DB9 to a headless Ultra-10 at my house and when I reboot it does something wonky to the Ultra-10 so I'd hate to do that remotely right now for I'm at work and couldn't "kick-it" manually if I had to. I'll wait till I get home but for now Postfix is working fine, just don't know if it will start automatically when I reboot. When I built it from /usr/ports all it asked was "Do I want to replace Sendmail with Postfix" and I said yes.. -- |<--"Word-Wrap-At-72-Please"-->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life."_\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
Bill Schoolcraft <[EMAIL PROTECTED]> writes: > In other words, how would you correctly "source" the > /etc/rc.conf file if you can at all or is this file only meant > to be referenced at boot time? It's intended to be referenced at boot time, but it's often not very difficult to figure out what is supposed to happen. With something as important as starting up a mailer, I recommend a quick reboot just to be sure that it will start back up properly if you should, say, have an unplanned outage tonight. But the risk assessment depends on your particular situation. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
At Wed, 26 Nov 2003 it looks like Jonas Manalive composed: > Check /usr/local/etc/postfix/main.cf > > I believe it should be: > > mydestination = $myhostname, localhost.$mydomain $mydomain > > I had the same problem, I changed to include this and set also > myhostname, mydomain and myorigin. Now it is working perfectly! > Thanks Jonas, Actually I went and did the following commands and I can now send mail independently from my ISP's smtp server. I haven't changed anything yet in /usr/local/etc/postfix/main.cf postfix check postfix start The manpage for "postfix" stated that "start" will also run "check" but I ran it anyway. My mail headers from this email show postfix setting it's mark. Thanks again. -- |<--"Word-Wrap-At-72-Please"-->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life."_\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Starting new entries in /etc/rc.conf
Check /usr/local/etc/postfix/main.cf I believe it should be: mydestination = $myhostname, localhost.$mydomain $mydomain I had the same problem, I changed to include this and set also myhostname, mydomain and myorigin. Now it is working perfectly! Best regards, Jonas On Wed, 2003-11-26 at 03:21, Bill Schoolcraft wrote: > Hello Family, > > I recently whacked the default outgoing mail process on my > FreeBSD-4.8 system and could no longer send mail with Pine using > "localhost" although I could in fact send mail with the command: > > mail -s "mail test" [EMAIL PROTECTED] > > So I went into /usr/ports/postfix-current and did an install and > at the end the instructions were to add the following to > /etc/rc.conf > > > sendmail_enable="YES" > sendmail_flags="-bd" > sendmail_outbound_enable="NO" > sendmail_submit_enable="NO" > sendmail_msp_queue_enable="NO" > > > Now, I see basicall the command of `sendmail -bd` nested in the > above settings but I'm not quite sure about the other three. > > In other words, how would you correctly "source" the > /etc/rc.conf file if you can at all or is this file only meant > to be referenced at boot time? > > Thanks > > -- > |<--"Word-Wrap-At-72-Please"-->| > Bill Schoolcraft > PO Box 210076 -o) > San Francisco CA 94121 /\ > "UNIX, A Way Of Life."_\_v > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Starting new entries in /etc/rc.conf
Hello Family, I recently whacked the default outgoing mail process on my FreeBSD-4.8 system and could no longer send mail with Pine using "localhost" although I could in fact send mail with the command: mail -s "mail test" [EMAIL PROTECTED] So I went into /usr/ports/postfix-current and did an install and at the end the instructions were to add the following to /etc/rc.conf sendmail_enable="YES" sendmail_flags="-bd" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" Now, I see basicall the command of `sendmail -bd` nested in the above settings but I'm not quite sure about the other three. In other words, how would you correctly "source" the /etc/rc.conf file if you can at all or is this file only meant to be referenced at boot time? Thanks -- |<--"Word-Wrap-At-72-Please"-->| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life."_\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"