I made the dnsmasq setting less specific, after reading that by default, dnsmasq is "open" and naming something makes it more closed. Took it to school, and it works fine again. Thanks all for your...
Type: Posts; User: hawaiiman; Keyword(s):
I made the dnsmasq setting less specific, after reading that by default, dnsmasq is "open" and naming something makes it more closed. Took it to school, and it works fine again. Thanks all for your...
IPTABLES -I INPUT -i LAN_IFACE -p udp --dport 67:68 --sport \ 67:68 -j ACCEPT
would this get dhcp working?
just to try, I disabled and purged ufw. too much stuff happening.
netstat -plunt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:53 ...
# Configuration file for dnsmasq.
#
# Format is one option per line, legal options are the same
# as the long options legal on the command line. See
# "/usr/sbin/dnsmasq --help" or "man 8...
yes to 10.10.0.1 yes to 127.0.0.1 no to eth0 or past that
/usr/sbin/dnsmasq -d
dnsmasq: failed to bind DHCP server socket: Address already in use
@Darkod, the server just started breaking down. Hosts had no internet. We'd go back on the router for a few hours/days (I'm busy with other stuff) then turn server back on and no problem. Then that...
BTW, we're running the LAN off the router now. Unrestricted router DHCP to 192.168.1.10-150. I'm currently trying to broadcast a live webcam to a page on our webpage, which thgis server hosts.
@theDaveTheRave. adsl over fiber router modem->eth0-> box->eth3 10.10.0.1-LAN 10.10.0.10-150 255.255.255.0. ->switch-> clients. Network topology-extended star. 192.168.1.1 deals dhcp to box, although...
/usr/bin/dnsmasq -d
bash: /usr/bin/dnsmasq: No such file or directory
ps -aux|grep dnsmasq
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
dnsmasq 1214 0.0 0.1 23892 2032 ? S 17:15 0:00 /usr/sbin/dnsmasq -x...
ps -aux|grep dnsmasq
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
dnsmasq 1214 0.0 0.1 23892 2032 ? S 17:15 0:00 /usr/sbin/dnsmasq -x...
I did another check, and I suspect dnsmasq may not be listning on the proper ports and/or that the proper ports may not be open. Can you help me with this? Is it correct to assume that if forwarding...
I did another check, and I suspect dnsmasq may not be listning on the proper ports and/or that the proper ports may not be open. Can you help me with this? Is it correct to assume that if forwarding...
I have no idea how to determine if another instance of dnsmasq is running.
#Never forward plain names (without a dot or domain part)
#domain-needed
#Never forward addresses in the non-routed...
I've spent some time checking various how to's concerning dnsmasq setup. I am intending it to be a dns cache and a dhcp server, and it functioned nicely for 6 months.
I was researching problems with dnsmasq. This command is suposed to identify the item causing such a conflict. Unfortunately the answer didn't show in red, but bootp in red seemed to be the response.
# The loopback network interface
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.255.255.0
# The primary network interface
auto eth0
iface eth0 inet dhcp
gateway 192.168.1.1
dnsmasq: failed to bind DHCP server socket: Address already in use
root@JPRSchool:~# iptables -L -nv -t nat
Chain PREROUTING (policy ACCEPT 3034 packets, 218K bytes)
pkts bytes target prot...
iptables -L -nv
Chain INPUT (policy ACCEPT 172 packets, 53184 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- eth1 ...
https://help.ubuntu.com/10.04/serverguide/firewall.html......??
ok, i removed eth1 from machine, entered eth3 in interfaces, flushed rules and re-entered, set client ip to 10.10.0.10 as dhcp range starts there. client can now ping 10.10.0.1, but not 8.8.8.8...
Ok. so what's next?
Yes. I don't believe it's a rules problem. Everything was going perfect, and then changed. It may have been when I did update/upgrade . Maybe network manager caused it? I've turned of network...