You are not logged in.

#1 2012-08-31 17:53:18

XrBob
Member
Registered: 2012-08-31
Posts: 5

Installation/wireless problem

Hi, I'm trying to install Arch to my Asus b43s computer.  I'm trying to follow the guide here:
https://wiki.archlinux.org/index.php/Beginners'_Guide#Wireless
I'm wanting to get my wireless working so I try the command it suggested: "ip link set wlan0 up"
This is the response: "Operation not possible due to RF-kill"

I've done some searching and it seems like rfkill is a command, such as rfkill list, but that doesn't work for me, it says command not found. 

I can type in iwconfig and get this:

wlan0 IEEE 802.11abgn ESSID:off/any
Mode:managed Access Point: Not-associated...and so on

Any ideas

P.S. That registration question was awful, I felt like I went through some sort of hazing ritual!

Offline

#2 2012-08-31 18:03:52

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Installation/wireless problem

XrBob wrote:

P.S. That registration question was awful, I felt like I went through some sort of hazing ritual!

It kinda is smile

XrBob wrote:

I've done some searching and it seems like rfkill is a command, such as rfkill list, but that doesn't work for me, it says command not found.

Ouch! That's a problem with the install media. However, quite likely your wifi is hardkilled, meaning you must use a hardware switch or keyboard combination (it's different on every laptop) to un-kill it.

Last edited by Gusar (2012-09-01 00:51:19)

Offline

#3 2012-08-31 23:06:18

XrBob
Member
Registered: 2012-08-31
Posts: 5

Re: Installation/wireless problem

You were right, it was a silly keyboard combination.  Turns out it was Fn+F2, there was a wireless picture on the F2 button, and it just happened to work.  Did not expect that.  I'm able to find my network with the wifi-menu command.  The problem is I need to put in a wpa password, and I'm a little stuck.  I'm looking through some wiki pages and it looks like I need to edit /etc/wpa_supplicant/wpa_supplicant.conf
Is there an easier way?  I've never edited a text file in the command line before, I assume I use vi?

Offline

#4 2012-08-31 23:11:58

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

Re: Installation/wireless problem

If you know vi, then by all means, but nano is also available on the install media.  If your not familiar with it, nano is a simple "modeless" console text editor that will be much more comfortable to use if you are not used to vi/vim.

You don't necessarily need to edit the wpa_supplicant.conf file manually.  Actually I'd generally discourage it.  You can use wpa_passphrase.  Check out it's man page.

I guess the man page lacks the "magical" bit of info that you can do something like

wpa_passphrase "essid" "password" >> /etc/wpa_supplicant.conf

Last edited by Trilby (2012-08-31 23:13:26)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#5 2012-08-31 23:36:31

XrBob
Member
Registered: 2012-08-31
Posts: 5

Re: Installation/wireless problem

I just mentioned vi because I've heard of it, I've never used nano either.  But if I don't have to manually edit wpa_supplicant.conf then that's great.  I've been looking at :
https://wiki.archlinux.org/index.php/WPA_Supplicant and it it's got that same command you suggested.  I tried it then went back to wifi-menu and I don't think it worked.  Maybe I got the quotes wrong, do I need actual quotes around the essid and password or are they just there for clarity?  If I submitted the password correctly, am I right to go back to wifi-menu or should I be using some other command?

Offline

#6 2012-08-31 23:51:07

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Installation/wireless problem

You don't need to mess with wpa_supplicant.conf if you use wifi-menu. Just select your network, wifi-menu will ask for the password and then connect. That's the point of wifi-menu, to do all the low-level stuff for you. Of course it's beneficial to learn this low-level stuff anyway, but if you don't care to, wifi-menu allows you to not care smile.

About commandline editors, I agree with Trilby, nano is easier to figure out - just follow the help at the bottom of the screen. Though I've also learned the very basics of vi (switch in and out of input mode, yank (copy) and paste, search and replace, commands for save/quit/quit without saving), that's also good knowledge to have.

Offline

#7 2012-08-31 23:55:43

XrBob
Member
Registered: 2012-08-31
Posts: 5

Re: Installation/wireless problem

really?  I've been using wifi-menu and never asks me for a password, am I missing something simple?

Edit: I found this: https://bugs.archlinux.org/task/31057

Would wifi-menu be fixed if I just download a new iso?

Last edited by XrBob (2012-09-01 00:10:33)

Offline

#8 2012-09-01 00:30:00

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: Installation/wireless problem

The newest iso is 2012.08.04, I assume you're already using that. So you're screwed smile. No idea when the next iso will be released, the plan is to have monthly releases, which would mean sometime next week.

Until then, you'll need to go the manual route - use wpa_passphrase to create the config file, then wpa_supplicant to connect, and then dhcpcd to obtain an IP. All this should be covered on the wiki.

Wait, I just remembered an easier way - use netcfg: copy /etc/network.d/examples/wireless-wpa to /etc/network.d, open the file in nano or vi and adjust ESSID and KEY. Then run

netcfg wireless-wpa

Last edited by Gusar (2012-09-01 00:32:11)

Offline

#9 2012-09-01 02:02:03

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installation/wireless problem

Although I think that, in general, it is a good idea to learn how to use wpa_supplicant/wpa_passphrase and dhcpcd, I second Gusar's netcfg suggestion.  Netcfg is fantastic!

Offline

#10 2012-09-01 05:18:07

XrBob
Member
Registered: 2012-08-31
Posts: 5

Re: Installation/wireless problem

Your idea worked, copying the file and using netcfg worked fine, I am internet enabled!  Or was, thought I know how to do it again.  I went ahead with the guide and install, and I thought I did everything best I could, but upon reboot I got missing operating system.  Whoops.  I'll probably give it another try tomorrow maybe one issue is I installed both grub and syslinux.  The install guide listed grub "pacstrap /mnt grub-bios" first, so I did that first.  But then I went back to the beginner guide and it said syslinux was easier, so I did this:
"# pacman -S syslinux
# nano /boot/syslinux/syslinux.cfg" And edited the file

Or maybe I just mixed up some of the sda numbers.  ...Do I gain a lot over just going back to ubuntu when I go through the trial and error and frustration process of trying something more advanced?

Offline

#11 2012-09-02 00:13:15

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installation/wireless problem

So your wireless problem is solved, yeah?  If so you should mark it [Solved] to keep our forums semi-organized

Offline

Board footer

Powered by FluxBB