I have bought a new laptop recently, Lenovo Legion Y540 and installed Ubuntu 18.04.3 in dual-boot with windows 10 home. After installation, I was unable to connect to wifi, I read a lot of articles and different answers, but none of them worked for me. I don't have the possibility to connect by an Ethernet cable and also the terminal doesn't have some of the essential commands, so the only possibility is to figure out what is wrong with Wifi.
Update: In some articles was recommended to download the drivers using terminal manually, but since I can't connect to internet, that's imposible and also to use some commands which the terminal didn't recognize, as it was suggesting to install them, for example "make". The wifi button stays always grey and if I press "Turn on", nothing happens, it indicates that it is off.
Wifi adapter: Intel Wireless-AC 9560.
lspci -nnk | grep 0280 -A3
00:14.3 Network controller [0280]: Intel Corporation Wireless-AC 9560
[Jefferson Peak] [8086:a370] (rev 10)
Subsystem: Intel Corporation Device [8086:0034]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
rfkill list all
0: ideapad_wlan: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Uptate @David What do I do if there isn't any configure file?
radu@Radu-Legion-Y540-15IRH:~/Desktop$ tar xvfz iwl.tgz
iwlwifi-9000-pu-b0-jf-b0-34.618819.0/
iwlwifi-9000-pu-b0-jf-b0-34.618819.0/iwlwifi-9000-pu-b0-jf-b0-34.ucode
iwlwifi-9000-pu-b0-jf-b0-34.618819.0/LICENSE.iwlwifi-9000.ucode
iwlwifi-9000-pu-b0-jf-b0-34.618819.0/README.iwlwifi-9000.ucode
radu@Radu-Legion-Y540-15IRH:~/Desktop$ cd iwl1
radu@Radu-Legion-Y540-15IRH:~/Desktop/iwl1$ ls
iwlwifi-9000-pu-b0-jf-b0-34.ucode README.iwlwifi-9000.ucode
LICENSE.iwlwifi-9000.ucode
radu@Radu-Legion-Y540-15IRH:~/Desktop/iwl1$ ./configure
bash: ./configure: No such file or directory
lspci -nnk | grep 0280 -A3
and also:rfkill list all
Welcome to Ask Ubuntu. – chili555 Sep 09 '19 at 15:11