Skip to content

Commit

Permalink
2024-06-25 21:59:38
Browse files Browse the repository at this point in the history
Affected files:
src/content/blog/how-to-connect-wifi-on-ubuntu-server.md
  • Loading branch information
gyunseo committed Jun 25, 2024
1 parent 12b2e69 commit 7f7c099
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/content/blog/how-to-connect-wifi-on-ubuntu-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,30 @@ ogImage: ""

[이 블로그 참고](https://changun516.tistory.com/120)

`sudo vi /etc/netplan/50-cloud-init.yaml`에서 SSID랑 password입력해주면 되는데, 그럼 매번 재부팅할 때마다
`sudo vi /etc/netplan/50-cloud-init.yaml`에서 SSID랑 password입력
해주면 되는데, 그럼 매번 재부팅할 때마다

```
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
enx00e04c6802e2:
dhcp4: true
wakeonlan: true
version: 2
wifis:
wlp2s0:
optional: true
access-points:
"SSID":
password: "password"
dhcp4: true
```

`sudo ip link set wlp2s0 up` 이걸 해줘야 합니다.
자동으로 up되게 해주려면
`sudo vi /etc/network/interfaces`으로 interfaces file을
Expand Down

0 comments on commit 7f7c099

Please sign in to comment.