Can't get AccessPoint working on RP3

Raspberry Pi related support

Re: The Raspberry Pi 3

Postby hondagx35 » 02 Feb 2017, 21:13

Hi,

.... but in refresh_nics are still default values.
Is it normal ???

Yes, because those values are only default ones.

How can I make works dhcp on RuneAudio ??

Is the dnsmasq service running?
Code: Select all
root@runeaudio(rw):~# systemctl status dnsmasq
● dnsmasq.service - A lightweight DHCP and caching DNS server
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; disabled; vendor preset: disabled)
   Active: active (running) since Mon 2016-02-22 15:40:39 CET; 11 months 11 days ago
     Docs: man:dnsmasq(8)
  Process: 963 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 967 (dnsmasq)
    Tasks: 1 (limit: 512)
   CGroup: /system.slice/dnsmasq.service
           └─967 /usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file

Feb 22 15:40:39 runeaudio dnsmasq[963]: dnsmasq: syntax check OK.
Feb 22 15:40:39 runeaudio systemd[1]: Started A lightweight DHCP and caching DNS server.
Feb 22 15:40:39 runeaudio dnsmasq[967]: started, version 2.76 cachesize 150
Feb 22 15:40:39 runeaudio dnsmasq[967]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntr
Feb 22 15:40:39 runeaudio dnsmasq[967]: DBus support enabled: connected to system bus
Feb 22 15:40:39 runeaudio dnsmasq-dhcp[967]: DHCP, IP range 192.168.2.2 -- 192.168.2.254, lease time 1d
Feb 22 15:40:39 runeaudio dnsmasq[967]: reading /etc/resolv.conf
Feb 22 15:40:39 runeaudio dnsmasq[967]: using nameserver 192.168.0.1#53
Feb 22 15:40:39 runeaudio dnsmasq[967]: cleared cache


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The Raspberry Pi 3

Postby mrcrowley » 02 Feb 2017, 21:23

No. Failed.
I post it before.
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby mrcrowley » 03 Feb 2017, 23:24

So how I get active dnsmasq ??
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby mrcrowley » 05 Feb 2017, 23:45

Code: Select all
systemctl status dnsmasq.service
● dnsmasq.service - A lightweight DHCP and caching DNS server
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2017-02-05 23:43:40 CET; 26s ago
     Docs: man:dnsmasq(8)
  Process: 1244 ExecStart=/usr/bin/dnsmasq -k --enable-dbus --user=dnsmasq --pid-file (code=exited, status=1/F
  Process: 1240 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 1244 (code=exited, status=1/FAILURE)

Feb 05 23:43:39 runeaudio systemd[1]: Starting A lightweight DHCP and caching DNS server...
Feb 05 23:43:39 runeaudio dnsmasq[1240]: dnsmasq: syntax check OK.
Feb 05 23:43:40 runeaudio dnsmasq[1244]: dnsmasq: unknown user or group: dnsmasq
Feb 05 23:43:40 runeaudio systemd[1]: dnsmasq.service: Main process exited, code=exited, status=1/FAILURE
Feb 05 23:43:40 runeaudio systemd[1]: Failed to start A lightweight DHCP and caching DNS server.
Feb 05 23:43:40 runeaudio systemd[1]: dnsmasq.service: Unit entered failed state.
Feb 05 23:43:40 runeaudio systemd[1]: dnsmasq.service: Failed with result 'exit-code'.


Is something to do with unknown user or group dnsmasq ????
Should I reinstall dnsmasq or what else ???
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby hondagx35 » 06 Feb 2017, 00:23

Hi mrcrowley,

yes i would try reinstalling it.

Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The Raspberry Pi 3

Postby mrcrowley » 06 Feb 2017, 12:06

Reinstalling doesn't work.

I read from WikiArch of /etc/resolv.conf
On Rune /etc/resolv.conf is:
Code: Select all
# Generated by resolvconf
nameserver 192.168.1.1


For my situation I think that it should be: nameserver 192.168.2.1. What do you think ??
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby mrcrowley » 08 Feb 2017, 19:43

Well I am trying to solve this problem, but without a help, it will be impossible for me.
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby hondagx35 » 08 Feb 2017, 22:36

Hi mrcrowley,

Reinstalling doesn't work.

Did you remove it and then install it again?
Code: Select all
pacman -R dnsmasq
pacman -R dnsmasq


You can try to add user dnsmasq.
Code: Select all
delgroup dnsmasq
adduser dnsmasq
systemctl restart dnsmasq
systemctl status dnsmasq


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: The Raspberry Pi 3

Postby mrcrowley » 09 Feb 2017, 12:47

Removed and installed againg dnsmasq doesn't work.

Code: Select all
[root@runeaudio ~]# delgroup dnsmasq
-bash: delgroup: command not found
[root@runeaudio ~]# adduser dnsmasq
-bash: adduser: command not found
mrcrowley
 
Posts: 50
Joined: 21 Jun 2016, 14:39

Re: The Raspberry Pi 3

Postby hondagx35 » 09 Feb 2017, 12:52

Hi,

sorry my fault.

Code: Select all
useradd dnsmasq
groupdel dnsmasq


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 14 guests