I apologize as I am not very skilled in Linux. I created a virtual machine yesterday and the network worked but I realized I didn't create the hard drive large enough so I made a new one. For some reason I am unable to connect to the internet on this one and I have no clue why. I am using the NAT connection within VirtualBox and running sudo lshw -c network gives the response below. I need internet to install package but I have no idea how to fix this. What should I try?
*-network description: Ethernet interface product: 82540EM Gigabit Ethernet Controller vendor: Intel Corporation physical id: 3 bus info: pci@0000:00:03.0 logical name: enp0s3 version: 02 serial: 08:00:27:75:04:57 size: 1Gbit/s capacity: 1Gbit/s width: 32 bits clock: 66MHz capabilities: pm pcix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=10.0.2.15 latency=64 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s resources: irq:19 memory:f0000000-f001ffff ioport:d010(size=8)