Networking | Linux | FOSS | Note-Keeping |

Pages

Tuesday, April 9, 2019

Early access to new WebUi - GNS3 2.2.0 alpha 4 upgrade on Linux

GNS3 version 2.2.0 alpha 4 has been released, it gives you early access to the new web-ui with the upgrade of v2.2!

Major new features are the WebUi (read only for now), a new GNS3 VM based on Ubuntu 18.04 LTS, Hyper-V support for the GNS3 VM, new symbols (affinity theme), new template creation system, link status detection for Qemu VMs, custom adapters configuration, console support for clouds, new project import/export and much more! 








Please see What’s new in GNS3 version 2.2 for a detailed overview.

IMPORTANT NOTE to upgrade from 2.1.x and earlier versions of GNS3

Please do not upgrade if you are working on something important like a certification or something else. Understand there is no rollback possible once you open an older project in version 2.2

Backup all your projects, settings and snapshot the GNS3 VM. Version 2.2 is in alpha stage which means many things could be broken or not work as expected. Only advanced users who are comfortable with GNS3 should try this alpha release.

Linux installation

Ubuntu/Debian, install from our PPA:

sudo add-apt-repository ppa:gns3/unstable
sudo apt-get update
sudo apt-get install gns3-gui

For upgrading from the stable repository:

sudo add-apt-repository --remove ppa:gns3/ppa
sudo add-apt-repository ppa:gns3/unstable
sudo apt-get update
sudo apt-get upgrade

For upgrading from the unstable repository:

sudo apt-get update
sudo apt-get upgrade

For other Linux distributions, we recommend an installation via Pypi:

pip3 install gns3-gui==2.2.0a4
pip3 install gns3-server==2.2.0a4

This is the news I've been waiting for! For many of us this should make it easier to sneak in some lab time by just spooling up your server and then log into GNS3 via browser to lab! 


A final release is expected during the first half of 2019 and I am so excited! 

Source & Credits : Jeremy Grossmann@GNS3
Share:

Friday, March 29, 2019

wttr.in - Eye Candy Weather Forecast in Linux Command Line & Browser

I recently came across an eye candy console-oriented weather forecast service tool wttr.in — the right way to check the weather!
wttr.in is a console-oriented weather forecast service that supports various information representation methods like terminal-oriented ANSI-sequences for console HTTP clients (curl, httpie, or wget), HTML for web browsers, or PNG for graphical viewers.
wttr.in uses wego for visualization and various data sources for weather forecast information. It uses the USCS units for the queries from the USA and the metric system for the rest of the world by default.
You can see it running here: wttr.in.
Weather Report

Usage

You can access the service from a shell or from a Web browser like this:
$ curl wttr.in
Weather for City: Paris, France

     \   /     Clear
      .-.      10 – 11 °C     
   ― (   ) ―   ↑ 11 km/h      
      `-’      10 km          
     /   \     0.0 mm         
You can get the weather information for a specific location by adding the desired location to the URL in your request like this:
$ curl wttr.in/London
$ curl wttr.in/Moscow
If you omit the location name, you will get the report for your current location based on your IP address.
Use 3-letter airport codes in order to get the weather information at a certain airport:
$ curl wttr.in/muc      # Weather for IATA: muc, Munich International Airport, Germany
$ curl wttr.in/bhv      # Weather for IATA: bhv, Bahawalpur Airport, Pakistan
You can also use IP-addresses (direct) or domain names (prefixed with @) to specify a location:
$ curl wttr.in/@github.com
$ curl wttr.in/@msu.ru
To get detailed information online, you can access the /:help page:
$ curl wttr.in/:help
Source:
Igor Chubin
Share:

Failure to download extra data files after installing "ttf-mscorefonts-installer" on Ubuntu 18.04 LTS

This package "ttf-mscorefonts-installer" is used to download Microsoft's font files (those files are made freely available by Microsoft) from the Internet and install them. Since, you must accept the EULA of Microsoft to use those font files, those fonts cannot be included in the package like other Free (Free as freedom) packages. Annoying messages of "failure to download extra data files from ttf-mscorefonts-installer in update notifier keep popping up after reboot. I have tried a lot of available solutions on Ubuntu forums and the following worked for me.

First of all, try to reinstall the package, and download the data files needed to configure the package.
sudo dpkg-reconfigure ttf-mscorefonts-installer

If it doesn't work, than opt for manual installation of ttf-mscorefonts-installer as below:

Go to Debian's Site and download the latest ttf-mscorefonts-installer_3.7

wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.7_all.deb
sudo apt purge ttf-mscorefonts-installer -y
sudo dpkg -i ttf-mscorefonts-installer_3.7_all.deb

Now, you won't see the annoying notifications from update notifier.

HTH.

Credits:
Muaad ElSharif
Share:

Cisco Packet Tracer 7.2.1 Installation on Ubuntu 18.04 LTS Linux

Cisco Packet Tracer v7.2.1 was released in mid 2018, which doesn’t appear to need libicui18n.so.52 unlike CPT v7.1 (The bug was fixed in the latest release and v7.2.1 runs without any issue on Ubuntu 16.04). However, CPT v7.2.1 on Ubuntu 18.04 is unable to locate libpng12. Following solution (QT Libraries, libcu52 and libpng12 installation) fixed it for me:

Install Qt libraries:


sudo apt install libqt5webkit5 libqt5multimediawidgets5 libqt5svg5 libqt5script5 libqt5scripttools5 libqt5sql5


Install libcu52:


wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu52_52.1-3ubuntu0.8_amd64.deb

sudo dpkg -i libicu52_52.1-3ubuntu0.8_amd64.deb

Install libpng12:


wget http://ftp.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb

sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb

Now, CPT should start correctly via 'packettracer' command in terminal.


Credits: 

Stack Exchange

Share:

Friday, August 17, 2018

The VMware Installer could not shut down all running virtual machines - VMWare Workstation upgrade error

Yesterday, while upgrading VMware Workstation 14.1.2-8497320 to 14.1.3-9474260 on my Ubuntu 16.04.5 LTS machine, got the following error message:

"The VMware Installer could not shut down all running virtual machines. If you have Encrypted VMs open, please shut them down or suspend them now and press 'Retry' to continue."

No VM instance was running/open in my case, tried pressing Retry button on installation GUI, but still got the same error message. Rebooted the physical machine tried upgrading (both in-app and manual upgrade) and got the same error message again. Tried multiple tweaks and finally after much struggle managed to resolve the issue by following steps:
  • Remove all vmware startup scripts
    rana@ranatics:~# sudo rm /etc/init.d/vmware
    rana@ranatics:~# sudo rm /etc/init.d/vmware-USBArbitrator
    rana@ranatics:~# sudo rm /etc/init.d/vmware-workstation-server
  • Reboot your computer
    rana@ranatics:~# sudo reboot
  • Uninstall your old vmware installation
    rana@ranatics:~# sudo /usr/bin/vmware-installer -u vmware-workstation
  • Download and install the updated version
    rana@ranatics:~# sudo VMware-Workstation-Full-14.1.3-9474260.x86_64.bundle
Enjoy!

HTH,
Rana.
Share:

Monday, June 18, 2018

SecureCRT "Error while loading shared libraries: libpng16.so.16" on Ubuntu 16.04

Today, I installed SecureCRT Version "8.3.3 (build 1646) - Official Release - May 3, 2018" on Ubuntu 16.04.4 LTS machine. After installation, SecureCRT won't launch and gave the following error in terminal.
$ SecureCRT
SecureCRT: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
Tried various tweaks, and the following did the job.
Firstly, install required PNG Library "libpng16-16" package with the following command:
$ sudo apt install libpng16-16
Run the program, and if you come across `GLIBCXX_3.4.22' not found error than go further below to next step:
$ SecureCRT
SecureCRT: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by SecureCRT)
Now, Update GLIBCXX_3.4.22 library packages from this untrusted PPA by adding ppa:ubuntu-toolchain-r/test to your system's Software Sources.
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt update
$ sudo apt dist-upgrade -y
You can check if you have GLIBCXX_3.4.22 like this:
$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.4.22
GLIBCXX_3.4.22  
Now, run SecureCRT and enjoy!

HTH,
Rana Tauqeer.
Share:

Wednesday, March 7, 2018

Unable to login via HTML5 console on EVE-NG

Issue:
Unable to login via HTML5 console on EVE-NG's Web GUI after upgrade to EVE-NG 2.0.3-86 or when in HTML5 console, disconnect button gets you into a guacamole login page and can’t get any sessions in HTML5.

Solution:

This is a typical corrupt Guacamole SQL database issue; whether happened randomly or even during/after eve upgrade process, there are two very simple proposed solutions for this problem:
  1. Logout/Login from/into eve to be able to open html console again.
    or
  2. Issue the following command on eve-ng vm:
    #cat /opt/unetlab/schema/guacamole-update.sql | mysql -u root --password=eve-ng guacdb
    and than login/logout from/into eve.
HTH,
Rana Tauqeer.
Share:

Sitemap

Contact Form

Name

Email *

Message *

Total Pageviews

Search This Blog