質問するログイン新規登録

質問編集履歴

2

追記

2021/11/16 07:46

投稿

takk_014
takk_014

スコア53

title CHANGED
File without changes
body CHANGED
@@ -2,42 +2,23 @@
2
2
  OSは最新のものをインストールしています。
3
3
  [こちら](https://www.itmedia.co.jp/news/articles/2008/14/news042.html)のサイトを参考に進めました。
4
4
  「**sudo systemctl status hostapd**」を実行すると下記のように出力されて**hostapd**が正常に稼働していることが確認できます。
5
- ※Failedとありますが再起動後にstatusを確認した時はFailedが出ませんでした
6
5
  ```output
7
- $ sudo systemctl status hostapd
6
+ sudo systemctl status hostapd
8
- ● hostapd.service - Access point and authentication server for Wi-Fi and Ethern>
9
- Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor prese>
10
- Active: active (running) since Tue 2021-11-16 15:18:02 JST; 25s ago
11
- Docs: man:hostapd(8)
12
- Process: 513 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_>
13
- Main PID: 533 (hostapd)
14
- Tasks: 1 (limit: 1597)
15
- CPU: 135ms
16
- CGroup: /system.slice/hostapd.service
17
- └─533 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hos>
18
-
19
- 11月 16 15:18:02 raspberrypi systemd[1]: Starting Access point and authenticati>
20
- 11月 16 15:18:02 raspberrypi hostapd[513]: Configuration file: /etc/hostapd/hos>
21
- 11月 16 15:18:02 raspberrypi hostapd[513]: wlan0: interface state UNINITIALIZED>
22
- 11月 16 15:18:02 raspberrypi systemd[1]: hostapd.service: Failed to parse PID f>
23
- 11月 16 15:18:02 raspberrypi systemd[1]: Started Access point and authenticatio>
24
- lines 1-16/16 (END)...skipping...
25
7
  ● hostapd.service - Access point and authentication server for Wi-Fi and Ethernet
26
8
  Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
27
- Active: active (running) since Tue 2021-11-16 15:18:02 JST; 25s ago
9
+ Active: active (running) since Tue 2021-11-16 16:18:30 JST; 15min ago
28
10
  Docs: man:hostapd(8)
29
- Process: 513 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUC>
11
+ Process: 491 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUC>
30
- Main PID: 533 (hostapd)
12
+ Main PID: 516 (hostapd)
31
13
  Tasks: 1 (limit: 1597)
32
- CPU: 135ms
14
+ CPU: 161ms
33
15
  CGroup: /system.slice/hostapd.service
34
- └─533 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
16
+ └─516 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
35
17
 
36
- 11月 16 15:18:02 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
18
+ 11月 16 16:18:29 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
37
- 11月 16 15:18:02 raspberrypi hostapd[513]: Configuration file: /etc/hostapd/hostapd.conf
19
+ 11月 16 16:18:30 raspberrypi hostapd[491]: Configuration file: /etc/hostapd/hostapd.conf
38
- 11月 16 15:18:02 raspberrypi hostapd[513]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
20
+ 11月 16 16:18:30 raspberrypi hostapd[491]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
39
- 11月 16 15:18:02 raspberrypi systemd[1]: hostapd.service: Failed to parse PID from file /run/hostapd.pid: Invalid argument
40
- 11月 16 15:18:02 raspberrypi systemd[1]: Started Access point and authentication server for Wi-Fi and Ethernet.
21
+ 11月 16 16:18:30 raspberrypi systemd[1]: Started Access point and authentication server for Wi-Fi and Ethernet.
41
22
  ```
42
23
  しかしなぜかスマホで確認しても設定したSSIDが出てこないです。
43
24
  そのためWi-fiの電波が発信されていないと思われます。

1

追記

2021/11/16 07:46

投稿

takk_014
takk_014

スコア53

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,7 @@
2
2
  OSは最新のものをインストールしています。
3
3
  [こちら](https://www.itmedia.co.jp/news/articles/2008/14/news042.html)のサイトを参考に進めました。
4
4
  「**sudo systemctl status hostapd**」を実行すると下記のように出力されて**hostapd**が正常に稼働していることが確認できます。
5
+ ※Failedとありますが再起動後にstatusを確認した時はFailedが出ませんでした
5
6
  ```output
6
7
  $ sudo systemctl status hostapd
7
8
  ● hostapd.service - Access point and authentication server for Wi-Fi and Ethern>