This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group = core | |
admin-port = 13000 | |
smsbox-port = 13001 | |
admin-password = p@ssw0rd | |
admin-deny-ip = "*.*.*.*" | |
admin-allow-ip = "127.0.0.1" | |
#wapbox-port = 13002 | |
#wdp-interface-name = "*" | |
log-file = "/var/log/kannel/kannel.log" | |
log-level = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo usermod -a -G dialout kannel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
crw-rw---- 1 root dialout 188, 1 Jan 18 12:40 ttyUSB_utps_pcui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -l /dev/ | grep ttyUSB_utps_pcui | |
crw-rw---- 1 root dialout 188, 1 Jan 18 12:40 ttyUSB_utps_pcui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/passwd | grep kannel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/usb_modeswitch --vendo 0x12d1 --product 0x1446 --type option-zerocd" | |
SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1003*", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="00", ATTRS{bInterfaceProtocol}=="ff", NAME="ttyUSB_utps_modem" | |
SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1003*", KERNEL=="ttyUSB*", ATTRS{bInterfaceNumber}=="01", ATTRS{bInterfaceProtocol}=="ff", NAME="ttyUSB_utps_pcui" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
#- name: Copy the MariaDB root non-interactive password | |
# template: src=mariadb_non_interactive_password.sh.j2 dest=/tmp/mariadb_non_interactive_password.sh owner=root group=root mode=0700 | |
# | |
#- name: Execute the MariaDB root non-interactive password file | |
# shell: /tmp/mariadb_non_interactive_password.sh | |
# | |
#- name: Delete the MariaDB non-interactive password file | |
# file: path=/tmp/mariadb_non_interactive_password.sh state=absent | |
- name: Set Debconf root_password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Copy the MariaDB root non-interactive password | |
template: src=mariadb_non_interactive_password.sh.j2 dest=/tmp/mariadb_non_interactive_password.sh owner=root group=root mode=0700 | |
- name: Execute the MariaDN root non-interactive password file | |
shell: /tmp/mariadb_non_interactive_password.sh | |
- name: Delete the non-interactive password file | |
file: path=/tmp/mariadb_non_interactive_password.sh state=absent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
export DEBIAN_FRONTEND=noninteractive | |
debconf-set-selections <<< 'mariadb-server mysql-server/root_password password {{ mariadb_root_password }}' | |
debconf-set-selections <<< 'mariadb-server mysql-server/root_password_again password {{ mariadb_root_password }}' |
NewerOlder