M blog/index.gmi => blog/index.gmi +1 -3
@@ 1,5 1,6 @@
# Блог Страхиње Радића
+=> gemini://gemini.strahinja.org/blog/2023-04/20230426.gmi 2023-04-26 База из командне линије
=> gemini://gemini.strahinja.org/blog/2023-03/20230323.gmi 2023-03-23 Слагалица
=> gemini://gemini.strahinja.org/blog/2023-03/20230312.gmi 2023-03-12 config.h и redo
=> gemini://gemini.strahinja.org/blog/2022-09/20220920.gmi 2022-09-20 DDoS ажурирањем
@@ 14,9 15,6 @@
=> gemini://gemini.strahinja.org/blog/2022-01/20220119.gmi 2022-01-19 Освежавање GPG кључева, други део
=> gemini://gemini.strahinja.org/blog/2022-01/20220112.gmi 2022-01-12 Midnight ¢ommander
=> gemini://gemini.strahinja.org/blog/2021-11/20211125.gmi 2021-11-25 Освежење превода ELinks-а
-=> gemini://gemini.strahinja.org/blog/2021-10/20211028.gmi 2021-10-28 Стара школа
-=> gemini://gemini.strahinja.org/blog/2021-10/20211012.gmi 2021-10-12 Од текста до PDF-а
-=> gemini://gemini.strahinja.org/blog/2021-10/20211008.gmi 2021-10-08 Artix
M galeb/booting.slw => galeb/booting.slw +14 -2
@@ 7,9 7,21 @@ canonical: https://strahinja.srht.site/galeb/booting.html
meta: index-meta.tsv
---
{main}
-# Booting
+# Booting HOWTO
-One of the perhaps most frequent issues with configuring a Unix-like OS is
+## License notice
+
+Copyright © 2023 Strahinya Radich.
+Permission is granted to copy, distribute and/or modify this document
+under the terms of the GNU Free Documentation License, Version 1.3
+or any later version published by the Free Software Foundation;
+with no Invariant Sections, no Front~-Cover Texts, and no Back~-Cover Texts.
+A copy of the license is included in the file LICENSE.
+
+
+## Foreword
+
+One of the perhaps most frequent issues with configuring a Unix~-like OS is
setting up boot configuration correctly. The perceived difficulty mostly comes
from not understanding the basic concepts behind booting.
M galeb/wireless.slw => galeb/wireless.slw +18 -18
@@ 94,24 94,9 @@ and **wpa\_supplicant** running. You can test that with:
=S= 10:00:00 wpa_supplicant running? ( YE )
```
-
-## Configure sdhcp service to work with wireless
-
-Then, edit _/bin/svc.d/default/sdhcp_:
-```
-# vim /bin/svc.d/default/sdhcp
-```
-and change `eth0` to `wlan0`:
-```
-PARAMS="wlan0"
-```
-Then, start **sdhcp**:
-```
-# service start sdhcp
-```
-After a while, if all went well, **sdhcp** should have modified your
-_/etc/resolv.conf_ (instead of `000.000.000.000`, there will be an address of
-your DNS):
+After a while, if all went well, **sdhcp** (automatically started by
+**wpa\_supplicant** service) should have modified your _/etc/resolv.conf_
+(instead of `000.000.000.000`, there will be an address of your DNS):
```
# cat /etc/resolv.conf
nameserver 000.000.000.000
@@ 131,5 116,20 @@ PING ams.source.kernel.org (145.40.68.75): 56 data bytes
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 35.377/39.446/45.170/3.838 ms
```
+
+
+## Setup activating wlan0 on boot
+
+Edit _/etc/rc.conf_:
+```
+# vim /etc/rc.conf
+```
+and change `eth0` to `wlan0`:
+```
+INTERFACE=wlan0
+```
+This ensures that wlan0 will be activated on boot instead of eth0. If you need
+both of them, edit _/bin/rc.inet_.
+
{made-by}
{/main}