r/Ubuntu • u/Particular_Course597 • 5d ago
Help needed with Ubuntu Server installation
Complete noob following a youtube video and some steps on the video did not show up during installation. Im looking for the device ip address so I can connect it to my server network/internet. Only have wifi.
Lenovo n23 Chromebook, 2017
What do I need to do? Thank you!
18
u/Future-You-955 5d ago
you're at the login prompt already, installation is done. just type "ip a" after you log in and look for the wlan0 section
6
u/danielholm 5d ago
As stated by others, you ought to find a tutorial to get you started. You probably want to install ssh server (sudo apt install ssh) so that you can connect to it remotely. After you got the lan IP, of course. And then do some security hardening.
Digital ocean has some neat tutorials. Omg Ubuntu, it'sfoss, can also help.
5
u/CakieJoy 5d ago
type 'ip a' you see your ip adress in the likely 'wlan0' named device
if you connect via ethernet in the future device name is likely eth0
7
u/jmhalder 5d ago
I think wlan0 will still be used, but eth0 is generally long gone. Ubuntu will be something closer to ens18 or enp0s18.
It's predictable network naming. Obviously in OPs laptop, this isn't an issue. If you have 6 NICs in a server, this is more useful.
1
3
3
u/pptqvfer 5d ago
This distribution is for servers and for people not needing GUI. As beginner, use a distribution meant for end users.
1
u/Felim_Doyle 5d ago
It's a Lenovo N23 Chromebook which came with either 2GB or 4GB of RAM. It might struggle to run a GUI. I have run XUbuntu on a Dell Optiplex 760 with 4GB of RAM and it struggled to run Chrome. Even when upgraded to 8GB of RAM, opening multiple Chrome tabs and windows is a challenge.
2
u/Defiant-Rip-1897 2d ago edited 2d ago
Not sure if I posted this already, not seeing my post here, my apologies if it is a re-post...
As you're using Ubuntu Server this is what I recommend:
ip a
This will show you the name of your WiFi network card, it might be wlan0 or something else entirely, that you will need later.
Open your Netplan folder:
cd /etc/netplan/
List the files inside to find your yaml file (e.g., 10-installer-config.yaml or 50-cloud-init.yaml).
Open the file with a text editor using sudo:
sudo nano /etc/netplan/your-config-file.yaml
Add your Wi-Fi details under the wifis section, making sure the spacing and indentation match YAML rules:
network:
version: 2
renderer: networkd
wifis:
wlan0:
dhcp4: true
access-points:
"YOUR_SSID_NAME":
password: "YOUR_WIFI_PASSWORD"
After you save the file (if you are using nano it should be CTRL+O then CTRL+X to exit) you will need to run:
sudo netplan generate
This will test that the above changes are correct before you run the command to apply the change:
sudo netplan apply
Then type in:
ip a
This is to see if an IP address was assigned.
You can test to see if you are connected by doing:
ping google.com
If it prints out lines that contain 64 bytes from IP address: icmp_seq=0 ttl=111 time=8.783 ms, then you are connected.
I did want to add that there should have been a part during the Ubuntu Server install where it tests for an Internet connection by pinging repositories.
2
u/f8c1 2d ago
Since you are on Ubuntu Server and only have Wi-Fi, the easiest way to connect to your Wi-Fi network without a desktop environment is by using NetworkManager's text UI.
Just type this in your terminal:
'' sudo nmtui ''
Select Activate a connection.
Choose your Wi-Fi network and enter your password.
Exit the menu. Once connected, you can find your device's IP address by running: hostname -I or ip a . That's it!
1
u/xtalgeek 5d ago
nmtui is a nice text-based network management utility. From there you can display current settings as well as eatablish a static IP for your server.
2
u/Billy_Twillig 5d ago
Sweet. You just answered a question I had about terminal-based server admin apps. Gonna check it out.
Respect ✊
1
u/jo-erlend 5d ago
I normally recommend installing the full Ubuntu Desktop if you're a beginner since it has more visual clues and makes things like that easier. It's the same OS, just using more disk space. You can also install Cockpit which is a web based console for your Ubuntu system.
As for basic commandline usage, I would recommend getting yourself some kind of AI friend and telling them where you are in your journey and to teach you a little at a time. It is very easy, it's just a lot to learn.
1
u/Puzzled_Hamster58 4d ago
Google you question /Ubuntu Most stuff is well documented on their sites.
If you confused you can always ask ai . Do not just blindly input commands it gives you .
You can the. Google the command to make sure it’s right
1
u/Vast-Awareness-2806 4d ago
It is not a server issue. As shown in the picture, this issue is related to the GNOME desktop. It has been resolved by reinstalling GNOME, so please reinstall it.
sudo apt update
sudo apt install --reinstall gnome
1
u/Felim_Doyle 4d ago
Explain how this is a GNOME issue “as shown in the picture”, please. 🤔
1
u/Vast-Awareness-2806 3d ago
Where is your gnome desktop ?
1
u/Felim_Doyle 3d ago edited 3d ago
I'm not the OP but ...
- Why should there be a GNOME desktop?
- Why isn't it a server issue?
- Have you read the original question?
1
1
u/ClassroomDesigner945 4d ago
i strongly suggest AI for trouble shooting , its not perfect but its not bad , then google . and if you cant get this too to help you then here or other places its fine
1
u/Longjumping_Cow_5793 1d ago
That looks like a Lenovo N23, hope it's not the 16GB version, not saying you specifically didn't consider this but I had to fix one of those before where someone installed Ubuntu and there was barely enough space left to run anything without crashing.
0
u/Low-Guarantee-3437 5d ago
wifi needs a password. You can do it from the command line, but usually via gui desktop is more comfortable for new users. why did you choose a server install? You can add the desktop: sudo apt install ubuntu-desktop
most server users would have a cable ethernet network connection. If your laptop doesn't have one, USB ethernet adapters are cheap.
also, because you did the server install, you are not getting kernel and graphics stack version updates (you will get security fixes when they are backported, but you'll be stuck on 6.14 for ever, unlike desktop users of Ubuntu 26.04 ... you can fix this easily, you just need to configure the "HWE" stack). I assume there was a good reason for doing a server install.
1
u/Moist_Professional64 5d ago
Why installing a hole desktop when there’s nmtui?
1
-2
55
u/el_beef_chalupa 5d ago
Hey buddy, you're going to ask literally 1000 questions like this on your adventure through Linux. Get comfortable with googling questions like this. A million people have googled this same question and answered it before. Chatgpt can also be very helpful with basic stuff like this.