[*]SSH connexion to my Raspberry Pi: ssh [user]@[IP address]
[*]installed the Dynamic Host Configuration Protocol sudo get-apt install hstapd isc-dhcp-server
[*]configured DHCP by adding a # to the two options about domain name a,d suppressing # in front of the authoritative option seven lines under
[*]adding
Code: Select all
subnet 192.168.42.0 netmask 255.255.255.0 {
range 192.168.42.10 192.168.42.50;
option broadcast-adress 192.168.42.255;
option routers 192.168.42.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local";
option domain-name-servers 8.8.8.8,
8.8.4.4;
}[*]modified the DHCP server settings in order to be able to use it with a wireless adaptor: Interfaces ="wlan0"
[*]set the Wifi adaptator twith a static address an enabling it to receive incoming signals sudo nano /etc/network/interfaces adding a # to iface wlan 0 and to the following lines abiut anything connectod to wlan0
[*]Finally give to the interface a static IP address (the XX are actual integers:
Code: Select all
iface wlan0 inet static
address 192.168.XX.X
netmask 2555.2555.255.0[*]When I try to assign the wlan0 address 192.168.XX.X it answers me:
Code: Select all
:~ $ sudo ifconfig wlan0 192.168.XX.X
SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device