File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed
Raspberry_Pi_4_Model_B/As_WiFi_AP Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 10
10
- Select your SD Card
11
11
- Click gear icon (advanced settings menu)
12
12
- Check ON: Set hostname: raspberrypi.local
13
- - ** Check ON: Enable SSH **
14
- - ** Check OFF: Configure WiFi **
13
+ - ** Check ON: Enable SSH**
14
+ - ** Check OFF: Configure WiFi**
15
15
- Check ON: Set locale settings
16
16
- Enter your Time zone and Keyboard layout
17
17
- WRITE
Original file line number Diff line number Diff line change 2
2
3
3
- Insert Micro SD Card to your Raspberry Pi
4
4
- Connect the USB-C power adapter to your Raspberry Pi
5
+ - Connect the Network cable to your Raspberry Pi
5
6
6
7
### SSH Log in to your Raspberry Pi
7
8
Original file line number Diff line number Diff line change 5
5
### Edit ` /etc/dhcpcd.conf `
6
6
7
7
- ` sudo vim /etc/dhcpcd.conf `
8
+ - To enter the insert mode of vim, press ` i `
8
9
- ADD following lines to the END of file:
9
10
10
11
```
@@ -13,10 +14,13 @@ interface wlan0
13
14
nohook wpa_supplicant
14
15
```
15
16
17
+ - To Save and Exit vim, press ` Esc ` , then input ` :wq! `
18
+
16
19
### Add ` /etc/hostapd/hostapd.conf `
17
20
18
21
- ` sudo vim /etc/hostapd/hostapd.conf `
19
- - Create a new file with the following contents
22
+ - To enter the insert mode of vim, press ` i `
23
+ - Create a new file with the following contents:
20
24
21
25
```
22
26
country_code=JP
@@ -31,6 +35,8 @@ wpa_pairwise=TKIP
31
35
rsn_pairwise=CCMP
32
36
```
33
37
38
+ - To Save and Exit vim, press ` Esc ` , then input ` :wq! `
39
+
34
40
### Star up ` hostapd `
35
41
36
42
- Unblock WiFi
Original file line number Diff line number Diff line change 5
5
### Edit ` /etc/dnsmasq.conf `
6
6
7
7
- ` sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig `
8
- - ` sudo vim /etc/dnsmasq.conf ` and rewrite as following:
8
+ - ` sudo vim /etc/dnsmasq.conf `
9
+ - To enter the insert mode of vim, press ` i `
10
+ - Rewrite all as following:
9
11
10
12
```
11
13
# Listening interface
@@ -22,6 +24,8 @@ domain=local
22
24
expand-hosts
23
25
```
24
26
27
+ - To Save and Exit vim, press ` Esc ` , then input ` :wq! `
28
+
25
29
### Start up ` dnsmasq `
26
30
27
31
- Start up ` dnsmasq `
You can’t perform that action at this time.
0 commit comments