configure a DHCP/DNS sever with wifi AP and ethernet connection on ubuntu 16.04
€30-250 EUR
Closed
Posted about 6 years ago
€30-250 EUR
Paid on delivery
We need to migrate a DHCP/DNS server from a Raspberry pi3 using DNSMASQ with 1 ethernet connexion and 2 wifi connexions to a NUC under ubuntu 16.04 with 1 ethernet connexion, a wifi integrated device and a wifi dongle.
The server has to handle a service providing a DHCP service to a private network using eth0 and wlan0 with a range address 1.0.0.2 to 1.0.15.254. (the NUC as the PI3 we were using is acting like a DNS server, providing IP up to 2569 computers).
The server (NUC) will have a fixed ip 1.0.0.1 and a fixed domain name.
The ssid network would be named with a fixed ssid name.
The wlan1 should be able as a wifi client to connect to a different ssid network to connect to the internet (ip adress provided by a dhcp server).
We provide the screen of the original pi3 showing the ifconfig output.
We provide also the dnsmasq conf file on the original raspberry working system.
The drivers on the NUC will have to be adapted.
You will have access to the NUC by teamviewer.
You will have to configure the NUC and to provide us a minimal documentation to let us change parameters like the ssid, domain name, etc.
here is a dump of the [login to view URL] file on the working PI3:
interface=br0
listen-address=1.0.0.1
bind-interfaces
local=/argos/
domain=argos
domain-needed
bogus-priv
dhcp-sequential-ip
dhcp-range=1.0.0.2,1.0.15.254,[login to view URL],36h
ifconfig on the original PI3
br0 Link encap:Ethernet HWaddr 74:da:38:c9:b1:d0
inet addr:1.0.0.1 Bcast:1.0.15.255 Mask:[login to view URL]
inet6 addr: fe80::76da:38ff:fec9:b1d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197 errors:0 dropped:0 overruns:0 frame:0
TX packets:209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22485 (21.9 KiB) TX bytes:29831 (29.1 KiB)
eth0 Link encap:Ethernet HWaddr b8:27:eb:fe:3a:03
inet6 addr: fe80::ba27:ebff:fefe:3a03/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197 errors:0 dropped:0 overruns:0 frame:0
TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22485 (21.9 KiB) TX bytes:40887 (39.9 KiB)
lo Link encap:Local Loopback
inet addr:[login to view URL] Mask:[login to view URL]
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:71 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:4061 (3.9 KiB) TX bytes:4061 (3.9 KiB)
wlan0 Link encap:Ethernet HWaddr 74:da:38:c9:b1:d0
inet6 addr: fe80::76da:38ff:fec9:b1d0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:5658 (5.5 KiB)
wlan1 Link encap:Ethernet HWaddr b8:27:eb:ab:6f:56
inet addr:[login to view URL] Bcast:[login to view URL] Mask:[login to view URL]
inet6 addr: fe80::ba27:ebff:feab:6f56/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:655 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:124600 (121.6 KiB) TX bytes:14846 (14.4 KiB)
Eth0 and wlan0 will be bridged to serve an internal network with sequential ip. The range will be 1.0.0.2 -1.0.15.254.
The ssid brodcasted by wlan0 will be fixed and the pswd also.
wlan1 have to be a wifi client to be able to connect to an external network with its own dhcp.
The NUC used is a Nuc Arches Canyon Nuc6cayh with 4Gb of ram and a 32GB ssd. The internal wifi chips is a Intel® Wireless-AC 3168. Product page [login to view URL]
The wifi dongle serving wlan1 for external connexion is an Edimax EW-7811UN Nano Adaptateur.
All the system packages have been updated and upgraded with the last version.