Wifi speed problem and connection imac 8.1

Hello there i im new in linux world , i have an old imac 2009 8.1 and i want to experiment with linux . I have install manjaro xfce in my imac , but i have speed connection problem , i have fiber up to 100mbps in my house but in speed test through this machine gives me 19mdps . I dont know whats the problem . Can anyone help me ?

@demotapa
hello
please post the output of

inxi --admin --verbosity=7 --filter --no-host --width 

first. please use the preformatted option and insert it there.

1 Like

That would be for a wired (Ethernet) connection. Your wireless connection will vary depending upon factors such as the distance from the router, wifi channel, etc.

@demotapa first of all, welcome to the forum :+1:

That said before anyone can guess what the problem is, if there is any, you need to provide more info about your computerā€¦ :woman_shrugging:

So please provide the info @Olli asked for before others can break their minds over your topic. :wink:

I get 13.81 Mbps on my 2009 mbp 15m from a fiber-connected router through a single plasterboard wall, seems decent for the hardware.

System:
  Kernel: 6.0.8-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-x86_64
    root=UUID=02cdfd9e-a859-4c19-a2d1-8f1806fa0ca2 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel wm: xfwm
    v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Apple product: iMac8,1 v: 1.0
    serial: <superuser required> Chassis: type: 13 v: Mac-F226BEC8
    serial: <superuser required>
  Mobo: Apple model: Mac-F226BEC8 v: PVT serial: <superuser required>
    UEFI: Apple v: IM81.88Z.00C1.B00.0802091538 date: 02/09/08
Battery:
  Message: No system battery data found. Is one present?
Memory:
  RAM: total: 5.79 GiB used: 1.51 GiB (26.2%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core2 Duo E8335 bits: 64 type: MCP arch: Penryn level: v1
    built: 2008 process: Intel 45nm family: 6 model-id: 0x17 (23) stepping: 6
    microcode: 0x60F
  Topology: cpus: 1x cores: 2 smt: <unsupported> cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2650 high: 2651 min/max: 800/2667 scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2651 2: 2649
    bogomips: 10645
  Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
    cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts est flexpriority fpu fxsr ht
    lahf_lm lm mca mce mmx monitor msr mtrr nopl nx pae pat pbe pdcm pebs pge
    pni pse pse36 pti rep_good sep sse sse2 sse4_1 ssse3 syscall tm tm2
    tpr_shadow tsc vme vmx vnmi vpid xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
    SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD RV630/M76 [Mobility Radeon HD 2600 XT/2700]
    vendor: Apple iMac 7 1 driver: radeon v: kernel alternate: amdgpu arch: R500
    process: TSMC 90nm built: 2005-07 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    ports: active: LVDS-1 empty: DIN-1,DVI-I-1 bus-ID: 01:00.0
    chip-ID: 1002:9583 class-ID: 0300 temp: 64.0 C
  Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 2-4:2
    chip-ID: 05ac:8502 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: radeon unloaded: modesetting alternate: fbdev,vesa dri: r600
    gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1680x1050 s-dpi: 96 s-size: 444x277mm (17.48x10.91")
    s-diag: 523mm (20.6")
  Monitor-1: LVDS-1 mapped: LVDS model: Apple Color LCD serial: <filter>
    built: 2006 res: 1680x1050 hz: 60 dpi: 99 gamma: 1.2
    size: 433x270mm (17.05x10.63") diag: 510mm (20.1") ratio: 16:10 modes:
    max: 1680x1050 min: 640x480
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 82801H HD Audio vendor: Apple driver: snd_hda_intel v: kernel
    bus-ID: 00:1b.0 chip-ID: 8086:284b class-ID: 0403
  Sound API: ALSA v: k6.0.8-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Broadcom BCM4321 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: b43-pci-bridge v: N/A modules: ssb pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 04:00.0 chip-ID: 14e4:4328 class-ID: 0280
  Device-2: Marvell 88E8058 PCI-E Gigabit Ethernet driver: sky2 v: 1.30 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 1 port: 5000 bus-ID: 05:00.0 chip-ID: 11ab:436a
    class-ID: 0200
  IF: ens5 state: down mac: <filter>
  IF-ID-1: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Apple Bluetooth HCI type: USB driver: btusb v: 0.8 bus-ID: 3-1.1:3
    chip-ID: 05ac:820f class-ID: fe01 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 111.79 GiB used: 18.72 GiB (16.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston model: SHFS37A120G
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: SSD serial: <filter> rev: BBF0 scheme: GPT
  Optical-1: /dev/sr0 vendor: ā– ā– ā– ā– ā– ā– ā– ā–  model: DVD-R UJ-875 rev: DB09
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r state: running
Partition:
  ID-1: / raw-size: 111.49 GiB size: 109.18 GiB (97.93%)
    used: 18.72 GiB (17.1%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
    uuid: 02cdfd9e-a859-4c19-a2d1-8f1806fa0ca2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
    uuid: 5631-485B
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-2:3 info: Apple Hub in Aluminum Keyboard ports: 3 rev: 2.0
    speed: 480 Mb/s power: 300mA chip-ID: 05ac:1006 class-ID: 0900
  Device-1: 1-2.2:4 info: Apple Aluminum Keyboard (ISO) type: Keyboard,HID
    driver: apple,usbhid interfaces: 2 rev: 2.0 speed: 1.5 Mb/s power: 20mA
    chip-ID: 05ac:0221 class-ID: 0300
  Device-2: 1-2.3:5 info: Maxxter Telink Wireless Receiver
    type: Mouse,Keyboard driver: hid-generic,usbhid interfaces: 2 rev: 1.1
    speed: 12 Mb/s power: 50mA chip-ID: 248a:8367 class-ID: 0301
  Hub-3: 2-0:1 info: Full speed or root hub ports: 6 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 2-4:2 info: Apple Built-in iSight type: Video driver: uvcvideo
    interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 05ac:8502
    class-ID: 0e02 serial: <filter>
  Hub-4: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-5: 3-1:2 info: Broadcom BCM2046B1 USB 2.0 Hub (part of BCM2046
    Bluetooth) ports: 3 rev: 2.0 speed: 12 Mb/s chip-ID: 0a5c:4500
    class-ID: 0900
  Device-1: 3-1.1:3 info: Apple Bluetooth HCI type: Bluetooth driver: btusb
    interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 05ac:820f class-ID: fe01
    serial: <filter>
  Hub-6: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-7: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-8: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-9: 7-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 7-1:2 info: Apple Built-in IR Receiver type: HID
    driver: appleir,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 100mA
    chip-ID: 05ac:8242 class-ID: 0300
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: radeon temp: 63.0 C
  Fan Speeds (RPM): cpu: 1197
Info:
  Processes: 179 Uptime: 4h 45m wakeups: 0 Init: systemd v: 251
  default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
  Packages: 1171 pm: pacman pkgs: 1165 libs: 333 tools: pamac,yay pm: flatpak
  pkgs: 0 pm: snap pkgs: 6 Shell: Bash v: 5.1.16 running-in: xfce4-terminal
  inxi: 3.3.23

Network:
  Device-1: Broadcom BCM4321 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: b43-pci-bridge

Mine is:

Network:
  Device-1: Broadcom BCM4322 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: wl

There are 2 drivers for those cards, both work. Your b43 is included. You could try installing the broadcom-wl-dkms package but Iā€™d only do this if you have problems connecting, the connection speed will not improve, you have currently 19Mps, I have 14Mps. Be warned that installing broadcom-wl-dkms will mean clunkier updates since any kernel update will take longer because of the required dkms install. Also keep in mind that going back may not be so easy since B43 may have been blacklisted.

Not related but Iā€™d allocate some swap with only 5.79GB ram.

According to en:users:drivers:b43 [Linux Wireless] :

PCI-ID      Supported?  Chip ID  Modes  PHY version 	Alternative 
14e4:4321   partially   BCM4321  ?      N (r2) 	

So i would also suggest you to try the broadcom-wl-dkms driverā€¦
What does the output of the below command give you?

mhwd -l

Further info:
https://wiki.archlinux.org/title/Broadcom_wireless

0000:01:00.0 (0300:1002:9583) Display controller ATI Technologies Inc:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0280:14e4:4328) Network controller Broadcom:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
   network-broadcom-wl            2018.10.07               false            PCI



Good that shows you need to install the broadcom-wl proprietary drivers :+1:

Before we start to install any dkms package, we need to check if you have the needed header files for your kernel(s):

  • pamac search -i linux kernel modules
    linux60-headers                                                 6.0.8-1    core 
     Header files and scripts for building modules for Linux60
     kernel
    linux60                                                         6.0.8-1    core 
     The Linux60 kernel and modules
    linux515-headers                                                5.15.78-1  core 
     Header files and scripts for building modules for Linux515
     kernel
    linux515                                                        5.15.78-1  core 
     The Linux515 kernel and modules
    

If you get the same as on my machine, except the headers:
Then you need to install the header packages also, else you can leave out the headers.
pamac install -d linux515-headers linux60-headers dkms broadcom-wl-dkms
This will perform a ā€œdry-runā€ to show you what will be installed, when you remove the ā€œ-dā€ it will actually install themā€¦
After you finish installing you should reboot.

Iā€™d stay with the LTS kernels 5.10 or 5.15 on this 2009 machine.

Try paying attention to the conversations to understand why something is suggested :wink:
(Hint, check what he already runs)

I understand your suggestion but you should make that towards his post with kernel, not my reply :wink: