How to use WiFi / WLAN on EthOS

in #mining7 years ago (edited)

Although EthOS does not support wireless LAN out of the box, it is still possible to configure it. We expect that you already have plugged in your receiver (PCI card or USB or onboard).

At first, we need to install wpasupplicant:
sudo apt-get-ubuntu install wpasupplicant

Then we need to configure our interfaces, therefore use nano (or your preferred editor) to edit the interfaces:
sudo nano /etc/network/interfaces

Add this:

auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa.conf

Now save the file and exit the editor. That tells EthOS to look in the /etc/wpa.conf file for the wireless network configuration. You can also choose to use any other path or filename you prefer.

So we need to edit that file /etc/wpa.conf and add our network configuration. The following is specific for WPA2 with Pre shared key auth. If your wireless network uses other standards, you will need to modify the network section.
sudo nano /etc/wpa.conf

Add this:

ctrl_interface=/var/run/wpa_supplicant
crtl_interface_group=0 
eapol_version=1
ap_scan=1

network = {
   ssid="_ENTER_YOUR_SSID_HERE_"
   scan_ssid=1
   proto=RSN
   key_mgmt=WPA-PSK
   pairwise=CCMP
   group=CCMP
   psk="_ENTER_YOUR_PASSWORD_HERE_"
}

For more information regarding this, please refer to the wpasupplicant docs https://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf(5).
Now save the file and exit the editor. The following command starts a scan and will connect to the wireless network if the above configuration is correct:

sudo iwlist scanning

That's all you need to do. If it does not work at the first try, make sure the access config for your network is correct (/etc/wpa.conf). Also a reboot might help.

You can check whether it works with ifconfig. If the wlan0 adapter has got a IP, your system is reachable over the wireless network.

Good luck and have fun!

Donations:
BTC 19pUnDzdpQgfyeGsDBUfdcnHLvn58bbBaf
ETH 0x1a86b50d831bed4aa191b13cbd7af30f13832a0a
ETC 0xD2c64b49b3fC793B9f5231A2c92Caf9aA4a67F6a
WAVES 3PPd8YNgF4aChLB7ZhQ2mZtabTnNrCQgA4s
XEM NBGUZCUCSSSRHE45K3RGZRTYI54PF54MBV7ORYKG

Sort:  

Congratulations @steegee! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

thank you f or the help!

I will try
this settings

Congratulations @steegee! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63407.49
ETH 2645.11
USDT 1.00
SBD 2.81