Architektura mips64.

Původní systém EdgeOS v1.10.7

Sériová linka
$ minicom -b 115200 -D /dev/ttyUSB0
Welcome to EdgeOS ubnt ttyS0

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

ubnt login: ubnt        (1)
Password:
Last login: Thu Feb  5 01:16:55 UTC 2026 on ttyS0
Linux ubnt 3.10.107-UBNT #1 SMP Mon Oct 1 13:07:43 UTC 2018 mips64
Welcome to EdgeOS
ubnt@ubnt:~$ sudo su
root@ubnt:/home/ubnt# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.3G    151.4M      3.0G   5% /root.dev
aufs                      3.3G    151.4M      3.0G   5% /
tmpfs                   486.9M    100.0K    486.8M   0% /run
tmpfs                   486.9M    100.0K    486.8M   0% /run
tmpfs                   486.9M     52.0K    486.8M   0% /var/log
tmpfs                   486.9M         0    486.9M   0% /dev/shm
tmpfs                   486.9M      4.0K    486.9M   0% /tmp
none                    486.9M     88.0K    486.8M   0% /opt/vyatta/config
root@ubnt:/home/ubnt#
root@ubnt:/home/ubnt# ip a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether d8:b3:70:83:bf:e0 brd ff:ff:ff:ff:ff:ff
3: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether d8:b3:70:83:bf:e1 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global eth0
       valid_lft forever preferred_lft forever
4: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether d8:b3:70:83:bf:e2 brd ff:ff:ff:ff:ff:ff
    inet 192.168.120.246/24 brd 192.168.120.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::dab3:70ff:fe83:bfe2/64 scope link
       valid_lft forever preferred_lft forever
5: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether d8:b3:70:83:bf:e3 brd ff:ff:ff:ff:ff:ff
6: npi0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 8e:6a:3a:44:8c:ba brd ff:ff:ff:ff:ff:ff
7: npi1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether e6:5b:b4:30:68:43 brd ff:ff:ff:ff:ff:ff
8: npi2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 46:4a:ee:4a:05:de brd ff:ff:ff:ff:ff:ff
9: npi3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 26:5d:37:c0:ab:a7 brd ff:ff:ff:ff:ff:ff
10: loop0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 72:41:88:a5:59:3f brd ff:ff:ff:ff:ff:ff
11: loop1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether da:58:f1:56:f6:07 brd ff:ff:ff:ff:ff:ff
12: loop2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 36:02:10:e1:ba:8d brd ff:ff:ff:ff:ff:ff
13: loop3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default
    link/ether 76:b3:6e:21:9b:66 brd ff:ff:ff:ff:ff:ff
14: imq0: <NOARP,UP,LOWER_UP> mtu 16000 qdisc pfifo_fast state UNKNOWN group default qlen 11000
    link/void
root@ubnt:/home/ubnt#
root@ubnt:/home/ubnt# ps axf
  PID TTY      STAT   TIME COMMAND
    2 ?        S      0:00 [kthreadd]
    3 ?        S      0:00  \_ [ksoftirqd/0]
    4 ?        S      0:00  \_ [kworker/0:0]
    5 ?        S<     0:00  \_ [kworker/0:0H]
    6 ?        S      0:00  \_ [kworker/u8:0]
    7 ?        S      0:00  \_ [migration/0]
    8 ?        S      0:00  \_ [rcu_bh]
    9 ?        S      0:00  \_ [rcu_sched]
   10 ?        S      0:00  \_ [rcuc/0]
   11 ?        S      0:00  \_ [watchdog/0]
   12 ?        S      0:00  \_ [watchdog/1]
   13 ?        S      0:00  \_ [rcuc/1]
   14 ?        S      0:05  \_ [migration/1]
   15 ?        S      0:00  \_ [ksoftirqd/1]
   16 ?        S      0:00  \_ [kworker/1:0]
   17 ?        S<     0:00  \_ [kworker/1:0H]
   18 ?        S      0:00  \_ [watchdog/2]
   19 ?        S      0:00  \_ [rcuc/2]
   20 ?        S      0:00  \_ [migration/2]
   21 ?        S      0:00  \_ [ksoftirqd/2]
   22 ?        S      0:00  \_ [kworker/2:0]
   23 ?        S<     0:00  \_ [kworker/2:0H]
   24 ?        S      0:00  \_ [watchdog/3]
   25 ?        S      0:00  \_ [rcuc/3]
   26 ?        S      0:00  \_ [migration/3]
   27 ?        S      0:00  \_ [ksoftirqd/3]
   28 ?        S      0:00  \_ [kworker/3:0]
   29 ?        S<     0:00  \_ [kworker/3:0H]
   30 ?        S<     0:00  \_ [khelper]
   31 ?        S<     0:00  \_ [netns]
   32 ?        S      0:00  \_ [kworker/u8:1]
   42 ?        S      0:00  \_ [irq/60-octeon-h]
   43 ?        S      0:00  \_ [irq/91-octeon-h]
   44 ?        S      0:00  \_ [irq/94-octeon-h]
   45 ?        S      0:00  \_ [irq/92-octeon-h]
   46 ?        S      0:00  \_ [irq/93-octeon-h]
   47 ?        S      0:00  \_ [irq/96-octeon-h]
   48 ?        S      0:00  \_ [irq/95-octeon-h]
   49 ?        S      0:00  \_ [irq/98-octeon-h]
   50 ?        S      0:00  \_ [irq/99-octeon-h]
  155 ?        S<     0:00  \_ [writeback]
  158 ?        S<     0:00  \_ [bioset]
  159 ?        S<     0:00  \_ [crypto]
  161 ?        S<     0:00  \_ [kblockd]
  172 ?        S      0:00  \_ [khubd]
  196 ?        S      0:00  \_ [kworker/3:1]
  236 ?        S      0:00  \_ [khungtaskd]
  237 ?        S      0:00  \_ [kswapd0]
  238 ?        S      0:00  \_ [fsnotify_mark]
  239 ?        S<     0:00  \_ [unionfs_siod]
  284 ?        S      0:00  \_ [spi32766]
  319 ?        S<     0:00  \_ [octeon-ethernet]
  393 ?        S      0:00  \_ [kworker/2:1]
  400 ?        S<     0:00  \_ [deferwq]
  401 ?        S      0:00  \_ [kworker/0:1]
  402 ?        S      0:00  \_ [kworker/1:1]
  404 ?        S      0:00  \_ [mmcqd/0]
  405 ?        S      0:00  \_ [mmcqd/0boot0]
  406 ?        S      0:00  \_ [mmcqd/0boot1]
  407 ?        S      0:00  \_ [mmcqd/0rpmb]
  418 ?        S<     0:00  \_ [kworker/0:1H]
  419 ?        S      0:00  \_ [kjournald]
  423 ?        S<     0:00  \_ [loop8]
  479 ?        S      0:00  \_ [plat_kthread]
  480 ?        S<     0:00  \_ [kworker/2:1H]
  501 ?        S<     0:00  \_ [ipv6_addrconf]
    1 ?        Ss     0:00 init [2]
  624 ?        Ss     0:00 /usr/sbin/rngd
  634 ?        Ss     0:00 /usr/sbin/atd
  641 ?        Ss     0:00 /usr/sbin/cron
  649 ?        Ss     0:00 /usr/sbin/ubnt-infctld -u
  670 ?        Ss     0:00 /usr/sbin/ubnt-daemon
  671 ?        Sl     0:00  \_ /opt/vyatta/sbin/ubnt-cfgd
  754 ?        S      0:00  |   \_ /opt/vyatta/sbin/ubnt-cfgd
 1424 ?        S      0:00  |   \_ /opt/vyatta/sbin/ubnt-cfgd
 1513 ?        S      0:00  |   \_ /opt/vyatta/sbin/ubnt-cfgd
  749 ?        Sl     0:07  \_ /usr/sbin/ubnt-util -f
  789 ?        Sl     0:01 /usr/bin/monit -c /etc/monit/monitrc
  821 ?        Ss     0:00 /usr/sbin/imi -d
  834 ?        Ss     0:00 /usr/sbin/nsm -d -P 0
  838 ?        Ss     0:00 /usr/sbin/ribd -d -P 0
 1072 ?        Sl     0:00 /usr/sbin/rsyslogd -c5
 1467 ?        Ss     0:00 /sbin/netplugd -P -p /var/run/netplugd.pid
 1531 ?        Ss     0:00 /sbin/dhclient -q -nw -cf /var/run/dhclient_eth1.conf
 1697 ?        Ss     0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -c /var/lib/nt
 1743 ?        Ss     0:00 /usr/sbin/sshd -p 22 -o Protocol=2
 1748 ?        S      0:00 /usr/sbin/telnetd -p 55523 -b 127.0.0.101 -F
 1752 ?        S      0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
 1753 ?        Sl     0:01  \_ python /var/www/python/gui.py
 2097 ttyS0    Ss     0:00 /bin/login --
 2100 ttyS0    S      0:00  \_ -vbash
 2115 ttyS0    S      0:00      \_ sudo su
 2116 ttyS0    S      0:00          \_ su
 2117 ttyS0    S      0:00              \_ bash
 2262 ttyS0    R+     0:00                  \_ ps axf
root@ubnt:/home/ubnt#
1 Uživatel: ubnt heslo: ubnt

Příkaz ifconfig tam není, je ptřeba použít ip.

Root je sudo su.

Snímek obrazovky 20260205 022817

Start systému
root@ubnt:/home/ubnt# reboot
Proceed with reboot? [confirm]y

INIT: Sending processes the TERM signal) (Thu Feb  5 01:31:43 20

Session terminated,Stopping network plug daemon: netplugd.
[ ok ] Stopping routing services...imi...done.
[ ok ] Removing all routes.
[warn] Stopping DNS forwarder and DHCP server: dnsmasq[....] (not running) ... (warning).
[ ok ] Stopping EdgeOS router: rl-system.
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 2 seconds...done.
[ ok ] Stopping enhanced syslogd: rsyslogd.
[ ok ] Mounting root read-only...done.
[ ok ] Mounting root dev read-only...done.
[info] Will now restart.
reboot: Restarting system
SPI stage 1 bootloader
SPI ID: c2:20:17:c2:20
header found at offset 0x2000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 359416
Validating data...
Starting next bootloader at 0xffffffff81000000
Board type: UBNT_E300

U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:24)

Octeon unique ID: 03c10c004380a59e06c1
N0.LMC0 Configuration Completed: 1024 MB
Warning: Board descriptor tuple not found in eeprom, using defaults
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Start hw_watchdog_start!
Stop hw_watchdog_start!
Base DRAM address used by u-boot: 0x4fc00000, size: 0x400000
DRAM: 1 GiB
Clearing DRAM...... done

SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1428664 bytes
Loading bootloader from SPI offset 0x100000, size: 1428664 bytes


U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:44)

Octeon unique ID: 03c10c004380a59e06c1
Using DRAM size from environment: 1024 MBytes
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM...... done
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB



UBNT_E300 r1:0, r2:15, serial #: D8B37083BFE0
MPR 13-02427-15
Flash boot bus region not enabled, skipping NOR flash config
DLM0: QSGMII ports selected
DLM1: mini-PCIe slots selected
DLM2: mini-PCIe slots selected
SPI: SPI NOR enabled
MMC:   Octeon MMC/SD0: 0
PCIe: Link timeout on port 0, probably the slot is empty
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each
Net:   octeth0, octeth1 [PRIME], octeth2, octeth3
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
Type the command 'usb start' to scan for USB storage devices.

Hit any key to stop autoboot:  0
reading vmlinux.64
6308096 bytes read in 1529 ms (3.9 MiB/s)
reading vmlinux.64.md5
33 bytes read in 302 ms (0 Bytes/s)
Allocating memory for ELF segment: addr: 0xffffffff80800000 (adjusted to: 0x800000), size 0x732b50
## Loading big-endian Linux kernel with entry point: 0xffffffff80c0b430 ...
Bootloader: Done loading app on coremask:
 0xf
Starting cores:
 0xf
Linux version 3.10.107-UBNT (root@1e6643e35170) (gcc version 4.7.0 (Cavium Inc. Version: SDK_BUILD build 51) ) #1 SMP Mon Oct 1 13:07:43 UTC 2018
CVMSEG size: 3 cache lines (384 bytes)
Cavium Inc. SDK-3.1.2
bootconsole [early0] enabled
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
Checking for the multiply/shift bug... no.
Checking for the daddiu bug... no.
Determined physical RAM map:
 memory: 0000000000400000 @ 0000000000400000 (usable)
 memory: 00000000005c1000 @ 0000000000800000 (kernel data and code)
 memory: 000000000004f000 @ 0000000000dc1000 (usable after init)
 memory: 0000000000123000 @ 0000000000e10000 (kernel data and code)
 memory: 000000000ec00000 @ 0000000001100000 (usable)
 memory: 000000002ec00000 @ 0000000020300000 (usable)
Using passed Device Tree <800000000fdb0e00>.
software IO TLB [mem 0x01f19000-0x01f59000] (0MB) mapped at [8000000001f19000-8000000001f58fff]
Zone ranges:
  DMA32    [mem 0x00400000-0xefffffff]
  Normal   empty
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00400000-0x00f32fff]
  node   0: [mem 0x01100000-0x0fcfffff]
  node   0: [mem 0x20300000-0x4eefffff]
Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
Secondary unified cache 512kB, 4-way, 1024 sets, linesize 128 bytes.
PERCPU: Embedded 10 pages/cpu @8000000001f72000 s11008 r8192 d21760 u40960
Built 1 zonelists in Node order, mobility grouping on.  Total pages: 251287
Policy zone: DMA32
Kernel command line:  root=/dev/mmcblk0p2 rootdelay=10 rw rootsqimg=squashfs.img rootsqwdir=w mtdparts=spi32766.0:1024k(boot0),3072k(boot1),64k(eeprom) console=ttyS0,115200
PID hash table entries: 4096 (order: 3, 32768 bytes)
Memory: 996784k/1011712k available (4183k kernel code, 14928k reserved, 1706k data, 316k init)
Hierarchical RCU implementation.
        Additional per-CPU info printed with stalls.
NR_IRQS:767 nr_irqs:767 9
CIB interrupt controller probed: 800107000000e000 23 bits
CIB interrupt controller probed: 800107000000e200 12 bits
CIB interrupt controller probed: 800107000000e400 6 bits
CIB interrupt controller probed: 800107000000ec00 15 bits
CIB interrupt controller probed: 800107000000e600 4 bits
CIB interrupt controller probed: 800107000000e800 11 bits
CIB interrupt controller probed: 800107000000e900 11 bits
Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=10000000)
pid_max: default: 32768 minimum: 501
Security Framework initialized
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 256
Checking for the daddi bug... no.
SMP: Booting CPU01 (CoreId  1)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
SMP: Booting CPU02 (CoreId  2)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
SMP: Booting CPU03 (CoreId  3)...
CPU revision is: 000d9602 (Cavium Octeon III)
FPU revision is: 00739600
Brought up 4 CPUs
NET: Registered protocol family 16
Installing handlers for error tree at: ffffffff80d3dda0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switching to clocksource OCTEON_CVMCOUNT
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
octeon_pci_console: Initialized.
HugeTLB registered 2 MB page size, pre-allocated 0 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering unionfs 2.5.13 (for 3.10.34)
aufs 3.10.x-20141215
msgmni has been set to 1946
io scheduler noop registered
io scheduler cfq registered (default)
octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO: base = 0
Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34) is a OCTEON
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 35) is a OCTEON
loop: module loaded
m25p80 spi32766.0: mx25l6405d (8192 Kbytes)
3 cmdlinepart partitions found on MTD device spi32766.0
Creating 3 MTD partitions on "spi32766.0":
0x000000000000-0x000000100000 : "boot0"
0x000000100000-0x000000400000 : "boot1"
0x000000400000-0x000000410000 : "eeprom"
spi-octeon 1070000001000.spi: OCTEON SPI bus driver
libphy: mdio-octeon: probed
mdio-octeon 1180000001800.mdio: Version 1.0
libphy: mdio-octeon: probed
mdio-octeon 1180000001900.mdio: Version 1.0
octeon-ethernet 2.0
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
platform 1180068000000.uctl: clocks initialized.
platform 1180069000000.uctl: clocks initialized.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: irq 25, io mem 0x1680000000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
xhci-hcd xhci-hcd.1.auto: irq 26, io mem 0x1690000000000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c-octeon 1180000001000.i2c: version 2.6
i2c-octeon 1180000001200.i2c: version 2.6
octeon_wdt: Initial granularity 5 Sec
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Waiting 10sec before mounting root device...
mmc0: BKOPS_EN bit is not set
mmc0: new high speed DDR MMC card at address 0001
mmcblk0: mmc0:0001 MMC4GB 3.64 GiB
mmcblk0boot0: mmc0:0001 MMC4GB partition 1 2.00 MiB
mmcblk0boot1: mmc0:0001 MMC4GB partition 2 2.00 MiB
mmcblk0rpmb: mmc0:0001 MMC4GB partition 3 512 KiB
 mmcblk0: p1 p2
 mmcblk0boot1: unknown partition table
 mmcblk0boot0: unknown partition table
kjournald starting.  Commit interval 3 seconds
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): mounted filesystem with journal data mode
VFS: Mounted root (aufs filesystem) on device 0:11.
Freeing unused kernel memory: 316K (ffffffff80dc1000 - ffffffff80e10000)
INIT: version 2.88 booting
INIT: Entering runlevel: 2
[....] Starting SSH recovery service in the background
ssh-recovery: starting...
ssh-recovery: if=(all) port=(60257) terminate-timeout=(60)
ssh-recovery: enabling link on interfaces...
ssh-recovery: eth0 :: mac=(d8:b3:70:83:bf:e1)
ssh-recovery: eth1 :: mac=(d8:b3:70:83:bf:e2)
ssh-recovery: eth2 :: mac=(d8:b3:70:83:bf:e3)
ssh-recovery: eth3 :: mac=(d8:b3:70:83:bf:e0)
ssh-recovery: service started :: pid=(754)
[ ok ] Starting daemon monitor: monit.
[ ok ] Starting routing daemon: rib nsm ribd.
[....] Starting EdgeOS router: migrate rl-systemsync: ignoring all arguments
[ ok igure.
Starting network plug daemon: netplugd.

Welcome to EdgeOS ubnt ttyS0

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

ubnt login:

Instalace OpenWRT

Stáhnout z webu openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin a openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-squashfs-sysupgrade.tar a nakopírovat na klíčenku.

Instalace z USB klíčenky

  • Download the initramfs-kernel.bin and sysupgrade.tar images to a USB flash drive that is formatted as vfat/fat32

  • Connect the flash drive to the Edgerouter’s front USB port

  • Reboot or power on the Edgerouter

  • Interrupt the uboot process by pressing any key

  • Start USB detection by typing

usb start
  • Load the initramfs-kernel to memory by typing

fatload usb 0:1 0x20000000 openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin
  • Once loaded, load the image by typing

bootoctlinux 0 numcores=4 endbootargs mem=0
Takto to vypadá
reboot: Restarting system
SPI stage 1 bootloader
SPI ID: c2:20:17:c2:20
header found at offset 0x2000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 359416
Validating data...
Starting next bootloader at 0xffffffff81000000
Board type: UBNT_E300

U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:24)

Octeon unique ID: 03c10c004380a59e06c1
N0.LMC0 Configuration Completed: 1024 MB
Warning: Board descriptor tuple not found in eeprom, using defaults
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Start hw_watchdog_start!
Stop hw_watchdog_start!
Base DRAM address used by u-boot: 0x4fc00000, size: 0x400000
DRAM: 1 GiB
Clearing DRAM...... done

SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1428664 bytes
Loading bootloader from SPI offset 0x100000, size: 1428664 bytes


U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:44)

Octeon unique ID: 03c10c004380a59e06c1
Using DRAM size from environment: 1024 MBytes
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM...... done
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB



UBNT_E300 r1:0, r2:15, serial #: D8B37083BFE0
MPR 13-02427-15
Flash boot bus region not enabled, skipping NOR flash config
DLM0: QSGMII ports selected
DLM1: mini-PCIe slots selected
DLM2: mini-PCIe slots selected
SPI: SPI NOR enabled
MMC:   Octeon MMC/SD0: 0
PCIe: Link timeout on port 0, probably the slot is empty
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each
Net:   octeth0, octeth1 [PRIME], octeth2, octeth3
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
Type the command 'usb start' to scan for USB storage devices.

Hit any key to stop autoboot:  0
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)#
Octeon ubnt_e300(ram)# usb start
(Re)start USB...
USB0:   Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
USB1:   Starting the controller
USB XHCI 1.00
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
Octeon ubnt_e300(ram)# fatload usb 0:1 0x20000000 openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin
reading openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-initramfs-kernel.bin
27348296 bytes read in 0 ms
Octeon ubnt_e300(ram)# bootoctlinux 0 numcores=4 endbootargs mem=0
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0x1b741a0
## Loading big-endian Linux kernel with entry point: 0xffffffff819b4ea8 ...
Bootloader: Done loading app on coremask:
 0xf
Starting cores:
 0xf
[    0.000000] Linux version 6.6.119 (builder@buildhost) (mips64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r29087-d9c5716d1d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Wed Dec 17 21:08:22 2025
[    0.000000] Skipping L2 locking due to reduced L2 cache size
[    0.000000] CVMSEG size: 0 cache lines (0 bytes)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d9602 (Cavium Octeon III)
[    0.000000] FPU revision is: 00739600
[    0.000000] Kernel sections are not in the memory maps
[    0.000000] Wasting 278528 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using appended Device Tree.
[    0.000000] UBNT board DTS pruning...
[    0.000000] UBNT E300 found, looking for mmc-slot@2
[    0.000000] mmc-slot@2 not found
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[    0.000000] software IO TLB: area num 1.
[    0.000000] software IO TLB: mapped [mem 0x0000000002d10000-0x0000000002d50000] (0MB)
[    0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
[    0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000001100000-0x00000000efffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001100000-0x0000000002c73fff]
[    0.000000]   node   0: [mem 0x0000000002d00000-0x000000000fcfffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x000000004ebfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000004ebfffff]
[    0.000000] On node 0, zone DMA32: 4352 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 140 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 768 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 5120 pages in unavailable ranges
[    0.000000] percpu: Embedded 17 pages/cpu s28848 r8192 d32592 u69632
[    0.000000] Kernel command line:  root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 247830
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 960376K/1007056K available (8951K kernel code, 868K rwdata, 1488K rodata, 16452K init, 336K bss, 46680K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 127
[    0.000000] CIB interrupt controller probed: 800107000000e000 23
[    0.000000] CIB interrupt controller probed: 800107000000e200 12
[    0.000000] CIB interrupt controller probed: 800107000000e400 6
[    0.000000] CIB interrupt controller probed: 800107000000e600 4
[    0.000000] CIB interrupt controller probed: 800107000000e800 11
[    0.000000] CIB interrupt controller probed: 800107000000e900 11
[    0.000000] CIB interrupt controller probed: 800107000000ec00 15
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    1.401876] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    1.412981] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=10000000)
[    1.421220] pid_max: default: 32768 minimum: 301
[    1.428781] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.436032] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    1.448032] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    1.457301] rcu: Hierarchical SRCU implementation.
[    1.461923] rcu:     Max phase no-delay instances is 1000.
[    1.467569] smp: Bringing up secondary CPUs ...
[    1.472286] SMP: Booting CPU01 (CoreId  1)...
[    1.476573] CPU1 revision is: 000d9602 (Cavium Octeon III)
[    1.476586] FPU revision is: 00739600
[    1.477077] SMP: Booting CPU02 (CoreId  2)...
[    1.490460] CPU2 revision is: 000d9602 (Cavium Octeon III)
[    1.490471] FPU revision is: 00739600
[    1.490936] SMP: Booting CPU03 (CoreId  3)...
[    1.504319] CPU3 revision is: 000d9602 (Cavium Octeon III)
[    1.504331] FPU revision is: 00739600
[    1.504425] smp: Brought up 1 node, 4 CPUs
[    1.521825] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    1.531530] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[    1.541437] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    1.547639] thermal_sys: Registered thermal governor 'step_wise'
[    1.551090] PCIe: Initializing port 0
[    1.563944] PCIe: BIST2 FAILED for port 0 (0x0000000000000003)
[    3.569632] PCIe: Link timeout on port 0, probably the slot is empty
[    3.575984] PCIe: Initializing port 1
[    3.582963] PCIe: BIST FAILED for port 1 (0xffffffffffffffff)
[    5.596398] PCIe: Link timeout on port 1, probably the slot is empty
[    5.606398] SCSI subsystem initialized
[    5.610330] usbcore: registered new interface driver usbfs
[    5.615729] usbcore: registered new interface driver hub
[    5.620993] usbcore: registered new device driver usb
[    5.626035] EDAC MC: Ver: 3.0.0
[    5.630481] PCI host bridge to bus 0000:00
[    5.634415] pci_bus 0000:00: root bus resource [mem 0x1000000000000]
[    5.640779] pci_bus 0000:00: root bus resource [io  0x0000]
[    5.646302] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    5.655196] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    5.661956] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    5.671450] NET: Registered PF_INET protocol family
[    5.676360] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    5.685994] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    5.694212] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    5.701918] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    5.709720] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    5.717054] TCP: Hash tables configured (established 8192 bind 8192)
[    5.723767] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)
[    5.731168] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    5.737664] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    5.745203] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    5.750726] PCI: CLS 0 bytes, default 128
[    5.755802] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    5.772287] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.778934] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.794630] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    5.802971] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    5.811854] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    5.819767] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    5.828937] printk: console [ttyS0] disabled
[    5.833362] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34, base_baud = 25000000) is a OCTEON
[    5.843087] printk: console [ttyS0] enabled
[    5.843087] printk: console [ttyS0] enabled
[    5.851371] printk: bootconsole [early0] disabled
[    5.851371] printk: bootconsole [early0] disabled
[    5.861335] octeon_rng octeon_rng: Octeon Random Number Generator
[    5.861526] random: crng init done
[    5.875043] loop: module loaded
[    5.878438] Driver 'pata_octeon_cf' needs updating - please use bus_type methods
[    5.887587] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    5.892658] 3 fixed-partitions partitions found on MTD device spi0.0
[    5.899020] Creating 3 MTD partitions on "spi0.0":
[    5.903819] 0x000000000000-0x000000300000 : "boot0"
[    5.909195] 0x000000300000-0x000000400000 : "dummy"
[    5.915477] 0x000000400000-0x000000410000 : "eeprom"
[    5.922452] spi-octeon 1070000001000.spi: OCTEON SPI bus driver
[    5.959106] mdio_octeon 1180000001800.mdio: Probed
[    5.964660] usbcore: registered new interface driver usb-storage
[    5.971137] at24 0-0050: supply vcc not found, using dummy regulator
[    6.005275] at24 0-0051: supply vcc not found, using dummy regulator
[    6.035272] i2c-octeon 1180000001000.i2c: probed
[    6.040021] octeon_wdt: Initial granularity 5 Sec
[    6.045506] EDAC DEVICE0: Giving out device to module octeon-cpu controller cache: DEV octeon_pc_edac (INTERRUPT)
[    6.055946] EDAC DEVICE1: Giving out device to module octeon-l2c controller octeon_l2c_err: DEV octeon_l2c_edac (POLLED)
[    6.066942] octeon_lmc_edac octeon_lmc_edac.0: Disabled (ECC not enabled)
[    6.075902] Interface 0 has 4 ports (SGMII)
[    6.080140] Interface 1 has 4 ports (SGMII)
[    6.085187] Interface 3 has 4 ports (LOOP)
[    6.095297] NET: Registered PF_INET6 protocol family
[    6.102073] Segment Routing with IPv6
[    6.105775] In-situ OAM (IOAM) with IPv6
[    6.109786] NET: Registered PF_PACKET protocol family
[    6.114919] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    6.128087] 8021q: 802.1Q VLAN Support v1.8
[    6.150727] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    6.165511] Freeing unused kernel image (initmem) memory: 16452K
[    6.171539] This architecture does not have kernel memory protection.
[    6.178008] Run /init as init process
[    6.428690] init: Console is alive
[    6.432355] init: - watchdog -
[    6.442544] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.450306] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    6.461754] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.467316] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    6.475083] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f06d hci version 0x100 quirks 0x0000008002000010
[    6.484531] xhci-hcd xhci-hcd.0.auto: irq 28, io mem 0x1680000000000
[    6.491044] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    6.496559] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    6.504228] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    6.511474] hub 1-0:1.0: USB hub found
[    6.515349] hub 1-0:1.0: 1 port detected
[    6.519820] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.528586] hub 2-0:1.0: USB hub found
[    6.532434] hub 2-0:1.0: 1 port detected
[    6.538133] usbcore: registered new interface driver uas
[    6.544172] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.556937] init: - preinit -
[    6.812003] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    6.832686] lan1: 1000 Mbps Full duplex, port 2, queue 2
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    7.003222] usb-storage 1-1:1.0: USB Mass Storage device detected
[    7.009819] scsi host0: usb-storage 1-1:1.0
[    8.052740] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    8.067928] sd 0:0:0:0: [sda] 60125184 512-byte logical blocks: (30.8 GB/28.7 GiB)
[    8.076269] sd 0:0:0:0: [sda] Write Protect is off
[    8.081399] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    8.095377]  sda: sda1
[    8.098022] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   11.113096] lan1: Link down
[   11.122009] procd: - early -
[   11.125040] procd: - watchdog -
[   11.660763] procd: - watchdog -
[   11.664172] procd: - ubus -
[   11.719239] procd: - init -
Please press Enter to activate this console.
[   11.968778] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.977234] i2c_dev: i2c /dev entries driver
[   11.992407] sfp sfp: Host maximum power 1.0W
[   11.996709] sfp sfp: No tx_disable pin: SFP modules will always be emitting.
[   12.027083] PPP generic driver version 2.4.2
[   12.032387] NET: Registered PF_PPPOX protocol family
[   12.040620] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.384285] urngd: v1.0.2 started.
[   15.500342] mmc0: new DDR MMC card at address 0001
[   15.506142] mmcblk0: mmc0:0001 MMC4GB 3.64 GiB
[   15.511649]  mmcblk0: p1 p2
[   15.515012] mmcblk0boot0: mmc0:0001 MMC4GB 2.00 MiB
[   15.520462] mmcblk0boot1: mmc0:0001 MMC4GB 2.00 MiB
[   15.525824] mmcblk0rpmb: mmc0:0001 MMC4GB 512 KiB, chardev (250:0)
[   17.327975] br-lan: port 1(lan1) entered blocking state
[   17.333307] br-lan: port 1(lan1) entered disabled state
[   17.338592] octeon_ethernet 11800a0000000.pip lan1: entered allmulticast mode
[   17.346084] octeon_ethernet 11800a0000000.pip lan1: entered promiscuous mode
[   17.372950] br-lan: port 2(lan2) entered blocking state
[   17.378218] br-lan: port 2(lan2) entered disabled state
[   17.383542] octeon_ethernet 11800a0000000.pip lan2: entered allmulticast mode
[   17.390966] octeon_ethernet 11800a0000000.pip lan2: entered promiscuous mode
[   17.398353] br-lan: port 2(lan2) entered blocking state
[   17.403662] br-lan: port 2(lan2) entered forwarding state
[   17.415853] br-lan: port 3(lan3) entered blocking state
[   17.421121] br-lan: port 3(lan3) entered disabled state
[   17.426511] octeon_ethernet 11800a0000000.pip lan3: entered allmulticast mode
[   17.434035] octeon_ethernet 11800a0000000.pip lan3: entered promiscuous mode
[   17.441361] br-lan: port 3(lan3) entered blocking state
[   17.446664] br-lan: port 3(lan3) entered forwarding state
[   18.373256] br-lan: port 2(lan2) entered disabled state
[   18.379920] br-lan: port 3(lan3) entered disabled state
[   20.462290] lan1: 1000 Mbps Full duplex, port 2, queue 2
[   20.467654] br-lan: port 1(lan1) entered blocking state
[   20.472904] br-lan: port 1(lan1) entered forwarding state



BusyBox v1.36.1 (2025-12-17 21:08:22 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.5, r29087-d9c5716d1d
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~#

This should have booted the factory image and now prompts you the OpenWrt banner

  • Mount the USB flash drive for the sysupgrade image by typing

mkdir /tmp/sda
mount /dev/sda1 /tmp/sda
  • Flash OpenWrt to the internal flash by finally typing

sysupgrade /tmp/sda/openwrt-24.10.5-octeon-generic-ubnt_edgerouter-4-squashfs-sysupgrade.tar
Takto to vypadá:
root@OpenWrt:~# mkdir /tmp/sda
root@OpenWrt:~# mount /dev/sda1 /tmp/sda/
[  190.255878] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
root@OpenWrt:~# sysupgrade /tmp/sda/openwrt-24.10.5-octeon-generic-ubnt_edgerout
er-4-squashfs-sysupgrade.tar
Thu Jan  1 00:03:39 UTC 1970 upgrade: Image metadata not present
Cannot save config while running from ramdisk.
Thu Jan  1 00:03:39 UTC 1970 upgrade: Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Thu Jan  1 00:03:40 UTC 1970 upgrade: Sending TERM to remaining processes ...
Thu Jan  1 00:03:40 UTC 1970 upgrade: Sending signal TERM to ntpd (2366)
Thu Jan  1 00:03:40 UTC 1970 upgrade: Sending signal TERM to ntpd (2407)
Thu Jan  1 00:03:45 UTC 1970 upgrade: Sending KILL to remaining processes ...
[  232.632504] stage2 (2636): drop_caches: 3
Thu Jan  1 00:03:51 UTC 1970 upgrade: Switching to ramdisk...
Thu Jan  1 00:03:52 UTC 1970 upgrade: Performing system upgrade...
flashing kernel to /dev/mmcblk0p1
flashing rootfs to /dev/mmcblk0p2
836+1 records in
836+1 records out
cp: can't stat '/tmp/sysupgrade.tgz': No such file or directory
Thu Jan  1 00:03:54 UTC 1970 upgrade: Upgrade completed
Thu Jan  1 00:03:55 UTC 1970 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[  239.783505] reboot: Restarting system
SPI stage 1 bootloader
SPI ID: c2:20:17:c2:20
header found at offset 0x2000
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 359416
Validating data...
Starting next bootloader at 0xffffffff81000000
Board type: UBNT_E300

U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:24)

Octeon unique ID: 03c10c004380a59e06c1
N0.LMC0 Configuration Completed: 1024 MB
Warning: Board descriptor tuple not found in eeprom, using defaults
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Start hw_watchdog_start!
Stop hw_watchdog_start!
Base DRAM address used by u-boot: 0x4fc00000, size: 0x400000
DRAM: 1 GiB
Clearing DRAM...... done

SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
Found valid SPI bootloader at offset: 0x100000, size: 1428664 bytes
Loading bootloader from SPI offset 0x100000, size: 1428664 bytes


U-Boot 2013.07 (UBNT Build Version: e300_001_3f6cf) (Aug 27 2018 - 07:16:44)

Octeon unique ID: 03c10c004380a59e06c1
Using DRAM size from environment: 1024 MBytes
Core clock: 1000 MHz, IO clock: 400 MHz, DDR clock: 533 MHz (1066 Mhz DDR)
Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000
DRAM: 1 GiB
Clearing DRAM...... done
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB
SF: Detected MX25L6405D with page size 256 Bytes, erase size 4 KiB, total 8 MiB



UBNT_E300 r1:0, r2:15, serial #: D8B37083BFE0
MPR 13-02427-15
Flash boot bus region not enabled, skipping NOR flash config
DLM0: QSGMII ports selected
DLM1: mini-PCIe slots selected
DLM2: mini-PCIe slots selected
SPI: SPI NOR enabled
MMC:   Octeon MMC/SD0: 0
PCIe: Link timeout on port 0, probably the slot is empty
PCIe: Port 1 not in PCIe mode, skipping
PCIe: Port 2 not in PCIe mode, skipping
PCI console init succeeded, 1 consoles, 1024 bytes each
Net:   octeth0, octeth1 [PRIME], octeth2, octeth3
Node 0 Interface 0 has 4 ports (QSGMII)
Node 0 Interface 1 has 4 ports (QSGMII)
Node 0 Interface 2 has 4 ports (NPI)
Node 0 Interface 3 has 4 ports (LOOP)
Node 0 Interface 4 has 1 ports (AGL)
Type the command 'usb start' to scan for USB storage devices.

Hit any key to stop autoboot:  0
reading vmlinux.64
11885896 bytes read in 3062 ms (3.7 MiB/s)
reading vmlinux.64.md5
33 bytes read in 303 ms (0 Bytes/s)
Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100000), size 0xcb41a0
## Loading big-endian Linux kernel with entry point: 0xffffffff819b4ea8 ...
Bootloader: Done loading app on coremask:
 0xf
Starting cores:
 0xf
[    0.000000] Linux version 6.6.119 (builder@buildhost) (mips64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r29087-d9c5716d1d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Wed Dec 17 21:08:22 2025
[    0.000000] Skipping L2 locking due to reduced L2 cache size
[    0.000000] CVMSEG size: 0 cache lines (0 bytes)
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d9602 (Cavium Octeon III)
[    0.000000] FPU revision is: 00739600
[    0.000000] Kernel sections are not in the memory maps
[    0.000000] Wasting 278528 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using appended Device Tree.
[    0.000000] UBNT board DTS pruning...
[    0.000000] UBNT E300 found, looking for mmc-slot@2
[    0.000000] mmc-slot@2 not found
[    0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[    0.000000] software IO TLB: area num 1.
[    0.000000] software IO TLB: mapped [mem 0x0000000001e10000-0x0000000001e50000] (0MB)
[    0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets, linesize 128 bytes.
[    0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000001100000-0x00000000efffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000001100000-0x0000000001db3fff]
[    0.000000]   node   0: [mem 0x0000000001e00000-0x000000000f9fffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x000000004ebfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000001100000-0x000000004ebfffff]
[    0.000000] On node 0, zone DMA32: 4352 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 76 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 1536 pages in unavailable ranges
[    0.000000] On node 0, zone DMA32: 5120 pages in unavailable ranges
[    0.000000] percpu: Embedded 17 pages/cpu s28848 r8192 d32592 u69632
[    0.000000] Kernel command line:  root=/dev/mmcblk0p2 rootdelay=10 rw rootsqimg=squashfs.img rootsqwdir=w mtdparts=spi32766.0:3072k(boot0),1024k(dummy),64k(eeprom) root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait console=ttyS0,0
[    0.000000] Unknown kernel command line parameters "rootsqimg=squashfs.img rootsqwdir=w", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 247137
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 972664K/1004240K available (8951K kernel code, 868K rwdata, 1488K rodata, 1348K init, 336K bss, 31576K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=4.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 127
[    0.000000] CIB interrupt controller probed: 800107000000e000 23
[    0.000000] CIB interrupt controller probed: 800107000000e200 12
[    0.000000] CIB interrupt controller probed: 800107000000e400 6
[    0.000000] CIB interrupt controller probed: 800107000000e600 4
[    0.000000] CIB interrupt controller probed: 800107000000e800 11
[    0.000000] CIB interrupt controller probed: 800107000000e900 11
[    0.000000] CIB interrupt controller probed: 800107000000ec00 15
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.423657] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.434761] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=10000000)
[    0.443002] pid_max: default: 32768 minimum: 301
[    0.450559] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.457810] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.469808] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    0.479077] rcu: Hierarchical SRCU implementation.
[    0.483699] rcu:     Max phase no-delay instances is 1000.
[    0.489346] smp: Bringing up secondary CPUs ...
[    0.494068] SMP: Booting CPU01 (CoreId  1)...
[    0.498355] CPU1 revision is: 000d9602 (Cavium Octeon III)
[    0.498368] FPU revision is: 00739600
[    0.498853] SMP: Booting CPU02 (CoreId  2)...
[    0.512236] CPU2 revision is: 000d9602 (Cavium Octeon III)
[    0.512248] FPU revision is: 00739600
[    0.512710] SMP: Booting CPU03 (CoreId  3)...
[    0.526095] CPU3 revision is: 000d9602 (Cavium Octeon III)
[    0.526107] FPU revision is: 00739600
[    0.526202] smp: Brought up 1 node, 4 CPUs
[    0.543733] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.553441] futex hash table entries: 1024 (order: 5, 131072 bytes, linear)
[    0.563353] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.569621] thermal_sys: Registered thermal governor 'step_wise'
[    0.573145] PCIe: Initializing port 0
[    0.586002] PCIe: BIST2 FAILED for port 0 (0x0000000000000003)
[    2.591686] PCIe: Link timeout on port 0, probably the slot is empty
[    2.598038] PCIe: Initializing port 1
[    2.605017] PCIe: BIST FAILED for port 1 (0xffffffffffffffff)
[    4.618450] PCIe: Link timeout on port 1, probably the slot is empty
[    4.628510] SCSI subsystem initialized
[    4.632443] usbcore: registered new interface driver usbfs
[    4.637843] usbcore: registered new interface driver hub
[    4.643107] usbcore: registered new device driver usb
[    4.648148] EDAC MC: Ver: 3.0.0
[    4.652600] PCI host bridge to bus 0000:00
[    4.656536] pci_bus 0000:00: root bus resource [mem 0x1000000000000]
[    4.662902] pci_bus 0000:00: root bus resource [io  0x0000]
[    4.668423] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    4.677317] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    4.684149] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[    4.693645] NET: Registered PF_INET protocol family
[    4.698555] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    4.708193] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[    4.716412] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    4.724117] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    4.731919] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    4.739252] TCP: Hash tables configured (established 8192 bind 8192)
[    4.745965] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)
[    4.753367] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    4.759863] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    4.767405] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    4.772930] PCI: CLS 0 bytes, default 128
[    4.778065] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    4.793801] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.800383] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.815652] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.823705] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    4.832645] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[    4.840460] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    4.849476] printk: console [ttyS0] disabled
[    4.853813] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 34, base_baud = 25000000) is a OCTEON
[    4.863541] printk: console [ttyS0] enabled
[    4.863541] printk: console [ttyS0] enabled
[    4.871821] printk: bootconsole [early0] disabled
[    4.871821] printk: bootconsole [early0] disabled
[    4.881814] octeon_rng octeon_rng: Octeon Random Number Generator
[    4.881968] random: crng init done
[    4.896123] loop: module loaded
[    4.899505] Driver 'pata_octeon_cf' needs updating - please use bus_type methods
[    4.908250] spi-nor spi0.0: mx25l6405d (8192 Kbytes)
[    4.913310] 3 fixed-partitions partitions found on MTD device spi0.0
[    4.919702] Creating 3 MTD partitions on "spi0.0":
[    4.924522] 0x000000000000-0x000000300000 : "boot0"
[    4.930084] 0x000000300000-0x000000400000 : "dummy"
[    4.935812] 0x000000400000-0x000000410000 : "eeprom"
[    4.942649] spi-octeon 1070000001000.spi: OCTEON SPI bus driver
[    4.953811] mdio_octeon 1180000001800.mdio: Probed
[    4.959351] usbcore: registered new interface driver usb-storage
[    4.965922] at24 0-0050: supply vcc not found, using dummy regulator
[    4.997357] at24 0-0051: supply vcc not found, using dummy regulator
[    5.027216] i2c-octeon 1180000001000.i2c: probed
[    5.031967] octeon_wdt: Initial granularity 5 Sec
[    5.037471] EDAC DEVICE0: Giving out device to module octeon-cpu controller cache: DEV octeon_pc_edac (INTERRUPT)
[    5.047928] EDAC DEVICE1: Giving out device to module octeon-l2c controller octeon_l2c_err: DEV octeon_l2c_edac (POLLED)
[    5.058966] octeon_lmc_edac octeon_lmc_edac.0: Disabled (ECC not enabled)
[    5.067930] Interface 0 has 4 ports (SGMII)
[    5.072169] Interface 1 has 4 ports (SGMII)
[    5.077218] Interface 3 has 4 ports (LOOP)
[    5.087343] NET: Registered PF_INET6 protocol family
[    5.094235] Segment Routing with IPv6
[    5.097938] In-situ OAM (IOAM) with IPv6
[    5.101962] NET: Registered PF_PACKET protocol family
[    5.107112] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    5.120265] 8021q: 802.1Q VLAN Support v1.8
[    5.141759] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    5.148647] Waiting 10 sec before mounting root device...
[   14.492501] mmc0: new DDR MMC card at address 0001
[   14.497945] mmcblk0: mmc0:0001 MMC4GB 3.64 GiB
[   14.503502]  mmcblk0: p1 p2
[   14.507143] mmcblk0boot0: mmc0:0001 MMC4GB 2.00 MiB
[   14.512792] mmcblk0boot1: mmc0:0001 MMC4GB 2.00 MiB
[   14.518181] mmcblk0rpmb: mmc0:0001 MMC4GB 512 KiB, chardev (250:0)
[   15.729010] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[   15.736846] Freeing unused kernel image (initmem) memory: 1348K
[   15.742778] This architecture does not have kernel memory protection.
[   15.749251] Run /sbin/init as init process
[   16.008604] init: Console is alive
[   16.012203] init: - watchdog -
[   16.270667] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   16.303729] gpio_button_hotplug: loading out-of-tree module taints kernel.
[   16.318560] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   16.324083] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[   16.331882] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f06d hci version 0x100 quirks 0x0000008002000010
[   16.341366] xhci-hcd xhci-hcd.0.auto: irq 28, io mem 0x1680000000000
[   16.347891] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[   16.353395] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[   16.361069] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[   16.368268] hub 1-0:1.0: USB hub found
[   16.372074] hub 1-0:1.0: 1 port detected
[   16.376496] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   16.385357] hub 2-0:1.0: USB hub found
[   16.389161] hub 2-0:1.0: 1 port detected
[   16.395171] usbcore: registered new interface driver uas
[   16.400730] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   16.418446] init: - preinit -
[   16.694179] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   16.875857] usb-storage 1-1:1.0: USB Mass Storage device detected
[   16.883029] scsi host0: usb-storage 1-1:1.0
[   17.149349] lan1: 1000 Mbps Full duplex, port 2, queue 2
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   17.964959] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[   17.981220] sd 0:0:0:0: [sda] 60125184 512-byte logical blocks: (30.8 GB/28.7 GiB)
[   17.989578] sd 0:0:0:0: [sda] Write Protect is off
[   17.994763] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   18.012170]  sda: sda1
[   18.014845] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   21.426704] loop0: detected capacity change from 0 to 7129088
[   21.524197] loop0: detected capacity change from 7129088 to 7122560
[   21.533668] mount_root: overlay filesystem in /dev/loop0 has not been formatted yet
[   26.396114] F2FS-fs (loop0): Found nat_bits in checkpoint
[   26.452388] F2FS-fs (loop0): Mounted with checkpoint version = 77ae7809
[   26.459614] mount_root: overlay filesystem has not been fully initialized yet
[   26.467400] mount_root: switching to f2fs overlay
[   26.479993] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   26.545601] urandom-seed: Seed file not found (/etc/urandom.seed)
[   26.609087] lan1: Link down
[   26.618729] procd: - early -
[   26.621767] procd: - watchdog -
[   27.182933] procd: - watchdog -
[   27.186851] procd: - ubus -
[   27.341719] procd: - init -
Please press Enter to activate this console.
[   27.708857] kmodloader: loading kernel modules from /etc/modules.d/*
[   27.741248] i2c_dev: i2c /dev entries driver
[   27.765668] sfp sfp: Host maximum power 1.0W
[   27.769970] sfp sfp: No tx_disable pin: SFP modules will always be emitting.
[   27.803783] PPP generic driver version 2.4.2
[   27.809158] NET: Registered PF_PPPOX protocol family
[   27.817844] kmodloader: done loading kernel modules from /etc/modules.d/*
[   28.081672] urngd: v1.0.2 started.
[   36.327640] br-lan: port 1(lan1) entered blocking state
[   36.332897] br-lan: port 1(lan1) entered disabled state
[   36.338257] octeon_ethernet 11800a0000000.pip lan1: entered allmulticast mode
[   36.345757] octeon_ethernet 11800a0000000.pip lan1: entered promiscuous mode
[   36.365171] br-lan: port 2(lan2) entered blocking state
[   36.370428] br-lan: port 2(lan2) entered disabled state
[   36.375734] octeon_ethernet 11800a0000000.pip lan2: entered allmulticast mode
[   36.383141] octeon_ethernet 11800a0000000.pip lan2: entered promiscuous mode
[   36.390511] br-lan: port 2(lan2) entered blocking state
[   36.395796] br-lan: port 2(lan2) entered forwarding state
[   36.407274] br-lan: port 3(lan3) entered blocking state
[   36.412531] br-lan: port 3(lan3) entered disabled state
[   36.417873] octeon_ethernet 11800a0000000.pip lan3: entered allmulticast mode
[   36.425400] octeon_ethernet 11800a0000000.pip lan3: entered promiscuous mode
[   36.432669] br-lan: port 3(lan3) entered blocking state
[   36.437957] br-lan: port 3(lan3) entered forwarding state
[   37.402772] br-lan: port 2(lan2) entered disabled state
[   37.408538] br-lan: port 3(lan3) entered disabled state
[   39.484479] lan1: 1000 Mbps Full duplex, port 2, queue 2
[   39.489840] br-lan: port 1(lan1) entered blocking state
[   39.495089] br-lan: port 1(lan1) entered forwarding state



BusyBox v1.36.1 (2025-12-17 21:08:22 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.5, r29087-d9c5716d1d
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~#

A je to hotové. EdgeRouter nám nabootoval OpenWRT operační systém z interní flash paměti.

Kongigurace OpenWRT

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr D8:B3:70:83:BF:E2
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::dab3:70ff:fe83:bfe2/64 Scope:Link
          inet6 addr: fd16:e3:1c1::1/60 Scope:Global
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1040 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:104678 (102.2 KiB)  TX bytes:8406 (8.2 KiB)

lan0      Link encap:Ethernet  HWaddr D8:B3:70:83:BF:E1
          inet addr:192.168.120.202  Bcast:192.168.120.255  Mask:255.255.255.0
          inet6 addr: fe80::dab3:70ff:fe83:bfe1/64 Scope:Link
          inet6 addr: 2a0e:5340:4:1:dab3:70ff:fe83:bfe1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:140 errors:0 dropped:1 overruns:0 frame:0
          TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17437 (17.0 KiB)  TX bytes:4274 (4.1 KiB)

lan1      Link encap:Ethernet  HWaddr D8:B3:70:83:BF:E2
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1100 errors:0 dropped:8 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:130984 (127.9 KiB)  TX bytes:11774 (11.4 KiB)

lan2      Link encap:Ethernet  HWaddr D8:B3:70:83:BF:E3
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lan3      Link encap:Ethernet  HWaddr D8:B3:70:83:BF:E0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:365 errors:0 dropped:0 overruns:0 frame:0
          TX packets:365 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:30315 (29.6 KiB)  TX bytes:30315 (29.6 KiB)

root@OpenWrt:~# ping www.seznam.cz
PING www.seznam.cz (2a02:598:2::1222): 56 data bytes
64 bytes from 2a02:598:2::1222: seq=0 ttl=55 time=6.886 ms
64 bytes from 2a02:598:2::1222: seq=1 ttl=55 time=6.211 ms
^C
--- www.seznam.cz ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 6.211/6.548/6.886 ms
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/24.10.5/targets/octeon/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.5/targets/octeon/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/targets/octeon/generic/kmods/6.6.119-1-0b0ef315bbe8dc6a2d0ed22e9254ee4f/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/24.10.5/targets/octeon/generic/kmods/6.6.119-1-0b0ef315bbe8dc6a2d0ed22e9254ee4f/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install mc
Installing mc (4.8.32-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/mc_4.8.32-r1_mips64_octeonplus.ipk
Installing zlib (1.3.1-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/zlib_1.3.1-r1_mips64_octeonplus.ipk
Installing libffi (3.4.7-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/libffi_3.4.7-r1_mips64_octeonplus.ipk
Installing libattr (2.5.2-r3) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/libattr_2.5.2-r3_mips64_octeonplus.ipk
Installing libpcre2 (10.42-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/libpcre2_10.42-r1_mips64_octeonplus.ipk
Installing glib2 (2.82.0-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/glib2_2.82.0-r1_mips64_octeonplus.ipk
Installing terminfo (6.4-r2) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/terminfo_6.4-r2_mips64_octeonplus.ipk
Installing libncurses6 (6.4-r2) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/libncurses6_6.4-r2_mips64_octeonplus.ipk
Installing libmount1 (2.40.2-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/libmount1_2.40.2-r1_mips64_octeonplus.ipk
Installing libopenssl3 (3.0.18-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/base/libopenssl3_3.0.18-r1_mips64_octeonplus.ipk
Installing libssh2-1 (1.11.0-r1) to root...
Downloading https://downloads.openwrt.org/releases/24.10.5/packages/mips64_octeonplus/packages/libssh2-1_1.11.0-r1_mips64_octeonplus.ipk
Configuring terminfo.
Configuring libopenssl3.
Configuring zlib.
Configuring libffi.
Configuring libattr.
Configuring libpcre2.
Configuring glib2.
Configuring libncurses6.
Configuring libmount1.
Configuring libssh2-1.
Configuring mc.
root@OpenWrt:~# scp root@dizzy.chorche.net:/root/klice/id_ed25519.pub /tmp/

Host 'dizzy.chorche.net' is not in the trusted hosts file.
(ssh-ed25519 fingerprint SHA256:ehiILsvzvfflBwrx9tcDX0Owrkly0NaIMwvmKz4BydE)
Do you want to continue connecting? (y/n) z^Hy^H^Hy

/usr/bin/dbclient: Connection to root@dizzy.chorche.net:22 exited: Didn't validate host key
root@OpenWrt:~# scp root@dizzy.chorche.net:/root/klice/id_ed25519.pub /tmp/

Host 'dizzy.chorche.net' is not in the trusted hosts file.
(ssh-ed25519 fingerprint SHA256:ehiILsvzvfflBwrx9tcDX0Owrkly0NaIMwvmKz4BydE)
Do you want to continue connecting? (y/n) y
root@dizzy.chorche.net's password:
id_ed25519.pub                                100%   90     0.1KB/s   00:00
root@OpenWrt:~# cat /tmp/id_ed25519.pub >> /etc/init.d/
boot             gpio_switch      rpcd             uhttpd
cron             led              sysctl           umount
dnsmasq          log              sysfixtime       urandom_seed
done             network          sysntpd          urngd
dropbear         odhcpd           system
firewall         packet_steering  ucitrack
root@OpenWrt:~# cat /tmp/id_ed25519.pub >> /etc/dropbear/dropbear_
dropbear_ed25519_host_key  dropbear_rsa_host_key
root@OpenWrt:~# cat /tmp/id_ed25519.pub >> /etc/dropbear/authorized_keys
root@OpenWrt:~#
jirka@pt3610:~$ ssh root@192.168.120.202
The authenticity of host '192.168.120.202 (192.168.120.202)' can't be established.
ED25519 key fingerprint is SHA256:3ivZpP7Eyx8yJJXmcuQ1dvEOrTj8+ldmhKUVF607jTs.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.120.202' (ED25519) to the list of known hosts.


BusyBox v1.36.1 (2025-12-17 21:08:22 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 24.10.5, r29087-d9c5716d1d
 -----------------------------------------------------
root@OpenWrt:~#
root@OpenWrt:~# opkg install wireguard-tools
root@OpenWrt:~# opkg install strongswan

Zdroje a odkazy