Ubiquiti EdgeRouter: Unterschied zwischen den Versionen

Aus Opennet
Wechseln zu: Navigation, Suche
(Firmware flashen)
(Firmware flashen)
Zeile 11: Zeile 11:
 
=== Firmware flashen ===
 
=== Firmware flashen ===
  
 +
* Vorab: Download Dateien (Factory, Upgrade) müssen passend ersetzt werden
 
* zunächst von Originalfirmware auf OpenWrt/LEDE wechseln per ''initramfs'' Factory Image, via Port eth0:
 
* zunächst von Originalfirmware auf OpenWrt/LEDE wechseln per ''initramfs'' Factory Image, via Port eth0:
  scp openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar ubnt@192.168.1.1
+
wget http://downloads.opennet-initiative.de/ubnt/edgeos/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
 +
  scp openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar ubnt@192.168.1.1:/tmp
 
  ssh ubnt@192.168.1.1
 
  ssh ubnt@192.168.1.1
  ubnt@ubnt:~$ add system image openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
+
  cd /tmp
Checking upgrade image...Done
+
add system image openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
Preparing to upgrade...Done
+
  Checking upgrade image...Done
Copying upgrade image.../usr/bin/ubnt-upgrade: line 509: [: too many arguments
+
  Preparing to upgrade...Done
Done
+
  Copying upgrade image.../usr/bin/ubnt-upgrade: line 509: [: too many arguments
Removing old image...Done
+
  Done
Checking upgrade image...Done
+
  Removing old image...Done
Copying config data...Done
+
  Checking upgrade image...Done
Finishing upgrade...Done
+
  Copying config data...Done
Upgrade completed
+
  Finishing upgrade...Done
  ubnt@ubnt:~$ show system image
+
  Upgrade completed
The system currently has the following image(s) installed:
+
  show system image
ramips r5484-69d22a6 SNAPSHOT (default boot)  
+
  The system currently has the following image(s) installed:
v1.7.1.4821926.151103.1114 (running image)  
+
  ramips r5484-69d22a6 SNAPSHOT (default boot)  
A reboot is needed to boot default image
+
  v1.7.1.4821926.151103.1114 (running image)  
  ubnt@ubnt:~$ reboot  
+
  A reboot is needed to boot default image
Proceed with reboot? [confirm][y]
+
  reboot  
Broadcast message from root@ubnt (pts/1) (Thu Jan  1 01:10:25 2015):
+
  Proceed with reboot? [confirm][y]
The system is going down for reboot NOW!
+
  Broadcast message from root@ubnt (pts/1) (Thu Jan  1 01:10:25 2015):
 +
  The system is going down for reboot NOW!
 
* anschließend OpenWrt/LEDE auf die passende Opennet Firmware aktualisieren, via Port eth1
 
* anschließend OpenWrt/LEDE auf die passende Opennet Firmware aktualisieren, via Port eth1
 +
wget http://downloads.opennet-initiative.de/openwrt/testing/latest/targets/ramips/mt7621/lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar
 +
scp lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar root@192.168.1.1:/tmp
 +
ssh root@192.168.1.1
 +
cd tmp
 +
sysupgrade lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar
 +
  Cannot save config while running from ramdisk.
 +
  killall: watchdog: no process killed
 +
  Commencing upgrade. All shell sessions will be closed now.
 +
  Connection to 192.168.1.1 closed by remote host.
 +
  Connection to 192.168.1.1 closed.

Version vom 9. Dezember 2017, 16:08 Uhr

Allgemeines

Der EdgeRouter eignet sich als OLSR Router mit Opennet Firmware. Er besitzt einen Gigabit Port mit Passiv PoE Eingang (24 V, eth0) und kann so ohne Netzteil betrieben werden. Weiterhin gibt es einen Gigabit Port mit Passiv PoE Ausgang (24 V, eth4) um einen Access Point anzuschließen. Daneben noch drei weitere Gigabit Ports zur weiteren Verwendung (eth1/2/3).

In der Originalfirmware findet das Management via 192.168.1.1/24 auf eth0 per HTTPS und SSH statt (Benutzer ubnt). In OpenWrt/LEDE über den Port eth1.

Modelle

Hier behandeln wir den "EdgeRouter X" (ER-X). Es gibt weitere Modelle, diese sind ggf. nicht OpenWrt/LEDE tauglich.

Firmware flashen

  • Vorab: Download Dateien (Factory, Upgrade) müssen passend ersetzt werden
  • zunächst von Originalfirmware auf OpenWrt/LEDE wechseln per initramfs Factory Image, via Port eth0:
wget http://downloads.opennet-initiative.de/ubnt/edgeos/openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
scp openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar ubnt@192.168.1.1:/tmp
ssh ubnt@192.168.1.1
cd /tmp
add system image openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar
  Checking upgrade image...Done
  Preparing to upgrade...Done
  Copying upgrade image.../usr/bin/ubnt-upgrade: line 509: [: too many arguments
  Done
  Removing old image...Done
  Checking upgrade image...Done
  Copying config data...Done
  Finishing upgrade...Done
  Upgrade completed
show system image
  The system currently has the following image(s) installed:
  ramips r5484-69d22a6 SNAPSHOT (default boot) 
  v1.7.1.4821926.151103.1114 (running image) 
  A reboot is needed to boot default image
reboot 
  Proceed with reboot? [confirm][y]
  Broadcast message from root@ubnt (pts/1) (Thu Jan  1 01:10:25 2015):
  The system is going down for reboot NOW!
  • anschließend OpenWrt/LEDE auf die passende Opennet Firmware aktualisieren, via Port eth1
wget http://downloads.opennet-initiative.de/openwrt/testing/latest/targets/ramips/mt7621/lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar
scp lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar root@192.168.1.1:/tmp
ssh root@192.168.1.1
cd tmp
sysupgrade lede-0.5.4-unstable-2225-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.tar 
  Cannot save config while running from ramdisk.
  killall: watchdog: no process killed
  Commencing upgrade. All shell sessions will be closed now.
  Connection to 192.168.1.1 closed by remote host.
  Connection to 192.168.1.1 closed.
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge