climateprediction.net home page
Running Ubuntu on VMware

Running Ubuntu on VMware

Questions and Answers : Unix/Linux : Running Ubuntu on VMware
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Alan K

Send message
Joined: 22 Feb 06
Posts: 490
Credit: 30,766,944
RAC: 10,886
Message 61771 - Posted: 22 Dec 2019, 11:51:18 UTC

I am a relative newcomer to the world of Linux and have recently installed Ubuntu 18.04 in VMware on a win10 machine with BOINC 7.9.3. Initial installation went OK (after some hiccups with 32bit libraries) and have successfully run N144 models. Am now just over halfway through two N216 models but BOINC is no longer talking to the outside world. Neither is Mozilla!. As far as I know nothing changed on the setup appart from an unexpected computer shutdown - no work lost fortuntely. The problem is obviously that there is something odd about the network setup. VMware is using NAT and Win10 is talking quite happily to the outside world. I assume that Ubuntu should be using a VPN but I am not sure how to configure it - DHCP or manual. Can anyone offer me some advice please?
ID: 61771 · Report as offensive     Reply Quote
lazlo_vii

Send message
Joined: 11 Dec 19
Posts: 108
Credit: 3,012,142
RAC: 0
Message 61774 - Posted: 22 Dec 2019, 18:56:28 UTC - in response to Message 61771.  
Last modified: 22 Dec 2019, 18:56:43 UTC

When logged in to Ubuntu terminal what is the output of:

sudo ip link
sudo ip addr
route
ID: 61774 · Report as offensive     Reply Quote
Profile Alan K

Send message
Joined: 22 Feb 06
Posts: 490
Credit: 30,766,944
RAC: 10,886
Message 61785 - Posted: 23 Dec 2019, 16:39:36 UTC - in response to Message 61774.  

alan@ubuntu:~$ sudo ip link
[sudo] password for alan:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens33: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:0c:29:32:08:85 brd ff:ff:ff:ff:ff:ff
alan@ubuntu:~$

alan@ubuntu:~$ sudo ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:0c:29:32:08:85 brd ff:ff:ff:ff:ff:ff

alan@ubuntu:~$ route

Command 'route' not found, but can be installed with:

sudo apt install net-tools

alan@ubuntu:~$ sudo apt install net-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
net-tools
0 to upgrade, 1 to newly install, 0 to remove and 35 not to upgrade.
Need to get 194 kB of archives.
After this operation, 803 kB of additional disk space will be used.
Err:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 net-tools amd64 1.60+git20161116.90da8a0-1ubuntu1
Could not resolve ‘us.archive.ubuntu.com’
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/n/net-tools/net-tools_1.60+git20161116.90da8a0-1ubuntu1_amd64.deb Could not resolve ‘us.archive.ubuntu.com’
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Does this make sense?
ID: 61785 · Report as offensive     Reply Quote
lazlo_vii

Send message
Joined: 11 Dec 19
Posts: 108
Credit: 3,012,142
RAC: 0
Message 61786 - Posted: 23 Dec 2019, 17:49:32 UTC - in response to Message 61785.  

Your virtual network adapter seems to have fallen down:

2: ens33: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:0c:29:32:08:85 brd ff:ff:ff:ff:ff:ff


Try:

sudo ip link set ens33 up && sudo dhclient ens33
ID: 61786 · Report as offensive     Reply Quote
Profile Alan K

Send message
Joined: 22 Feb 06
Posts: 490
Credit: 30,766,944
RAC: 10,886
Message 61788 - Posted: 23 Dec 2019, 23:20:04 UTC - in response to Message 61786.  

That worked! Have just got 5 new N144 tasks!!! Thanks Lazlo. Have installed the net tools as well.
ID: 61788 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4529
Credit: 18,661,594
RAC: 14,529
Message 61794 - Posted: 24 Dec 2019, 11:06:26 UTC

Your virtual network adapter seems to have fallen down:


Some network adaptors seem to drop out after a while on Ubuntu. Mine does on laptop. If I use a USB network adaptor I have it seems to stay up.
ID: 61794 · Report as offensive     Reply Quote
lazlo_vii

Send message
Joined: 11 Dec 19
Posts: 108
Credit: 3,012,142
RAC: 0
Message 61796 - Posted: 24 Dec 2019, 12:02:39 UTC - in response to Message 61794.  
Last modified: 24 Dec 2019, 12:03:01 UTC

Some NIC chipsets have issues with Linux, ESXi, *BSD, and/or Windows. From my personal view it is 50% about the drivers used by the OS kernel and 50% about the driver model chosen for the virtual NIC when creating the VM. But I am just one data point.
ID: 61796 · Report as offensive     Reply Quote
Bryn Mawr

Send message
Joined: 28 Jul 19
Posts: 148
Credit: 12,830,559
RAC: 228
Message 61798 - Posted: 24 Dec 2019, 12:38:39 UTC - in response to Message 61794.  

I had that happen once on a laptop, I “cured” it by setting the power saving option off to prevent the os from disabling the network when not in use.
ID: 61798 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Running Ubuntu on VMware

©2024 cpdn.org