It is currently Tue Sep 17, 2019 12:33 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Issue installing JunOS under FreeBSD in Qemu
PostPosted: Tue Nov 20, 2012 3:33 pm 
Offline

Joined: Tue Nov 20, 2012 12:40 am
Posts: 2
HI,

I'm trying to install JunOS in my GNS3 (0.8.3.1 in Ubuntu12.04) but It doesn't work. I've read a lot of forums with differents way to do it, but, repeat, It doesn't work. My closest approximation is shown in the next screen. Basically, I've done the steps of http://blog.gns3.net/2009/10/olive-juniper/ but I've appreciated some difference which I'll show you.

Install Qemu --> OK
Create Qemu image for FreeBSD and install FreeBSD --> OK

The problme I have is when I install JunOS olive.

qemu -m 512 -hda olive-base.img -boot c -localtime \-net nic,macaddr=00:aa:00:60:01:01,model=e1000 -net user --> OK

dhclient em0 --> OK
netstat -r --> OK
ping 10.0.2.2 --> OK

scp [email protected]:~/Desktop/jinstall-8.5R1.14-domestic-signed.tgz /var/tmp --> OK



cd /var/tmp
mkdir jinst-signed
cd jinst-signed
tar zxvf ../jinstall-8.5R1.14-domestic-signed.tgz
my closest approximation
mkdir jinst
cd jinst
tar zxvf ../jinstall-8.5R1.14-domestic.tgz

mkdir pkgtools
cd pkgtools
tar zxvf ../pkgtools.tgz
cd bin
cp /usr/bin/true ./checkpic
cd ..

tar zcvf ../pkgtools.tgz *
cd ..
rm -rf pkgtools

OK ALL THIS PROCESS



md5 -q jinstall-8.5R1.14-domestic-signed.tgz > jinstall-8.5R1.14-domestic-signed.tgz.md5

when I write this command I'm in /var/tmp/jinst-signed/jinst, folder the command can't be executed for that reason I must go to /var/tmp/ where the command can be executed, also "openssl sha1 jinstall-8.5R1.14-domestic-signed.tgz > jinstall-8.5R1.14-domestic-signed.tgz.sha1" creating jinstall-8.5R1.14-domestic-signed.tgz.md5 and jinstall-8.5R1.14-domestic-signed.tgz.sha1.

Another difference is that in the first link (http://blog.gns3.net/2009/10/olive-juniper/4/) the command used is openssh but in my FreeBSD that is an unknown command for that reason I used openssl to create sha1 file.

I read in http://inetpro.org/wiki/Using_QEMU_with ... er_Routers , after create the new md5 and sha1 files "just edit *.sha1 file and remove file name and leaving only checksum inside. " ¿is it right?

Then, being in /var/tmp/
tar zcfv /var/tmp/jinstall-8.5R1.14-domestic-olive.tgz * --> OK

Image

pkg_add -f /var/tmp/jinstall-8.5R1.14-domestic-olive.tgz --> appears this message with this error:

Image


Because of the erros says "+CONTENTS not found", I've seen that in jinst-signed there is a "+CONTENTS" file for that reason I've made this process of packing in "/var/tmp/jinst-signed" and not in "/var/tmp" like the last case.
I did the next steps:

In /var/tmp/jinst-signed
md5 -q jinstall-8.5R1.14-domestic.tgz > jinstall-8.5R1.14-domestic.tgz.md5
openssl sha1 jinstall-8.5R1.14-domestic.tgz > jinstall-8.5R1.14-domestic.tgz.sha1

tar zcfv /var/tmp/jinst-signed/jinstall-8.5R1.14-domestic-olive.tgz * --> OK

Image

and

pkg_add -f /var/tmp/jinst-signed/jinstall-8.5R1.14-domestic-olive.tgz --> I think this result is my closest approximation to obtain install JunOS. The next screen appears:

Image

I want to install JunOS to prepare my Juniper Certification. Can someone help me?

Thanks

Alvaro




Top
 Profile  
 
 Post subject: Re: Issue installing JunOS under FreeBSD in Qemu
PostPosted: Fri Dec 28, 2012 1:15 am 
Offline

Joined: Tue Jul 17, 2012 1:34 pm
Posts: 214
Try this. It will walk you through the install process. The procedure can be performed on almost any system with qemu installed and functioning (Linux, Windows, OSX etc.). It will also assist you with acquiring JunOS olive version 10.x which is the version you need to know for your certification.

h**p://www.youtube.com/watch?v=f4ZNqcu-a4o



_________________
J.Neumann, GNS3 Contributor & Forum Moderator (Minion ID: sin.zx81.1981ad)
Author: Cisco Routers for Small Business (Apress)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO