Unable to get ip address in Virtual box`

I’m trying to SSH to Virtual box from Windows. I’m able to connect VM but ifconfig is not showing ip address.

I’ve also changed network settings to Bridged adapter. Please help.

Nho IP

Hello @padma_devops,
Can you please provide us with a screenshot of this command? nmcli connection show

Please take a look at the attached output.

Hello @padma_devops,
Please try this command nmcli connection up enp0s3 and check again your ip.

1 Like

It is working now.
Please let me know what issue command " nmcli connection up enp0s3" fixed?

Also if I keep my VM idle for sometime, I get below time and not able bring home page. I always do restart. Please let me know how this can be resolved and bring home page back?

Hello @padma_devops,
you were using the incorrect profile, this command nmcli connection up enp0s3 will enable the correct profile which has the correct settings. check this https://opensource.com/article/20/7/nmcli for more info about network profiles.
And sorry I can’t get your second question.

Thank you for the details.

Once I have VM idle for 10-15 mins, I get this blue screen and not sure how to go back or get rid rid of this time/ date page.
Can you please help?