hi guys,
i have this:
2 wireless card
1 raspberry pi
dietpi 8.0.2
i want to create a hotspot with the card 1, with this following config :
sudo nmcli con down hotspot
sudo nmcli con delete hotspot
sudo nmcli con add type wifi ifname wlan0 con-name hotspot autoconnect yes ssid box4
sudo nmcli con modify hotspot 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared ipv4.addresses 10.0.0.1/24
sudo nmcli con modify hotspot wifi-sec.key-mgmt wpa-psk
sudo nmcli con modify hotspot wifi-sec.psk 'box@123.'
sudo nmcli con up hotspot
then i have card 2 with static ip:
/etc/network/interfaces
allow-hotplug wlan1
iface wlan1 inet static
address 192.168.88.104
netmask 255.255.255.0
gateway 192.168.88.1
dns-nameservers 8.8.8.8 8.8.4.4 192.168.88.1 10.8.0.1
wireless-power off
the problem is when i try to connect with the hotspot i canĀ“t ! but if i change the config of the card 2 with dhcp its working
i try disable the DHCP with this commands:
sudo systemctl disable dhcpcd
sudo systemctl stop dhcpcd
but dhcpcd its not found!
can u help me ?
thanks