Ubuntu Suomen keskustelualueet

Ubuntun käyttö => Ubuntu tietokoneissa => Aiheen aloitti: samsunix - 19.08.18 - klo:19.47

Otsikko: DNS ongelma: Ubuntu 18.04 ja wifi
Kirjoitti: samsunix - 19.08.18 - klo:19.47
Moro,

Asentelin tuossa pitkästäaikaa ubuntua tolle vanhalle 901:lle mikä vieläkin mukana pyörii. Lähinnä videovalvontaa hoitaa sisätiloissa ja takapihalla. Eli ei graafista työpöytää kun ei tuo romu oikein tahdo muutenkaan jaksaa.

Kaikki toimii muuten hienosti mutta, vähän harmittaa tuo Internet yhteyden puuttuminen wifi -yhteydessä. (helpottaisi elämää kun kone voisi upata tiedostot suoraan Onedriveen yms...)

Conffit näyttää tältä:

/etc/netplan/01-netcfg.yaml
Koodia: [Valitse]
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  wifis:
    wlp1s0:
      dhcp4: no
      dhcp6: no
      addresses: [192.168.0.220/24]
      gateway4: 192.168.0.1
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
      access-points:
        UPC9D31E57:
          password: salainensalasana
Koodia: [Valitse]
samsunix@tricknix:~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 28  bytes 2716 (2.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28  bytes 2716 (2.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.220  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2a02:a311:8142:b100:222:43ff:fe24:c51  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::222:43ff:fe24:c51  prefixlen 64  scopeid 0x20<link>
        ether 00:22:43:24:0c:51  txqueuelen 1000  (Ethernet)
        RX packets 869  bytes 80144 (80.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 978  bytes 151713 (151.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
En tiedä onko resolv.conffi enää mukana kuvioissa mutta sisältö on tämä:
Koodia: [Valitse]
samsunix@tricknix:~$ cat /etc/resolv.conf
# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "systemd-resolve --status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs must not access this file directly, but only through the
# symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,
# replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53

Kaikki vinkit tervetulleita

- Samuli