Thursday, July 25, 2024

Upload Maps to Garmin Edge 530

Head on to https://extract.bbbike.org/

Select Format: BBBike (latin1)

Select  Area: Canada

Select Email:

Move or Resize Polygon by dragging the orange dots.

Click Extract when done.

Wait for the email to download the file.

Unzip file, and download "gmapsupp.img" and rename to your desired map name i.e "gmapsupp_can_am"

Upload the file to the /Garmin folder on your Edge 530.


Monday, June 3, 2024

Mount USB drive in Ubuntu

# lsblk

NAME                      MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS

sda                         8:0    0 893.8G  0 disk 

├─sda1                      8:1    0     1G  0 part /boot/efi

├─sda2                      8:2    0     2G  0 part /boot

└─sda3                      8:3    0 890.7G  0 part 

  └─ubuntu--vg-ubuntu--lv 253:0    0   100G  0 lvm  /

sdb                         8:16   0 931.5G  0 disk 

└─sdb1                      8:17   0 931.5G  0 part 


# sudo mkdir /media/external

# sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

Tuesday, April 9, 2024

F5 not sending Syslogs

 This happens usually after an upgrade.  You may just need to restart the syslog service.


"bigstart restart syslog-ng" on the CLI.


Thursday, March 21, 2024

Ubuntu Netplan Example

vi /etc/netplan/00-installer-config.yaml 

netplan apply


 network:

ethernets:
eno1:
dhcp4: true
eno2:
dhcp4: false
enp2s0f0np0:
dhcp4: true
enp2s0f1np1:
dhcp4: false
enp65s0f0np0:
dhcp4: true
enp65s0f1np1:
dhcp4: true

vlans:
vlan.101:
id: 101
link: eno2
addresses: [10.128.0.5/21]
vlan.102:
id: 102
link: eno2
addresses: [10.128.8.5/21]
vlan.103:
id: 103
link: eno2
addresses: [10.128.16.5/21]
vlan.104:
id: 104
link: eno2
addresses: [10.128.24.5/21]
vlan.105:
id: 105
link: eno2
addresses: [10.128.32.5/21]
vlan.106:
id: 106
link: eno2
addresses: [10.128.40.5/21]
vlan.107:
id: 107
link: eno2
addresses: [10.128.48.5/21]
vlan.108:
id: 108
link: eno2
addresses: [10.128.56.5/21]
vlan.109:
id: 109
link: eno2
addresses: [10.128.64.5/21]
vlan.110:
id: 110
link: eno2
addresses: [10.128.72.5/21]
vlan.111:
id: 111
link: eno2
addresses: [10.128.80.5/21]
vlan.112:
id: 112
link: eno2
addresses: [10.128.88.5/21]
vlan.113:
id: 113
link: eno2
addresses: [10.128.96.5/21]
vlan.114:
id: 114
link: eno2
addresses: [10.128.104./21]
version: 2

Monday, January 29, 2024

Cisco L2 Switch Recovery

1. Hold the mode button

On the rommon prompt:
2. flash_init
3. dir flash:
4. delete flash:<existing files>
4. boot

Monday, November 20, 2023

 apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl git

 

 curl https://pyenv.run | bash