You are not logged in.

#1 2016-08-27 03:48:28

luofeiyu
Member
Registered: 2015-11-03
Posts: 29

Why can't connect internet when to install arch?

I have installed debian on my pc.
The internet can be connected with `pppoeconf` ,pon dsl-provider` in debian.
It is my steps to install archlinux.

url="http://mirrors.163.com/archlinux/iso/2016.08.01/archlinux-2016.08.01-dual.iso"
wget  -c $url -O /tmp/arch.iso
dd if=/tmp/arch.iso of=/dev/sdb

Now to reboot the pc with my usb.
1.format disk
mkfs.ext4 /dev/sda3
mkswap /dev/sda4

2.mount /dev/sda3 /mnt

3.to connect to the internet

ficonfig -a
ens32

vi /etc/ppp/peers/myarch
plugin rp=pppoe.so
ens32
name  "my_isp_name"
usepeerdns
persit
defaultroute
hide-password
noauth

vi /etc/ppp/pap-secrets

"my_isp_name"*"password"

chmod 600 /etc/ppp/pap-secrets

vi /etc/resolv.conf
nameservers 114.114.114.114

ifconfig ens600 up
pppd call myarch
ping yahoo.com

Why network unreachable?

To reboot with debian ,the network can reachable.
What is the matter with my steps?

Offline

#2 2016-08-27 04:02:29

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Why can't connect internet when to install arch?

Have you followed this article for configuring your ppp connection?

https://wiki.archlinux.org/index.php/Pppd

Also, please use code tags for posting any commands, it makes the text much more readable.

Offline

Board footer

Powered by FluxBB