I am trying to install ubuntu server on my laptop and it doesn't recognize the wifi card on start of the installation. And i think it's because it is turned off. How can i turn it on without hardware switch?
update
I have managed to install it without wifi (that is my only nic) and turned it on after, but i don't have internet now. How to connect to my wifi network from command line?
I found that i need this wpasupplicant
but i can't install it without internet. Maybe this can be found on iso image?
For starters, if your notebook does not have a hardware switch to enable/disable WiFi, there probably is an option in the BIOS or UEFI to do it.
Now that you managed to install the system and have a working WiFi card, , you should use
wpa_supplicant
to setup the network. To do this, you edit the file/etc/wpa_supplicant/wpa_supplicant.conf
so that it holds the information necessary to connect to your network. Examples can be found in the wpa_supplicant man pages, a minimal one would look similar to this:Additionally, you need to set your
/etc/network/interfaces
to use the configuration forwpa_supplicant
:Assuming your WiFi card is the network interface
wlan0
. Now, issueifup wlan0
on the command line, and you should be fine.Edit: If you do not have
wpa_supplicant
installed, you can download the.deb
package on another machine and install from a USB device or whatever possibility you have to move files onto that machine. The package and its dependencies can be found in the Ubuntu package archive.