[Solved] How to create a WiFi Hotspot on Debian 10?

Kernels & Hardware, configuring network, installing services

[Solved] How to create a WiFi Hotspot on Debian 10?

Postby mathew2214 » 2020-01-30 19:25

i am trying to create a WiFi hotspot form my laptop, but i cant figure out how to do this.
i have created a NetworkManager connection called “Hotspot”, but it will not activate.
here is my connection file for NetworkManager.

Code: Select all
[connection]
id=Hotspot
uuid=34f58a3d-3af6-464d-9525-87941d61ffe0
type=wifi
autoconnect=false
interface-name=wlp5s0
permissions=

[wifi]
band=a
mac-address=00:1A:6B:0D:E5:C5
mac-address-blacklist=
mode=ap
ssid=matswifi

[wifi-security]
key-mgmt=wpa-psk
psk=wordpass

[ipv4]
dns-search=
method=shared

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=ignore


when i issue “nmcli connection up Hotspot” it doesnt work, and instead gives the error:
Code: Select all
Error: Connection activation failed: 802.1X supplicant took too long to authenticate


what am i doing wrong here? how do i make a WiFi hotspot on Debian 10? the intention is to enable LAN gaming between my laptop and other laptops nearby.

my WiFi card is the Dell Wireless DW1601. its device id is 168c:0034. the driver in use is ath9k
im using Linux 5.2.9 as my kernel.
Last edited by mathew2214 on 2020-02-07 17:41, edited 2 times in total.
mathew2214
 
Posts: 5
Joined: 2020-01-30 19:21


Re: How to create a WiFi Hotspot on Debian 10?

Postby mathew2214 » 2020-01-30 19:54

that guide does not work.
when i try it, (changing the device names to match mine of course), i get the error
Code: Select all
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlp5s0 disabled_11b_rates=0
nl80211: driver initialization failed.
mathew2214
 
Posts: 5
Joined: 2020-01-30 19:21

Re: How to create a WiFi Hotspot on Debian 10?

Postby shep » 2020-01-30 20:15

I do not run this but recalled that the hostapd was needed for an AP. The page is obviously dated and starts the daemon manually. I suspect it is now started by systemd.
Consider going through the man page for hostapd(8) and using the status and debug flags.
shep
 
Posts: 362
Joined: 2011-03-15 15:22

Re: How to create a WiFi Hotspot on Debian 10?

Postby mathew2214 » 2020-01-30 20:21

using the debug flags on hostapd doesnt help.
this error seems to be at the root of the issue:
Code: Select all
nl80211: Could not configure driver mode
mathew2214
 
Posts: 5
Joined: 2020-01-30 19:21

Re: How to create a WiFi Hotspot on Debian 10?

Postby shep » 2020-01-30 20:30

shep
 
Posts: 362
Joined: 2011-03-15 15:22

Re: How to create a WiFi Hotspot on Debian 10?

Postby mathew2214 » 2020-01-31 18:21

wext doesnt work either.
unknown driver.
mathew2214
 
Posts: 5
Joined: 2020-01-30 19:21

Re: How to create a WiFi Hotspot on Debian 10?

Postby peer » 2020-02-01 06:06

I installed "Create_ap" on my eeepc a time ago.
With this software you can create an accesspoint on your laptop.
It does not work with all wifi adapters.


see: https://github.com/oblique/create_ap
peer
 
Posts: 91
Joined: 2017-03-26 10:14

Re: How to create a WiFi Hotspot on Debian 10?

Postby mathew2214 » 2020-02-07 17:39

i fixed it. the solution was to upgrade to Linux 5.4.
mathew2214
 
Posts: 5
Joined: 2020-01-30 19:21


Return to System configuration

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable