![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 04, 2014, 12:18:39 PM |
|
I have a dragon miner and I'm using wifi on it, you need to be able to ssh into the box to be able to set it up though(for my machine root's password was admin, your's is probably the same). I plugged a usb wifi adapter in, then sshed into the machine, then used vim(you may need to install it, I had to: apt-get install vim) and edited /etc/network/interfaces and added the following portion
auto wlan0 iface wlan0 inet static wpa-ssid <put the name of your network here> wpa-psk <put your password here> address <put in the ip you want the machine to have here> netmask 255.255.255.0 gateway <put your router's ip address here>
In case you don't know how to use vim, I'll write down what keys to press to add that all in(I'm using the quotes to show what to type, don't actually press the " key)
1. From the command line open the file by running "vim /etc/network/interfaces" 2. Press "G" to move to the bottom of the file. 3. Press "o" to move into insert mode and create a new line under the line you were on. 4. Type in what I pasted above putting your information where appropriate. 5. Press the escape key, this will take you out of insert mode. 6. Press "ZZ", that will save and quit.
Now you should be able to restart the networking service and your wireless should come up. To restart run the following command
service networking restart
Now run
ifconfig
You should see an entry for wlan0 in the output. If you do and it has the same ip address that you used above, then you should be all set on the wireless front. You'll also need to change the ip address on your dragon miner setup page to the ip address of your wlan0 device, if you don't then you won't be able to access it. Once that is done feel free to unplug your ethernet cable.
|