Tuesday, November 26, 2019
Cloud key firmware from 5.12.22 to 5.12.35
From version
Controller: 5.12.22 (Build: atag_5.12.22_12966)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Upgrade to new version
Controller: 5.12.35 (Build: atag_5.12.35_12979)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.6.c289a3c.191031.0851
Steps:
# ssh ubnt@${CONTROLLER_IP_ADDRESS}
# cd /tmp
# wget https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb
# dpkg -i unifi_sysvinit_all.deb
(Reading database ... 31139 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Unpacking unifi (5.12.35-12979-1) over (5.12.22-12966-1) ...
Setting up unifi (5.12.35-12979-1) ...
Processing triggers for systemd (241-5~bpo9+1) ...
UniFi-CloudKey-Gen2-Plus:/tmp# rm -f unifi_sysvinit_all.deb
UniFi-CloudKey-Gen2-Plus:/tmp# reboot
Access again the web interface of Unifi controller and the software should be updated.
Good Resources:
1. https://community.ui.com/releases/UniFi-Network-Controller-5-12-35/45726736-ee4c-4172-877a-a2303f5d3627
3. https://help.ubnt.com/hc/en-us/articles/360012282453-UniFi-How-to-Install-Upgrade-the-UniFi-Network-Controller-Software
4. https://www.youtube.com/watch?v=Z3q10J9dgjk&feature=youtu.be
Controller: 5.12.22 (Build: atag_5.12.22_12966)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Upgrade to new version
Controller: 5.12.35 (Build: atag_5.12.35_12979)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.6.c289a3c.191031.0851
Steps:
# ssh ubnt@${CONTROLLER_IP_ADDRESS}
# cd /tmp
# wget https://dl.ui.com/unifi/5.12.35/unifi_sysvinit_all.deb
# dpkg -i unifi_sysvinit_all.deb
(Reading database ... 31139 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Unpacking unifi (5.12.35-12979-1) over (5.12.22-12966-1) ...
Setting up unifi (5.12.35-12979-1) ...
Processing triggers for systemd (241-5~bpo9+1) ...
UniFi-CloudKey-Gen2-Plus:/tmp# rm -f unifi_sysvinit_all.deb
UniFi-CloudKey-Gen2-Plus:/tmp# reboot
Access again the web interface of Unifi controller and the software should be updated.
Good Resources:
1. https://community.ui.com/releases/UniFi-Network-Controller-5-12-35/45726736-ee4c-4172-877a-a2303f5d3627
3. https://help.ubnt.com/hc/en-us/articles/360012282453-UniFi-How-to-Install-Upgrade-the-UniFi-Network-Controller-Software
4. https://www.youtube.com/watch?v=Z3q10J9dgjk&feature=youtu.be
Mailspring - email client for Linux desktop
Very nice email client, really enjoying:
https://getmailspring.com/
https://getmailspring.com/
Thursday, November 21, 2019
Introducing UniFi Talk - UVP-TOUCH - 2019 Beta
Hardware requirements
UCK-G2-PLUS (UDM-Pro support coming soon)
UniFi VoIP Phones (either UVP-Touch or UVP-Flex)
At this date, still beta program, information about upgrading the firmware is here:
Introducing UniFi Talk
UCK-G2-PLUS (UDM-Pro support coming soon)
UniFi VoIP Phones (either UVP-Touch or UVP-Flex)
At this date, still beta program, information about upgrading the firmware is here:
Introducing UniFi Talk
Thursday, November 7, 2019
Unifi Switch 8 Ports 150W - Failing to adopt and getting different network from LAN
We have two Networks:
LAN: 192.168.x.x
supernetwortk: VLAN 100 - 172.16.x.x.
Description of problem:
Switching is failing to be adopted and getting ip from subnet
172.168.x.x instead of 192.168.x.x from LAN.
Solution: reset switch
LAN: 192.168.x.x
supernetwortk: VLAN 100 - 172.16.x.x.
Description of problem:
Switching is failing to be adopted and getting ip from subnet
172.168.x.x instead of 192.168.x.x from LAN.
Solution: reset switch
Unifi: Accessing the switch (CLI)
1. ssh admin@${IP_SWITCH}
2. Switch48Ports-US.v4.0.66# telnet 127.0.0.1
Entering character mode
Escape character is '^]'.
Warning!
The changes may break controller settings and only be effective until reboot.
(UBNT) #enable
(UBNT) #show run
(UBNT) #show tech-support
Others commands:
(UBNT) #?
application Start or stop an application.
cablestatus Isolate the problem in the cable attached to an interface.
capture Enable CPU packets capturing.
clear Reset configuration to factory defaults.
configure Enter into Global Config Mode.
copy Uploads or Downloads file.
debug Configure debug flags.
delete Deletes the given image or the language pack file.
dir Display directory information.
disconnect Close remote console session(s).
dot1x Configure dot1x privileged exec parameters.
enable Set the password for the enable privilege level.
erase Erase configuration file.
exit To exit from the mode.
filedescr Sets text description for a given image.
help Display help for various special keys.
hostname Change the system hostname.
ip Configure IP parameters.
logout Exit this session. Any unsaved changes are lost.
network Configuration for inband connectivity.
quit Exit this session. Any unsaved changes are lost.
reload Reset the switch.
renew To renew IP Address.
script Apply/Delete/List/Show/Validate Configuration Scripts.
set Set Router Parameters.
show Display Switch Options and Settings.
snmp-server Configure SNMP server parameters.
telnetcon Configure telnet connection parameters.
terminal Set terminal line parameters.
update Updates the bootloader on the node from the active/backup image.
vlan Type 'vlan database' to enter into VLAN mode.
write Configures save options.
Others useful resources:
Quick Configs Ubiquiti - Learn the Command Line (CLI) Part 1
Quick Configs Ubiquiti - Learn the Command Line (CLI) Part 2
Quick Configs Ubiquiti - Basic Zone Based Firewall EdgeSwitch_CLI_Command_Reference_UG.pdf
2. Switch48Ports-US.v4.0.66# telnet 127.0.0.1
Entering character mode
Escape character is '^]'.
Warning!
The changes may break controller settings and only be effective until reboot.
(UBNT) #enable
(UBNT) #show run
(UBNT) #show tech-support
Others commands:
(UBNT) #?
application Start or stop an application.
cablestatus Isolate the problem in the cable attached to an interface.
capture Enable CPU packets capturing.
clear Reset configuration to factory defaults.
configure Enter into Global Config Mode.
copy Uploads or Downloads file.
debug Configure debug flags.
delete Deletes the given image or the language pack file.
dir Display directory information.
disconnect Close remote console session(s).
dot1x Configure dot1x privileged exec parameters.
enable Set the password for the enable privilege level.
erase Erase configuration file.
exit To exit from the mode.
filedescr Sets text description for a given image.
help Display help for various special keys.
hostname Change the system hostname.
ip Configure IP parameters.
logout Exit this session. Any unsaved changes are lost.
network Configuration for inband connectivity.
quit Exit this session. Any unsaved changes are lost.
reload Reset the switch.
renew To renew IP Address.
script Apply/Delete/List/Show/Validate Configuration Scripts.
set Set Router Parameters.
show Display Switch Options and Settings.
snmp-server Configure SNMP server parameters.
telnetcon Configure telnet connection parameters.
terminal Set terminal line parameters.
update Updates the bootloader on the node from the active/backup image.
vlan Type 'vlan database' to enter into VLAN mode.
write Configures save options.
Others useful resources:
Quick Configs Ubiquiti - Learn the Command Line (CLI) Part 1
Quick Configs Ubiquiti - Learn the Command Line (CLI) Part 2
Quick Configs Ubiquiti - Basic Zone Based Firewall EdgeSwitch_CLI_Command_Reference_UG.pdf
Tuesday, November 5, 2019
git format-patch: Get the last 'X' patches
Example: Get the last 5 patches
#git-repo> git format-patch -5
#git-repo> git format-patch -5
Monday, November 4, 2019
Upgraded firmware cloudkey gen 2 to 5.12.22
From version
Controller: 5.11.50 (Build: atag_5.11.50_12745)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Upgrade to new version
Controller: 5.12.22 (Build: atag_5.12.22_12966)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Steps:
# ssh ubnt@${IP_ADDRESS_CONTROLLER}
# cd /tmp
# wget https://dl.ui.com/unifi/5.12.22/unifi_sysvinit_all.deb
# dpkg -i unifi_sysvinit_all.deb
(Reading database ... 30572 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Unpacking unifi (5.12.22-12966-1) over (5.11.50-12745-1) ...
Setting up unifi (5.12.22-12966-1) ...
Processing triggers for systemd (241-5~bpo9+1) ...
UniFi-CloudKey-Gen2-Plus:/tmp# rm -f unifi_sysvinit_all.deb
UniFi-CloudKey-Gen2-Plus:/tmp# reboot
Access again the web interface of Unifi controller and the software should be updated.
Good Resources:
1. https://community.ui.com/releases/UniFi-Network-Controller-5-12-22/263c8b60-def8-4667-85c3-87a6200a6c9b
2. https://www.ui.com/download/unifi/unifi-cloud-key-gen2/default/unifi-network-controller-51222-debianubuntu-linux-and-unifi-cloud-key
3. https://help.ubnt.com/hc/en-us/articles/360012282453-UniFi-How-to-Install-Upgrade-the-UniFi-Network-Controller-Software
4. https://www.youtube.com/watch?v=YEm8tKkVJUg
Controller: 5.11.50 (Build: atag_5.11.50_12745)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Upgrade to new version
Controller: 5.12.22 (Build: atag_5.12.22_12966)
CLOUD KEY FIRMWARE: UCKP.apq8053.v1.1.0.aa44aee.190826.2316
Steps:
# ssh ubnt@${IP_ADDRESS_CONTROLLER}
# cd /tmp
# wget https://dl.ui.com/unifi/5.12.22/unifi_sysvinit_all.deb
# dpkg -i unifi_sysvinit_all.deb
(Reading database ... 30572 files and directories currently installed.)
Preparing to unpack unifi_sysvinit_all.deb ...
Unpacking unifi (5.12.22-12966-1) over (5.11.50-12745-1) ...
Setting up unifi (5.12.22-12966-1) ...
Processing triggers for systemd (241-5~bpo9+1) ...
UniFi-CloudKey-Gen2-Plus:/tmp# rm -f unifi_sysvinit_all.deb
UniFi-CloudKey-Gen2-Plus:/tmp# reboot
Access again the web interface of Unifi controller and the software should be updated.
Good Resources:
1. https://community.ui.com/releases/UniFi-Network-Controller-5-12-22/263c8b60-def8-4667-85c3-87a6200a6c9b
2. https://www.ui.com/download/unifi/unifi-cloud-key-gen2/default/unifi-network-controller-51222-debianubuntu-linux-and-unifi-cloud-key
3. https://help.ubnt.com/hc/en-us/articles/360012282453-UniFi-How-to-Install-Upgrade-the-UniFi-Network-Controller-Software
4. https://www.youtube.com/watch?v=YEm8tKkVJUg
Prevent /etc/resolv.conf from being modified by a DHCP server.
# sudo vi /etc/sysconfig/network-scripts/ifcfg-${NIC_INTERFACE}
PEERDNS=no
PEERDNS=no
Sunday, November 3, 2019
Friday, November 1, 2019
Allow root ssh
Just in weird cases...
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# systemctl restart sshd
# vi /etc/ssh/sshd_config
PermitRootLogin yes
# systemctl restart sshd
kubernetes: How to list all NetworkAttachmentDefinition ?
# kubectl get networkattachmentdefinition.k8s.cni.cncf.io -A
NAMESPACE NAME AGE
default flannel-network 21m
NAMESPACE NAME AGE
default flannel-network 21m
Subscribe to:
Posts (Atom)