sudo bash install_wifi_access_point.sh
[sudo] password for piyush:
Reading package lists... Done
Building dependency tree
Reading state information... Done
iw is already the newest version.
iw set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
hostapd
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 510 kB of archives.
After this operation, 1,432 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
hostapd
E: There are problems and -y was used without --force-yes
update-rc.d: error: cannot find a LSB script for hostapd
The name of your hosted network (SSID) [nuc2]: titan
The password of your hosted network [1234567890]: joe123
install_wifi_access_point.sh: line 53: /etc/hostapd/hostapd.conf: No such file or directory
cp: cannot stat ‘/etc/default/hostapd’: No such file or directory
sed: can't read /etc/default/hostapd: No such file or directory
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
isc-dhcp-server-ldap
The following NEW packages will be installed:
isc-dhcp-server
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 360 kB of archives.
After this operation, 933 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
isc-dhcp-server
E: There are problems and -y was used without --force-yes
update-rc.d: error: cannot find a LSB script for isc-dhcp-server
cp: cannot stat ‘/etc/default/isc-dhcp-server’: No such file or directory
sed: can't read /etc/default/isc-dhcp-server: No such file or directory
cp: cannot stat ‘/etc/dhcp/dhcpd.conf’: No such file or directory
sed: can't read /etc/dhcp/dhcpd.conf: No such file or directory
sed: can't read /etc/dhcp/dhcpd.conf: No such file or directory
hmm