For SMLY mining using a Scrypt ASIC, the following has worked.
There are 1 or 2 machines involved. The following assumes the wallet runs on one machine and the miner (bfgminer) on another, where the ASIC is hooked up.
First the wallet machine. In the config file, usually
~/.smileycoin/smileycoin.conf
on a Linux machine, make sure that you have the two lines
rpcuser=
rpcpassword=
where normally one just uses the user and password provided when you set up the wallet. You will need these later, when you connect bfgminer to the wallet.
Next, you'll want lines of the following form:
server=1
rpcport=14242
rpcallowip=127.0.0.1
rpcallowip=
so for example, if your (bfg)miner is on the local area network with IP 192.168.1.57 then that is what you insert here so the wallet accepts incoming calls from that machine.
Also, make a note of the name or IP of the wallet computer.
Once you have this set up, make sure the wallet is running. Under Linux it'll be something like:
smileycoind --server &
Next, the machine where bfgminer runs (where the ASIC is connected). Here it should be enough to just run bfgminer off the command line. The settings for bfgminer are highly dependent on the ASIC you are using. The following are the settings for a particular Scrypt ASIC:
bfgminer --scrypt -o http://:14242 -u -p -S ALL --set MLD:clock=600
where
is usually set to "smileycoinrpc" by default for the SMLY wallet and is usually set to a long string generated at startup. You may have replaced both so make sure to check how the wallet is set up (smileycoin.conf above).
Similarly, needs to be replaced by whatever you call the computer where you run the wallet.
The port here is 14242. The number is largely irrelevant, but it needs to be the same in the wallet config file as on the bfgminer command line (or the bfgminer config file). It should probably be a high number so that it does not interfere with system ports or priviliges.