You are not logged in.

#1 2017-07-28 17:55:01

Grieverheart
Member
Registered: 2017-07-28
Posts: 12

Wireless network adapter installation problems

I wanted to install arch linux on my pc. I have an AVM Fritz ac 860 USB wireless adapter, which unfortunately does not work with linux. I then went ahead and bought a new adapter. I wanted a speedy adapter, so my choice was between ASUS and TP-Link and I went with the TP-Link one because it doesn't come with a huge antenna. The one I bought is the Archer T9E. I got really excited I could finally get rid of my windows installation, but to my amazement, I had not done a good enough research and this card is also not supported by the latest kernel!

What are my options right now? Did I just waste my money? sad

Offline

#2 2017-07-28 19:39:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Wireless network adapter installation problems

Post the output of

lspci -k

On a quick googler, this should be a Broadcom chip, so you will want to look at https://wiki.archlinux.org/index.php/Br … roadcom-wl

Offline

#3 2017-07-28 19:40:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless network adapter installation problems

https://wikidevi.com/wiki/TP-LINK_Archer_T9E says to use the AUR package.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2017-07-28 19:47:51

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: Wireless network adapter installation problems

jasonwryan wrote:

And how to get the internet to install a system where you can then build an AUR package?

A wireless bridge is a good candidate for the solution.  When the bridge is set up it plugs into your ethernet jack and for all intents and purposes to the computer your internet connection looks like a standard wired one.

Edit: JWR, for the Arch installation medium.  Has it ever come up to have GCC build tools, makepkg (you provide the source files yourself - on a USB stick or equivalent), kernel headers, and DKMS on it?  For the express purpose of covering cases where you need to build a package before having a fully installed system?

Last edited by headkase (2017-07-28 19:54:17)

Offline

#5 2017-07-28 19:55:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless network adapter installation problems

Generally, you build the package on a machine with Arch installed and then copy it across. You'd have to look at flyspray to see if someone has ever opened a request.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2017-07-28 19:59:54

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: Wireless network adapter installation problems

jasonwryan wrote:

Generally, you build the package on a machine with Arch installed and then copy it across. You'd have to look at flyspray to see if someone has ever opened a request.

Usually when a new installation medium comes out it has the same kernel as an installed system for at least a few days.  It doesn't seem like the best solution to have to have an installed Arch system to build a package for another system so it can install.  You could have a virtual machine for those few days but setting that up within a host you do have that has internet seems like a lot of work to accomplish what build tools on the installation medium could also do with a lot less work.

Offline

#7 2017-07-28 20:02:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless network adapter installation problems

headkase wrote:

the installation medium could also do with a lot less work.

Yes. But someone has to do the work to make that possible.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2017-07-28 20:05:00

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: Wireless network adapter installation problems

jasonwryan wrote:
headkase wrote:

the installation medium could also do with a lot less work.

Yes. But someone has to do the work to make that possible.

A person can use an installed Arch system to build the specific things they want, like this wireless driver.  Build tools on the installation medium would cover all cases (optimally) where a package needs to be built from the AUR.  Which do you think would be better?  Requiring a lot of work from the user for their case or having a general solution on the installation medium that covers all cases?

Last edited by headkase (2017-07-28 20:05:25)

Offline

#9 2017-07-28 22:34:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Wireless network adapter installation problems

Personally, I don't care. I like the current setup. I can see merit in your proposal, but it would require patches being submitted, or convincing one of the devs to do the work. In either case, it won't happen just because it is a good idea...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2017-07-29 05:21:23

Grieverheart
Member
Registered: 2017-07-28
Posts: 12

Re: Wireless network adapter installation problems

The chipset is indeed a broadcom 4630. Can I somehow install the driver before installing arch on my system so I can test it? E.g. I've found in forums that the broadcom-wl drivers on AUR support only 802.11 a/b/c/g/n and not 5GHz 802.11ac, which would make it quite slow. It's annoying that an internet connection is needed to download and compile kernel drivers, although I can get around it using my smartphone via tethering.

I didn't think of getting a wireless access point before. Quickly looking online, I see I can get an access point from TP-Link for the same money and the same bandwidth. Then again, my ethernet adapter is 1Gbps.

EDIT: Would it be possible to install the kernel driver and remaster the iso?

Last edited by Grieverheart (2017-07-29 12:52:56)

Offline

#11 2017-07-29 14:42:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Wireless network adapter installation problems

That should work, if you have enough RAM you could also update the live system and install the driver then. But remastering the ISO would likely be a bit more convenient should you have to install on another system with the same predicament

Offline

#12 2017-08-02 18:48:10

Grieverheart
Member
Registered: 2017-07-28
Posts: 12

Re: Wireless network adapter installation problems

I was able to remaster the ISO with the broadcom-wl AUR drivers after a few trials. I am now able to connect to my router successfully.

Unfortunately, I cannot connect to the 5GHz frequency in DSF channels (although I did iw reg set EU), see also here. Changing the channel to e.g. 48 lets me connect to the 5GHz frequency, but the link speed maxes out at 877.5 Mbps. From searching around the web, it seems this was also a problem with older broadcom drivers for Windows.

Here's hoping the drivers will get updated some time in the near future sad .

Offline

#13 2017-08-02 20:05:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: Wireless network adapter installation problems

Grieverheart wrote:

... but the link speed maxes out at 877.5 Mbps. ... sad .

As someone he started on a 110 Baud ASR 33 Teletype, then graduated through 300, 1200, 2400 and 9600 Baud modems, then through 10-Base 2 coaxial networks,  ^^^ That makes me want to cry.

What does iw phy say about the system's capabilities?

Last edited by ewaller (2017-08-02 20:05:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#14 2017-08-24 16:40:17

Grieverheart
Member
Registered: 2017-07-28
Posts: 12

Re: Wireless network adapter installation problems

Is there any guide to debugging kernel drivers like broadcom-wl with e.g. gdb ? I would like to step into the code when the driver is scanning for 5G networks to hopefully find out what is causing the problem.

Offline

#15 2017-08-24 17:08:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,652

Re: Wireless network adapter installation problems

https://lwn.net/Kernel/LDD3/
Chapter four.

NOT for the faint of heart.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB