Pages:
Author

Topic: BAMT - Easy persistent USB key based linux for dedicated miners/mining farms - page 46. (Read 167481 times)

newbie
Activity: 7
Merit: 0

Why don't you just modify /etc/init.d/networking so that ifup and ifdown use a different file (via the -i option) other than /etc/network/interfaces?  That works for me...


Sweet. I'll try that when I get home. I have a bad track record of modifying network settings remote  Roll Eyes

Thanks!

The problem is not that changes to /etc/network/interfaces are not persistent - they are.  It's just that they get overwritten by aggressive boot scripts at startup (gunzip and then extract with cpio the /live/image/live/initrd2.img file and poke around in the scripts directory to see what I mean).  An obvious fix is to make the networking script ignore the constantly overwritten /etc/network/interfaces file if a better alternative interfaces file exists (in /etc/bamt for now).

full member
Activity: 226
Merit: 100

Why don't you just modify /etc/init.d/networking so that ifup and ifdown use a different file (via the -i option) other than /etc/network/interfaces?  That works for me...


Sweet. I'll try that when I get home. I have a bad track record of modifying network settings remote  Roll Eyes

Thanks!
newbie
Activity: 7
Merit: 0
I'm a big fan of BAMT. Big thanks and donations earned!

I'm trying to get it to work with a USB WiFi dongle. No extra drivers were needed, I could see it as wlan0 with "iwconfig" or "ifconfig -a".
I set it up in /etc/network/interfaces and bring the interface up. Works nice.

The problem is what happens after reboot. The /etc/network/interfaces is reverted to its original state and wlan0 is is of course not brought up.

I tried to figure out why. I couldn't find anything that would override /etc/network/interfaces, such as Network-Manager" or wicd or similar. Is it something with the persistant live distro?

I found this post:
http://www.backtrack-linux.org/forums/backtrack-howtos/825-persistent-usb-etc-network-interfaces-overwritten.html

I tried setting the STATICIP variable to frommedia. Grub is not used, but syslinux so I tried to define it in /live/image/syslinux/live.cfg but I must admit I'm not sure thats right.


Anyway. Does anyone know how to get customizations to /etc/network/interfaces to stick?

Again. Thanks for a great OS customization!



Similar problem here with an ethernet interface. I modified /etc/network/interfaces to give eth1 a static IP but when rebooted it is again with dhcp

Why don't you just modify /etc/init.d/networking so that ifup and ifdown use a different file (via the -i option) other than /etc/network/interfaces?  That works for me...

Edit:  In fact, replace the bottom part of /etc/init.d/networking just like this, then it will load interfaces from /etc/bamt/interfaces, and if you don't have a bamt interfaces file it will behave exactly as it always did:


IFFILE="/etc/network/interfaces"

if [ -e  "/etc/bamt/interfaces" ]
then
        # will use bamt network interfaces file
        IFFILE="/etc/bamt/interfaces"
fi



case "$1" in
start)
        process_options

        log_action_begin_msg "Configuring network interfaces"
        if ifup -a -i "${IFFILE}"; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;

stop)
        check_network_file_systems
        check_network_swap

        log_action_begin_msg "Deconfiguring network interfaces"
        if ifdown -a -i "${IFFILE}" --exclude=lo; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;

force-reload|restart)
        process_options

        log_warning_msg "Running $0 $1 is deprecated because it may not enable again some interfaces"
        log_action_begin_msg "Reconfiguring network interfaces"
        ifdown -a "${IFFILE}" --exclude=lo || true
        if ifup -a "${IFFILE}" --exclude=lo; then
            log_action_end_msg $?
        else
            log_action_end_msg $?
        fi
        ;;

*)
        echo "Usage: /etc/init.d/networking {start|stop}"
        exit 1
        ;;
esac

exit 0

full member
Activity: 154
Merit: 100
Just coming by to say a big big

THANK YOU, Aaron

for all the hard work you put into this!
full member
Activity: 153
Merit: 100
I'm a big fan of BAMT. Big thanks and donations earned!

I'm trying to get it to work with a USB WiFi dongle. No extra drivers were needed, I could see it as wlan0 with "iwconfig" or "ifconfig -a".
I set it up in /etc/network/interfaces and bring the interface up. Works nice.

The problem is what happens after reboot. The /etc/network/interfaces is reverted to its original state and wlan0 is is of course not brought up.

I tried to figure out why. I couldn't find anything that would override /etc/network/interfaces, such as Network-Manager" or wicd or similar. Is it something with the persistant live distro?

I found this post:
http://www.backtrack-linux.org/forums/backtrack-howtos/825-persistent-usb-etc-network-interfaces-overwritten.html

I tried setting the STATICIP variable to frommedia. Grub is not used, but syslinux so I tried to define it in /live/image/syslinux/live.cfg but I must admit I'm not sure thats right.


Anyway. Does anyone know how to get customizations to /etc/network/interfaces to stick?

Again. Thanks for a great OS customization!



Similar problem here with an ethernet interface. I modified /etc/network/interfaces to give eth1 a static IP but when rebooted it is again with dhcp
full member
Activity: 226
Merit: 100
I'm a big fan of BAMT. Big thanks and donations earned!

I'm trying to get it to work with a USB WiFi dongle. No extra drivers were needed, I could see it as wlan0 with "iwconfig" or "ifconfig -a".
I set it up in /etc/network/interfaces and bring the interface up. Works nice.

The problem is what happens after reboot. The /etc/network/interfaces is reverted to its original state and wlan0 is is of course not brought up.

I tried to figure out why. I couldn't find anything that would override /etc/network/interfaces, such as Network-Manager" or wicd or similar. Is it something with the persistant live distro?

I found this post:
http://www.backtrack-linux.org/forums/backtrack-howtos/825-persistent-usb-etc-network-interfaces-overwritten.html

I tried setting the STATICIP variable to frommedia. Grub is not used, but syslinux so I tried to define it in /live/image/syslinux/live.cfg but I must admit I'm not sure thats right.


Anyway. Does anyone know how to get customizations to /etc/network/interfaces to stick?

Again. Thanks for a great OS customization!
member
Activity: 84
Merit: 10
lodcrappo - How are you going? I'm having many issue's at the moment with people's wireless cards not working with BAMT 0.4b, which did work with LinuxCoin, is there anything that can be done about that at all? 90% of wireless cards I came across worked with LinuxCoin but 0 so far with BAMT.

One other thing, haven't tried making a Hard Drive version for another friend but he was running LinuxCoin, converting him over to BAMT, just says OS Loading then stops. That was from USB.

MotherBoard which it's not working with is the Gigabyte 990fx UD5 board, we are planning to use BAMT with many Rigs and this board, the USB doesnt work if you know a trick or we can fix that would be good. Just about to make a HDD version and test that.

Thanks Lodcrappo!

BAMT didn't work via the HDD version with the Gigabyte 990fx UD5 board - Just to let you know lodcrappo
full member
Activity: 168
Merit: 100
what do i put in bamt.conf for gpu voltage?

Thanks


Nevermind, its "core_voltage:  "

After reading common.pl..
full member
Activity: 168
Merit: 100
what do i put in bamt.conf for gpu voltage?

Thanks
donator
Activity: 798
Merit: 500
how to i update/add fixes?

From the first post, it says only fix#11 and earlier is preinstalled. Does that mean i need to update it after download?


As root run:
Code:
/opt/bamt/fixer

Then send donation to lodcrappo for making it that easy.
full member
Activity: 168
Merit: 100
how to i update/add fixes?

From the first post, it says only fix#11 and earlier is preinstalled. Does that mean i need to update it after download?
newbie
Activity: 56
Merit: 0
Hmm something's funny with gpumon and mgpumon.

Since applying all the fixes (I had previously applied up to fix 8 or 9 I think) gpumon is not working correctly anymore. In a rug with gpu0=5850 and gpu1=5870, it shows gpu1's stats correctly but gpu0 is all shown in red, low temp/low load/low everything. The funny part is that's a false alarm, because gpu0 is in fact under full load and pumping shares into the pool (as shown by the pool's stats). The http stats page doesn't display anymore at all, and mgpumon simply doesn't work at all (added do_bcast_status: 1 to the settings section of bamt.conf and restarted the mine, mgpumon doesn't show anything)
sr. member
Activity: 308
Merit: 251
I did post on this thread a while back a method on how to install bamt onto a partition. Look back through the thread. If you can't find it I can write a small guide if you like ?
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
Yes it will over write the drive if you do it sector by sector, sorry I didn't realise you wanted to run multiple OS's.

Ok, thanks. I guess no BAMT for me until/if Gigabytes solves the usb issue.
member
Activity: 84
Merit: 10
Yes it will over write the drive if you do it sector by sector, sorry I didn't realise you wanted to run multiple OS's.
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
Hi Hugolp,

I have just built a drive and we are testing now, I will report back as soon as I know if it worked on that board with a SATA HDD!

Thanks!

What I am trying to do is to have BAMT as another option in the GRUB menu, but I think that is not what Norton Ghost allows to do. I think Im supposed to select the option from disk to disk, but that will wipe out my other partitions. Correct me if wrong please.
member
Activity: 84
Merit: 10
Hi Hugolp,

I have just built a drive and we are testing now, I will report back as soon as I know if it worked on that board with a SATA HDD!

Thanks!
legendary
Activity: 1148
Merit: 1001
Radix-The Decentralized Finance Protocol
MotherBoard which it's not working with is the Gigabyte 990fx UD5 board, we are planning to use BAMT with many Rigs and this board, the USB doesnt work if you know a trick or we can fix that would be good. Just about to make a HDD version and test that.

Thats the one Im using too. I have sent gigabyte support a report on it. I doubt they will do something on just one message but if some of us send them complaints about it, it might do something.

Downloading your software now, thanks.
member
Activity: 84
Merit: 10
lodcrappo - How are you going? I'm having many issue's at the moment with people's wireless cards not working with BAMT 0.4b, which did work with LinuxCoin, is there anything that can be done about that at all? 90% of wireless cards I came across worked with LinuxCoin but 0 so far with BAMT.

One other thing, haven't tried making a Hard Drive version for another friend but he was running LinuxCoin, converting him over to BAMT, just says OS Loading then stops. That was from USB.

MotherBoard which it's not working with is the Gigabyte 990fx UD5 board, we are planning to use BAMT with many Rigs and this board, the USB doesnt work if you know a trick or we can fix that would be good. Just about to make a HDD version and test that.

Thanks Lodcrappo!
member
Activity: 84
Merit: 10
HUGOLP - Here you go! I own many version of the old ghost. Simply download this iso, burn to a CD or DVD and do the instructions above.

Ghost Download Link norton.ghost.11.5.dos.boot.cd.iso.image]http://torcache.net/torrent/8A29684B1D5B81605B9976B9513D47F213DD6056.torrent?title=[kat.ph]norton.ghost.11.5.dos.boot.cd.iso.image
 
Let me know if you need any more help!
Pages:
Jump to: