You are not logged in.

#1 2017-04-24 16:16:44

alexanderswang
Member
Registered: 2017-04-24
Posts: 6

[solved]wireless network configuration during installation

Hi, everybody, I'm new to Arch Linux. I've been trying to install Arch Linux on one of my old laptops for the last two days, but always get stuck at the install step when I type "pacstrap /mnt base", it always gives me:

error: failed retrieving file 'core.db' from EVERY MIRROR
error: failed retrieving file 'extra.db' from EVERY MIRROR
error: failed retrieving file 'community.db' from EVERY MIRROR

I thought it must be my network connection problem, so I checked:

iw dev wlp3s0 link

It gives me:

Connected to XX:XX:XX:XX:XX:XX#MAC of my router# (on wlp3s0)
                   SSID: NOT WIFI #my wifi id#
                   freq: 2462
                   RX: 8487569 bytes (73462 packets)
                   TX:32645 bytes (544 packets)
                   signal: -33dBm
                   tx bitrate: 54MBit/s

                   bss flags:          CTS-protection short-preamble
                   dtim period:     1
                   beacon int:       100

It clearly indicates that my laptop is "connected" to my wifi, but my router says it isn't. I think the wireless network configuration must be somewhere wrong here. sad sad sad

Could anybody please guide me to solve this problem so that I can continue the installation? Thank you very much.

Last edited by alexanderswang (2017-04-25 14:36:23)

Offline

#2 2017-04-24 16:56:18

seth
Member
Registered: 2012-09-03
Posts: 51,037

Re: [solved]wireless network configuration during installation

"ip route"? (dhcp?)
"ping 8.8.8.8"? (ie. dns/resolv.conf issue)

Offline

#3 2017-04-24 17:35:23

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [solved]wireless network configuration during installation

alexanderswang wrote:

I think the wireless network configuration must be somewhere wrong here.

So tell us what you did to configure the wireless network.  Ethernet is enabled (e.g. automatic) on the installation iso, but wireless is not.  What steps did you take to (attempt to) connect to your wireless network?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2017-04-25 14:35:28

alexanderswang
Member
Registered: 2017-04-24
Posts: 6

Re: [solved]wireless network configuration during installation

seth wrote:

"ip route"? (dhcp?)
"ping 8.8.8.8"? (ie. dns/resolv.conf issue)

ping 8.8.8.8

gives me

connect: Network is unreachable
Trilby wrote:
alexanderswang wrote:

I think the wireless network configuration must be somewhere wrong here.

So tell us what you did to configure the wireless network.  Ethernet is enabled (e.g. automatic) on the installation iso, but wireless is not.  What steps did you take to (attempt to) connect to your wireless network?

1.

ip link set wlp3s0 up

2.

wpa_supplicant -D nl80211,wext -i interface -c <(wpa_passphrase "NOT WIFI" ".........") -B

I just tried the third step:

dhcpcd wlp3s0

The thide step works!!! Now my installation is going on. smile  Thank you very much.@seth @Trilby

Last edited by alexanderswang (2017-04-25 14:37:20)

Offline

Board footer

Powered by FluxBB