vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Is it possible to telnet into a system booted from CDROM into single user mode? ('boot cdrom -s') If so, how is it done? How can one make the miniroot writeable? To execute 'svcadm enable inetd' requires a writeable root, right? I have a headless V480. I 'boot cdrom -s' using the RSC console. I configure a network interface. If I try to enable inetd, I get: # svcadm enable inetd svcadm: svc:/network/inetd:default: Repository read-only. I am curious whether it is possible to be able to telnet in to that machine. Thank you. Regards, DG |
| |||
| In article <11n4l0u5lrfob79@corp.supernews.com>, "David E. Grove" <david_grove@correct.state.ak.us> wrote: > Is it possible to telnet into a system booted from CDROM into single user > mode? ('boot cdrom -s') If so, how is it done? How can one make the > miniroot writeable? To execute 'svcadm enable inetd' requires a writeable > root, right? > > I have a headless V480. I 'boot cdrom -s' using the RSC console. I > configure a network interface. If I try to enable inetd, I get: > > # svcadm enable inetd > svcadm: svc:/network/inetd:default: Repository read-only. > > > I am curious whether it is possible to be able to telnet in to that machine. > > Thank you. > > Regards, > > DG Not AFAIK. The mini-root isn't running any sort of network stack nor can it. So, I think you'll have to rethink your approach. What problem are you trying to solve here? -- DeeDee, don't press that button! DeeDee! NO! Dee... |
| |||
| "David E. Grove" <david_grove@correct.state.ak.us> wrote in message news:11n4l0u5lrfob79@corp.supernews.com... > Is it possible to telnet into a system booted from CDROM into single user > mode? ('boot cdrom -s') If so, how is it done? How can one make the > miniroot writeable? To execute 'svcadm enable inetd' requires a writeable > root, right? Well, if you think about it: boot *cdrom* -s This means your root fs is on the CD you're booting from. So it isn't writable... > I have a headless V480. I 'boot cdrom -s' using the RSC console. I > configure a network interface. If I try to enable inetd, I get: > > # svcadm enable inetd > svcadm: svc:/network/inetd:default: Repository read-only. Again you're booting from a CD-*ROM*. However, the single-user mode in general does not mean you can't configure a network interface or run network services. Your basic problem is you can't make a configuration change with a read-only root fs. If you're willing to invest the time and have the appropriate infrastructure, you could conceivably make your own bootable CD image which uses DHCP / BOOTP to obtain network configuration, initialise an interface and run some service (such as telnet). Better still, setup a jumpstart server and do: boot net -s. This will bring you to single-user (without performing any kind of installation). And since your root fs will then be a NFS mount (which, btw, implies a configured network interface), you can either pre-configure the required network service(s) or (again, not recommended) make NFS image writable and perform any configuration on the fly (using anon=0 as a share option). -- -- ICE -- |
| |||
| Michael Vilain <vilain@spamcop.net> writes: > Not AFAIK. The mini-root isn't running any sort of network stack nor > can it. So, I think you'll have to rethink your approach. What problem > are you trying to solve here? The miniroot is actually just a reduced set of Solaris. It has the full TCP/IP stack, and uses that normally during a network install. I agree with the last question, though. -- James Carlson, KISS Network <james.d.carlson@sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 |
| |||
| ICE wrote: > "David E. Grove" <david_grove@correct.state.ak.us> wrote in message > news:11n4l0u5lrfob79@corp.supernews.com... > >>Is it possible to telnet into a system booted from CDROM into single user >>mode? ('boot cdrom -s') If so, how is it done? How can one make the >>miniroot writeable? To execute 'svcadm enable inetd' requires a writeable >>root, right? > > > Well, if you think about it: boot *cdrom* -s > > This means your root fs is on the CD you're booting from. So it isn't > writable... > > >>I have a headless V480. I 'boot cdrom -s' using the RSC console. I >>configure a network interface. If I try to enable inetd, I get: >> >># svcadm enable inetd >>svcadm: svc:/network/inetd:default: Repository read-only. > > > Again you're booting from a CD-*ROM*. Hold on a sec ... see the "-t" switch to "svcadm enable ..." (might want to look at the "-r" switch too). svcadm(1M) enable [-rst] {FMRI|pattern}... .... If the -t option is specified, svcadm temporarily enables each service instance. Temporary enable only lasts until reboot. This action requires permission to modify the “restarter_actions” property group of the service instance (see smf_security(5)). .... > > However, the single-user mode in general does not mean you can't configure a > network interface or run network services. Your basic problem is you can't > make a configuration change with a read-only root fs. If you're willing to Right, he can't make a *permanent* change like that while online with a read-only fs ... see above. > invest the time and have the appropriate infrastructure, you could > conceivably make your own bootable CD image which uses DHCP / BOOTP to > obtain network configuration, initialise an interface and run some service > (such as telnet). > > Better still, setup a jumpstart server and do: boot net -s. > > This will bring you to single-user (without performing any kind of > installation). And since your root fs will then be a NFS mount (which, btw, > implies a configured network interface), you can either pre-configure the > required network service(s) or (again, not recommended) make NFS image > writable and perform any configuration on the fly (using anon=0 as a share > option). > |
| ||||
| Thank you all for your responses. I had some difficulty with installing a patch. I had to 'boot cdrom -s' to fix it. While I was "monkeying around" I was just curious. I could use ifconfig to get network access, but I also wondered about telneting in. Just a learning exercise. Thanks again for you helpful comments. DG |