weixin_39638086
weixin_39638086
2021-01-10 07:04

Dnsmasq problem


Config dir: /tmp/create_ap.wlp20s0.conf.HyovMEsk
PID: 19767
wlp20s0 is already associated with channel 1 (2412 MHz)
Creating a virtual WiFi interface... ap0 created.
Network Manager found, set ap0 as unmanaged device... DONE
Sharing Internet using method: nat

dnsmasq: directory /etc/resolv.conf for resolv-file is missing, cannot poll

Doing cleanup.. done

Previously did not give such error.

该提问来源于开源项目:oblique/create_ap

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39638086 weixin_39638086 4月前

    I solved the problem manually create a resolv.conf file.Thanks.

    点赞 评论 复制链接分享
  • weixin_39659748 weixin_39659748 4月前

    Ok, btw you could do: resolvconf -u

    点赞 评论 复制链接分享
  • weixin_39659748 weixin_39659748 4月前

    What version do you have? Did you have internet connection when this happen? Do you use NetworkManager, if yes then what version?

    点赞 评论 复制链接分享
  • weixin_39638086 weixin_39638086 4月前
    
    └──>>pacman -Qi networkmanager
    İsim            : networkmanager
    Version         : 1.0.10-2
    Description     : Network Management daemon
    Architecture    : x86_64
    URL             : http://www.gnome.org/projects/NetworkManager/
    Licenses        : GPL2  LGPL2.1
    Groups          : Hiçbiri
    Provides        : Hiçbiri
    Depends On      : libnm-glib  iproute2  libnl  polkit  wpa_supplicant  dhclient
                      libsoup  libmm-glib  libnewt  libndp  libteam  libgudev
    Optional Deps   : dnsmasq: connection sharing [kuruldu]
                      bluez: Bluetooth support [kuruldu]
                      openresolv: resolvconf support [kuruldu]
                      ppp: dialup connection support [kuruldu]
                      rp-pppoe: ADSL support
                      modemmanager: cellular network support [kuruldu]
    Required By     : tlp-rdw
    Optional For    : blueman  firefox  geoclue  libproxy  packagekit
    Conflicts With  : Hiçbiri
    Replaces        : Hiçbiri
    Installed Size  : 16,11 MiB
    Packager        : Jan Alexander Steffens (heftig) <jan.steffens.com>
    Build Date      : Sal 05 Oca 2016 22:37:36 UTC
    Install Date    : Pzt 25 Oca 2016 16:31:08 UTC
    Install Reason  : Doğrudan kurulmuş
    Install Script  : Evet
    Validated By    : İmza
    </jan.steffens.com>
    点赞 评论 复制链接分享
  • weixin_39638086 weixin_39638086 4月前

    But I am using connman

    
    └──>>pacman -Qi connman
    İsim            : connman
    Version         : 1.31-2
    Description     : Wireless LAN network manager
    Architecture    : x86_64
    URL             : https://01.org/connman
    Licenses        : GPL2
    Groups          : Hiçbiri
    Provides        : Hiçbiri
    Depends On      : dbus  iptables  gnutls  glib2
    Optional Deps   : bluez: Support for Bluetooth devices [kuruldu]
                      wpa_supplicant: For WiFi devices [kuruldu]
                      pptpclient: for ppp support
    Required By     : connman-ui-git  connman_dmenu-git  qconnman-git
    Optional For    : enlightenment17
    Conflicts With  : Hiçbiri
    Replaces        : Hiçbiri
    Installed Size  : 1403,00 KiB
    Packager        : Antonio Rojas <arojas.org>
    Build Date      : Cum 05 Şub 2016 15:30:45 UTC
    Install Date    : Cum 19 Şub 2016 21:05:30 UTC
    Install Reason  : Doğrudan kurulmuş
    Install Script  : Hayır
    Validated By    : İmza
    
    </arojas.org>

    Dnmasq version

    
    └──>>dnsmasq -v
    Dnsmasq version 2.75  Copyright (c) 2000-2015 Simon Kelley
    Compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
    
    This software comes with ABSOLUTELY NO WARRANTY.
    Dnsmasq is free software, and you are welcome to redistribute it
    under the terms of the GNU General Public License, version 2 or 3.
    
    点赞 评论 复制链接分享
  • weixin_39659748 weixin_39659748 4月前

    I need more details because if /etc/resolv.conf is missing then you will not be able to access any domains.

    Do you run create_ap manually or from systemd? If you run it from systemd, did you enable it to run on boot? If you run it manually, did you have internet connection at that time?

    点赞 评论 复制链接分享

相关推荐