Ming 's Blog
2018年3月16日 星期五
ASA 5505 Enable ASDM
1. Find out asdm image inside Flash
MY-ASA(config)# show disk0
--#-- --length-- -----date/time------ path
95 15962112 Feb 23 2015 10:19:52 asa832-npe-k8.bin
20 2048 Apr 14 2016 10:08:48 coredumpinfo
21 59 Apr 14 2016 10:08:48 coredumpinfo/coredump.cfg
10 2048 Feb 23 2015 10:22:00 log
19 2048 Feb 23 2015 10:22:12 crypto_archive
96 27703296 Feb 07 2017 05:42:00 asa917-12-k8.bin
98 26053720 Feb 07 2017 05:47:48 asdm-762-150.bin
99 27168768 Mar 11 2015 05:12:14 asa915-21-k8.bin
100 27689672 Mar 11 2015 05:13:14 asdm-732.bin
2. Setting which image need to use
MY-ASA(config)# asdm image disk0:/asdm-762-150.bin
3. Enable Http Server
MY-ASA(config)# http server enable
4. Setting Permitted Interface to Access ASDM
For Inside
MY-ASA(config)# http 192.168.1.0 255.255.255.0 INSIDE
For Outside
MY-ASA(config)# http PublicIP 255.255.255.252 OUTSIDE
5. Setting a user account
MY-ASA(config)# username ADMIN password PASSWORD privilege 15
6. Enable AAA on Http & Https
MY-ASA(config)# aaa authentication http console LOCAL MY-ASA(config)# aaa authentication secure-http-client
7. Test On Chrome / Internet Explorer
2018年3月8日 星期四
OPNsense Enable SNMP
1. Go to System > Firmware > Plugins
2. Press + to Install "os-snmp 1.1 22.3KiB SNMP Server via bsnmpd"
3. After install, you can find SNMP inside Services
2. Press + to Install "os-snmp 1.1 22.3KiB SNMP Server via bsnmpd"
3. After install, you can find SNMP inside Services
Fix Unifi Cloudkey unable update
- Connect to the UniFi Cloud Key via SSH.
- Issue:
dpkg -l |grep ubnt-tools
- If ubnt-tools is anything other than 0.9.7-1, then you need to update it. You can update it by issuing:
apt-get update && apt-get install --only-upgrade ubnt-tools
- Once the ubnt-tools package is updated, you can run the upgrade by issuing:
ref: https://community.ubnt.com/t5/UniFi-Routing-Switching/Can-t-update-Cloud-Key-Firmware/td-p/1781861
***
1) Download the 0.8.7 firmware from here.
2) Save the file on your desktop, and rename it to fwupdate.bin
3) Open a SFTP connection to your cloudkey (Im using filezilla for this). See screenshots (File1/File2)
4) Browse to the /boot directory and drag the fwupdate.bin into the red area. See screenshots (File3/File4)
5) Reboot the cloudkey.
6) Now upgrade your UCK to the latest firmware available.
**
Go to : etc/apt/sources.list.d
Edit source list > Add the line:
deb http://www.ubnt.com/downloads/unifi/debian cloudkey-oldstable ubiquiti
2018年2月12日 星期一
[LibreNMS] ReConfig for NGINX Host Name
SSH to the Host
Process below Command
sudo nano /etc/nginx/conf.d/librenms.conf
edit server_name as required
example
need to add xxx.company.com and listen on 80, 8080
listen 80;
listen 8080;
server_name xxx.company.com;
save the conf file and restart NGINX
systemctl restart nginx <-restart command
2016年4月13日 星期三
Cisco ASA 5505 Reset to Factory Default
Reset to Factory Default
1. enable
2. config t
3. config factory-default
4. reload save-config noconfirm
1. enable
2. config t
3. config factory-default
4. reload save-config noconfirm
2015年9月20日 星期日
Reset Or Setting IBM IMM2 inside Windows OS
1) Download IBM IBM Advanced Settings Utility (ASU) Download Here
2) Extract the zip file on C:\ASU
3) Open Command Prompt, Apply Below Command
For Export Setting to a TXT File
asu64 show > setting.txt
For Reset the IMM2
asu64 rebootimm
For Enable DHCP
asu64.exe set imm.dhcp1 enable
For Setting IP for IMM By Command Line
asu64.exe set IMM.HostIPAddress1 192.168.1.10
asu64.exe set IMM.HostIPSubnet1 255.255.255.0
asu64.exe set IMM.GatewayIPAddress1 192.168.1.1
asu64.exe set imm.dhcp1 disable
asu64 rebootimm
2) Extract the zip file on C:\ASU
3) Open Command Prompt, Apply Below Command
For Export Setting to a TXT File
asu64 show > setting.txt
For Reset the IMM2
asu64 rebootimm
For Enable DHCP
asu64.exe set imm.dhcp1 enable
For Setting IP for IMM By Command Line
asu64.exe set IMM.HostIPAddress1 192.168.1.10
asu64.exe set IMM.HostIPSubnet1 255.255.255.0
asu64.exe set IMM.GatewayIPAddress1 192.168.1.1
asu64.exe set imm.dhcp1 disable
asu64 rebootimm
For Setting Shared IMM Port
asu64 set IMM.SharedNicMode Shared
Default LOGIN
Username: USERID Password: PASSW0RD
Default LOGIN
Username: USERID Password: PASSW0RD
訂閱:
文章 (Atom)