質問編集履歴

2

追記

2021/11/16 07:46

投稿

takk_014
takk_014

スコア53

test CHANGED
File without changes
test CHANGED
@@ -6,77 +6,39 @@
6
6
 
7
7
  「**sudo systemctl status hostapd**」を実行すると下記のように出力されて**hostapd**が正常に稼働していることが確認できます。
8
8
 
9
- ※Failedとありますが再起動後にstatusを確認した時はFailedが出ませんでした
10
-
11
9
  ```output
12
10
 
13
- $ sudo systemctl status hostapd
11
+ sudo systemctl status hostapd
14
-
15
- ● hostapd.service - Access point and authentication server for Wi-Fi and Ethern>
16
-
17
- Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor prese>
18
-
19
- Active: active (running) since Tue 2021-11-16 15:18:02 JST; 25s ago
20
-
21
- Docs: man:hostapd(8)
22
-
23
- Process: 513 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_>
24
-
25
- Main PID: 533 (hostapd)
26
-
27
- Tasks: 1 (limit: 1597)
28
-
29
- CPU: 135ms
30
-
31
- CGroup: /system.slice/hostapd.service
32
-
33
- └─533 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hos>
34
-
35
-
36
-
37
- 11月 16 15:18:02 raspberrypi systemd[1]: Starting Access point and authenticati>
38
-
39
- 11月 16 15:18:02 raspberrypi hostapd[513]: Configuration file: /etc/hostapd/hos>
40
-
41
- 11月 16 15:18:02 raspberrypi hostapd[513]: wlan0: interface state UNINITIALIZED>
42
-
43
- 11月 16 15:18:02 raspberrypi systemd[1]: hostapd.service: Failed to parse PID f>
44
-
45
- 11月 16 15:18:02 raspberrypi systemd[1]: Started Access point and authenticatio>
46
-
47
- lines 1-16/16 (END)...skipping...
48
12
 
49
13
  ● hostapd.service - Access point and authentication server for Wi-Fi and Ethernet
50
14
 
51
15
  Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
52
16
 
53
- Active: active (running) since Tue 2021-11-16 15:18:02 JST; 25s ago
17
+ Active: active (running) since Tue 2021-11-16 16:18:30 JST; 15min ago
54
18
 
55
19
  Docs: man:hostapd(8)
56
20
 
57
- Process: 513 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUC>
21
+ Process: 491 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUC>
58
22
 
59
- Main PID: 533 (hostapd)
23
+ Main PID: 516 (hostapd)
60
24
 
61
25
  Tasks: 1 (limit: 1597)
62
26
 
63
- CPU: 135ms
27
+ CPU: 161ms
64
28
 
65
29
  CGroup: /system.slice/hostapd.service
66
30
 
67
- └─533 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
31
+ └─516 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
68
32
 
69
33
 
70
34
 
71
- 11月 16 15:18:02 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
35
+ 11月 16 16:18:29 raspberrypi systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
72
36
 
73
- 11月 16 15:18:02 raspberrypi hostapd[513]: Configuration file: /etc/hostapd/hostapd.conf
37
+ 11月 16 16:18:30 raspberrypi hostapd[491]: Configuration file: /etc/hostapd/hostapd.conf
74
38
 
75
- 11月 16 15:18:02 raspberrypi hostapd[513]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
39
+ 11月 16 16:18:30 raspberrypi hostapd[491]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
76
40
 
77
- 11月 16 15:18:02 raspberrypi systemd[1]: hostapd.service: Failed to parse PID from file /run/hostapd.pid: Invalid argument
78
-
79
- 11月 16 15:18:02 raspberrypi systemd[1]: Started Access point and authentication server for Wi-Fi and Ethernet.
41
+ 11月 16 16:18:30 raspberrypi systemd[1]: Started Access point and authentication server for Wi-Fi and Ethernet.
80
42
 
81
43
  ```
82
44
 

1

追記

2021/11/16 07:46

投稿

takk_014
takk_014

スコア53

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,8 @@
5
5
  [こちら](https://www.itmedia.co.jp/news/articles/2008/14/news042.html)のサイトを参考に進めました。
6
6
 
7
7
  「**sudo systemctl status hostapd**」を実行すると下記のように出力されて**hostapd**が正常に稼働していることが確認できます。
8
+
9
+ ※Failedとありますが再起動後にstatusを確認した時はFailedが出ませんでした
8
10
 
9
11
  ```output
10
12