You are not logged in.

#1 2016-06-24 16:38:26

hjaltello
Member
Registered: 2016-05-15
Posts: 23

[Solved]Can't get wifi to work.

After seeing the error of my ways in my previous attempts at an arch installation I chose to reinstall. One problem though, my wifi adapter needs the broadcom-wl package. I have the package and all its dependencies on a usb drive for use when I find out how to install it. Currently I have been unable to since I can't run makepkg in root and when I make another user it says

not enough free disk space

. What do I do ?

Last edited by hjaltello (2016-06-26 10:06:58)

Offline

#2 2016-06-24 16:40:51

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

If anyone's wondering why I could install arch linux in the first place before it's because I changed my network adapter halfway through.

Offline

#3 2016-06-24 16:45:23

atomicbeef
Member
Registered: 2015-09-30
Posts: 98

Re: [Solved]Can't get wifi to work.

Hi hjaltello,

How big is your hard drive? How is everything partitioned? The error you're getting is exactly what it seems to be. You're out of disk space on that partition.

Offline

#4 2016-06-24 16:51:55

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [Solved]Can't get wifi to work.

Offline

#5 2016-06-24 16:54:58

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved]Can't get wifi to work.

If you've already got the package(s) then you don't need to use makepkg, just install them with...

pacman -U <packagename>

If you actually mean that you've got the PKGBUILD's and other related files then the issue is that /tmp lives in RAM and is limited to 50% of your available memory. To increase this you can do...

 mount -o remount,size=<newsize> /tmp

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2016-06-24 16:58:33

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [Solved]Can't get wifi to work.

Please change your topic title to something that reflects the problem you are having.

https://wiki.archlinux.org/index.php/Co … ow_to_post


If you have the packages on a USB stick, why are you running makepkg? If you really need to, you can increase the amount of space available to you in the liveCD environment by running, e.g.

mount -o remount,size=2G /run/archiso/cowspace

See https://bbs.archlinux.org/viewtopic.php?id=205967

EDIT: I am slow today.

Last edited by WorMzy (2016-06-24 16:59:05)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2016-06-24 18:47:08

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

When I do this I can't modprobe the LKM afterwards, says

FATAL: Module wl not found in directory /lib/modules/4.5.4-1-ARCH

when I check in /lib/modules/4.5.4-1-ARCH/kernel/net/wireless there's only the usual lib80211 stuff. When I check extramodules there's a file called wl.ko.gz, that's the name of the driver that I use, but how do i utilize it if it's in that folder ?

Offline

#8 2016-06-24 19:20:11

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

Just tried using insmod, it didn't work.

Offline

#9 2016-06-24 19:43:35

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [Solved]Can't get wifi to work.

hjaltello wrote:

When I check extramodules there's a file called wl.ko.gz, that's the name of the driver that I use, but how do i utilize it if it's in that folder ?

$ ls /usr/lib/modules/
4.6.2-1-ARCH/          extramodules-4.6-ARCH/

Is the extra modules directory you are referring to extramodules-4.6-ARCH as above?
If it what is the output of

$ uname -a

and

$ pacman -Q linux-headers

Edit:
Minor Notes
If no one has posted since your last post please just edit that post.
Please use code tags not quote tags for command out and also please include the command you used to generate the output.

Last edited by loqs (2016-06-24 19:51:46)

Offline

#10 2016-06-24 19:57:31

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

#uname -a
Linux archiso 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux

The other one is too long, but it says things like

warning: database file for 'core' does not exist

Offline

#11 2016-06-24 20:09:52

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [Solved]Can't get wifi to work.

Going to take as a yes the extra modules directory is extramodules-4.6-ARCH meaning the wl module was built for a kernel of the 4.6 series but the live boot media includes the 5.4.5 kernel.
You could install the matching headers from the Archive or could try to force the module to be installed.
Also you may have to unload any of the modules that would normally be blacklisted by the broadcom-wl package before loading the wl module.

$ cat /usr/lib/modprobe.d/broadcom-wl.conf 
blacklist b43
blacklist ssb
blacklist bcma
blacklist brcmsmac
blacklist brcmfmac

Offline

#12 2016-06-24 20:13:05

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

Re: [Solved]Can't get wifi to work.

It will be much easier just to build the package on the system you want to use it on.  Instead of transferring the built package (built for the wrong kernel) just transfer the PKGBUILD and source files, then run makepkg in the live system.  You do not need to create a user to run makepkg:

su -u nobody makepkg

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

Offline

#13 2016-06-24 21:05:21

Awebb
Member
Registered: 2010-05-06
Posts: 6,285

Re: [Solved]Can't get wifi to work.

I'd have a look at the --allsource switch of makepkg on the system with an internet connection.

Offline

#14 2016-06-24 23:07:18

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

su -u nobody makepkg gives me fail 138 with this right above it

/usr/share/makepkg/tidy/zipman.sh: line 44: /dev/fd/62: No such file or directory
/usr/bin/fakeroot: line 181: 1814 User defined signal 1  FAKEROOTKEY=$FAKEROOTKEY LD_LIBRSRY_PATH="$PATHS" LD_LIBRARY_PATH="@PATHS" LD_PRELOAD="$LIB" "$@"

This makes me think that if I was able to use pacstrap and not be bound to this chroot setup then I'd be able to compile it. Anyone know how to do that ?

Offline

#15 2016-06-24 23:55:34

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

Another thing is that I have the core.db, extra.db and community.db, but I don't know where to put them, this might make it possible to makepkg without chrooting, but then I'd need to know where these database files go, and I couldn't find anything about it on the wiki.

Offline

#16 2016-06-25 02:47:51

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

I got it working doing something weird. What I did was I installed manjaro which I knew came with the broadcom-wl package and then I connected to the internet and used yaourt to get the one for the right kernel. Now I have it all working. Thanks for all the help, but using 5 hours on solving the mystery myself seemed to have been more effective.

Offline

#17 2016-06-25 09:44:46

Awebb
Member
Registered: 2010-05-06
Posts: 6,285

Re: [Solved]Can't get wifi to work.

Solved by switching distros? That's always a possibility. Don't forget to mark your thread as solved, then.

Offline

#18 2016-06-26 10:08:59

hjaltello
Member
Registered: 2016-05-15
Posts: 23

Re: [Solved]Can't get wifi to work.

You got it a bit wrong, in manjaro I was able to choose specific linux-headers and thereby compile the correct package.

Offline

Board footer

Powered by FluxBB