Under Construction!
This page is currently under construction. You can edit the article to help completing it.
Advanced Gigabit PoE Managed Switch.
Any text with a light background (like this text) provides guidance for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) remove the text, as well as the
<WRAP>
that encloses it.
<WRAP>
that encloses it.Model | Version | SoC | CPU MHz | Flash MB | RAM MB | WLAN Hardware | WLAN2.4 | WLAN5.0 | 100M ports | Gbit ports | Modem | USB |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ToughSwitch TS-5-POE | Atheros AR7240 | 400 | 8 | 64 | - | - | - | 1 | 5 | - | 1x 2.0 |
Find out flash layout, then add the flash layout table here (copy, paste, modify the example).
Please check out the article Flash layout. It contains examples and explanations that describe how to document the flash layout.
The instructions below are for Broadcom devices and only serve as an example. Remove / modify them if they do not apply to this particular device!
This section deals with
Note: Reset router to factory defaults if it has been previously configured.
http://192.168.1.1/Upgrade.asp
http://192.168.1.1
if LuCI is installed.
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | FILL-IN |
---|---|
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP transfer window | FILL-IN seconds |
TFTP window start | approximately FILL-IN seconds after power on |
TFTP client required IP address | FILL-IN |
These are generic instructions. Update with your router's specifics.
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URLIf you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
If sysupgrade
does not support this router, use mtd
.
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Please fill in real values for this device, then remove the EXAMPLEs
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
br-lan | EXAMPLE LAN & WiFi | EXAMPLE 192.168.1.1/24 |
vlan0 (eth0.0) | EXAMPLE LAN ports (1 to 4) | EXAMPLE None |
vlan1 (eth0.1) | EXAMPLE WAN port | EXAMPLE DHCP |
wl0 | EXAMPLE WiFi | EXAMPLE Disabled |
Please fill in real values for this device, then remove the EXAMPLEs
Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
Port | Switch port |
---|---|
Internet (WAN) | EXAMPLE 4 |
LAN 1 | EXAMPLE 3 |
LAN 2 | EXAMPLE 2 |
LAN 3 | EXAMPLE 1 |
LAN 4 | EXAMPLE 0 |
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
Please fill in real values for this device, then remove the EXAMPLEs
The Ubiquiti ToughSwitch TS-5-POE has the following buttons:
BUTTON | Event |
---|---|
EXAMPLE Reset | reset |
EXAMPLE Secure Easy Setup | ses |
EXAMPLE No buttons at all. | - |
General | |
---|---|
Brand | Ubiquiti |
Model | ToughSwitch TS-5-POE |
Versions | |
Device Type | other |
Availability | Available 2019 |
Comments - general | |
OpenWrt Support | |
Supported Since Commit | |
Supported Since Release | |
Supported Current Release | |
Unsupported | |
Hardware | |
Instruction set | MIPS32 |
Sub Instruction Set | MIPS32 24K/E series |
Bootloader | U-Boot |
Target | ar71xx |
System-On-Chip | |
CPU MHz | 400 |
Flash MB | 8 |
RAM MB | 64 |
Network | |
Ethernet 100M ports | 1 |
Ethernet Gbit ports | 5 |
Switch | ¿ |
Modem | - |
VLAN | ¿ |
Comments - network ports |
Wireless | |
---|---|
WLAN 2.4GHz | - |
WLAN 5.0GHz | - |
WLAN Hardware | |
Detachable Antennas | - |
Comments - WLAN | |
Interfaces | |
USB ports | 1x 2.0 |
SATA ports | - |
Serial | Yes |
JTAG | ¿ |
Comments - USB & SATA ports | |
Misc | |
LED count | ¿ |
Button count | 1 |
Power supply | |
Links | |
Forum Topic URL | |
WikiDevi URL | https://wikidevi.com/wiki/Ubiquiti_Networks_TOUGHSwitch_PoE |
OEM device homepage URL | https://www.ubnt.com/accessories/toughswitch/ |
Firmware OEM Stock URL | http://dl.ubnt.com/firmwares/TOUGHSwitch/v1.3.2/SW.v1.3.2.27935.150716.1133.bin |
Firmware OpenWrt Install URL | |
Firmware OpenWrt Upgrade URL | |
Edit the underlying data | View/Edit data |
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Note: This will void your warranty!
Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, …
Main PCB:
Insert photo of PCB
→ port.serial general information about the serial port, serial port cable, etc.
The board has a populated pinhead J1 with a TTL (3.3V) level serial port as described:
PIN | USE |
---|---|
1 | VCC |
2 | RX |
3 | TX |
4 | GND |
Serial connection parameters for Ubiquiti ToughSwitch TS-5-POE | 115200, 8N1 |
---|
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
U-Boot 1.1.4.2-s559 (May 23 2012 - 13:31:49) Board: Ubiquiti Networks XM board (rev 2.4 e700) DRAM: 64 MB Flash: 8 MB Net: eth0, eth1 Hit any key to stop autoboot: 0 ## Booting image at 9f050000 ... Image Name: MIPS Ubiquiti Linux-2.6.32.49 Created: 2013-07-24 13:58:19 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1041384 Bytes = 1017 kB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Starting kernel ... Booting... ^@^M[ 0.000000] Linux version 2.6.32.49 (buildd@builder) (gcc version 4.1.2) #1 Wed Jul 24 16:58:15 EEST 2013 [ 0.000000] flash_size passed from bootloader = 0 [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00004000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00004000 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 61828k/65536k available (2273k kernel code, 3636k reserved, 532k data, 136k init, 0k highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 0.000000] plat_time_init: plat time init done [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] Calibrating delay loop... 259.58 BogoMIPS (lpj=129792) [ 0.016000] Mount-cache hash table entries: 512 [ 0.019000] NET: Registered protocol family 16 [ 0.021000] ===== ar7240_platform_init: 0 [ 0.021000] ***** Warning *****: PCIe WLAN H/W not found !!! [ 0.029000] bio: create slab <bio-0> at 0 [ 0.030000] usbcore: registered new interface driver usbfs [ 0.031000] usbcore: registered new interface driver hub [ 0.031000] usbcore: registered new device driver usb [ 0.032000] Switching to clocksource MIPS [ 0.035000] NET: Registered protocol family 2 [ 0.035000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.037000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.037000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.037000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.037000] TCP reno registered [ 0.038000] NET: Registered protocol family 1 [ 0.038000] AR7240 GPIOC major 0 [ 0.040000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.040000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.041000] msgmni has been set to 120 [ 0.041000] io scheduler noop registered (default) [ 0.067000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 0.068000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A [ 0.344000] console [ttyS0] enabled [ 0.349000] 6 cmdlinepart partitions found on MTD device ar7240-nor0 [ 0.355000] Creating 6 MTD partitions on "ar7240-nor0": [ 0.361000] 0x000000000000-0x000000040000 : "u-boot" [ 0.367000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.374000] 0x000000050000-0x000000150000 : "kernel" [ 0.380000] 0x000000150000-0x0000007b0000 : "rootfs" [ 0.386000] mtd: partition "rootfs" set to be root filesystem [ 0.392000] 0x0000007b0000-0x0000007f0000 : "cfg" [ 0.398000] 0x0000007f0000-0x000000800000 : "EEPROM" [ 0.405000] usbmon: debugfs is not available [ 0.409000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.446000] Port Status c000004 [ 0.449000] ar7240-ehci ar7240-ehci.0: ATH EHCI [ 0.454000] ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1 [ 0.463000] ehci_reset Intialize USB CONTROLLER in host mode: 3 [ 0.470000] ehci_reset Port Status c000000 [ 0.474000] ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000 [ 0.481000] ehci_reset Intialize USB CONTROLLER in host mode: 3 [ 0.488000] ehci_reset Port Status c000000 [ 0.498000] ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00 [ 0.504000] usb usb1: configuration #1 chosen from 1 choice [ 0.510000] hub 1-0:1.0: USB hub found [ 0.514000] hub 1-0:1.0: 1 port detected [ 0.519000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.526000] u32 classifier [ 0.529000] Performance counters on [ 0.532000] input device check on [ 0.536000] Actions configured [ 0.542000] TCP westwood registered [ 0.545000] NET: Registered protocol family 10 [ 0.554000] NET: Registered protocol family 17 [ 0.559000] Bridge firewalling registered [ 0.563000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> [ 0.570000] All bugs added by David S. Miller <davem@redhat.com> [ 0.576000] ar7240wdt_init: Registering WDT success [ 0.587000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 0.595000] Freeing unused kernel memory: 136k freed [ 0.610000] Please be patient, while AirOS loads ... [ 1.727000] Algorithmics/MIPS FPU Emulator v1.5 ...mounts done ...filesystem init done ...base ok ...update ok ...symlinks ok ...httpd ok ...detect ok ...caldata ok ...running /sbin/init Please press Enter to activate this console. ^M TOUGHSwitch PoE login: ubnt Password: Jul 24 16:57:35 login[871]: root login on 'ttyS0'^M BusyBox v1.11.2 (2013-07-24 16:54:01 EEST) built-in shell (ash) Enter 'help' for a list of built-in commands. SW.v1.3#
COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING
Space for additional notes, links to forum threads or other resources, …