Table of Contents

OpenVPN setup

rescue

cd /etc/openvpn
mkdir <client-name>
cd <client-name>
cp ../create_client_key.sh .
vi create_client_key.sh, edit client name
./create_client_key.sh

client machine

cp <client name>.conf /etc/openvpn/client
systemctl start openvpn-client@<client name>
systemctl enable openvpn-client@<client name>

HP Procurve 2848 (J4904A)

Firmware upgrade

Link to firmware

debian tftp:

apt-get install tftpd-hpa

switch:

# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3003952   12/21/05 I.08.87 
Boot Rom Version: I.08.07
Current Boot    : Primary

# copy tftp flash 10.1.2.128 I_10_107.swi secondary
The Secondary OS Image will be deleted, continue [y/n]?  y
03261K
Validating and Writing System Software to FLASH...

# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3428242   08/24/15 I.10.107
Boot Rom Version: I.08.07
Current Boot    : Primary

# boot system flash secondary
Device will be rebooted, do you want to continue [y/n]?
Rebooting the System

# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3003952   12/21/05 I.08.87 
Secondary Image : 3428242   08/24/15 I.10.107
Boot Rom Version: I.08.07
Current Boot    : Secondary

# copy tftp flash 10.1.2.128 I_10_107.swi primary
The Primary OS Image will be deleted, continue [y/n]?  y
03261K
Validating and Writing System Software to FLASH...

# boot system flash primary
Device will be rebooted, do you want to continue [y/n]?
Rebooting the System

# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3428242   08/24/15 I.10.107
Secondary Image : 3428242   08/24/15 I.10.107
Boot Rom Version: I.08.07
Current Boot    : Primary

Enable https

CLI:

# enable
# configure
# crypto key generate cert rsa 1024
# crypto host-cert generate self-signed 06/24 12/31/2048 10.1.2.251 CSE UOI Ioannina Epirus gr
# web-management ssl
# write memory

HP Procurve 2650 (J4899B)

Firmware upgrade

As per HP Procurve 2848.

Latest firmware H.10.119

Previous firmware

ProCurve Switch 2650# show flash
Image           Size(Bytes)   Date   Version
-----           ----------  -------- -------
Primary Image   : 3137345   05/05/06 H.08.98 
Secondary Image : 3042016   11/01/05 H.08.83 
Boot Rom Version: H.08.02
Current Boot    : Primary

# copy tftp flash 10.1.2.128 H_10_119.swi secondary
...