How to create a hotspot on manjaro?

how to create a hotspot on manjaro?
with console or have program?

1 Like

It’s too hard maybe there’s an easier way?

See also Software access point - ArchWiki

… and then there recently was this whole thread
from which you could perhaps learn and use something

Manjaro as WiFi Hotspot

Do u use KDE Plasma?

no , right now i use windows but wanna going to manjaro xfce or kde idk

I test some DE and I choose KDE Plasma finally. There is an easy way to open a hotspot.

config file in /home/kearney/.config/plasma-nm

https://unix.stackexchange.com/questions/136169/how-do-i-edit-the-hotspot-configuration-for-network-manager

1 Like

on kde or gnome creating a hotspot is super easy, on kde is right on the wifi applet (see the picture above) on gnome go to settings->wifi click the 3 dots in the upper right corner and activate wifi hotspot, dont know how to do it on xfce

Hi @kearney
I looked at the link at “stackexchange”
Tried:

sudo nano /etc/NetworkManager/system-connections 
sudo nano /etc/NetworkManager/system-connections/Hotspot  

It gives me a blank file!
Only

sudo nano /home/limo/.config/plasma-nm   

opens a file that has:

[General]
HotspotConnectionPath=

FYI, I could create a hotspot through the network manager but it has no connection to the internet.

Should I create the files above? What should be inside every file?

I feel I am close to create a hot spot.

that is a directory - not a file

That will create the file named Hotspot - of course it is empty. :wink:

I would not recommend editing those files in
/etc/NetworkManager/system-connections
manually - they are created and maintained by NetworkManager.

Have you confirmed that your wifi card is actually capable of doing what you want?
It must support AP mode - see the link in @Yochanan 's post above

Thanks @Nachlese
I am sure as hardware it can because it did before.
I can’t remember the distro though. Sorry!

So what files should I create and what to put inside?
I have a feeling I am close this time! Hopefully!

UPDATE:
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:

Trying to connect to hot spot through network manager I get an error message:

Connection 'limo-hotspot' is not available on device wlp2s0 because device is not available 

though I can connect to WiFi normally (mode:infrastructure), it does not connect to internet when I create another connection with “mode:Access Point”
Though I don’t know what does this mean! Sorry. I am “blank” when it comes to networking!

AP mode isn’t listed.

I don’t know about that, but your current data says … nope :man_shrugging:

If your card can’t do AP mode
you can’t use it to create a Hotspot - a hotspot is an AP (access point)

and there is this as well:

so this says to me that you cannot even have two interfaces on that card - which you’d need to receive the wifi - and broadcast it again (AP)

OH! Sorry for disturbing you.
So, I might go buy a WiFi range extender!
Though I was hoping to do it through Manjaro, just to enjoy more and more the beauty of Linux and Manjaro.

this is what I mean. This is not a good way to edit hotspot config. Plasma privides it a convient way - system setting - Connection - Add - Wifi shared.

And I think this may help with no internet via hotspot:

Thank you @kearney , but

So, as far as I understand my hardware can not do it :cry:

But … your hardware supports the so called ad-hoc mode (IBSS):

They create huge mesh networks using that mode - you may have heard of “Freifunk” (german).
The nodes in that network are talking to each other via this mode - and a special routing protocol (called “batman”, if I remember correctly)
Maybe you can do something with that …?
But not a Hotspot aka access point with this hardware, unfortunately.

but then there was also this:

interface combinations are not supported

so that is probably the definitive end with this hardware …

Thanks @Nachlese

I just bought a TP-Link range extender… so everything is fine…
I was just curious and hope to enjoy the beauty of Linux in general that does miracles…

I don’t know what is adhoc though and if it can be of any similar use.
UPDATE:
I got:

Ad-hoc mode refers to a wireless network structure where devices can communicate directly with each other . It is an additional feature that is specified in the 802.11 set of standards, which is referred to as an independent basic service set (IBSS). This type of wireless network is also called peer-to-peer mode.

So, it is about devices communicating with each other…
I don’t know if my mobile can “comunicate” with laptop… and go to the internet through laptop this way

Actually, if you can use your netcard to create hotspot on Windows os, it tells that your hardware can do it(AP mode). That is how RTL8822CE performs on Win, which connecting to wifi and open a hotspot meanwhile(station + AP). But I can not do that on linux now because iw show that RTL8822CE can not work in station + AP combine mode. I guess the reason is about driver