Getting Started
- Check the ONL compatible switch
- Choose the ONL installer version
- Accton/Edgecore have difference CPU type
- Intel - x86
- FreeScale - powerpc, ppc
- Accton/Edgecore have difference CPU type
- Install ONL into Edgecore switch via ONIE
- Login ONL
- Do anything you want to on ONL
Preinstall ONL
We suggest you that choose ONL version
2016.12.22.18.28.604af0c9b3dc9504870c30273ab22f2fb62746c3
and chooseDebian 8
- For PowerPC, use ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-PPC-INSTALLED-INSTALLER
- For x86 based, use ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLER
Download ONL installer images into USB or follow the Quick Start Guide - ONIE
Enter ONIE (Rescue Mode)
- If the bootloader is GRUB
- Select
ONIE -> ONIE: Rescue
- Select
- If the bootloader is U-Boot
- You will see
Hit any key to stop autoboot
Press any key
- Enter
run onie_rescue
to enter ONIE rescue mode.
- You will see
Install ONL (Example: Accton/Edgecore AS5712-54X)
Install via HTTP
123456ifconfig eth0 <IP>/24route add default gw <Gateway>echo "nameserver 8.8.8.8" > /etc/resolv.confonie-nos-install http://opennetlinux.org/binaries/2016.12.22.18.28.604af0c9b3dc9504870c30273ab22f2fb62746c3/ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLERInstall via USB
12345mkdir /tmp/onie-imagemount /dev/<USB Devices> /tmp/onie-imagecd /tmp/onie-imageonie-nos-install ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLER
Default Username and Password in ONL
root/onl
Example
Output with AS5712-54X and ONIE rescure mode
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253GRUB loading. Version : 2015.11.00.05Build Date: 2016-04-14T19:55+0800Info: Mounting kernel filesystems... done.scsi 6:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 6sd 6:0:0:0: [sda] 15466496 512-byte logical blocks: (7.91 GB/7.37 GiB)sd 6:0:0:0: [sda] Write Protect is offsd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn''t support DPO or FUAsd 6:0:0:0: [sda] Attached SCSI diskInfo: Mounting ONIE-BOOT on /mnt/onie-boot ...Info: Using eth0 MAC address: c4:39:3a:f4:4b:f3Info: eth0: Checking link... up.E: Rescue Mode ...Info: Trying DHCPv4 on interface: eth0random: nonblocking pool is initializedWarning: Unable to configure interface using DHCPv4: eth0ONIE: Using default IPv4 addr: eth0: 192.168.3.10/24ONIE: Using link-local IPv4 addr: eth0: 169.254.187.20/16Starting: dropbear ssh daemon... done.Starting: telnetd... done.discover: Rescue mode detected. Installer disabled.Please press Enter to activate this console.To check the install status inspect /var/log/onie.log.Try this: tail -f /var/log/onie.log** Rescue Mode Enabled **ONIE:/ # # Install via HTTPONIE:/ # ifconfig eth0 192.168.11.9/24ONIE:/ # route add default gw 192.168.11.254ONIE:/ # echo "nameserver 8.8.8.8" > /etc/resolv.confONIE:/ # ping www.google.comPING www.google.com (216.58.200.36): 56 data bytes64 bytes from 216.58.200.36: seq=0 ttl=53 time=7.485 ms--- www.google.com ping statistics ---1 packets transmitted, 1 packets received, 0% packet lossround-trip min/avg/max = 7.485/7.485/7.485 msONIE:/ #ONIE:/ # onie-nos-install http://opennetlinux.org/binaries/2016.12.22.18.28.604af0c9b3dc9504870c30273ab22f2fb62746c3/ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLERONIE:/ # # Install via USBONIE:/ # mkdir /tmp/onie-imageONIE:/ # mount /dev/sdb1 /tmp/onie-imageONIE:/ # cd /tmp/onie-imageONIE:/tmp/onie-image # onie-nos-install ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLERONIE: Executing installer: ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLER [4/2367]installer: computing checksum of original archiveinstaller: checksum is OKinstaller: extracting pad...(Skip)Booting Output with AS5712-54X and ONL
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051522017-03-05 12:38:43.418 INFO onie-upgrade: ************************************************************2017-03-05 12:38:43.418 INFO onie-upgrade: * ONIE Upgrade Check2017-03-05 12:38:43.418 INFO onie-upgrade: ************************************************************2017-03-05 12:38:43.418 INFO onie-upgrade:2017-03-05 12:38:43.418 INFO onie-upgrade:2017-03-05 12:38:43.418 INFO onie-upgrade: No ONIE updater available for the current platform.2017-03-05 12:38:43.419 INFO onie-upgrade:2017-03-05 12:38:43.419 INFO onie-upgrade: ************************************************************2017-03-05 12:38:43.853 INFO firmware-upgrade: ************************************************************2017-03-05 12:38:43.853 INFO firmware-upgrade: * Firmware Upgrade Check2017-03-05 12:38:43.853 INFO firmware-upgrade: ************************************************************2017-03-05 12:38:43.853 INFO firmware-upgrade:2017-03-05 12:38:43.854 INFO firmware-upgrade:2017-03-05 12:38:43.854 INFO firmware-upgrade: No Firmware updater available for the current platform.2017-03-05 12:38:43.854 INFO firmware-upgrade:2017-03-05 12:38:43.854 INFO firmware-upgrade: ************************************************************2017-03-05 12:38:44.329 INFO loader-upgrade: ************************************************************2017-03-05 12:38:44.330 INFO loader-upgrade: * Loader Upgrade Check2017-03-05 12:38:44.330 INFO loader-upgrade: ************************************************************2017-03-05 12:38:44.330 INFO loader-upgrade:2017-03-05 12:38:44.353 INFO loader-upgrade: Current Loader Version: ONL-2.0.0,2016-12-22.18:28-604af0c2017-03-05 12:38:44.353 INFO loader-upgrade: Next Loader Version: ONL-2.0.0,2016-12-22.18:28-604af0c2017-03-05 12:38:44.353 INFO loader-upgrade:2017-03-05 12:38:44.354 INFO loader-upgrade: Loader version ONL-2.0.0,2016-12-22.18:28-604af0c is current.2017-03-05 12:38:44.354 INFO loader-upgrade:2017-03-05 12:38:44.354 INFO loader-upgrade: ************************************************************Using makefile-style concurrent boot in runlevel S.Starting the hotplug events dispsystemd-udevd[1080]: starting version 215atcher: udevd.Synthesizing the initial hotplug events...done.Waiting for /dev to be fully populated...done.Setting kernel variables ...done.Setting up resolvconf...done.Configuring network interfaces...done.INIT: Entering runlevel: 2Using makefile-style concurrent boot in runlevel 2.Starting enhanced syslogd: rsyslogd.Starting ONLP SNMP Agent: onlp-snmpd.Starting ONLP Platform Agent: onlpd.Starting Fault Agent: faultd.Starting OpenBSD Secure Shell server: sshd.Starting SNMP services:: snmpdWarning: Could not probe for any interfacesStopping watchdog keepalive daemon....Starting watchdog daemon....Open Network Linux OS ONL-2.0.0, 2016-12-22.18:28-604af0clocalhost login: rootPassword: onlLinux localhost 3.2.65-1+deb7u2-OpenNetworkLinux #2 SMP Thu Dec 22 19:17:39 UTC 2016 x86_64root@localhost:~#
Call for Support
If you still meet a problem, please follow the link Call for Support - ONIE