Mailing List Archive

Root Shell on FastIron
A while ago, I asked SE if it is possible to get Root Shell on FastIron
for diagnosis.
The answer was, that there is no possibility to connect low level.

Finally, I found out that this is not true and there is a possibility:

- Direct serial connection required
- If this is a non-master stacked unit: dm mport-enable to enable the
management LAN port
- go to OS mode with Ctrl+Y+M and Enter
- Now IP address can be set:
OS>remote address 172.20.1.10 255.255.255.0
- Gateway if needed:
OS>remote def 172.20.1.1
- Start telnet server:
OS>telnetd start
- Now you can connect via telnet to (additional and special) IP address
configured above. No authentication is taking place, root access.



Best regards,

Franz Georg Köhler
_______________________________________________
foundry-nsp mailing list
foundry-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/foundry-nsp
Re: Root Shell on FastIron [ In reply to ]
Hi Franz,

On Tue, 2019-10-29 at 11:33 +0100, Franz Georg Köhler wrote:
> (...)
> - Now you can connect via telnet to (additional and special) IP
> address configured above. No authentication is taking place, root
> access.

Nice trick, thanks for sharing !


Clément
_______________________________________________
foundry-nsp mailing list
foundry-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/foundry-nsp
Re: Root Shell on FastIron [ In reply to ]
On Tue, Oct 29, 2019 at 11:43:49AM +0100, Clement Cavadore <clement@cavadore.net> wrote:
>
> Nice trick, thanks for sharing !

Because of the image size, the environment is very limited.
But there is a ftp client that we used to copy diagnosis files to the
outside.


_______________________________________________
foundry-nsp mailing list
foundry-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/foundry-nsp
Re: Root Shell on FastIron [ In reply to ]
Some more tricks. These are done from the boot loader ('b' on boot):
- 'setenv debug noautostart' - The box will not start FastIron OS and
will pause at a linux shell
- 'setenv quiet' - This nulls-out the quiet setting so you see Linux
boot messages


--
Hunter Fuller
Router Jockey
VBH Annex B-5
+1 256 824 5331

Office of Information Technology
The University of Alabama in Huntsville
Network Engineering

On Tue, Oct 29, 2019 at 5:34 AM Franz Georg Köhler <lists@openunix.de> wrote:
>
> A while ago, I asked SE if it is possible to get Root Shell on FastIron
> for diagnosis.
> The answer was, that there is no possibility to connect low level.
>
> Finally, I found out that this is not true and there is a possibility:
>
> - Direct serial connection required
> - If this is a non-master stacked unit: dm mport-enable to enable the
> management LAN port
> - go to OS mode with Ctrl+Y+M and Enter
> - Now IP address can be set:
> OS>remote address 172.20.1.10 255.255.255.0
> - Gateway if needed:
> OS>remote def 172.20.1.1
> - Start telnet server:
> OS>telnetd start
> - Now you can connect via telnet to (additional and special) IP address
> configured above. No authentication is taking place, root access.
>
>
>
> Best regards,
>
> Franz Georg Köhler
> _______________________________________________
> foundry-nsp mailing list
> foundry-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/foundry-nsp
_______________________________________________
foundry-nsp mailing list
foundry-nsp@puck.nether.net
http://puck.nether.net/mailman/listinfo/foundry-nsp