More fixes
This commit is contained in:
parent
c3a7ed97dd
commit
cf0c8db76a
@ -158,12 +158,22 @@
|
|||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
- name: Assign static IP to ax0
|
||||||
|
shell: |
|
||||||
|
ip addr add {{ radio.ip_address }}/24 dev ax0 || true
|
||||||
|
ip link set ax0 up
|
||||||
|
|
||||||
- name: Enable and start hostapd
|
- name: Enable and start hostapd
|
||||||
systemd:
|
systemd:
|
||||||
name: hostapd.service
|
name: hostapd.service
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
- name: Assign static IP to wlan0
|
||||||
|
shell: |
|
||||||
|
ip addr add {{ network.lan_gateway }}/24 dev wlan0 || true
|
||||||
|
ip link set wlan0 up
|
||||||
|
|
||||||
- name: Enable and start dnsmasq
|
- name: Enable and start dnsmasq
|
||||||
systemd:
|
systemd:
|
||||||
name: dnsmasq.service
|
name: dnsmasq.service
|
||||||
|
|||||||
@ -16,3 +16,4 @@ radio:
|
|||||||
mycall: KI5QKX-11
|
mycall: KI5QKX-11
|
||||||
port_name: radio0
|
port_name: radio0
|
||||||
ip_address: 44.31.1.1
|
ip_address: 44.31.1.1
|
||||||
|
ptt: CM108
|
||||||
|
|||||||
@ -16,6 +16,7 @@ TXTAIL 10
|
|||||||
DWAIT 0
|
DWAIT 0
|
||||||
SLOTTIME 100
|
SLOTTIME 100
|
||||||
PERSIST 63
|
PERSIST 63
|
||||||
|
PTT {{ radio.ptt }}
|
||||||
|
|
||||||
# Log settings
|
# Log settings
|
||||||
LOGDIR /var/log/direwolf
|
LOGDIR /var/log/direwolf
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user