VirtualBoxのArch Linux VirtualBoxのインターネット接続の問題

VirtualBoxのArch Linux VirtualBoxのインターネット接続の問題

VirtualBoxにArch Linuxを正常にインストールしましたが、インターネットは機能しません。インストール中はインターネット接続に問題はありませんが、仮想ハードドライブから起動するとき(syslinuxブートローダを使用)、インターネットに接続できません。

インストールCDから起動し、ルートパーティションをマウントしてから、# arch-chrootインターネットからインストールされたシステムを使用すると、何もせずにうまく動作し、# ip link2つのインターフェースloeth0

コマンドを使用しようとすると、「操作に失敗しました:そのファイルまたはディレクトリはありませんが、2つのインターフェースがあると表示されます」というエラーが発生します。# systemctl enable [email protected]# ip linkloenp3s0

なぜ同じイーサネットポートに2つの異なる名前があるのだろうか。さらに重要なことは、この問題をどのように解決しますか?

ベストアンサー1

VirtualboxにArchlinuxをゲストとしてインストールする

2013年3月15日午後11時54分

デフォルトではこのガイドに従うことができますが、いくつかの追加手順があります。 https://wiki.archlinux.org/index.php/Installation_guide#Installation

ネットワーク修理:

/usr/sbin/dhcpcd enp0s3 to check that you can load the dhcp client.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/multi-user.target.wants/[email protected]'
change the references to eth0 in /etc/ifplugd/ifplugd.conf
create a profile for enp0s3 in /etc/network.d/interfaces by copying the example (this seems to be overwritten by the netcfg-auto-wired).
start and enable the auto service with systemctl

ネットワークがないと、ネットワークからパッケージをインポートできません。

関連リンク

初心者ガイド:https://wiki.archlinux.org/index.php/Beginners%27_guide#インストール
ネットワーク修理:https://bbs.archlinux.org/viewtopic.php?pid=1243601

おすすめ記事