GNS3 additional notes

Good info…here
GNS3 has native support for Linux without the need for need for additional virtualization software

GNS3: Qemu or VirtualBox? … if you keep in mind that was written in 2014. It may still be interesting.

From Wikipedia
QEMU is a free and open-source emulator (Quick EMUlator). It emulates the machine’s processor through dynamic binary translation and provides a set of different hardware and device models for the machine, enabling it to run a variety of guest operating systems.

QEMU copy-on-write (.qcow2, .qed, .qcow, .cow)

QEMU can emulate network cards (of different models) which share the host system’s connectivity by doing network address translation, effectively allowing the guest to use the same network as the host. The virtual network cards can also connect to network cards of other instances of QEMU or to local TAP interfaces. Network connectivity can also be achieved by bridging a TUN/TAP interface used by QEMU with a non-virtual Ethernet interface on the host OS using the host OS’s bridging features.

GNS3 save configs and Wireshark

Followed video in previous post. But after restart you have to reconfigure everything. So googled how to save the configs.

For the router you…

R1#copy running-config startup-config
Destination filename [startup-config]?
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
Overwrite the previous NVRAM configuration?[confirm]y
Building configuration…
[OK]

For the PCs you…

save startup.vpc

Finally you save the project after you stop it. Below is one that had been saved and restarted with the saved configs!

FYI: You just double click on the device to bring up the terminal

You can click on a line and “Start capture”, this appears on the line as a magnifying glass.

Then Wireshark is automatically started. Here is Wireshark after the pings…

The yellow output is a ping from PC2 to the router, The pink/purple is a ping to PC1.

Cups

Saw a log entry from 2004 (old memories) that said…

Invoke Cups GUI with browser…
http://localhost:631

I did and…it still does!

Because of the price of ink the only thing I use my printer for these days is to scan.

Wayback Machine – My old website

Wikipedia says the Wayback Machine which archives old web sites, launched to the public in 2001. Looked up my old site starting from 2001…Working Web Designs. I hated that name because it implied that I was some type of web designer. It was just a place to play. So I changed the name to billslittlewebsite.com. Found a old text based Log file from 2004, that I changed to this current format…Wordpress. The 1st log entry at the bottom was from 1998 where I installed Linux a Bank I was working at. A log entry near the bottom says I started this web site (under the old name) in Dec of 2000. Looks like I was playing with PostgreSQL at the time.

Original home page https://web.archive.org/web/20010719114828/http://www.workingwebdesigns.com:80/

My design skills haven’t improved much. That’s just not an area that has ever thrilled me. However I do use CSS more now. So newer stuff works on a phone.

Python PIL stopped working

Tried to run an old working program that displayed images. But got errors saying the img.show() type was none or nonetype. But obviously it wasn’t because the prints below worked.

So googled and found the simplest 3 line example (I added the 2 prints)…

from PIL import Image
im = Image.open(“/home/bill/Pictures/Computers/H11.png”)
print(“Type is”,type(im))
print(im.format, im.size, im.mode)
im.show()

So for the heck of it I installed a virtual environment and did a…
pip install Pillow

And it worked.

However pillow was version 9.4.0 and the default installed version was 7.0.0

So did…

pip uninstall pillow (which failed)
sudo pip uninstall pillow (which failed)
sudo pip install –upgrade pip
sudo pip uninstall pillow (which removed version 7)
sudo pip install pillow (installed version 9.4.0)

AMD graphics card for X-Plane 11

I would kind of like to upgrade my Nvidia graphics card to an AMD card. Because I heard AMD was a better choice for Linux. When X-Plane 11 came out there didn’t seem to be an AMD option. However here in early 2023 I found this article. And out of 17 cards they recommended/rated 3 AMD cards. Number 1 surprisingly was an AMD however at $780 out of my budget. Number 9 (score 8.6) was an AMD and only $55. Number 12 (score 8.4) was the last AMD recommended at $135, actually $109 today. On paper it seems like a better card than Number 9…4GB GDDR5 as opposed to 1GB GDDR3.

I find this odd. Googling my current video card a “Nvidea Geforce GT 730 2GB” say’s it was launched June 2014. You can still buy it and it cost more than number 9 above. It seems I’ve had it through a couple of computer builds.

Learned about dumpcap

A more efficient way to capture network traffic than running the heaver Wireshark Gui program. Of course you later use Wireshark to look at this data.

Dump packets to a filename appended with a seq # and time info. Cycle through 10, 5000 byte files overwriting the oldest…

dumpcap -i 1 -w ~/packets/sample.pcapng -b filesize:5000 -b files:10

Dump to packets to a filename appended with a seq # and time info. Cycle through 10, 5000 byte files overwriting the oldest.