<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6679861943302505235</id><updated>2012-02-16T23:36:03.574Z</updated><category term='PC'/><category term='Juniper Networks'/><category term='Router'/><category term='Olive'/><category term='JUNOS'/><title type='text'>Juniper Olive Install</title><subtitle type='html'>The premier site about Juniper Olive installation and running JUNOS on a Juniper Olive PC.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://juniperolive.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6679861943302505235/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://juniperolive.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tyler Corlen</name><uri>http://www.blogger.com/profile/15375036173466330764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6679861943302505235.post-3098959361305230873</id><published>2009-02-17T00:00:00.009Z</published><updated>2008-03-03T23:59:36.680Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='JUNOS'/><category scheme='http://www.blogger.com/atom/ns#' term='Router'/><category scheme='http://www.blogger.com/atom/ns#' term='Olive'/><category scheme='http://www.blogger.com/atom/ns#' term='PC'/><category scheme='http://www.blogger.com/atom/ns#' term='Juniper Networks'/><title type='text'>Juniper Olive</title><content type='html'>Olive refers to a regular PC that's running Juniper Networks' JUNOS software. Juniper developed Olive early on so they could perform testing of JUNOS during development.&lt;br /&gt;&lt;br /&gt;On this blog, I go over some of things I did to get JUNOS software running on a PC.&lt;br /&gt;&lt;br /&gt;Juniper's official position on this deployment is that it is not supported. But, having said that, this is a great way to learn about the JUNOS software and ultimately, get Juniper certified or get a job as a Juniper engineer.&lt;br /&gt;&lt;br /&gt;Olive requires a valid copy of a JUNOS jinstall file. This file can be found on a Juniper router and/or obtained from Juniper Networks under a support contract. If you don't have that, please do not contact me as I will not provide that.&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.freebsd.org/"&gt;FreeBSD&lt;/a&gt; 4.x ISO image &lt;/li&gt;&lt;li&gt;A valid &lt;span class="literal"&gt;jinstall&lt;/span&gt; package for JUNOS that is version 7.4 or earlier &lt;/li&gt;&lt;li&gt;Intel network cards that use the &lt;span class="literal"&gt;fxp&lt;/span&gt; or &lt;span class="literal"&gt;em&lt;/span&gt; driver &lt;/li&gt;&lt;li&gt;Serial cable/null-modem cable &lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Overview&lt;br /&gt;&lt;br /&gt;1. Install FreeBSD&lt;br /&gt;2. Make a few file system changes&lt;br /&gt;3. Add the jinstall package&lt;br /&gt;4. Upgrade your JUNOS as you desire&lt;br /&gt;&lt;br /&gt;If you've done any research at all about Juniper Olive, you probably realize that JUNOS is based on FreeBSD 4.x. A copy of FreeBSD will be used bootstrap into JUNOS software. The jinstall package is literally a FreeBSD software package that contains the JUNOS. To do the initial install you'll need JUNOS 7.4 or earlier. &lt;/p&gt;&lt;p&gt;The right network cards are crucial to having Olive do anything useful. As other sites have documented, Intel-based cards are the only ones supported, specifically cards supported by the FreeBSD 4.x fxp and em drivers.&lt;br /&gt;&lt;br /&gt;To initially connect to an Olive system (after the install), you are going to have to connect via the serial port. You'll need a serial cable or null-modem cable to manage the box and do initial configuration.&lt;br /&gt;&lt;br /&gt;Installation&lt;br /&gt;&lt;br /&gt;1. Install the base OS. For this install, we need FreeBSD version 4.4. (Here is an &lt;a href="http://www.tylercorlen.com/files/freeBSD.4.4-mini.iso"&gt;ISO&lt;/a&gt; for you) to download. A very generic installation is all that is required. Much of it gets blown away when you installl the JUNOS package anyway.&lt;br /&gt;2. Boot from CDRom.&lt;br /&gt;3. [Enter] to boot immediately.&lt;br /&gt;4. Skip kernel configuration and continue with installation.&lt;br /&gt;5. At the "/stand/sysinstall Main Menu", choose Standard.&lt;br /&gt;6. At the "FDISK partition Editor", I used "A" for Use Entire Slice.&lt;br /&gt;7. Choose "S" for Set Bootable.&lt;br /&gt;8. Choose "Q" for Finish.&lt;br /&gt;9. For the boot manager, go with "Standard" for a standard MBR.&lt;br /&gt;10. At Disklabel Editor, I created the following slices:&lt;br /&gt;ad0s1a / 500MB&lt;br /&gt;ad0s1b swap 500MB&lt;br /&gt;ad0s1c /config 100MB&lt;br /&gt;ad0s1f /var (the rest)&lt;br /&gt;11. At "choose distributions", go with "minimal"&lt;br /&gt;12. Choose installation media: 1 CD/DVD&lt;br /&gt;13. after the system reboots, make some mods to the system:&lt;br /&gt;&lt;br /&gt;# rm /dev/wd0c &amp;amp;&amp;amp; ln -s /dev/ad0c /dev/wd0c&lt;br /&gt;# mkdir /var/etc&lt;br /&gt;# touch /var/etc/master.passwd&lt;br /&gt;# touch /var/etc/group&lt;br /&gt;# touch /var/etc/inetd.conf&lt;br /&gt;14. Add the jinstall package:&lt;/p&gt;&lt;p&gt;# pkg_add jinstall-xxx.tgz (you can't use "request system reboot" for the first reboot)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15. After the package completes, then&lt;/p&gt;&lt;p&gt;# reboot&lt;br /&gt;&lt;br /&gt;Here you will need a console connection to your system as the PC is now functioning as a "router" and it won't have a GUI. Your PC screen will probably say something like this after the reboot:&lt;br /&gt;"Loading /boot/loader"&lt;br /&gt;"BTX loader 1.00 BTX version is 1.01"&lt;br /&gt;&lt;br /&gt;With your console connection, you see the jinstall package doing its thing and then the router reboots again.&lt;br /&gt;&lt;br /&gt;During the first reboot after the JUNOS package is installed, the install script will repartition the disk appropriately if it doesn't like what it finds. &lt;/p&gt;&lt;p&gt;Whenever you upgrade JUNOS it always checks to make sure your PICs are properly supported by the version you're upgrading to. To that end, there is a binary within the package called &lt;span class="literal"&gt;checkpic&lt;/span&gt;. The &lt;span class="literal"&gt;checkpic&lt;/span&gt; binary in newer JUNOS packages causes the ELF error. Installing an older version of JUNOS and then upgrading to something newer seems to work just fine. &lt;/p&gt;&lt;p&gt;I found that even though I had supported NICs, I still could not pass any traffic.  I had enable "PCI Bus Mastering" in the BIOS to get things to work.&lt;/p&gt;&lt;p&gt;The system will reboot and run the bootstrap installer. It will repartition the disk (if necessary), install more packages (jbase, jkernel, jpfe, etc) and then it'll reboot again. Once it comes back up you can login.&lt;/p&gt;&lt;br /&gt;&lt;pre class="shelloutput"&gt;root@olive% cli&lt;br /&gt;root@olive&gt; show version&lt;br /&gt;Hostname: olive&lt;br /&gt;Model: olive&lt;br /&gt;JUNOS Base OS boot [7.1R1.3]&lt;br /&gt;JUNOS Base OS Software Suite [7.1R1.3]&lt;br /&gt;JUNOS Kernel Software Suite [7.1R1.3]&lt;br /&gt;JUNOS Packet Forwarding Engine Support (M20/M40) [7.1R1.3]&lt;br /&gt;JUNOS Routing Software Suite [7.1R1.3]&lt;br /&gt;JUNOS Online Documentation [7.1R1.3]&lt;br /&gt;JUNOS Crypto Software Suite [7.1R1.3]&lt;/pre&gt;&lt;pre class="shelloutput"&gt;&lt;br /&gt; &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Hardware Support&lt;br /&gt;&lt;br /&gt;The following NICs have been tested and known to work with Olive:&lt;br /&gt;Intel EtherExpress Pro 10/100B (82557, 82559 chipset)&lt;br /&gt;Intel PRO/1000MT, PRO/1000GT&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6679861943302505235-3098959361305230873?l=juniperolive.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://juniperolive.blogspot.com/feeds/3098959361305230873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6679861943302505235&amp;postID=3098959361305230873' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6679861943302505235/posts/default/3098959361305230873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6679861943302505235/posts/default/3098959361305230873'/><link rel='alternate' type='text/html' href='http://juniperolive.blogspot.com/2009/02/juniper-olive.html' title='Juniper Olive'/><author><name>Tyler Corlen</name><uri>http://www.blogger.com/profile/15375036173466330764</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry></feed>
