# RaspAPがubuntuでも使えるようになったみたい

- リンク: https://reveil.ddns.net/raspap-on-ubuntu/
- 公開日: 2023-08-29T06:25:22+09:00
- 作成者: reveil

ラズパイを　wifiルーター＆Opne VPN/Wireguard化できるRaspAPがubuntuでも利用できる
ようになったみたい。

> The latest release of RaspAP includes support for [@Ubuntu](https://twitter.com/ubuntu?ref_src=twsrc%5Etfw)
> Server 23.04 (Lunar Lobster). Check out the pre-install notes and give it a try
> today [https://t.co/D23izt8B2b](https://t.co/D23izt8B2b) [#RaspberryPi](https://twitter.com/hashtag/RaspberryPi?src=hash&ref_src=twsrc%5Etfw)
> [#WiFi](https://twitter.com/hashtag/WiFi?src=hash&ref_src=twsrc%5Etfw) [pic.twitter.com/buIF8vOWXv](https://t.co/buIF8vOWXv)
> — RaspAP (@rasp_ap) [August 27, 2023](https://twitter.com/rasp_ap/status/1695710200420852178?ref_src=twsrc%5Etfw)

Ubuntuに導入するには特有の下準備が必要で、やり方はこちらに詳しい。

![](https://www.google.com/s2/favicons?domain=https%3A%2F%2Fdocs.raspap.com%2Fmanual%
2F)

docs.raspap.com

![](https://s.wordpress.com/mshots/v1/https%3A%2F%2Fdocs.raspap.com%2Fmanual%2F)

Manual installation - RaspAP Documentation

https://docs.raspap.com/manual

None

# Ubuntu 固有の手順

RaspAP のインストーラは、をインストールする前に、ポート 53 でリッスンしているサービス
を停止して無効にするように求めるプロンプトを表示します。Ubuntu 23.04 では、これにより
名前解決が失敗し、インストールを続行できなくなります。
この問題を解決するには、次
の**インストール前の手順**を実行。

### systemd-resolvedを停止

    ```bash
    sudo systemctl stop systemd-resolved.service
    ```

### systemd-resolved を で停止

    ```bash
    sudo systemctl stop systemd-resolved.service
    ```

### systemd設定ファイルの編集

    ```bash
    sudo nano /etc/systemd/resolved.conf
    ```

    ```bash
    DNS=9.9.9.9
    DNSStubListener=no
    ```

### /etc/resolv.confのシンボリックリンクの作成

    ```bash
    sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
    ```

上記の手順が終わったら通常どおり RaspAP のインストールを実行し、インストーラーが
systemd サービスを無効にするようプロンプトが出たらSystemdサービスを無効にする。

**インストール完了後:**`dnsmasq`サービスが「構成エラーは拒否されました (EDE: 準備
ができていません)」などのエラーを吐き、DNS ‘A’ レコード クエリが失敗し、クライアント
は AP を使用できなくなりますが次の手順で簡単に解決できる。

### dnsmasqを編集、　#IGONORE_RESOLVCONF=yesの#をはずし有効にする

    ```bash
    sudo nano /etc/default/dnsmasq

    IGNORE_RESOLVCONF=yes
    ```

### 編集が完了したらdnsmasq.serviceを再起動

    ```bash
    sudo systemctl restart dnsmasq.service
    ```

これでubuntu上でも　RaspAPが使えるようになっているはず。　ENJOY！！

> [ラズパイをwifiルーター + Open VPNクライアントに](https://reveil.ddns.net/raspap/)

この記事がお気に召しましたらシェア・いいねを！！
