Linux server no network connection

Install 18.04 server without network connection

The latest version of Ubuntu server (18.04) seems to demand network configuration and refuse to boot without it. I have no desire to connect the server in question to the internet for anything, and have installed previous versions of Ubuntu server without network no questions asked. Is a network connection an absolute requirement for the latest version of Ubuntu server? Or is there something I’m missing? The installation cannot proceed past the network configuration page unless an ethernet connection is active, by my current estimates. I have no ethernet network within range of the machine so can’t test it on an internet-less network. I only have WiFi within immediate range (which does have internet access) but it won’t recognise the device and it should be simpler to get the installation to happen without any updates than to go to the effort of finding the drivers to support the WiFi adapter. Note that this is NOT a duplicate of How to install Ubuntu Server without network connection? since the new installer seems to be the real problem here.

Can you update your question with details of where you get stuck , what you have tried to fix the problem, and why the second answer in the link you gave or the mini .iso does not solve your problem ? Otherwise your question is unclear at best and seems to me to be a duplicate. If you feel the installer has a bug, file a bug report.

The installation falls over at network configuration which there seems to be no way to bypass. The first answer details skipping the network configuration by pressing Esc, which simply goes to the previous installation page in the latest version. The second answer seems to be addressing the installation of packages (which is presumably not the reason that I can’t bypass network configuration).

Читайте также:  Linux сборка одного модуля

And the mini iso ? help.ubuntu.com/community/Installation/MinimalCD . You will almost certainly need to file a bug report against the server installer

I’m not entirely convinced that an ISO which actually installs packages from the internet at install time would help me to install without an internet connection? Am I really confused or have I mislead you by linking the other question?

Yes the installer seems to require a network connection. The mini.iso require internet. A fast workaround will be to plug some cable and switch/hub to pass the network step of install process

Источник

No internet connection after ubuntu server 20.04 install, ifconfig not available

I recently installed Ubuntu Server 20.04 LTS on my desktop, and found out there was no internet connection even though I had the LAN cable connected. ifconfig and iwconfig failed saying the corresponding packages net-tools and wireless-tools were not installed. EDIT Here is the info requested. Please find the image here.

Also ip link . Look at service NetworkManager status , to. The whole ifconfig/ifup/ifdown system is depreciated in later Ubuntu releases.

Please edit your question to show the result of the terminal command: cat /etc/netplan/*.yaml Welcome to Ask Ubuntu.

Along with @chili555 request, also please show us sudo lshw -C network and cat /etc/network/interfaces .

2 Answers 2

Networking in Ubuntu server is managed by netplan. Your file lacks the details needed to connect the ethernet properly.

First, let’s rename the file:

sudo mv /etc/netplan/*.yaml /etc/netplan/01-netcfg.yaml 

Now, let’s change it to include the required details:

sudo nano /etc/netplan/01-netcfg.yaml 
network: version: 2 renderer: networkd ethernets: ens33: dhcp4: true 

Netplan is very particular about spacing, indentation, etc. Proofread carefully twice. Save (Ctrl+o followed by Enter) and exit (Ctrl+x) the text editor. Follow with:

sudo netplan generate sudo netplan apply 

Источник

Читайте также:  Registry explorer kali linux

Ubuntu Server 20.04 no internet connection/network unclaimed

I tried installing Ubuntu Server 20.04 on my Gigabyte B550i with an Realtek Ethernet Controller and wireless. I want to use ethernet (I don’t care about wireless), but I wasn’t able to set it up during installation and cat /etc/netplan.*yaml returns just:

and lshw -C network lists both networks, the ethernet one unclaimed, the wireless one diabled. /etc/network/interfaces is empty, I tried different file contents, but nothing worked. What am I doing wrong? I tried installing some kind of drivers, but didn’t succeed. EDIT ip a returns

1: lo: mtu 65536 qdisc noqeue state UNKOWN 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 preffered_lft forever inet6 ::1/128 scope ost valid_lft forever preferred_lft forever 2: wlp6s0 mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 34:cf:f6:b7:d4:8c brd ff:ff:ff:ff:ff:ff:ff 

Please show me sudo dmidecode -s bios-version . Start comments to me with @heynnema or I’ll miss them.

3 Answers 3

Your netplan .yaml file is broken.

ls -al /etc/netplan # get .yaml filename

sudo lshw -C network # identify ethernet device name, enxxxxxx

Initially make its content the following, with EXACLY the same spacing, indentation, and no tabs:

network: version: 2 renderer: networkd ethernets: en01: dhcp4: true dhcp6: true optional: true wifis: wlp6s0: dhcp4: true dhcp6: true access-points: "YourWifiNetworkName": password: "WifiNetworkPassword" 

The current BIOS is version F2a, dated 6/16/2020, and can be downloaded here.

Note: Confirm that I have the correct web page for your motherboard model #.

Note: Have good backup before updating the BIOS.

With the newer ethernet controller that you have, you may need to run with a newer kernel than stock from Ubuntu 20.04.1.

Go here to download the latest 5.8.3 kernel. Get the 4 regular .deb files, not the lowlatency files.

Читайте также:  Как запустить линукс убунту

Word is that not even kernel 5.8.3 supports the RTL8125! Kernel 5.9 is supposed to support it, but there is only a 5.9-rc2 (rc2 means release candidate #2) version available now. see https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9-rc2/.

In the mean time, download this Linux driver from Realtek, and it should work. https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software. Get the one for «2.5G Ethernet LINUX driver r8125 for kernel up to 5.6». and use your original 5.4.x kernel.

Ordered a $13 TP-Link USB 3.0 Ethernet dongle to be able to connect and download/install required Ubuntu packages. https://www.amazon.com/dp/B00YUU3KC6

Installed USB to Ethernet adapter. Installed build-essential . Built driver. Everything works. Wireless will be completed when the need arises. Will need to install wpasupplicant .

Источник

No wired ethernet connection detected on Ubuntu 20.04 server

I have an ubuntu 20.04 server. When installing I connected an ethernet cable to the motherboard ethernet port. I know for a fact that the internet cable is OK, as I have a different server, which connects like it should Relevant information $ lspci | grep -i eth yields:

02:00.0 Ethernet controller: Realtek Semiconductor Co., RTL8125 2.5GbE Controller (rev 04) 
*-network UNCLAIMED description: Ethernet controller product: RTL8125 2.5GbE Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 version: 04 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix vpd cap_list configuration: latency=0 resources: ioport:3000(size=256) memory:a1100000-a110ffff memory:a1110000-a1113fff 
1L lo: 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 
# The loopback network interface auto lo iface eth0 lo inet loopback # The primary network interface iface eth0 inet dhcp 
# This is the network config written by 'subiquity' network: version: 2 renderer: networkd ethernets: ens33: dhcp4: true 

I have tried several options (this, that, that and that) but none are working for me. Am I missing something?

Источник

Оцените статью
Adblock
detector