~adnano/adnano.co

ref: 50c3d6bd7b90317324b26d01195bdc94cbf9a29a adnano.co/content/2020-12-13-alpine-bootstrap-networking.gmi -rw-r--r-- 1.1 KiB
50c3d6bdAdnan Maolood Add missing templates 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Alpine Linux: Bootstrap networking

Sometimes you might need to install the latest version of Linux to get networking working. But you can't do so without an internet connection. To get around this we'll use Alpine Linux on another machine with an internet connection.

The extended release of Alpine Linux provides commonly used packages so that you can complete the installation process without an internet connection. You can then set up networking after the installation is complete.

The following command downloads linux-edge and its dependencies from the testing repository.

```
apk fetch -R -X http://dl-cdn.alpinelinux.org/edge/testing linux-edge
```

Copy the packages to the target machine and install them.

```
apk add *.apk
```

Now the necessary drivers for networking should be installed. Enable networking and reboot.

```
rc-update add networking
reboot
```

Boot into Linux edge. Log back in and finish setting things up.

```
setup-interfaces
rc-service networking restart
setup-apkrepos
```

You may now delete the linux-lts package.

```
apk del linux-lts
```