- Download the original VPC
- https://sourceforge.net/projects/vpcs/
- Add it to some directory and
chmod +x thedownloadedfile
- copy the path to that file into GNS3 config.
This page gave me the hint: https://docs.gns3.com/docs/emulators/vpcs/
If that doesnt work because when you're using the console in GNS3, just by typing two letters or characters it sends the command and makes the VPCS unusable, yo should try de following
- Go to https://sourceforge.net/projects/vpcs/ and download the code as a zip from the "Code" tab.
- unzip it or extract it
- cd into `/diroftheextractedcode/src'
- and run
./mk.sh [32 | 64]
(depending on your processor architecture) - it should make vpcs
- move it to your bin directory
sudo mv vpcs /usr/local/bin
If while running ./mk you run into the following error:
./getopt.h:53:5: error: conflicting types for ‘getopt’
int getopt(int argc, char** argv, char* optstr);
^~~~~~**
In file included from /usr/include/bits/getopt_posix.h:27:0,
from /usr/include/unistd.h:872,
from hv.c:33:
Then run the following commands to fix it and also move it to /bin:
- Remember to be in
cd vpcs-code/src
- Then run the following commands
$ rgetopt='int getopt(int argc, char *const *argv, const char *optstr);'
$ sed -i "s/^int getopt.*/$rgetopt/" getopt.h
$ unset -v rgetopt
$ sed -i 's/i386/x86_64/' Makefile.linux
$ sed -i 's/-s -static//' Makefile.linux
$ make -f Makefile.linux
$ strip --strip-unneeded vpcs
$ sudo mv vpcs /usr/local/bin