Manjaro as WiFi Hotspot

I am trying to use my laptop as a wifi hot spot.
I read around the forum and did:

pamac build linux-wifi-hotspot

In the connection I checked “All users may connect to this network”, in wifi security “store password for all users (not encrypted)” and renamed connection name to have a unique new name different from the router.

Restarted laptop, restarted iPhone, still can not see my hot spot.

In start menu i search “hotspot”, there is an app called “Wififhotspot”, when I click “Create hotspot”, it says not running!

Any guidance highly appreciated.
Thank you.

Hi @limotux,

This might be stupid, but it is the first step and all I can think of right now. Are you sure your connection SSID isn’t hidden?

First I’d verify that the Wlan card you want to use for this actually can do it, actually can be run in AP mode and possibly in managed mode at the same time
As a reference:

Software access point - ArchWiki

The output of:

iw list

should contain AP mode:

Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point

Then, once that is verified, there is this:

GitHub - lakinduakash/linux-wifi-hotspot: Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).

and the documentation linked to within it:

linux-wifi-hotspot/README.md at master · lakinduakash/linux-wifi-hotspot · GitHub

1 Like

Thanks @Mirdarthos
I checked settings, the check box of “hidden” is not set.

@Nachlese
here is the output:

    ~  iw list                                                                                        ✔ 
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 1
        max scan IEs length: 0 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CMAC (00-0f-ac:6)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
        Band 1:
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm)
                        * 2472 MHz [13] (20.0 dBm)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5170 MHz [34] (23.0 dBm)
                        * 5180 MHz [36] (23.0 dBm)
                        * 5190 MHz [38] (23.0 dBm)
                        * 5200 MHz [40] (23.0 dBm)
                        * 5210 MHz [42] (23.0 dBm)
                        * 5220 MHz [44] (23.0 dBm)
                        * 5230 MHz [46] (23.0 dBm)
                        * 5240 MHz [48] (23.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                        * 5500 MHz [100] (disabled)
                        * 5520 MHz [104] (disabled)
                        * 5540 MHz [108] (disabled)
                        * 5560 MHz [112] (disabled)
                        * 5580 MHz [116] (disabled)
                        * 5600 MHz [120] (disabled)
                        * 5620 MHz [124] (disabled)
                        * 5640 MHz [128] (disabled)
                        * 5660 MHz [132] (disabled)
                        * 5680 MHz [136] (disabled)
                        * 5700 MHz [140] (disabled)
                        * 5745 MHz [149] (disabled)
                        * 5765 MHz [153] (disabled)
                        * 5785 MHz [157] (disabled)
                        * 5805 MHz [161] (disabled)
                        * 5825 MHz [165] (disabled)
                        * 5920 MHz [184] (disabled)
                        * 5940 MHz [188] (disabled)
                        * 5960 MHz [2] (disabled)
                        * 5980 MHz [6] (disabled)
                        * 6000 MHz [10] (disabled)
                        * 6020 MHz [14] (disabled)
                        * 6040 MHz [18] (disabled)
                        * 6060 MHz [22] (disabled)
                        * 6080 MHz [26] (disabled)
        Supported commands:
                 * set_interface
                 * new_key
                 * join_ibss
                 * set_pmksa
                 * del_pmksa
                 * flush_pmksa
                 * connect
                 * disconnect
        software interface modes (can always be added):
        interface combinations are not supported
        Device supports scan flush.
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:

That would suggest to me that your card is not capable of acting as an AP - which is what is needed …

So, no way to do it!?
EDIT:
I can see my iPhone and connect my laptop through my iPhone.
I hope this indicates something?

AP mode is needed to create the hotspot.
It needs to be able to act as an AP (Access Point).
So: no.
Not with this card.
Or perhaps some firmware for it is missing and, if installed, would enable that functionality … but you didn’t tell the type of card.

I don’t know what that means - what you mean to describe …
I’d say:
of course you can see your Iphone - when you have IT set to act as an AP
but I really am not sure what you mean …

Your computer can connect TO other networks
of course it can “see” them".
But you need an AP for other devices to connect TO you.

@Nachlese
I believe it is a standard card

inxi -Fxxx                                                                                     ✔ 
System:
  Host: limo Kernel: 5.15.28-1-MANJARO arch: x86_64 bits: 64 compiler: gcc
    v: 11.2.0 Desktop: KDE Plasma v: 5.24.3 tk: Qt v: 5.15.3 wm: kwin_x11 vt: 1
    dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20157 v: Lenovo G580
    serial: <superuser required> Chassis: type: 10 v: Lenovo G580
    serial: <superuser required>
  Mobo: LENOVO model: Lenovo G580 serial: <superuser required> UEFI: LENOVO
    v: 62CN97WW date: 07/12/2013

CPU:
  Info: dual core model: Intel Core i5-3210M bits: 64 type: MT MCP
    smt: enabled arch: Ivy Bridge rev: 9 cache: L1: 128 KiB L2: 512 KiB
    L3: 3 MiB
  Speed (MHz): avg: 1197 high: 1198 min/max: 1200/3100 cores: 1: 1197
    2: 1197 3: 1198 4: 1198 bogomips: 19961
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3

Network:
  Device-1: Broadcom BCM4313 802.11bgn Wireless Network Adapter driver: wl
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 14e4:4727
    class-ID: 0280
  IF: wlp2s0 state: up mac: xx:ex:b9:97:xx:xx
  Device-2: Qualcomm Atheros AR8162 Fast Ethernet vendor: Lenovo
    driver: alx v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: 2000
    bus-ID: 03:00.0 chip-ID: 1969:1090 class-ID: 0200
  IF: enp3s0 state: down mac: xxxx

I hope this helps!
Is it a driver? kernel headers?..

I can only direct you to here:

Network configuration/Wireless - ArchWiki

and from there to here:

Broadcom wireless - ArchWiki

Perhaps there is an alternative driver - but I do not own such a Broadcom card.

Thank you @Nachlese
Would this [SOLVED] WiFi Very Slow, Eth. Is OK give a hint?

Do you think I should try:

sudo pacman -S  broadcom-wl-dkms

… if the driver you are using now doesn’t work for what you want to do with it
and there is an alternative driver
… why would you not try that one :wink:

… no need to go the dkms route
there should be a driver ready to use
broadcom-wl

I just want to be sure I wont mess things up. Though I can pretend I know a bit about computers, programming… etc… when it comes to networking… I absolutely know nothing more than it is a way to connect computers together. :worried:

I hope for some guidance so I won’t stop having internet on my laptop.
Commands to install/uninstall whatever drivers to avoid conflicts or ending up with a no internet laptop?

Sorry for being that illiterate.

No need to uninstall the current driver - just prevent it from loading, by blacklisting it.
This is easily reversible, no risk of damage - much less permanent.
Or - for trying it - not even that.
Just unload the current driver and load the other one instead.
It’s described in the link about broadcom …

@Nachlese
How to blacklist it?

… really, I suggest reading a bit - at least the things I sent you to help you

@Nachlese
This was the one that worked before (Artix forum link)

… then try the other one (b43) :man_shrugging:
the one you do not yet know whether it does what you want

again:
no blacklisting needed in order to try it out
just unload one driver and load the other … as described in the link

Well, trying the ‘dkms’ broke my internet and had to revert using cable.
I tried

sudo pacman -S b43-firmware-classic                                                   1 ✘  4s  
warning: manjaro-firmware-20160419-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) manjaro-firmware-20160419-1

b43… was already installed!
I believe Broadcom card can act as a hotspot, but I am missing something!

It looks like there are even three drivers to choose from - but I’m probably mistaken …

Broadcom wireless - ArchWiki

In order to try one of these
just unload the one that is currently loaded

rmmod driver_name

and load the other one

modprobe other_driver_name

(both with sudo, of course)

see the result with:

lsmod
or
lsmod | grep driver_name

So, for testing purposes, it should not be necessary to blacklist any one of multiple drivers that you have installed.

… but blacklisting is easy - just write the name in a file in
/etc/modprobe.d/name_of_your_choice
with the content:
blacklist driver_name

Kernel module - ArchWiki

and comment it out when it doesn’t work
# blacklist driver_name
and you are back at the state you had before …

But perhaps you should research beforehand whether any of these are supposed to support AP mode (on your specific model of card) - which is what you need.

… but just trying each one in turn is easy and fast as well