This is my first time messing with Linux so please forgive my ignorance.
I have an HP Elitebook 840 G8 that I’ve installed Ubi server on. I was trying to install a GUI on it, so I tried pulling the SLiM package from the web, but got "Temporary Failure resolving ‘Archive.ubuntu.com’.
This laptop doesn’t have an Ethernet Port, so I have to use a Microsoft USB-Ethernet dongle. But I haven’t been successful in getting that to work.
Is there a way for me to manually download the driver on a USB, then load it that way?
- is the wifi adapter recognised?
- do you have an ip address from your router/modem? generally 192.1698.x.y
- what’s the dns server address? see eg https://www.cyberciti.biz/faq/howto-linux-bsd-unix-set-dns-nameserver/
- can you ping your router / modem?
- can you pathping/traceroute/tracepath/… the site?
- can you ping/traceroute/… other sites?
the Wifi adapter is recognized, but if I try to ping ANYTHING, including the gateway, I get “ping: connect: network is unreachable”
Is your IP address 169.254.x.y by any chance? That would mean you can actually “see” the network but have no usable address (169.254.x.y is APIPA, you could say a fallback basically when no dhcp is available). Try “ip addr” on the commandline or “ifconfig” for us oldtimers
ifconfig gives "command not found, but can be installed with sudo apt net-tools. That command gives me "Temporary failure resolving ‘archive.ubuntu.com’
ip addr gives:
1: lo: <LOOPBACK, UP, LOWER_UP> mtu ##### 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 noprefixroute valid_lft forever preffered_lft forever 2: wlp02s20f3: <BROADCAST, MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether [MAC Address] brd [IPv6 MAC Address] 4: enx949aa9857457: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether [MAC Address] brd ff:ff:ff:ff:ff:ff
Your USB ethernet adapter is down according to this output.
In case Ubuntu server comes with e. g. dhclient installed, you should be able to get a working network connection by ensuring a cable is properly plugged into your USB ethernet adapter and running
sudo dhclient -v enx949aa9857457
You might want to post the output of that command here. Alternatively, configure the USB adapter using one of the management tools mentioned in this thread already.
You only have loopback addresses, that won’t work at all. Odd. Unless Ubuntu doesn’t use dhcp. You can try eg “sudo dhclient” or do a manual configuration in the range of your modem (eg ip 192.168.1.2, netmask /24 aka 255.255.255.0, gw 192.168.1.1, dns 9.9.9.9).
Vivek is (y)our friend: https://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/
Just install the Desktop version of Ubuntu. There is no difference if you want a GUI anyway. You can set the run level to not boot into GNOME after you get all your stuff setup.
This won’t be very easy to do and installing a GUI on a vanilla server system can cause issues (that are solvable but not welcome anyways). Start with a more user-friendly desktop distro like Ubuntu or Mint. You will have access to the terminal and all the magic of Linux on it so you can learn and practice what you need and then switch to something harder if you want
I was following this walk-through (https://lemmy.world/post/6542543) for getting Docker and all its container apps set up, so that’s why I went with Ubi Server. I downloaded 24.04 as its the latest version. Would Mint be able to substitute Server for those things?
My Daily Driver has Mint on it and its working just fine. If I can use Mint instead of Server, that’d make things so much easier.
Wait I thought you’re using Linux for the first time and went for an obscure server distro as your first one for some reason. Idk anything about servers except that they use ssh, private-public key pairs, firewalls and no DEs. I can’t help with them
Lol, I AM using Linux for the first time. But yea, I’m trying to use the most user-friendly things to accomplish what I want to do. Thanks anyway for trying. :)
This has happened to me on Debian. Try changing your DNS to 1.1.1.1 (Cloudflare’s public DNS) and seeing if that fixes anything.
I don’t know what causes this or why it works, but there’s always a DNS name resolution failure on my system if I don’t manually set a DNS.
your wireless adapter is not connected to your wireless network. you don’t have nmtui, but you ought to have nmcli by default, here’s ubuntu.com on how to use it to get connected, for free! with education connection
If you have NetworkManager installed (you should have), you can use
nmtui
, TUI tool.TUI is <u>T</u>erminal <u>U</u>ser <u>I</u>nterface, and IMO very user-friendly.
The first question which arises before proceeding with network manager: is the USB Ethernet dongle recognised?
You can check the output of
sudo dmesg
shortly after you plug in the dongle into the USB port.Yes. It sees it as “Ethernet Adapter - Microsoft”
Does it display further information, e.g. if the device is put into service correctly?
I dont see anything standing out.
usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd usb 4-2: new USB device found: idVendor , idProduct, bcdDevice usb 4-2: new USB Device Strings: mfr=1 product=2, serialnumber=6 usb 4-2: Product: Ethernet Adapter usb 4-2: Manufacturer: Microsoft usb 4-2: SerialNumber: xxxxxxxxxx usbcore: registered new device driver r8152-cfgselector r8152-cfgselector 4-2: reset SuperSpeed USB Device number 2 using xhci_hcd r8152 4-2:1.0: load rtl8153b-2 v2 successfully r8152 4-2:1.0 eth0: v1.12.13 usbcore: registered new interface driver r8152 usbcore: registered new interface driver cdc_ether r8152 4-2:1.0 enx949aa22353: renamed from eth0
Agree about nmtui. Nice tool.
When I try [sudo nmtui] it gives me "Command nmtui not found, but can be installed with: [sudo apt install network-manager].
Which circles me back to my original problem where I don’t have network connectivity.
So the question is what the hell is “Ubi server” and why doesnt it preinstall network-manager?
I would install both tools.
Ubi is just my short-hand for Ubuntu. And I’d love to be able to install Network-Manager, but I can’t/dont know a work-around
That would’ve helped to add in the original message. I dont think I’ve ever heard of “ubi” servers.
You can try installing the deb file I guess? If you google it I’m sure you can find it somewhere.
If you have an android phone and a usb cable for it, use usb tethering!
Connect it to the PC, and in android under connections switch to “usb tethering” under usb options.
But if you dont even have networkmanager installed (which is really really odd) then no idea if autoconnect works, likely not.
As a general rule, maybe don’t use shorthand terms you invented in posts that are supposed to provide information to the people trying to help you, just so you don’t confuse them any further.
Never heard of nmtui and nm is a pain, thanks!
-
According to this WiFi should work with Ubuntu 20.04 LTS 64 Bit Did you install 24.04 or 22.04 ?
-
I’d expect most USB devices to work out of the box. Did you try :
sudo dhclient
?
Easiest is probably to perform an installation that comes with a GUI. If the default Ubuntu installation iso is too large, there’s for example Lubuntu.
-
My go-to for a workaround to networking issues is to use USB Tethering from my phone. Most Android phones from the past decade or so should support it, not sure about Apple. It’s super handy because all the configuration is done via the phone, so the computer needs no drivers or settings. Just plug n play until you get things set up on the computer.