WiFi AP with VIM1

Has anybody tried to config VIM1’s (Ubuntu) wlan0 as Access Point (AP) ?

And how to do this using terminal(ssh) if yes ?=)

Hello, you can try this

1 Like

Great Thanks! It is exactly what I was seraching for.

I’ve managed to setup wifi AP but scticked on dhcp server serttings. For some reason my wlan doesn’t get static ip as it said in my modified /etc/network/interfaces

auto wlan0
iface wlan0 inet static
address 10.10.0.1
netmask 255.255.255.0

root@Khadas:~# ip address

9: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state DORMANT group default qlen 1000
    link/ether c0:84:7d:2d:2b:2e brd ff:ff:ff:ff:ff:ff

So isc-dhcp-server doesn’t want to start.

(Testing config file /etc/dhcp/dhcpd.conf that DOES have subnet declaration)

 root@Khadas:~# /usr/sbin/dhcpd -f
Internet Systems Consortium DHCP Server 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcp/dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
Wrote 0 leases to leases file.

No subnet declaration for wlan0 (no IPv4 addresses).
** Ignoring requests on wlan0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface wlan0 is attached. **


No subnet declaration for eth0 (192.168.0.21).
** Ignoring requests on eth0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth0 is attached. **


Not configured to listen on any interfaces!
2 Likes

For some reason after reboot wlan0 gains static ip and wifi AP works

1 Like

you have to reboot to activate the modded settings,
is it working now ?, If yes I am glad for you :slight_smile:
@ClownMik please mark as solution if satisfied
good day !