Skip to content
the broadcast

networking, computing, virtualization, automation

Linux

Ubuntu 20.04 – Static Server IP-Address

2020-12-05
By: ron
On: 2020-12-05
In: awayfromevernote, linux
With: 0 Comments

Of course, every release of an linux-distribution has to change the way very basic network settings are configured. 😉 Ubuntu 20.04 Server LTS to be fair: „netplan“ has been in place since at least release 17.10 the „subiquity“-tool which has written the yaml-file has been confusing me… Step 1: Figure out – which IP/DNS-Settings where set by DHCP Step 2: Disable (if required) automation tools – here „subiquity“ This is YAML: Optional: Try a temporarily YAML-File before Apply safeguard if you are using a ssh-connection Roll back, after a Timeout Step 3: Edit/Apply NetPlan Config ApplyRead More →

BASH „History“: display ISO-Timestamp

2020-12-05
By: ron
On: 2020-12-05
In: awayfromevernote, linux
With: 0 Comments

Have just been somehow annoyed by the default-format of the „history“-bash command:Read More →

Cisco IOS – Public-Key User-Authentication

2018-10-20
By: ron
On: 2018-10-20
In: client, linux
With: 0 Comments

It’s a two step process to get rid of insecure username/password-authentication. Generate a RSA keypair at your SSH-client btw. Cisco-IOS doesn’t support DSA-keys Configure your network device(s) to assign the (public-)key of this keypair to an user-account This user-account could get privileges from a Radius/TACACS+-Server which could provide access-logs, too. Generate RSA-Key: Windows as SSH-Client I prefer Putty, usually in form of „mRemoteNG“, so i use PuttyGen to generate the RSA keypair. Windows.Start => PuttyGen (x) RSA, 4096-bits are supported, use it [Generate] move the mouse to improve the randomgenerator change the „comment“ – for example replace it by an username add a passphrase –Read More →

COT – Common OVF-Tool – Import of VCenter HTTPS Certificate

2018-10-16
By: ron
On: 2018-10-16
In: automation, linux
With: 0 Comments

Background: Python-Requests wants to verify https-certificates, which makes sense to me. – but my VCenter uses a self-signed Certificate Don’t think about ignoring certificate errors 😉 Prerequisites Download the certificate from the VCenter: Install the certificate: Now Python.requests validates the vCenter: Add the Export to ~/.bashrc at the end of the fileRead More →

COT – Common OVF Tool

2018-10-15
By: admin
On: 2018-10-15
In: automation, linux
With: 0 Comments

…this article should have been published at 2017-11-23, i forgot to press the right botton. So, an update might be needed, anyone still interested in cot today? Release 2.1 (2018-01-29) is the current release, containing some fixes (https://github.com/glennmatthews/cot/blob/master/CHANGELOG.rst) COT installation using PIP So, let’s go, following thats embarassing. Install PIP first Try it again Optional: Argument-Completion Not essential, but handy. COT helpers A full installation requires so called „cot-helpers“ to use all features. first fix „fatdisk“ which is used to inject configs into OVA-Files uncomment to and run the helper-installation again: But it threw a lot of warnings.. warning: format ‘%lu’ expects argument of typeRead More →

Linux: a start job is running for wait for Network to be configured

2018-10-11
By: ron
On: 2018-10-11
In: linux
With: 0 Comments

A new linux-VM takes ages to boot: it waits for 2 minutes for the network to come up Whats the reason for the delay? „routable“ interfaces with not router-address provided by the dhcp-service never come up for the „networkd-wait-online“-service. find more information at GitHub Issue 3752 – systemd-networkd can’t configure interface if dhcp server does not provide routers State: forever „configuring“ not „configured“ Background information „enp0s3“ is a virtual-box „host-only“ network with no routing provided Action Plan: „Set this interface to not be checked.“ locate the systemd-unit-file: Path: /run/systemd/generator/network-online.target.wants File: systemd-networkd-wait-online.service Edit (sudo) file add „ignore“-Option docs: networkd wait online service The service specific configurationRead More →

Check Ubuntu Distribution Version

2018-10-06
By: ron
On: 2018-10-06
In: linux
With: 0 Comments

lsb_release -aRead More →

Ubuntu – Install Ansible

2018-10-05
By: ron
On: 2018-10-05
In: automation, linux
With: 0 Comments

It should be easy, and it is – but no single-command installation: Look at the Ubuntu Packet-Search for Ansible: it’s in the „universe“-repository Add the „universe“-repository: Now it works: Which version? as „packages.ubuntu.com“ said: 2.5.1Read More →

Linux – NetPlan Interface Configuration

2018-10-03
By: ron
On: 2018-10-03
In: linux
With: 0 Comments

Just added a second NIC to a Linux-VM… new config-style – new luck 🙂 Ok, it seems to be easy to get back to good-old network-config-style. But after reading https://netplan.io/examples this seems to be very handy. The initial „netplan-file“ references only the initial NIC: What’s the ID of the new NIC? it’s „enp0s8“ Create a backup Modify the Netplan-File: Activate the new Config: Verify the resultRead More →

Cisco IOS Service-Containers: Run an x86-VM inside a Router (Part 4: Package the Service-VM into an OVA)

2018-02-09
By: ron
On: 2018-02-09
In: automation, linux
With: 0 Comments

I’ll start at the KVM-Virtualization Host („Ubuntu Desktop“) again. Folder Structure I’ll create a folder „isr-service-container“ for common stuff (package.yaml, create_ova.sh) and a for each VM a dedicated sub-folder, today: „ubuntu-server16.04“ Download the Cisco-provided „templates.tar“ from GitHub (GitHub: Templates.tar). It contains: package.yaml create_ova.sh Prepare a compressed virtual harddisk of the „Ubuntu-Server“-VM Locate the original virtual harddisk: Convert the original „.qcow2“-File into a compressed „copy“: Change the Owner of this new file: I’ll change: Description: „KVM Ubuntu 16.04 LTS“ resources/vcpu: 1 disk/file: ubuntu-server16.04.qcow2 The vCPU# got decreased since the CSR1000v only supports Service-VMs with one vCPU. Another File „version.ver“ has to be created: the „version“ mustRead More →

Beitrags-Navigation

1 2 3 Nächste

Kategorien

  • AI
  • automation
  • awayfromevernote
  • AWS
  • Azure
  • client
  • Cloud
  • linux
  • pub
  • Scripting
  • Uncategorized
  • wan
  • Windows

Neueste Beiträge

  • Annoying Firefox-Defaults to be changed
  • Scope of this Blog
  • Terraform: Enable persistent Debugging
  • OVF/OVA-Properties
  • *** System restart required ***

Schlagwörter

ACU AI Ansible API Automation AWS Azure bash bestpractice chrome Cisco Compute Unit Controller cot CSR1000v Ethernet hsts Hyperconverged KVM Lab Linux Monitoring MTU NAPALM Nested netplan networking nexus nxos Proactive productivity Python QoS REST Scapy Scripting Security SKU todo UCSD Virtualization VMware WAN Windows Wordpress

Impressum

Impressum

Designed using Dispatch. Powered by WordPress.