You are not logged in.

#1 2015-01-28 17:01:02

bluchii
Member
Registered: 2015-01-28
Posts: 8

[SOLVED]Having problems with Wifi connection

Hello!

My wifi-menu does not show any networks and I'm pretty sure I accidentally pressed my airplane mode button during a blank screen while I was configuring bspwm. I actually found solutions using rfkill unblock but I never had the package installed in the first place. So when ever I do sudo pacman -s rfkill there is no way it works. Are there any alternate solutions I can use to disable airplane mode or at least install rfkill?

Thanks.

Last edited by bluchii (2015-01-28 20:38:18)

Offline

#2 2015-01-28 17:11:43

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED]Having problems with Wifi connection

You could manually go into the bspwm config and  see if there's a setting.  (~/.config/bspwm/bspwmrc)

https://github.com/windelicato/dotfiles … or-dummies

I haven't actually used that wm before, so that's about all I could suggest.

[edited to add archwiki url]
https://wiki.archlinux.org/index.php/Bspwm
[/edited]

Last edited by Knute (2015-01-28 17:13:15)


Knute

Offline

#3 2015-01-28 17:14:12

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

Re: [SOLVED]Having problems with Wifi connection

What is "airplane mode"?  Is this a physical hardware toggle switch, or a firmware button (Fn + Function key)?

Are you sure an rfkill block is the problem?  Please try connecting manually (see here).  If the `ip` reports that the interface can't be put up do to rfkill, that will confirm what the issue is.

If the issue really is an rf-kill block, you may have to download the rfkill package on another computer (from here for 64bit).  Then move that package file to your computer (via flashdrive) and install it with `pacman -U /path/to/usb/file-name.pkg.tar.xz`.


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

Offline

#4 2015-01-28 17:28:20

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

It's a firmware button Fn + F7 that I guess disables the wifi card. I also checked whether it was in bspwmrc and there isn't any nor in sxhkdrc as well.

It's true that I do not know if rfkill block is the problem but I did Google around and see other's problems and people referred to using rfkill unblock as a solution to disabling airplane mode. I will get right back to you once I check rfkill is the problem.

Thank you!

Offline

#5 2015-01-28 17:42:08

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED]Having problems with Wifi connection

So what happens if you hit Fn+F7 again?  Normally on laptops those are toggles.


Knute

Offline

#6 2015-01-28 18:21:12

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

I tried doing Fn+F7 pretty much everywhere (startx, loading in from grub, etc) and no avail.

I tried also to connect manually and I could not. So now I'm trying to install rfkill from the package so I can test if it works but I'm caught on a snag. The package cannot be open so I'm trying different ways of installing it.

Offline

#7 2015-01-28 18:29:15

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED]Having problems with Wifi connection

Ok, so what does it say in the bios?  Is the wifi card off there?


Knute

Offline

#8 2015-01-28 18:34:24

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

The BIOS part is an entirely different problem I had that I was going to look up. I have Lenovo Ideapad U430 and I think the normal way of me opening my bios is from pressing the novo button which does not work.

Offline

#9 2015-01-28 19:02:15

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED]Having problems with Wifi connection

According to the User Guide for your computer, you hit the novo butten then select bios setup.

Last edited by Knute (2015-01-28 19:02:53)


Knute

Offline

#10 2015-01-28 19:17:59

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

I tried the Novo button and no avail. There was a point where it was outputting tilda(~) in the CLI.

Is there a way I can change directory into a usb? Having problems opening the rfkill package on USB using pacman.

Offline

#11 2015-01-28 19:31:45

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

Re: [SOLVED]Having problems with Wifi connection

Can you elaborate on the problem you are having installing the package?  Please post the commands used and the exact error message.

To change directory to where the usb is mounted, you'd just use `cd /path/to/usb/` but this shouldn't be needed.  Do you mount the usb manually, or do you have something that automounts it somewhere?  The following should work in a root shell if there is no other process already automounting the usb:

mount /dev/sdXn /mnt
pacman -U /mnt/rfkill-0.5-1-x86_64.pkg.tar.xz

Change  the sdXn to match the usb drive (maybe sdb1).  Also this assumes you are running x86_64 and downloaded the 64bit package, if you are using i686 you'd download the 32bit package and the package name would be different.


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

Offline

#12 2015-01-28 19:48:41

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

loading packages...
error: '/dev/sda3/rfkill-0.5-1-i686.pkg.tar.xz' : cannot open package file

I wasn't exactly sure what the path for my USB was so I thought 'cd /dev/sda3' would work. I used lsblk to see where my USB was at.

Offline

#13 2015-01-28 19:59:20

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

Re: [SOLVED]Having problems with Wifi connection

That is the block device itself, it needs to be mounted before you can access files on it.  lsblk is a great tool to use here, but what you need to check is the very last column under "MOUNTPOINT", if something is there (perhaps /var/run/...) then you can get to the package file there, if nothing is there, then just use the commands I posted in my previous post.

EDIT: while block device names will vary based on a lot of different factors, 'sda3' does not seem likely to be your usb.  Could you please post the full output of lsblk here so we can be sure you are trying to access the correct device (unless you are sure that your usb is sda and it has three partitions).


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

Offline

#14 2015-01-28 20:11:48

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: [SOLVED]Having problems with Wifi connection

bluchii wrote:

I tried the Novo button and no avail. There was a point where it was outputting tilda(~) in the CLI.

Normally such things are done while the system is booting, like before it completes post. You can't have the OS running when you go into the bios.


Knute

Offline

#15 2015-01-28 20:24:39

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

Oops! You're definitely right that it wasn't sda3. I found out it was sdb. Installed through pacman and ran 'rfkill unblock all' but wifi-menu scans and gives no networks still.

I pretty much exhausted all the options I had read up on the wiki.

Offline

#16 2015-01-28 20:34:58

bluchii
Member
Registered: 2015-01-28
Posts: 8

Re: [SOLVED]Having problems with Wifi connection

I restarted my computer and wifi-menu started to work! Pinged and everything is up to working except my bspwm but I can figure that out with some reading on the Wiki.

Thanks you guys for your help!

Offline

#17 2015-01-28 20:36:26

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

Re: [SOLVED]Having problems with Wifi connection

No problem, glad it worked out in the end.  If this problem is fully solved please mark the thread as [SOLVED] by editing your first post.


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

Offline

Board footer

Powered by FluxBB