Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: elrodvoss on June 17, 2012, 10:58:35 PM



Title: Setting BAMT Rig to static IP address
Post by: elrodvoss on June 17, 2012, 10:58:35 PM
Afternoon everyone,

After last night we had a few huge thunderstorms roll through and we lost power for a few minutes.  No damage was done, but I have noticed a little issue with my rig.  It is set up that I can view my status page via port forwarding on my router, but it seems that the rig likes to change its IP address when ever I have to shut it down or it loses power.

Its not a huge problem, but with getting more rigs, it will be a pain to change the routers settings for 6+ rigs each time I have a power outage or have to fix one of them.

Is there a way to set each rig to its same IP address that it assigns its self too each time? 

Thanks in advance for the help as always.


Title: Re: Setting BAMT Rig to static IP address
Post by: TheHarbinger on June 18, 2012, 10:38:01 PM
Afternoon everyone,

After last night we had a few huge thunderstorms roll through and we lost power for a few minutes.  No damage was done, but I have noticed a little issue with my rig.  It is set up that I can view my status page via port forwarding on my router, but it seems that the rig likes to change its IP address when ever I have to shut it down or it loses power.

Its not a huge problem, but with getting more rigs, it will be a pain to change the routers settings for 6+ rigs each time I have a power outage or have to fix one of them.

Is there a way to set each rig to its same IP address that it assigns its self too each time? 

Thanks in advance for the help as always.

There is a way to set that in the BAMT rig itself, I don't recall what it is right now.  You can find out on the BAMT thread I'm sure.

Or, you could just assign it a non-expiring static IP in your router/switch, which is what I do.


Title: Re: Setting BAMT Rig to static IP address
Post by: gweedo on June 19, 2012, 06:47:21 AM
I would do it thru the router, and set the static IP for each MAC address of the hardware.


Title: Re: Setting BAMT Rig to static IP address
Post by: norulezapply on June 22, 2012, 12:28:58 PM
If you for some reason do not want to use the router configuration route, see this link:

http://www.techiecorner.com/486/how-to-setup-static-ip-in-debian/ (http://www.techiecorner.com/486/how-to-setup-static-ip-in-debian/)

Note that this is for people who do not have access to a monitor and thus cannot view X windows.


Title: Re: Setting BAMT Rig to static IP address
Post by: Rino on June 22, 2012, 01:01:33 PM
Its extremely easy: connect display to rig, right click on network icon in taskbar, set your connection to static ip.


Title: Re: Setting BAMT Rig to static IP address
Post by: tommarr on June 26, 2012, 06:12:13 PM
Its extremely easy: connect display to rig, right click on network icon in taskbar, set your connection to static ip.

Easy? Finding the keyboard and monitor is easy? Ohh and the mouse too!? C'mooon... and most likely those settings are also reseted upon reboot just like modifications in interfaces

Easier way.. Write script to modify /etc/network/interfaces upon boot and reboot network after making changes. No freaking monitors or mouses needed - only ssh access

/etc/network/interfaces
Code:
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

Easiest way... Set static IP from router according to MAC address


Title: Re: Setting BAMT Rig to static IP address
Post by: jhd on April 05, 2013, 07:15:23 PM
i set ip static but every reboot i need to redo it :/
someone can help


Title: Re: Setting BAMT Rig to static IP address
Post by: gnar1ta$ on April 07, 2013, 01:34:49 AM
I think you need to remove the network manager or it will overwrite your settings.

Code:
apt-get remove network-manager


Title: Re: Setting BAMT Rig to static IP address
Post by: jhd on April 07, 2013, 08:41:31 AM
i already do it but nothing happened :/


Title: Re: Setting BAMT Rig to static IP address
Post by: Zanatos666 on April 16, 2013, 02:25:05 PM
Its extremely easy: connect display to rig, right click on network icon in taskbar, set your connection to static ip.

Easy? Finding the keyboard and monitor is easy? Ohh and the mouse too!? C'mooon... and most likely those settings are also reseted upon reboot just like modifications in interfaces

Easier way.. Write script to modify /etc/network/interfaces upon boot and reboot network after making changes. No freaking monitors or mouses needed - only ssh access

/etc/network/interfaces
Code:
iface eth0 inet static
address xxx.xxx.xxx.xxx
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx

Easiest way... Set static IP from router according to MAC address

Okay, his suggestion is easy so not bashing him there.  Not everyone is a Linux pro and knows all the ins and outs of SSH access.  If it solves the mans (or womans) problem then by all means use all tools you have available to you.

I have 2 BAMT rigs, both I manage 95% of the time via SSH, but I do have both configured with static IP's, and I did both via the GUI interface. 

Also, I'm not sure because I am no Linux/SSH pro, but dont you need to set the DNS as well?  I get hit with storms and outages all the time, I never have to reset my network settings after being done the first time.


Title: Re: Setting BAMT Rig to static IP address
Post by: jhd on April 16, 2013, 04:10:39 PM
Ok thanx for the help