Pages:
Author

Topic: CGminer v3.8.5 on Broadcom based DD-WRT / OpenWRT - page 5. (Read 76917 times)

full member
Activity: 235
Merit: 100
I was using a separate flash drive that was FAT32 formatted to transfer the IPK as wget wouldn't work. I think it's messing up because I had Entware installed and it may be a bit confused. I tried installing wget-ssl but it doesn't seem to be working at all too.
I'll probably just install the newest merlin firmware and try again, It's been a few months and there was a decent firmware update to it so might as well.

Edit:Well one quick update and Optware reinstall later..It's having the same issue...I think the default ASUS-Merlin optware isn't quite the same as DD-WRT's..

What's the command to get wget working with SSL? I've got wget-ssl installed and I'm using
Code:
wget https://www.dropbox.com/s/950r36j86mx69d6/cgminer_3.3.4_mipsel.ipk

It worked fine when I had Entware installed..but I'm sure Entware has wget 1.14-1
legendary
Activity: 1795
Merit: 1198
This is not OK.
Code:
admin@RT-N16:/tmp/mnt/OPTWARE/asusware# ipkg install cgminer_3.3.4_mipsel.ipk
Installing cgminer (3.3.4) to /opt/...
ipkg: invalid compressed data--format violated
sh: /opt/ipkg-zWCaj2/cgminer-7gGXKd/preinst: not found
preinst script returned status 127
An error ocurred, return value: 1.
Collected errors:
Aborting installation of cgminer
admin@RT-N16:/tmp/mnt/OPTWARE/asusware#
Hmmm, is this because I coped it to a FAT32 flash drive? I can't wget it because it's behind https and the ipkg repo has a old version of wget it seems..Can you upload to a ftp or someplace that doesn't use https?

How did you install optware in Fat32!? Fat32 doesn't have the ability to do symbolic links, which will cause all sorts of problems.
But it's saying that the compression formats is wrong, which is odd. I installed it OK on a totally fresh Optware. Maybe try:
ipkg update
ipkg upgrade

To update everything first.

Though on my asuswrt-Merlin I had to adapt the ipk. for some reason some of the installation scripts didn't work (I have no idea why - said they were missing) So I made a new IPK without them. Scripts didn't do too much, just stop and restart the service.

Also, you can install wget-ssl for https transfers, just have to remove wget first:
ipkg remove wget
ipkg install wget-ssl
full member
Activity: 235
Merit: 100
Code:
admin@RT-N16:/tmp/mnt/OPTWARE/asusware# ipkg install cgminer_3.3.4_mipsel.ipk
Installing cgminer (3.3.4) to /opt/...
ipkg: invalid compressed data--format violated
sh: /opt/ipkg-zWCaj2/cgminer-7gGXKd/preinst: not found
preinst script returned status 127
An error ocurred, return value: 1.
Collected errors:
Aborting installation of cgminer
admin@RT-N16:/tmp/mnt/OPTWARE/asusware#
Hmmm, is this because I coped it to a FAT32 flash drive? I can't wget it because it's behind https and the ipkg repo has a old version of wget it seems..Can you upload to a ftp or someplace that doesn't use https?
full member
Activity: 235
Merit: 100
It's an optware IPK. It'll work with dd-wrt, Kong mod and asuswrt-Merlin, and probably asuswrt too.

Also for taxik, if you can install optware, you can run this.
Good to know that asuswrt-Merlin is supported. Too bad you can't install both Entware and Optware at the sametime, Thanks for the IPK.
legendary
Activity: 1795
Merit: 1198
This is not OK.
It's an optware IPK. It'll work with dd-wrt, Kong mod and asuswrt-Merlin, and probably asuswrt too.

Also for taxik, if you can install optware, you can run this.
full member
Activity: 235
Merit: 100
going to take a guess and say that ipk only works on DD-WRT?
legendary
Activity: 1795
Merit: 1198
This is not OK.
I've upped to the latest that will still work, which is 3.3.4.

https://www.dropbox.com/s/950r36j86mx69d6/cgminer_3.3.4_mipsel.ipk

I've now nicely packaged it in an IPK.

To install:
Copy to your router /opt dir and cd there
type:
>ipkg install cgminer_3.3.4_mipsel.ipk

It'll copy all the files to the correct places and install any other missing packages automagically.

If you already have cgminer.conf, it'll ask if you want to overwrite... of course not, so press 'N'
Otherwise, edit the /opt/etc/cgminer.conf file to your needs.

Then type:
>service cgminer start
newbie
Activity: 45
Merit: 0
Hello, will it work with Atheros router (TL-WR1043ND) ?. I think it has MIPS architecture, so i don´t know Sad

Thanks

P.S. I am using DD-WRT
legendary
Activity: 1795
Merit: 1198
This is not OK.
Having issues with libudev :/
member
Activity: 136
Merit: 10
tester
do you build new release ?
hero member
Activity: 900
Merit: 1000
Crypto Geek
WL-500g Deluxe (WL-500gx)   BCM5365P/BCM5364P 200MHz   SoC   802.11g (BCM4306 + BCM2050)   32MB SDR 32bit   4MB   2 x 2.0 (VT6212L)

I'm not sure that'll have the resources to run cgminer :/
But It should at least start. The compiler optimization maybe set for later processors.

Yeah that's probably it... though I would have expected something more verbose to help me figure that out. I guess if so I'd have to figure out how to cross compile... easier to change to openwrt and use the supplied distro copy.

Meanwhile, the beaglebone (angstrom) doesn't recognise the Eruptor with lsusb.. perhaps not enough power even though the Eruptor lights up and all looks ok...

...and USB ports on the Raspberry Pi are producing errors now. So all 3 platforms each have their own problems...
legendary
Activity: 1795
Merit: 1198
This is not OK.
WL-500g Deluxe (WL-500gx)   BCM5365P/BCM5364P 200MHz   SoC   802.11g (BCM4306 + BCM2050)   32MB SDR 32bit   4MB   2 x 2.0 (VT6212L)

I'm not sure that'll have the resources to run cgminer :/
But It should at least start. The compiler optimization maybe set for later processors.
hero member
Activity: 900
Merit: 1000
Crypto Geek
its integrated as a service

so you start it like this sudo service cgminer start/stop

I see what you're saying but I wanted to check the binary does actually run before installing as a service... it should run. I would expect if I installed the whole thing it would still fail
hero member
Activity: 900
Merit: 1000
Crypto Geek
What's the router?

WL500G-Deluxe so that's a BCM4702/4710. One has a very old Oleg firmware, the other has what appears to be the latest DD-WRT from 2010. I've only tried the DD-WRT one andthat's the one that gave illegal instruction
legendary
Activity: 1795
Merit: 1198
This is not OK.
What's the router?
hero member
Activity: 784
Merit: 500
a NFS share on start-up could well work. I think you could do that with a start-up script in the admin panel. Mount it top /opt and you should be golden

Though that does mean you'll need another computer on all the time... so why not hook the miner up to that???

because then I'd need a USB hub and mine's taking ages to arrive from china.

Just tried running cgminer-3.3.1-mipsel on dd-wrt v24-sp2 (build 14929) ((old - will try upgrading...):
Code:
root@router:~# ./cgminer -n
Illegal instruction

its integrated as a service

so you start it like this sudo service cgminer start/stop
hero member
Activity: 900
Merit: 1000
Crypto Geek
a NFS share on start-up could well work. I think you could do that with a start-up script in the admin panel. Mount it top /opt and you should be golden

Though that does mean you'll need another computer on all the time... so why not hook the miner up to that???

because then I'd need a USB hub and mine's taking ages to arrive from china.

Just tried running cgminer-3.3.1-mipsel on dd-wrt v24-sp2 (build 14929) ((old - will try upgrading...):
Code:
root@router:~# ./cgminer -n
Illegal instruction
legendary
Activity: 1795
Merit: 1198
This is not OK.
a NFS share on start-up could well work. I think you could do that with a start-up script in the admin panel. Mount it top /opt and you should be golden

Though that does mean you'll need another computer on all the time... so why not hook the miner up to that???
hero member
Activity: 900
Merit: 1000
Crypto Geek
 I don't want to use a powered USB hub if possible since I only have one miner. However, I think the problem is that I need to put the cgminer executable somewhere and that therefore needs extra USB storage right - and therefore a USB hub.

Unless I mount a network share...?
legendary
Activity: 1795
Merit: 1198
This is not OK.
Most of the FPGA and ASIC miners no longer use a serial driver. Kano changed the code to use USBlib directly, so the ftdi_sio.ko (which is the kernel serial driver) is no longer needed.
From the look of your dmesg, NO USB device is detected at all... as in, not that the driver isn't present, but that the hardware isn't even plugged in.
Pages:
Jump to: