Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: nsp: juniper

Junos terminal programm

 

 

nsp juniper RSS feed   Index | Next | Previous | View Threaded


gsp at mx21

Oct 10, 2007, 9:49 AM

Post #1 of 6 (609 views)
Permalink
Junos terminal programm

Hi All,

i want to use AUX port on M-series as console server,
that is connect Juniper AUX to other device console and manage this device
from Juniper.

When Junos binary was unsigned, i use tip programm, download from neighboring Freebsd,
does anyone have idea how i can do this in modern Junos?

Thanks,
Regards.
--
Krivosheev Igor
E-mail: gsp at sftcomp.ru


ras at e-gerbil

Oct 10, 2007, 12:27 PM

Post #2 of 6 (611 views)
Permalink
Junos terminal programm [In reply to]

On Wed, Oct 10, 2007 at 09:49:31PM +0400, gsp at mx21.sftcomp.ru wrote:
> Hi All,
>
> i want to use AUX port on M-series as console server,
> that is connect Juniper AUX to other device console and manage this device
> from Juniper.
>
> When Junos binary was unsigned, i use tip programm, download from neighboring Freebsd,
> does anyone have idea how i can do this in modern Junos?

http://www.e-gerbil.net/ras/auxport-terminal

Self extracting signed tip binary script, good workaround for the lack of
an included tip command. IMHO Juniper should include this by default,
being able to console out of a router is a useful feature in a pinch which
they've been missing for way too long.

--
Richard A Steenbergen <ras at e-gerbil.net> http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)


yevgeniy.voloshin at gmail

Oct 14, 2007, 10:37 AM

Post #3 of 6 (603 views)
Permalink
Junos terminal programm [In reply to]

Dear Richard,

what I am do wrong?

root at M7i% sh -x ./auxport-terminal
+ lock_dir=_sh05839
+ echo=echo
+ shar_tty= shar_n= shar_c=

+ whoami
+ CUSER=root
+ test root = root
+ :
+ test ! -d _sh05839
+ :
+ mkdir _sh05839
+ :
+ test ! -d /bin
+ echo x - extracting /bin/tip
x - extracting /bin/tip
+ rm /bin/tip
rm: /bin/tip: No such file or directory
+ dd if=./auxport-terminal of=/bin/tip bs=1 count=163589 skip=10041
+ test 0 -ne 0
+ echo x - extracting /tip-manifest (text)
x - extracting /tip-manifest (text)
+ sed s/^X//
+ :
+ test 0 -ne 0
+ echo x - extracting /tip-manifest.certs (text)
x - extracting /tip-manifest.certs (text)
+ sed s/^X//
+ :
+ test 0 -ne 0
+ echo x - extracting /tip-manifest.sig (text)
x - extracting /tip-manifest.sig (text)
+ sed s/^X//
+ :
+ test 0 -ne 0
+ rm -fr _sh05839
+ echo x - removed lock directory `_sh05839'.
x - removed lock directory `_sh05839'.
+ /bin/chmod 755 /bin/tip
+ veriexec -C / /tip-manifest
Verified tip-manifest signed by PackageDevelopment_7_6_0
+ echo Starting tip... Press ~ then ctrl-D to quit.
Starting tip... Press ~ then ctrl-D to quit.
+ exec /bin/tip com2
/usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by
"tip"

root at M7i> show version
Hostname: M7i
Model: m7i
JUNOS Base OS boot [8.5B2.2]
JUNOS Base OS Software Suite [8.5B2.2]
JUNOS Kernel Software Suite [8.5B2.2]
JUNOS Packet Forwarding Engine Support (M/T Common) [8.5B2.2]
JUNOS Packet Forwarding Engine Support (M7i/M10i) [8.5B2.2]
JUNOS Online Documentation [8.5B2.2]
JUNOS Routing Software Suite [8.5B2.2]

TIA!
---
Yev.



2007/10/11, Richard A Steenbergen <ras at e-gerbil.net>:
>
> On Wed, Oct 10, 2007 at 09:49:31PM +0400, gsp at mx21.sftcomp.ru wrote:
> > Hi All,
> >
> > i want to use AUX port on M-series as console server,
> > that is connect Juniper AUX to other device console and manage this
> device
> > from Juniper.
> >
> > When Junos binary was unsigned, i use tip programm, download from
> neighboring Freebsd,
> > does anyone have idea how i can do this in modern Junos?
>
> http://www.e-gerbil.net/ras/auxport-terminal
>
> Self extracting signed tip binary script, good workaround for the lack of
> an included tip command. IMHO Juniper should include this by default,
> being able to console out of a router is a useful feature in a pinch which
> they've been missing for way too long.
>
> --
> Richard A Steenbergen <ras at e-gerbil.net> http://www.e-gerbil.net/ras
> GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


ras at e-gerbil

Oct 14, 2007, 5:34 PM

Post #4 of 6 (596 views)
Permalink
Junos terminal programm [In reply to]

On Sun, Oct 14, 2007 at 10:37:17PM +0400, Yevgeniy Voloshin wrote:
> Dear Richard,
>
> what I am do wrong?
...
> JUNOS Base OS boot [8.5B2.2]
...
> /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by
> "tip"

There are major FreeBSD changes between JUNOS 8.4 and 8.5, which came with
a libc upgrade obviously. :P

--- JUNOS 8.5B2.5 built 2007-09-07 01:02:08 UTC
root at lab% ls -la /usr/lib/libc*
lrwxr-xr-x 1 root wheel 37 Sep 30 00:56 /usr/lib/libc.so.6 -> /packages/mnt/jbase/usr/lib/libc.so.6

Thats a pretty major upgrade (libc from FreeBSD 4 -> 6), so you've pretty
much got zero chance of binary compatibility between versions. Just nag
Juniper to include tip, that'd be a much more sensible solution. :)

--
Richard A Steenbergen <ras at e-gerbil.net> http://www.e-gerbil.net/ras
GPG Key ID: 0xF8B12CBC (7535 7F59 8204 ED1F CC1C 53AF 4C41 5ECA F8B1 2CBC)


babydr at baby-dragons

Oct 14, 2007, 7:10 PM

Post #5 of 6 (610 views)
Permalink
Junos terminal programm [In reply to]

Hello Yevgeniy , If (as it seems you do) have shell access try ,

cd /usr/lib
ln -s /packages/mnt/jbase/usr/lib/libc.so.6 /usr/lib/libc.so.4

And give that a try .
Hth , JimL

ps: No warrenties , ...

On Sun, 14 Oct 2007, Richard A Steenbergen wrote:
> On Sun, Oct 14, 2007 at 10:37:17PM +0400, Yevgeniy Voloshin wrote:
>> Dear Richard,
>>
>> what I am do wrong?
> ...
>> JUNOS Base OS boot [8.5B2.2]
> ...
>> /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by
>> "tip"
>
> There are major FreeBSD changes between JUNOS 8.4 and 8.5, which came with
> a libc upgrade obviously. :P
>
> --- JUNOS 8.5B2.5 built 2007-09-07 01:02:08 UTC
> root at lab% ls -la /usr/lib/libc*
> lrwxr-xr-x 1 root wheel 37 Sep 30 00:56 /usr/lib/libc.so.6 -> /packages/mnt/jbase/usr/lib/libc.so.6
>
> Thats a pretty major upgrade (libc from FreeBSD 4 -> 6), so you've pretty
> much got zero chance of binary compatibility between versions. Just nag
> Juniper to include tip, that'd be a much more sensible solution. :)
>
>

--
+-----------------------------------------------------------------+
| James W. Laferriere | System Techniques | Give me VMS |
| Network Engineer | 663 Beaumont Blvd | Give me Linux |
| babydr at baby-dragons.com | Pacifica, CA. 94044 | only on AXP |
+-----------------------------------------------------------------+


pederbach at gmail

Jan 2, 2012, 2:24 AM

Post #6 of 6 (439 views)
Permalink
Re: Junos terminal programm [In reply to]

And for MX80 with a ppc this doesn't work.


root [at] cr% sh ./auxport-terminal
x - extracting /bin/tip

x - extracting /tip-manifest (text)
x - extracting /tip-manifest.certs (text)
x - extracting /tip-manifest.sig (text)
x - removed lock directory `_sh05839'.
Verified tip-manifest signed by PackageDevelopment_7_6_0
Starting tip... Press ~ then ctrl-D to quit.
/bin/tip: 1: Syntax error: "(" unexpected


Anyone got it to work?

-P



On Mon, Oct 15, 2007 at 5:10 AM, Mr. James W. Laferriere
<babydr [at] baby-dragons> wrote:
>        Hello Yevgeniy ,  If (as it seems you do) have shell access try ,
>
>        cd /usr/lib
>        ln -s /packages/mnt/jbase/usr/lib/libc.so.6 /usr/lib/libc.so.4
>
>        And give that a try .
>                Hth ,  JimL
>
> ps:     No warrenties , ...
>
> On Sun, 14 Oct 2007, Richard A Steenbergen wrote:
>> On Sun, Oct 14, 2007 at 10:37:17PM +0400, Yevgeniy Voloshin wrote:
>>> Dear Richard,
>>>
>>> what I am do wrong?
>> ...
>>> JUNOS Base OS boot [8.5B2.2]
>> ...
>>> /usr/libexec/ld-elf.so.1: Shared object "libc.so.4" not found, required by
>>> "tip"
>>
>> There are major FreeBSD changes between JUNOS 8.4 and 8.5, which came with
>> a libc upgrade obviously. :P
>>
>> --- JUNOS 8.5B2.5 built 2007-09-07 01:02:08 UTC
>> root [at] la% ls -la /usr/lib/libc*
>> lrwxr-xr-x  1 root  wheel  37 Sep 30 00:56 /usr/lib/libc.so.6 -> /packages/mnt/jbase/usr/lib/libc.so.6
>>
>> Thats a pretty major upgrade (libc from FreeBSD 4 -> 6), so you've pretty
>> much got zero chance of binary compatibility between versions. Just nag
>> Juniper to include tip, that'd be a much more sensible solution. :)
>>
>>
>
> --
> +-----------------------------------------------------------------+
> | James   W.   Laferriere | System   Techniques | Give me VMS     |
> | Network        Engineer | 663  Beaumont  Blvd |  Give me Linux  |
> | babydr [at] baby-dragons | Pacifica, CA. 94044 |   only  on  AXP |
> +-----------------------------------------------------------------+
> _______________________________________________
> juniper-nsp mailing list juniper-nsp [at] puck
> https://puck.nether.net/mailman/listinfo/juniper-nsp

_______________________________________________
juniper-nsp mailing list juniper-nsp [at] puck
https://puck.nether.net/mailman/listinfo/juniper-nsp

nsp juniper RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.