Skip to content

Instantly share code, notes, and snippets.

@pichuang
Last active March 5, 2017 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pichuang/9954b7de0b8cdd66f91f933898fccf33 to your computer and use it in GitHub Desktop.
Save pichuang/9954b7de0b8cdd66f91f933898fccf33 to your computer and use it in GitHub Desktop.
Install ONL on AS5712-54X
2017-03-05 12:38:43.418 INFO onie-upgrade: ************************************************************
2017-03-05 12:38:43.418 INFO onie-upgrade: * ONIE Upgrade Check
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:
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 Check
2017-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 Check
2017-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-604af0c
2017-03-05 12:38:44.353 INFO loader-upgrade: Next Loader Version: ONL-2.0.0,2016-12-22.18:28-604af0c
2017-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 215
atcher: 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: 2
Using 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 interfaces
Stopping watchdog keepalive daemon....
Starting watchdog daemon....
Open Network Linux OS ONL-2.0.0, 2016-12-22.18:28-604af0c
localhost login: root
Password: onl
Linux localhost 3.2.65-1+deb7u2-OpenNetworkLinux #2 SMP Thu Dec 22 19:17:39 UTC 2016 x86_64
root@localhost:~#
GRUB loading. Version : 2015.11.00.05
Build Date: 2016-04-14T19:55+0800
Info: Mounting kernel filesystems... done.
scsi 6:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 6
sd 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 off
sd 6:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 6:0:0:0: [sda] Attached SCSI disk
Info: Mounting ONIE-BOOT on /mnt/onie-boot ...
Info: Using eth0 MAC address: c4:39:3a:f4:4b:f3
Info: eth0: Checking link... up.E: Rescue Mode ...
Info: Trying DHCPv4 on interface: eth0
random: nonblocking pool is initialized
Warning: Unable to configure interface using DHCPv4: eth0
ONIE: Using default IPv4 addr: eth0: 192.168.3.10/24
ONIE: Using link-local IPv4 addr: eth0: 169.254.187.20/16
Starting: 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 HTTP
ONIE:/ # ifconfig eth0 192.168.11.9/24
ONIE:/ # route add default gw 192.168.11.254
ONIE:/ # echo "nameserver 8.8.8.8" > /etc/resolv.conf
ONIE:/ # ping www.google.com
PING www.google.com (216.58.200.36): 56 data bytes
64 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 loss
round-trip min/avg/max = 7.485/7.485/7.485 ms
ONIE:/ #
ONIE:/ # onie-nos-install http://opennetlinux.org/binaries/2016.12.22.18.28.604a
f0c9b3dc9504870c30273ab22f2fb62746c3/ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af
0c-AMD64-INSTALLED-INSTALLER
ONIE:/ # # Install via USB
ONIE:/ # mkdir /tmp/onie-image
ONIE:/ # mount /dev/sdb1 /tmp/onie-image
ONIE:/ # cd /tmp/onie-image
ONIE:/tmp/onie-image # onie-nos-install ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af
0c-AMD64-INSTALLED-INSTALLER
ONIE: Executing installer: ONL-2.0.0-ONL-OS-DEB8-2016-12-22.1828-604af0c-AMD64-INSTALLED-INSTALLER [4/2367]
installer: computing checksum of original archive
installer: checksum is OK
installer: extracting pad
1+0 records in
1+0 records out
512 bytes (512B) copied, 0.000036 seconds, 13.6MB/s
installer: copying file before resetting pad
installer: resetting pad
1+0 records in
1+0 records out
512 bytes (512B) copied, 0.000022 seconds, 22.2MB/s
installer: extracting shar into /tmp/sfx-evm4Jo
installer: invoking installer installer.sh
Found installer tmpfs on /tmp/sfx-evm4Jo (/tmp) using opts rw,noatime
Unpacking ONL installer files...
Extracting from /tmp/sfx-evm4Jo/onie-installer.zip: onl-loader-initrd-amd64.cpio.gz ...
Archive: /tmp/sfx-evm4Jo/onie-installer.zip
inflating: onl-loader-initrd-amd64.cpio.gz
Extracting initrd to /tmp/sfx-evm4Jo/initrd-XcghYq
64940 blocks
Setting up /dev
Setting up /run
Setting up mounts
Launching ONL installer
Unmounting /mnt/onie-boot (--force)
Extracting from /tmp/sfx-evm4Jo/onie-installer.zip: preinstall.sh ...
Archive: /tmp/sfx-evm4Jo/onie-installer.zip
inflating: preinstall.sh
...(Skip)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment