You are not logged in.

#1 2017-01-08 15:00:03

aarem
Member
Registered: 2015-02-08
Posts: 16

[SOLVED] network installation: how to copy long passphrase from a file

Hi,

According to this document: http://www.wikihow.com/Install-Arch-Linux, the following can be used to configure the wifi network.

Configure your network (wireless). If you have a wireless network, enter in the following commands to enable it.

    Type

ip link

to determine the interface name of your network adapter.
    Type

 pacman -S iw wpa_supplicant

  to install the necessary software.
    Type

 pacman -S dialog

  to install the Wi-Fi menu.
    Type

 pacman -S wpa_actiond

  to install the software that allows you to automatically connect to known networks.
    Type

systemctl enable netctl-auto@interfacename.service

to turn on the auto-connection service for your wireless adapter.
    Next time you reboot, type

wifi-menu interfacename

to access the wireless menu for your adapter.

This brings me the interface and the place to put in my AES key. Fine. However, my key is very long. i have it stored correctly in a text file. Is it possible for me to copy the passphrase from this file to some place which would make it accessible to the wifi interface?

I hope that my question is clear.

Many thanks for answering this question!

Last edited by aarem (2017-01-08 16:43:59)

Offline

#2 2017-01-08 15:02:57

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

Re: [SOLVED] network installation: how to copy long passphrase from a file

Please do not use that guide.  Follow our wiki.  If you did, you'd have your answer: the password needs to be stored in a text file.  Entering it at a prompt is just one way of having some tool create that file for you.

And please don't waste so much space with several lines and a code block just to indicate that you pressed enter after a command.  If that level of instruction is needed you really shouldn't be using arch.


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

Offline

#3 2017-01-08 15:10:57

aarem
Member
Registered: 2015-02-08
Posts: 16

Re: [SOLVED] network installation: how to copy long passphrase from a file

Trilby wrote:

Please do not use that guide.  Follow our wiki.  If you did, you'd have your answer.

Thank you. Mind pointing to that specific section for a newbie in the Newbie Corner?

And please don't waste so much space with several lines and a code block just to indicate that you pressed enter after a command.

OK, thank you. I thought that formatting would make things clearer. Sorry, I will edit it.

If that level of instruction is needed you really shouldn't be using arch.

I thought I was a newbie in a newbie corner and I am already suggested to not use arch? As an aside, it should be clear that that level of formatting in a post does not help me because I have already read and implemented the instructions. So my post was for others to follow. Since it appears to potentially irritate experienced users, I will fix that now. Apologies again.

Thank you again for your advice!

Last edited by aarem (2017-01-08 15:13:28)

Offline

#4 2017-01-08 15:19:10

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

Re: [SOLVED] network installation: how to copy long passphrase from a file

Sorry, I may have came across a bit cranky - thank you for responding to me better than I did to you and accepting the content of the critiques.  It's just that such third party guides often cause all sorts of problems, primarily through allowing new users to skip important learning steps.

There are many ways of configuring wireless in arch.  I just use wpa_supplicant service, so when I need to enter a password, it is just in wpa_supplicant.conf for every network.  The instructions you followed present netctl as the only option.  That seems to be a good option - just not one I'm all that familiar with.  It is well documented in our wiki though:
https://wiki.archlinux.org/index.php/Netctl

Specifically, you might want to see these sections:
https://wiki.archlinux.org/index.php/Ne … figuration
https://wiki.archlinux.org/index.php/Ne … WPA-PSK.29

These profiles are just text files.  You can use the automated tools to generate these by responding to some prompts, but you can also just open them in any text editor.  You could even combine these approaches.  Follow the wifi-menu prompts to generate a profile and just put a blank or fake password.  Then edit the file it creates, so you don't need to start from scratch, but you can just revise the password line.


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

Offline

#5 2017-01-08 16:43:38

aarem
Member
Registered: 2015-02-08
Posts: 16

Re: [SOLVED] network installation: how to copy long passphrase from a file

Trilby wrote:

There are many ways of configuring wireless in arch.  I just use wpa_supplicant service, so when I need to enter a password, it is just in wpa_supplicant.conf for every network.  The instructions you followed present netctl as the only option.  That seems to be a good option - just not one I'm all that familiar with.  It is well documented in our wiki though:
https://wiki.archlinux.org/index.php/Netctl

Specifically, you might want to see these sections:
https://wiki.archlinux.org/index.php/Ne … figuration
https://wiki.archlinux.org/index.php/Ne … WPA-PSK.29

These profiles are just text files.  You can use the automated tools to generate these by responding to some prompts, but you can also just open them in any text editor.  You could even combine these approaches.  Follow the wifi-menu prompts to generate a profile and just put a blank or fake password.  Then edit the file it creates, so you don't need to start from scratch, but you can just revise the password line.

Thank you again! This is exactly the sort of focused advice I was looking for! It is extremely helpful to me, so thanks again! Best wishes!

Offline

Board footer

Powered by FluxBB