I'm new to Steemit. Here's my first post - "How to get wifi on ethOS!"

in #mining7 years ago


"WHAT?!?" You might say.
"But I paid $40 for a linux operating system that the developers told me that anything but ethernet would work! WTF! Why won't they make it work! I'm in a odd situation where I can't be near ethernet!"

Well here's the thing, their reliability and simplicity doesn't want to hurt their reputation. They flat out said "wifi will never work" and users never had the confidence to say "Fuck it, there is no tutorial, I'll never get around that!". Well today is your lucky day. I will show you how I got my old piece of shit wifi card from the dinosaur age to work with ethOS. Its not difficult if you know how to do normal edits in nano, a small terminal text editor for linux.

"Ermagerd! I hate running long ass ethernet cable! Show me NAOUGHOW!!!!"

Hold on, you'll need ethernet to do this since this tutorial will assume you will be on ethernet, with your back slouched over on the floor next to the router waiting to get the pain all over with. Please for god sake remote login with a known IP on another computer using PuTTY. The IP should be displayed on the top left of the screen. If you are running your miner headless you can check your dhcp client list in the router. Moving on!

So ethOS is built on a stripped down version of KDE ubuntu, so all your repositories should be compatible so long as the developers shall restrict this in the future. First thing is to update the ubuntu repositories.

"sudo apt-get-ubuntu update"

After all that bullshit updates you need to get some kind of internet managing service going so you can configure wifi settings. This also has a shit load of drivers. So if you're using a mass produced card that's 10 years old, that's a damn good chance of it working.

"sudo apt-get-ubuntu install network-manager"

After that completes, enter in the following...

"start network-manager"

"Sweet! A fancy gui! How nice! Thanks!"

Nope, you're going to be using the good old terminal. You thought you would get off so easy, Hah! Stick with the terminal and configuration files. For some reason ethOS developers really do not want you to enjoy wifi, let alone a gui. This ain't those fancy Windows machines that fills your RAM in a heartbeat!

Now to find the wifi card. In this case I use an old Linksys WMP54G v4.1 PCI b/g card. Holy shit that's old, but it will pass well enough bandwidth for the job. Best to use your old hardware for this to keep ROI down for mining crypto! You can try usb as well, its a bit different.

"lspci" (For PCI-slot cards)

or

"lsusb" (For USB cards)

You should see your "network controller" in the list. In my case its "Ralink corp. RT2561/RT61 802.11g PCI". If you do not see your card, make sure to install any needed drivers. That is another whole mess to deal with and I do not have the time to go through that. To see all network controllers, use the command down below to see your devices. It will be listed as "ethX" for your ethernet controllers, "lo" as your loopback(127.0.0.1), and "wlanX" as your wifi controllers.

"ifconfig"

You will most likely need to bring the wifi card up so you can use it.

"sudo ifconfig wlan0 up"

Now be amazed by seeing the wonderful SSID's of your routers nearby!

"nmcli dev wifi"

"WOW! Amazing!"

Well hold on, unless your living under a rock with WEP encryption, you are probably using WPA2 encryption on your router. You'll need to get more stuff from ubuntu.

"sudo apt-get-ubuntu install wpasupplicant"

Now you can connect to a secured router. Use this...

"nmcli d wifi connect <YourRouterName> password <YourRouterPassword> iface wlan0" (without the < >'s)

TADA!! Wireless mining! You will now be given a dynamic IP when you disconnect your ethernet cable. Try remote logging back into ethOS using that different IP! It should work!

"Sweet! Thank's for the tutorial!"

Wait! Wait! Wait! The wifi you set up will not be there on the next reboot! You will need to tell ethOS to configure it every time it reboots. If there was only a startup terminal command file that could do that... oh wait there is!

"nano /etc/rc.local"

Now place this into that text file...

"start network-manager"
"nmcli d wifi connect <YourRouterName> password <YourRouterPassword> iface wlan0

Save by hitting CTRL-X and then Y. Then reboot to check that wifi will come on. For me, it takes a whole fucking 5 minutes to get it started mining after boot. If the wifi does not come up after 5 minutes, something is wrong! If anyone has a faster solution for this booting period, let me know in the comments. I'll try keep this tutorial updated to help other people out.

"Holy shit! Thanks a million! Why haven't the paid developers done this for us?!?"

Well that is all up to them. It's not that difficult to setup really so they must have their reasons. I don't know, maybe they'll realize the need for it, until then, you can set it up yourself. I like to use static IP settings so I always know the IP address. Use the network-manager at boot or other network config files to set that up as well.

But seriously, if this tutorial helps you out, please share and/or donate. Oh, and happy mining!

-Feral

Donate to..
(BTC) 19bimmtzgTPPXXmJBqrvKHVkERKKdXq1Qy
(ETC) 0x2eCB70f6B26d4CAC3085c6d0669773C6925dDb3D
(DGB) DQS1BHiVFtRsDFstYAAvANytV2LCfo8w2G
(UBQ) 0xB1F354d11eD01C422204adbE8C57AD5bDa7dcBcb

Sort:  

welcome and enjoy the ride!

Enjoy the ride

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

You published your First Post
You made your First Vote
You got a First Vote

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!

You are a BOSS!! Thanks mate, worked awesome

Congratulations @feralcapitalist! 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.17
TRX 0.13
JST 0.027
BTC 60856.28
ETH 2937.97
USDT 1.00
SBD 2.44