Changes between Version 57 and Version 58 of expansion/gw16146
- Timestamp:
- 06/20/2024 03:59:32 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
expansion/gw16146
v57 v58 868 868 }}} 869 869 870 To start mesh on every boot, a system service (read more on [https://www.google.com/search?q=should+i+use+a+system+service+instead+of+rc.local&sca_esv=7848dc2536e4d400&sca_upv=1&biw=1920&bih=959&ei=a1F0ZvTEMPKE0PEP4-O08AE&ved=0ahUKEwi0poz7xeqGAxVyAjQIHeMxDR4Q4dUDCBE&uact=5&oq=should+i+use+a+system+service+instead+of+rc.local&gs_lp=Egxnd3Mtd2l6LXNlcnAiMXNob3VsZCBpIHVzZSBhIHN5c3RlbSBzZXJ2aWNlIGluc3RlYWQgb2YgcmMubG9jYWwyBRAhGKABMgUQIRigATIFECEYoAFIiDlQAFj6N3ADeACQAQCYAW6gAZQkqgEENDMuObgBA8gBAPgBAZgCN6ACzibCAhQQLhiABBiRAhjHARiKBRiOBRivAcICERAuGIAEGJECGNEDGMcBGIoFwgIOEAAYgAQYsQMYgwEYigXCAhEQLhiABBixAxjRAxiDARjHAcICCxAuGIAEGLEDGIMBwgILEAAYgAQYsQMYgwHCAggQABiABBixA8ICDhAuGIAEGLEDGNEDGMcBwgIjEC4YgAQYkQIYxwEYigUYjgUYrwEYlwUY3AQY3gQY4ATYAQHCAgsQABiABBiRAhiKBcICDhAuGIAEGMcBGI4FGK8BwgIKEAAYgAQYQxiKBcICFhAuGIAEGLEDGNEDGEMYgwEYxwEYigXCAggQLhiABBixA8ICBRAAGIAEwgILEC4YgAQYxwEYrwHCAiUQLhiABBixAxjRAxhDGIMBGMcBGIoFGJcFGNwEGN4EGOAE2AEBwgIGEAAYFhgewgIIEAAYFhgeGA_CAgsQABiABBiGAxiKBcICCBAAGIAEGKIEwgIFECEYnwXCAgUQIRirApgDALoGBggBEAEYFJIHBTM1LjIwoAfF6gI&sclient=gws-wiz-serp google]) can be setup or a simple /etc/rc.local script like so: 871 {{{ 872 sleep 2s 873 iw reg set US && ifconfig wlan0 up && ifconfig eth0 down && ifconfig wlan0 192.168.10.3 874 sleep 2s 875 wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -dddd & 876 exit 0 877 }}} 870 878 871 879