Sunday, December 26, 2021

Installing wireless Ethernet Driver in Debian

 



1. Add the line below to your /etc/apt/sources.list 

deb http://ftp.de.debian.org/debian buster main non-free
2. Launch Synaptic Package Manager search for iwlwifi, mark and apply changes. Restart and test.

Wednesday, December 22, 2021

vSRX initial configuration

 Topology:



1. start the CLI, enter configuration mode.

login: root

root@% cli


root> configure

Entering configuration mode

2. Set the root authentication password.

[edit]

root# set system root-authentication plain-text-password

New password:

Retype new password:



3. Set the host name.

[edit]

root# set system host-name VSRX1


4. Set Management interface IP Address, commit to save configuration.

[edit]
root@VSRX1# set interfaces fxp0.0 family inet address 192.168.100.11/24

[edit]
root@VSRX1# commit
commit complete

5. Send Ping and continue using JWEB.








Sunday, December 19, 2021

Convert .VMDK to .ISO using Qemu in Ubuntu

 1. Install qemu and utilities.

ariel@UBUNTU-E752:~$ sudo apt-get install qemu
ariel@UBUNTU-E752:~$ sudo apt install qemu-utils

 command: qemu-img convert -f vmdk filename.vmdk filename.raw

example:

ariel@UBUNTU-E752:~/Documents$ qemu-img convert -f vmdk FlowCollector.vmdk FlowCollector.raw

2. Write to .iso file"

command: dd if=filename.raw of=filename.iso

example:

ariel@UBUNTU-E752:~/Documents$ dd if=FlowCollector.raw of=Flowcollector.iso
104857600+0 records in
104857600+0 records out
53687091200 bytes (54 GB, 50 GiB) copied, 520.074 s, 103 MB/s

Wednesday, December 15, 2021

NMAP installation in Ubuntu Desktop

 1. ariel@UBUNTU-VM:~$ sudo apt install nmap

2. test NMAP like by scanning local network subnet.

ariel@UBUNTU-VM:~$ nmap -sn 192.168.100.0/24
Starting Nmap 7.80 ( https://nmap.org ) at 2021-12-15 23:02 +03
Nmap scan report for _gateway (192.168.100.1)
Host is up (0.00067s latency).
Nmap scan report for 192.168.100.2
Host is up (0.00090s latency).
Nmap scan report for UBUNTU-VM (192.168.100.11)
Host is up (0.00010s latency).
Nmap scan report for 192.168.100.30
Host is up (0.093s latency).
Nmap scan report for 192.168.100.34
Host is up (0.10s latency).
Nmap scan report for 192.168.100.45
Host is up (0.059s latency).
Nmap scan report for 192.168.100.51
Host is up (0.030s latency).
Nmap scan report for 192.168.100.67
Host is up (0.00040s latency).
Nmap scan report for 192.168.100.98
Host is up (0.00089s latency).
Nmap scan report for 192.168.100.200
Host is up (0.0028s latency).
Nmap scan report for 192.168.100.201
Host is up (0.00073s latency).
Nmap scan report for 192.168.100.254
Host is up (0.00034s latency).
Nmap done: 256 IP addresses (12 hosts up) scanned in 2.43 seconds

set up a remote connection to a Linux desktop

1. Use ssh to connect to Ubuntu Desktop and install xrdp

ariel@UBUNTU-VM:~$ sudo apt install xrdp

Type Y and hit Enter.


2. Test, by running rdp on Windows desktop and login to Ubuntu desktop.


3. When only black window is showing after the authentication. Make sure you log out via SSH or
current account is logged in. Try creating another account to avoid black screen issue.

SSH installation in Ubuntu Desktop

1. Try to connect to local host, [ssh local host]  if connection is refused. Install opeh-ssh


2. Type Y to install and press Enter.

3. Check if SSH service is running [sudo service ssh status]


4. Try to connect.




Friday, December 10, 2021

Configuring Ubuntu Docker IP Address

 

1.              Start container and edit network interface using Nano.

Nano /etc/network/interfaces

Remove the remark as shown on the images.



2. Stop and Start Ubuntu Docker appliance. Reconnect and test.






Friday, December 3, 2021

vCenter Server Appliance Deployment

1. Download and extract VMware VCSA compressed folder.

2.  Launch installer: 

     D:\Downloads\VMware-VCSA-all-6.7.0-18831133\vcsa-ui-installer\win32

3. Click Install.


4. Click NEXT.


5. Check license agreement box and click NEXT.


6. Select Embedded Platform Services Controller and click NEXT.


7. Type the IP address and root password of the target ESXI server where the vCenter appliance will be deployed and click NEXT.


8. Click YES to continue.


9. Type VCenter Server Name and root password. Click NEXT.


10. Click NEXT.


11.  Select Datastore, enable Thin Disk Mode and click NEXT.



12. Configure Network Settings and click NEXT.


13. Click FINISH.



14. Stage 2 Set UP vCenter Server Appliance. Click NEXT.



15. Synchronize time with ESXI host, enable SSH and click NEXT.


16. Create a new SSO domain and click NEXT.


17. Click FINISH to complete the installation.




Tuesday, November 23, 2021

GNS3 on ESXI 6.5 LAB Setup

 

1.       Virtual Switches, vSwitch0 (default) no modification.

2.       Added virtual switches Vswitch1 to 5 no physical network ethernet card for uplink.

Figure 1-all settings are default except VSwitch name

3.       Under Port  groups, GNS3, pnet1 to pnet5 is added.

Figure 2- Port Group GNS3, pnet1 to 5 created

 

 

4.       GNS3 port is under vSwitch0, set security to “Accept” for Promiscous mode, MAC address changes and Forged transmit.

5.       The rest of the port group pnet1 to 5 settings VLAN ID is set to 4095

Figure 3- configure other port group to corresponding vSwitch and set to Trunk (VLAN ID 4095)

 

Figure 4 - the rest of the port group VLAN ID is change to trunk, security is set to accept all.

 

6.       For the virtual machines network adapters, use E1000 adapter.

 


 7.       An Ubuntu Virtual Machine with E1000 Adapter type is also used to communicate to GNS3  VM using cloud interfaces.

 

 

Figure 5 - Test lab- UbuntuVM connected to pnet1