Re: Remote Single User Mode?
On 3/24/06, Chris <[EMAIL PROTECTED]> wrote: > On 23/03/06, Chris Maness <[EMAIL PROTECTED]> wrote: > > Eric Schultz wrote: > > > Kris Kennaway wrote: > > >> On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: > > >>> I administer this box by remote. > > >> > > >> Look into setting up a serial console; this is the "remote single user > > >> mode" you're looking for. > > >> > > > Good morning... > > > > > > How remote is "remote"? > > > > > > If it's just down the hall you can probably get a DB25/DB9 (depending > > > on the machine) to RJ45 adapter and use existing CAT5 cable to get to > > > a serial console to your desk. There even exist serial RJ45 switch > > > boxes if you have several machines to "remote" administer. > > > > > > If it's farther than that, like in another building/city/etc. you can > > > always setup a modem on the box's serial port and dial in to that. > > > You'll need a modem at your end too, which means either an analog line > > > or a analog-to-digital tap for your office phone. > > > > > > I have no idea whether there any serial-over-IP solutions. But you > > > could build one with FreeBSD!!! > > > > > I have a slave name server at the same location. Maybe I can run a > > serial cable with a crosover between the two of them. > > ___ > > I think the docs are just playing safe, I admin over 10 servers and > have remote updated each one at least once, I have never had any > problems doing all this in multi user mode. > > make buildworld > make buildkernel > make installkernel > reboot > mergemaster -p > make installworld > mergemaster -iv > reboot > > Chris 5.4 => 6.0 upgrade caused some problems on a box under high load until I used a serial console and did everything by the book. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
On 23/03/06, Chris Maness <[EMAIL PROTECTED]> wrote: > Eric Schultz wrote: > > Kris Kennaway wrote: > >> On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: > >>> I administer this box by remote. > >> > >> Look into setting up a serial console; this is the "remote single user > >> mode" you're looking for. > >> > > Good morning... > > > > How remote is "remote"? > > > > If it's just down the hall you can probably get a DB25/DB9 (depending > > on the machine) to RJ45 adapter and use existing CAT5 cable to get to > > a serial console to your desk. There even exist serial RJ45 switch > > boxes if you have several machines to "remote" administer. > > > > If it's farther than that, like in another building/city/etc. you can > > always setup a modem on the box's serial port and dial in to that. > > You'll need a modem at your end too, which means either an analog line > > or a analog-to-digital tap for your office phone. > > > > I have no idea whether there any serial-over-IP solutions. But you > > could build one with FreeBSD!!! > > > I have a slave name server at the same location. Maybe I can run a > serial cable with a crosover between the two of them. > ___ I think the docs are just playing safe, I admin over 10 servers and have remote updated each one at least once, I have never had any problems doing all this in multi user mode. make buildworld make buildkernel make installkernel reboot mergemaster -p make installworld mergemaster -iv reboot Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
Chris wrote: On 23/03/06, Chris Maness <[EMAIL PROTECTED]> wrote: Eric Schultz wrote: Kris Kennaway wrote: On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: I administer this box by remote. Look into setting up a serial console; this is the "remote single user mode" you're looking for. Good morning... How remote is "remote"? If it's just down the hall you can probably get a DB25/DB9 (depending on the machine) to RJ45 adapter and use existing CAT5 cable to get to a serial console to your desk. There even exist serial RJ45 switch boxes if you have several machines to "remote" administer. If it's farther than that, like in another building/city/etc. you can always setup a modem on the box's serial port and dial in to that. You'll need a modem at your end too, which means either an analog line or a analog-to-digital tap for your office phone. I have no idea whether there any serial-over-IP solutions. But you could build one with FreeBSD!!! I have a slave name server at the same location. Maybe I can run a serial cable with a crosover between the two of them. ___ I think the docs are just playing safe, I admin over 10 servers and have remote updated each one at least once, I have never had any problems doing all this in multi user mode. make buildworld make buildkernel make installkernel reboot mergemaster -p make installworld mergemaster -iv reboot Chris Yep, I went ahead and did it in multi user mode. No problems. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
Eric Schultz wrote: Kris Kennaway wrote: On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: I administer this box by remote. Look into setting up a serial console; this is the "remote single user mode" you're looking for. Good morning... How remote is "remote"? If it's just down the hall you can probably get a DB25/DB9 (depending on the machine) to RJ45 adapter and use existing CAT5 cable to get to a serial console to your desk. There even exist serial RJ45 switch boxes if you have several machines to "remote" administer. If it's farther than that, like in another building/city/etc. you can always setup a modem on the box's serial port and dial in to that. You'll need a modem at your end too, which means either an analog line or a analog-to-digital tap for your office phone. I have no idea whether there any serial-over-IP solutions. But you could build one with FreeBSD!!! I have a slave name server at the same location. Maybe I can run a serial cable with a crosover between the two of them. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
Kris Kennaway wrote: On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: I administer this box by remote. Look into setting up a serial console; this is the "remote single user mode" you're looking for. Good morning... How remote is "remote"? If it's just down the hall you can probably get a DB25/DB9 (depending on the machine) to RJ45 adapter and use existing CAT5 cable to get to a serial console to your desk. There even exist serial RJ45 switch boxes if you have several machines to "remote" administer. If it's farther than that, like in another building/city/etc. you can always setup a modem on the box's serial port and dial in to that. You'll need a modem at your end too, which means either an analog line or a analog-to-digital tap for your office phone. I have no idea whether there any serial-over-IP solutions. But you could build one with FreeBSD!!! -- Headed for the second star to the right and straight on 'til morning... Eric Schultz (aka Storkman) Photos: http://community.webshots.com/user/schultznet Homepage: http://www.schultznet.ca Blog: http://schultznet.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
On Wed, Mar 22, 2006, Kris Kennaway wrote: >On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: >> In the make file for /usr/src it says I need to boot into single user >> mode. Is this possible from a remote connection (I don't think it is)? >> Do I have to be in single user mode to do the following?: >> >> # 5. `reboot'(in single user mode: boot -s from the loader prompt). >> # 6. `mergemaster -p' >> # 7. `make installworld' >> # 8. `mergemaster' >> # 9. `reboot' >> >> I administer this box by remote. > >You absolutely need to in certain situations. Sometimes (even often) >you can get away without it, but sometimes your system won't reboot to >multiuser mode unless you do those steps. > >Look into setting up a serial console; this is the "remote single user >mode" you're looking for. I have been able to work in single user mode on some systems by getting somebody with physical access to the box to boot in single user then start networking and secure shell manually. Once the sshd daemon was running I could get to the box from another machine on the LAN. The last time I did this was on an SCO OpenServer box which started the networking even in single user mode. I would have to RTFM to figure out if and how this can be done with FreeBSD. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 Democracy, n.: A government of the masses. Authority derived through mass meeting or any other form of direct expression. Results in mobocracy. Attitude toward property is communistic... negating property rights. Attitude toward law is that the will of the majority shall regulate, whether it is based upon deliberation or governed by passion, prejudice, and impulse, without restraint or regard to consequences. Result is demagogism, license, agitation, discontent, anarchy. -- U. S. Army Training Manual No. 2000-25 (1928-1932), since withdrawn. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode?
On Wed, Mar 22, 2006 at 10:11:48AM -0800, Chris Maness wrote: > In the make file for /usr/src it says I need to boot into single user > mode. Is this possible from a remote connection (I don't think it is)? > Do I have to be in single user mode to do the following?: > > # 5. `reboot'(in single user mode: boot -s from the loader prompt). > # 6. `mergemaster -p' > # 7. `make installworld' > # 8. `mergemaster' > # 9. `reboot' > > I administer this box by remote. You absolutely need to in certain situations. Sometimes (even often) you can get away without it, but sometimes your system won't reboot to multiuser mode unless you do those steps. Look into setting up a serial console; this is the "remote single user mode" you're looking for. Kris pgpLnReMHgwmP.pgp Description: PGP signature
Re: Remote Single User Mode.
On Sat, Apr 10, 2004 at 10:29:31AM -0700, Bill Campbell wrote: > On Sat, Apr 10, 2004, Grant Peel wrote: > >Happy Easter all! > > > >Here is an off-the-wall question > > >I have 4 servers in Toronto (I live in London, about 120 miles south). Most > >admin I can do remotely of course, but I was wondering, if there exists a > >software/hardware solution that might actually allow one to reboot any one > >of the machines remotely and alllow access in single user mode. Obviously, > >that machine would not be accessable via the normal netwrk method, but > >again, is there a KVM - software that would allow local access in single > >user mode VIA a network connection to one of the other servers, or the KVM > >directly? > > I haven't tried this on FreeBSD, but several years ago I had to do some > single user work on an SCO OpenServer box in Texas. I had the owner of the > machine start sshd in single user mode, then I could ssh into the system to > work. The SCO box activates the network in single user. FreeBSD would > probably require starting network services manually. > > Bill You might want to look into PC Weasel cards. Josh Paetzel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode.
On Sat, Apr 10, 2004, Grant Peel wrote: >Happy Easter all! > >Here is an off-the-wall question >I have 4 servers in Toronto (I live in London, about 120 miles south). Most >admin I can do remotely of course, but I was wondering, if there exists a >software/hardware solution that might actually allow one to reboot any one >of the machines remotely and alllow access in single user mode. Obviously, >that machine would not be accessable via the normal netwrk method, but >again, is there a KVM - software that would allow local access in single >user mode VIA a network connection to one of the other servers, or the KVM >directly? I haven't tried this on FreeBSD, but several years ago I had to do some single user work on an SCO OpenServer box in Texas. I had the owner of the machine start sshd in single user mode, then I could ssh into the system to work. The SCO box activates the network in single user. FreeBSD would probably require starting network services manually. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX:(206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``If we got one-tenth of what was promised to us in these acceptance speeches there wouldn't be any inducement to go to heaven.'' Will Rogers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode.
On Sat, 10 Apr 2004, Grant Peel wrote: > Happy Easter all! > > Here is an off-the-wall question > > I have 4 servers in Toronto (I live in London, about 120 miles south). Most admin I > can do remotely of course, but I was wondering, if there exists a software/hardware > solution that might actually allow one to reboot any one of the machines remotely > and alllow access in single user mode. Obviously, that machine would not be > accessable via the normal netwrk method, but again, is there a KVM - software that > would allow local access in single user mode VIA a network connection to one of the > other servers, or the KVM directly? Hi! Well, as long as you can set up a serial console to them (whether in software, like described in the handbook, or via hardware BIOS redirection like Dell, HP and so on), then you could simply buy a remote console switch off-the-rack, and be happy. I worked a lot with the cyclades-TS series, you simply connect via ssh to them (they run embedded linux), and they forward this connection to the specific serial port. The also do other nifty things, you can have the console output of the servers logged via nfs to a remote machine etc. www.cyclades.com, they are not cheap, but are working well (once you got he right firmware, I'd go for 1.3.9 at the time of this writing, the 1.3.10 has other hitches I dislike) HTH Olaf -- Olaf Hoyer[EMAIL PROTECTED] Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote Single User Mode.
On Sat, Apr 10, 2004 at 06:03:48AM -0400, Grant Peel wrote: > I have 4 servers in Toronto (I live in London, about 120 miles south). Most admin I > can do remotely of course, but I was wondering, if there exists a software/hardware > solution that might actually allow one to reboot any one of the machines remotely > and alllow access in single user mode. Obviously, that machine would not be > accessable via the normal netwrk method, but again, is there a KVM - software that > would allow local access in single user mode VIA a network connection to one of the > other servers, or the KVM directly? The device you're looking for is a 'Console Server'. There are any number of such devices available off the shelf -- Lantronix makes some reasonably good ones. However, if you don't want to spend money, you can daisy-chain your FreeBSD boxes together using null-modem cables between the serial ports and use tip(1) as a terminal emulator. In any case you need to make your servers use a serial port as the system console: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html 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