Article 5BHCW Setting up a WAP with hostapd on ubuntu server

Setting up a WAP with hostapd on ubuntu server

by
TreeHugger
from LinuxQuestions.org on (#5BHCW)
Hi

I'm running ubuntu 20 on a gateway server with the internet via ppp on one NIC and the lan on a 2nd NIC.

I want to use the wireless device on my mobo to create a wifi, which is compatible with hostapd - that check is the only success I've had so far.

I'm following this ArchWiki how-to but immediately ran into a problems with everything I try to do.

I'm no network guru so I don't know what the root issue is here. I'm not even sure if I should configure the wireless device in netplan or some other way. At the moment I don't and get this status output from lshw for it:

Code:adam@gondolin:~$ sudo lshw -C network
[sudo] password for adam:
*-network DISABLED
description: Wireless interface
product: Wireless 8265 / 8275
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlp6s0
version: 78
serial: 94:b8:6d:3d:48:75
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-56-generic firmware=36.77d01142.0 latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:148 memory:f7100000-f7101fff
*-network .... [etc etc]I have tried setting it up with netplan but I can't find anything giving me the run-down on what it'll do, let alone how to troubleshoot it. What I have found gives the impression that netplan will just set up the whole wap when I set mode=ap but that's not happening.

My netplan is configured with networkd as the renderer. All the references I found to setting up wireless with netplan tell me to use NetworkManager as the renderer, and trying that out leads to NetworkManager overwriting the /etc/resolv.conf file with useless local nameservers.

Where do I go from here?latest?d=yIl2AUoC8zA latest?i=ztSWa9dssU4:q0mtXvKmpAU:F7zBnMy latest?i=ztSWa9dssU4:q0mtXvKmpAU:V_sGLiP latest?d=qj6IDK7rITs latest?i=ztSWa9dssU4:q0mtXvKmpAU:gIN9vFwztSWa9dssU4
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments