~adnano/adnano.co

2536c45c86dbc4704cf013876399030a0a9dc822 — Adnan Maolood 2 months ago e6c2f05 master
Remove Alpine Linux: Bootstrap networking
1 files changed, 0 insertions(+), 40 deletions(-)

D content/2020-12-13-alpine-bootstrap-networking.gmi
D content/2020-12-13-alpine-bootstrap-networking.gmi => content/2020-12-13-alpine-bootstrap-networking.gmi +0 -40
@@ 1,40 0,0 @@
---
title: "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
```