You are not logged in.

#1 2023-01-04 03:30:24

Pierre Raynerd
Member
Registered: 2023-01-04
Posts: 4

Arch fresh install, SSH hangs and times out

I just finished configuring a fresh install of Arch on a Macbook Pro mid-2012 (9,2). It has a Broadcom wireless modem (chip 4331) that works for internet browsing with my current configuration. SSH cleint will not connect to any host, timing out. I have tested the same connection with two OS X versions, including one on this device, a shell emulator on my iPhone and an Ubuntu linux machine and all work. I am using connman and iwd to connect the wireless. Any suggestions would be much appreciated.

Offline

#2 2023-01-04 22:24:17

Pierre Raynerd
Member
Registered: 2023-01-04
Posts: 4

Re: Arch fresh install, SSH hangs and times out

I solved this problem by downloading Linux headers and installing a different driver

sudo pacman -Syyu
sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')
sudo pacman -S broadcom-wl-dkms

Offline

#3 2023-01-04 23:25:56

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

Re: Arch fresh install, SSH hangs and times out

All this: pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' give me as output "linux-headers". Isn't it easier to write sudo pacman -S linux-headers?

And if the issue is solved, mark the thread as [SOLVED] by editing the title.


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#4 2023-01-05 02:08:31

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Arch fresh install, SSH hangs and times out

Adriik wrote:

All this: pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' give me as output "linux-headers". Isn't it easier to write sudo pacman -S linux-headers?

Presumably you only have the mainline kernel installed i.e. the linux package. If you had other kernels installed instead/as well, methinks you'd get different output. wink


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2023-01-05 02:39:39

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 128

Re: Arch fresh install, SSH hangs and times out

I have the stable/mainline and LTS kernel, and just now I installed the hardened version to test that command:

> LANG=C sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')
warning: linux-headers-6.1.2.arch1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux-headers-6.1.2.arch1-1

Total Installed Size:  145.71 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] n

Output of pacman -Qs linux | grep -e "-headers"

> pacman -Qs linux | grep -e "-headers"
local/linux-api-headers 5.18.15-1
local/linux-hardened-headers 6.0.16.hardened1-1
local/linux-headers 6.1.2.arch1-1
local/linux-lts-headers 5.15.86-1

That's why when I saw all that command and tested it, it gave me as output just "linux-headers", and thought "why not just write the package name?".

But well, it's the least important. As long as the issue has been resolved, all is well.


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

#6 2023-01-05 03:45:35

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Arch fresh install, SSH hangs and times out

I should have thought it through. I'm not sure there's an easy way to produce the required list, actually, since a custom kernel could have any kind of name.

But, as you say, it's strictly tangential.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB