Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ability to use telnet to get root mounted with busybox
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
SlOrbA
n00b
n00b


Joined: 21 Jun 2005
Posts: 1

PostPosted: Tue Jun 21, 2005 12:05 pm    Post subject: Ability to use telnet to get root mounted with busybox Reply with quote

I have my server remotely located and for some reason my root fs device path doesn't always work. This is the reason, but I'd think there are many other reasons for wanting ssh/telnet connection to a host if the boot is stalled into busybox.

I'm useing genkernel as my primary kernel composer and is would be nice to have this ability to work with it.

Busybox should be able to facilitate this functionality, but the Linuxrc script is most likely the most difficult part to modify for this kind of remote managment.
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Tue Jun 21, 2005 2:08 pm    Post subject: Re: Ability to use telnet to get root mounted with busybox Reply with quote

SlOrbA wrote:
I have my server remotely located and for some reason my root fs device path doesn't always work.

Please provide actual verifyable data: what you tried, what doesn't work, and what the expected outcome was.
Figuring out why this fails sometimes is always better than cobbling hacks together.

SlOrbA wrote:
This is the reason, but I'd think there are many other reasons for wanting ssh/telnet connection to a host if the boot is stalled into busybox.

Erm.. what ?
No, there is no chance in hell you can ssh/telnet/whatever into a box that can not mount its root partition - you will have no users, no services, and no network.
Okay, you can run a telnetd daemon from busybox - how long do you think it will take for that to be cracked ?
In seconds, please.

SlOrbA wrote:
I'm useing genkernel as my primary kernel composer and is would be nice to have this ability to work with it.

No idea what you mean or what you want.
Busybox is not a component of genkernel - you'll have to add that functionality yourself.
You'll also at minimum need uClibc for busybox to work.

SlOrbA wrote:
Busybox should be able to facilitate this functionality,

No, it shouldn't - please read the busybox FAQ for what its developers think of people who think they should.

Busybox lacks the ability to start up a network or run any normal services.
It just provides the most often-used tools in a small package.
You will need to provide it with some sort of environment in order to accomplish any of these things.
At the very least, you're looking at some intricately complex initrd functionality.

SlOrbA wrote:
but the Linuxrc script is most likely the most difficult part to modify for this kind of remote managment.

No, the fact that you cannot mount the root partition is the one and only obstruction to any kind of remote management.

As I said above: solve the problem, don't go cobbling together a bad solution as if that's some sort of alternative - it isn't.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum