My YunoHost server
Hardware: Lenovo ThinkCentre M720q
YunoHost version: 11.0.9 (amd64, stable)
I have access to my server : Direct access via keyboard and screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I am having a very similar issue to the one described in this thread.
I have just installed Yunohost on a new server, and when booting up immediately after installation, it takes me to the command-line interface (CLI). So far, so good.
Normally, at this point, I am able to go to yunohost.local
via a web browser on a separate machine and log in to the admin portal to complete post-installation. However, at the moment, I cannot do this.
Logging in to the CLI using root
and yunohost
as username and password, and running hostname -I
to find my local IP address returns an empty line:
$ hostname -I
$
Below, I attach the output from the commands as recommended by tituspijean in that other thread. I am typing all of this by hand â there may be typing errors.
First: ip a
$ ip a
1: lo: <LOOPBACK,UP,LOWER,UP> mtu 65586 qdisc moqueue 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: eno1 <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether e8:6a:64:9e:c2:eb brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: wlp1s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether f4:d1:08:89:b1:88 brd ff:ff:ff:ff:ff:ff
Second: cat /etc/network/interfaces
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
There are no other commented-out sections here â I notice the original poster of the other thread had sections called # The primary network interface
and # This is an autoconfigured IPv6 interface
. I donât.
Third: ls /etc/network/interfaces.d
$ ls /etc/network/interfaces.d
$
This matches the output that the other threadâs OP got.
Fourth: cat /etc/network/interfaces.d/*
$ cat /etc/network/interfaces.d/*
cat: '/etc/network/interfaces.d/*': No such file or directory
This matches the output that the other threadâs OP got.
Tituspijean recommended that the OP edit /etc/network/interfaces
so that it contained the ethernet network that was appearing in their result of ip a
, replacing another one that was in there by mistake.
However, I am really unfamiliar with how this config file works, and I want mine to run on the Wifi rather than an ethernet cable. Without knowing how the other threadâs OPâs instances
file looked when it corrected the issue, I am really unsure about how mine should look.
Can anyone shed some light, please?