5:28 Permission Denied --> C:\Users\User\.ssh --> Open "known_hosts" with notepad and delete all --> Save Ctrl + S ------------------------------------------------------------------------ 6:56 ssh with NAT and "port forwarding": turn off VM Step1: Enable "cable connected" --> Enable "port forwarding" --> Add rule: hostport 2223(or 2222,2224,etc...) guest port 22 Step2: On Command Prompt, type: ssh mininet@localhost -p 2223 or ssh mininet@127.0.0.1 -p 2223 ------------------------------------------------------------------------ 7:01 ssh with "host only adapter"(VM will appear on your local network"): Step 1: turn off the VM --> Setting --> Network Step 2: Enable the adapter 1 with NAT option for internet connection and remember to Enable "Cable Connected" Step 3: Enable the adapter 2 with "host only adapter" and remember to Enable "Cable Connected" Step 4: Power up the VM, type: ifconfig -a, see the "inet" to get the IP of the VM. Step 5: On Command Prompt, type: ssh mininet@[your mininet-VM IP/guest IP, ussually starting with 192.168.x.x] ------------------------------------------------------------------------ vcxsrv download sourceforge.net/projects/vcxsrv/ ------------------------------------------------------------------------ Xming did not support XInput 2 Extention and MIT-SHM extension so we could use vcxsrv to use wireshark XInput2 extension provides advanced input handling, which Qt applications, like Wireshark, often require MIT-SHM extension allows applications to use shared memory for faster rendering, and without it, certain graphics operations may fail or revert to slower methods, sometimes resulting in connection errors over SSH. ------------------------------------------------------------------------ 11:07 X server does not support XInput 2 --> Uninstall Xming, install and use vcxsrv for X forwarding. Enable X sever to display "Mininet VM graphical application" as xterm or wireshark on your local computer: Step 1: Power up X Launch: On X Launch: Multiple Window and Display number "7" (any number you want) --> Start no client + Disable Access Control --> Finish Step 2: On command Prompt, type: ipconfig | findstr IPv4 -----> Get your local/host IPv4 Address(Ussually the first row) Step 3: Also on command Prompt, type: set DISPLAY=127.0.0.1:0.0 Step 4: On mininet, type: export DISPLAY=[your local/host IPv4 address]:7.0 --> your local/host IPv4 address + screen no. Step 5: type xterm or wireshark to open it on X forwarding. ------------------------------------------------------------------------
5:28 Permission Denied --> C:\Users\User\.ssh --> Open "known_hosts" with notepad and delete all --> Save Ctrl + S
------------------------------------------------------------------------
6:56 ssh with NAT and "port forwarding":
turn off VM
Step1: Enable "cable connected" --> Enable "port forwarding" --> Add rule: hostport 2223(or 2222,2224,etc...) guest port 22
Step2: On Command Prompt, type: ssh mininet@localhost -p 2223 or ssh mininet@127.0.0.1 -p 2223
------------------------------------------------------------------------
7:01 ssh with "host only adapter"(VM will appear on your local network"):
Step 1: turn off the VM --> Setting --> Network
Step 2: Enable the adapter 1 with NAT option for internet connection and remember to Enable "Cable Connected"
Step 3: Enable the adapter 2 with "host only adapter" and remember to Enable "Cable Connected"
Step 4: Power up the VM, type: ifconfig -a, see the "inet" to get the IP of the VM.
Step 5: On Command Prompt, type: ssh mininet@[your mininet-VM IP/guest IP, ussually starting with 192.168.x.x]
------------------------------------------------------------------------
vcxsrv download
sourceforge.net/projects/vcxsrv/
------------------------------------------------------------------------
Xming did not support XInput 2 Extention and MIT-SHM extension so we could use vcxsrv to use wireshark
XInput2 extension provides advanced input handling, which Qt applications, like Wireshark, often require
MIT-SHM extension allows applications to use shared memory for faster rendering, and without it, certain graphics operations may fail or revert to slower methods, sometimes resulting in connection errors over SSH.
------------------------------------------------------------------------
11:07 X server does not support XInput 2 --> Uninstall Xming, install and use vcxsrv for X forwarding.
Enable X sever to display "Mininet VM graphical application" as xterm or wireshark on your local computer:
Step 1: Power up X Launch: On X Launch: Multiple Window and Display number "7" (any number you want) --> Start no client + Disable Access Control --> Finish
Step 2: On command Prompt, type: ipconfig | findstr IPv4 -----> Get your local/host IPv4 Address(Ussually the first row)
Step 3: Also on command Prompt, type: set DISPLAY=127.0.0.1:0.0
Step 4: On mininet, type: export DISPLAY=[your local/host IPv4 address]:7.0 --> your local/host IPv4 address + screen no.
Step 5: type xterm or wireshark to open it on X forwarding.
------------------------------------------------------------------------