Hardware

arm/mipsel/x86 packages

1
tar zxvf *.ipk
2
tar zxvf data.tar.gz
Copied!

Mikrotik

check if winbox not working: /webfig/#IP:Services

Quickset

1
CAP: managed by a centralised CAPsMAN server
2
3
CPE: Client device
4
5
BasicAP: Wireless
6
HomeAP: Wireless/Guest; WAN; LAN; VPN; System update/reset/password
7
Wireless ISP (WISP) AP: 802.11/nstreme/nv2 Wireless Bridge/Router; VPN; System update/reset/password
8
9
Home Mesh: Enables the CAPsMAN server in the router, and places the local WiFi interfaces under CAPsMAN control. Just boot other MikroTik WiFi APs with the reset button pressed.
Copied!
not adding self => Wireless -> CAP: CAPsMAN addr add "127.0.0.1" "No supported channel" => reset and run quickset first
1
PTP Bridge AP: transparently interconnect two remote locations together in the same network, set one device to this mode, and the other => PTP Bridge CPE
Copied!

Reset

1
Hold this button before applying power, release after three seconds since powering, to load backup Boot loader.
2
If you keep holding this button for 2 more seconds until LED light starts flashing, release the button to reset RouterOS configuration to default (total 5 seconds)
Copied!

Diagram

Could not load image

Wireless

RouterOS AP accepts clients in station-bridge mode when enabled using bridge-mode parameter.
default-forwarding (on AP) – gives ability to disable the communication between the wireless clients default-authentication – enables AP to register a client even if it is not in access list. In turn for client it allows to associate with AP not listed in client's connect list

Modes

CLI

1
put [resolve google.com server 8.8.8.8]
2
3
/ip hotspot walled-garden
4
ip add dst-address=1.1.1.1 action=accept
5
add dst-host=:^www.bing.com path=":/*\quot;
6
>>> regular expression start with a colon (':')
7
>>> $ requires the escape character '\' to stop it from be processed as an actual $)
Copied!

PCQ

PPP BCP

UBNT

UNMS

curl -fsSL https://unms.com/v1/install > /tmp/unms_inst.sh && sudo bash /tmp/unms_inst.sh

ER-X

1
system type : MT7621
2
3
processor : 3
4
cpu model : MIPS 1004Kc V2.15
5
BogoMIPS : 583.68
6
wait instruction : yes
7
microsecond timers : yes
8
tlb_entries : 32
9
extra interrupt vector : yes
10
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0f fb, 0x0ffb]
11
isa : mips1 mips2 mips32r1 mips32r2
12
ASEs implemented : mips16 dsp mt
Copied!

Reset

Reset button for about 10 seconds until the eth4 LED flashing/solid. default: static | https://192.168.1.1 (eth0)

Console

Pinout: https://openwrt.org/_media/media/ubiquiti/edgerouter-x-sfp2.jpg My TTL cables: green/red/yellow/grey | Putty: 57600 8-N-1
1
The baud rate for ER-X / ER-X-SFP / ER-10X and EP-R6 console connections is 57600 instead of 115200.
2
Hold down the 1 (number one) key as the router starts up
3
4
1: System Load Linux to SDRAM via TFTP.
5
Please Input new ones /or Ctrl-C to discard
6
Input device IP (172.16.3.212) ==:192.168.1.20
7
Input server IP (172.16.3.210) ==:192.168.1.10
8
Input Linux Kernel filename (vme50) ==:ER-e50.recovery.v2.0.6.5208541.190708.0508.16de5fdde.img
Copied!

bootloader

1
show system boot-image
2
add system boot-image
Copied!

Firmware

1
show version
2
add system image http://dl.ubnt.com/...
3
add system image egdeos-120821.tar
4
show system image
5
reboot
6
show system image storage
7
set system image default-boot
8
delete system image
9
10
set interfaces ethernet eth1 address 192.168.3.2/24
11
commit
Copied!

OpenWRT

custom scripts

1
chmod +x /config/scripts/post-config.d/yourscript.sh
2
#!/bin/bash
Copied!

Web Setup Wizards

Switch

1
switch switch0 {
2
address dhcp
3
switch-port {
4
interface eth0 {
5
}
6
interface eth1 {
7
}
8
interface eth2 {
9
}
10
interface eth3 {
11
}
12
interface eth4 {
13
}
14
}
15
}
Copied!

CLI

1
[email protected]:~$ configure
2
[edit]
Copied!

enable apt

1
configure
2
set system package repository wheezy components 'main contrib non-free'
3
set system package repository wheezy distribution wheezy
4
set system package repository wheezy url http://http.us.debian.org/debian
5
commit
6
save
7
exit
8
sudo apt-get update
9
apt-cache search supervisor
Copied!

List dhcp/static clients

1
set service dhcp-server hostfile-update enable
2
cat /etc/hosts
Copied!

RIP

1
[email protected]# show protocols rip
2
3
interface switch0
4
interface eth0
5
neighbor 192.168.3.1
6
redistribute {
7
connected {
8
}
9
}
Copied!

Unifi-AC-Lite/LR

1
system type : Qualcomm Atheros QCA956X rev 0
2
processor : 0
3
cpu model : MIPS 74Kc V5.0
4
BogoMIPS : 385.84
5
wait instruction : yes
6
microsecond timers : yes
7
tlb_entries : 32
8
extra interrupt vector : yes
9
hardware watchpoint : yes, count: 4, ...
10
ASEs implemented : mips16 dsp
11
12
BZ.v3.7.5# free -m
13
total used free shared buffers
14
Mem:(Lite) 126316 62272 64044 0 0
15
-/+ buffers: 62272 64044
16
Mem:(LR) 126272 66764 59508 0 0
17
-/+ buffers: 66764 59508
18
Swap: 0 0 0
19
20
BZ.v3.7.5# info
21
BZ.v3.7.5# set-inform http://unifi:8080/inform
Copied!

Controller Web

1
Settings - Sie DEVICE AUTHENTICATION
2
Every minor setting change on controller causes SSID reset.
Copied!

NanoStation® M

Last modified 1yr ago