You are not logged in.

#1 2015-10-13 13:35:42

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

dnsmasq cannot create listening address [Solved]

I am trying to setup dnsmasq and am having some problems. When I start the service it says

 dnsmasq: failed to create listening socket for 10.0.1.100: Cannot assign requested address

here is my dnsmasq.conf

dhcp-host=00:25:22:43:83:28,10.0.1.100
listen-address=10.0.1.100
strict-order
bind-interfaces
interface=wlp0s6f1u3
dhcp-range=10.0.1.110,10.0.1.120,255.255.255.0,12h
dhcp-option=6,208.67.222.222,208.67.220.220

I was using connman to handle my network connection on this computer. dnsmasq cannot start unless I stop connman. I can start both if I do this

1. comment out listen-address=
2. stop connman.service
3. start dnsmasq.service
4. start connman.service
5. comment in listen-address=
6. start dnsmasq.service


If I do those steps dnsmasq than shows my clients connected and it runs without error.

Last edited by mich04 (2015-12-18 14:54:03)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#2 2015-10-14 14:34:47

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: dnsmasq cannot create listening address [Solved]

Is there a way to get dnsmasq to assign the server a static ip address. Right now I have to use my router to assign it first. I can than turn the server off on the router and dnsmasq will take over. I restart the server and I am back to the same problem.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#3 2015-10-14 15:10:35

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: dnsmasq cannot create listening address [Solved]

Nevermind this is a dumb question I found the answers I was looking for. I was just not thinking it through well.


https://wiki.archlinux.org/index.php/Sy … _static_IP

Last edited by mich04 (2015-10-14 15:10:55)


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

Board footer

Powered by FluxBB