Miau IRC Bouncer

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:13, 6 November 2005 (edit)
Rammstein (Talk | contribs)
m
← Previous diff
Revision as of 22:22, 6 November 2005 (edit) (undo)
Rammstein (Talk | contribs)
(Cleanup. JFFS logging suppression and smtp client instructions are now ready.)
Next diff →
Line 5: Line 5:
'''[[Note:]]''' Most IRC servers will not let you connect if you are not running an [http://en.wikipedia.org/wiki/Ident ident server] - A suitable replacement for this would be oident, which can be found on the [http://tracker.openwrt.org/packages/list.php?name=oidentd OpenWRT package tracker]. '''[[Note:]]''' Most IRC servers will not let you connect if you are not running an [http://en.wikipedia.org/wiki/Ident ident server] - A suitable replacement for this would be oident, which can be found on the [http://tracker.openwrt.org/packages/list.php?name=oidentd OpenWRT package tracker].
-'''[[Hint:]]''' If you want to suppress all the logging and hence save the flash memory from some additional exertion, don't fork to the background at all. Miau author has been kindly agreed to add a miaurc option for us jffs users to turn off logging in the next miau release. In the meanwhile there's an unofficial detour (use at your own risk):+== Suppressing the jffs logging ==
-<tt># /jffs/usr/bin/miau -d /jffs/usr/bin -f 1>/dev/null 2>&1 &</tt>+If you want to suppress all the logging and hence save the flash memory from some additional exertion, don't fork to the background at all. Miau author has been kindly agreed to add a miaurc option for us jffs users to turn off logging in the next miau release. In the meanwhile there's an unofficial detour (use at your own risk):
-If you want to use the+ # /jffs/usr/bin/miau -d /jffs/usr/bin -f 1>/dev/null 2>&1 &
-<tt>/jffs/usr/bin # ipkg install http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk 
-Downloading http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk ...+== Using the email feature for collecting private messages in Miau ==
-Connecting to www.wildcatwireless.net[63.77.16.216]:80+If you want to use the emailing feature, you need to setup a smtp client and edit the miaurc file accordingly. Here's an example how to do it with msmtp.
-msmtp_1.2.4-wrt1_mip 100% |****************************************************************************| 21740 00:00 ETA+ /jffs/usr/bin # ipkg install http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk
- + Downloading http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk ...
-Done.+ Connecting to www.wildcatwireless.net[63.77.16.216]:80
- + msmtp_1.2.4-wrt1_mip 100% |****************************************************************************| 21740 00:00 ETA
-Unpacking msmtp...Done.+ Done.
- + Unpacking msmtp...Done.
-Configuring msmtp....: 2: Can't open /etc/wireless.conf</tt>+ Configuring msmtp....: 2: Can't open /etc/wireless.conf
Then using vi, type in following: Then using vi, type in following:
-<tt>/jffs/usr/bin # vi msmtprc+ /jffs/usr/bin # vi msmtprc
- + account default
-account default+ host smtp.yourisp.com
- + from you@yourdomain.com
-host smtp.yourisp.com+
- +
-from you@yourdomain.com</tt>+
-Use "i" to insert text, Esc to stop editing, ":w" to write the file and ":q" to close the file. Replace smtp.yourisp.com with your own smtp smarthost, which accepts incoming mail from you. Replace you@yourdomain.com with a valid email address. We're almost done now. Using vi again, edit the miaurc and find the forwardmsg line. Edit it to:+Inside vi, use "i" to insert text, Esc to stop editing, ":w" to write the file and ":q" to close the file. Replace smtp.yourisp.com with your own smtp smarthost, which accepts incoming mail from you. Replace you@yourdomain.com with a valid email address. We're almost done now. Using vi again, edit the miaurc and find the forwardmsg line. Edit it to:
-<tt>forwardmsg = "/jffs/usr/bin/msmtp --file=/jffs/usr/bin/msmtprc send.to@thisdomain.com"</tt>+ forwardmsg = "/jffs/usr/bin/msmtp --file=/jffs/usr/bin/msmtprc send.to@thisdomain.com"
Replace send.to@thisdomain.com with a different valid email address where you want your logs to arrive. Replace send.to@thisdomain.com with a different valid email address where you want your logs to arrive.

Revision as of 22:22, 6 November 2005

DD-WRT allows you to install the Miau IRC Bouncer, which enables you to keep your IRC nickname and channels open while the client pc is disconnected from the server.

A detailed installation guide for installing the OpenWRT Miau ipkg can be found at the Linksysinfo Forum. Be aware that a writeable jffs filesystem with proper ipkg support is required. The installation was tested to work with prefinal 5 and above (tested also with 22r2 final) - prefinal 4 does not work since ipkg is not implemented correctly.

Note: Most IRC servers will not let you connect if you are not running an ident server - A suitable replacement for this would be oident, which can be found on the OpenWRT package tracker.

Suppressing the jffs logging

If you want to suppress all the logging and hence save the flash memory from some additional exertion, don't fork to the background at all. Miau author has been kindly agreed to add a miaurc option for us jffs users to turn off logging in the next miau release. In the meanwhile there's an unofficial detour (use at your own risk):

 # /jffs/usr/bin/miau -d /jffs/usr/bin -f 1>/dev/null 2>&1 &


Using the email feature for collecting private messages in Miau

If you want to use the emailing feature, you need to setup a smtp client and edit the miaurc file accordingly. Here's an example how to do it with msmtp.

 /jffs/usr/bin # ipkg install http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk
 Downloading http://www.wildcatwireless.net/wrt54g/msmtp_1.2.4-wrt1_mipsel.ipk ...
 Connecting to www.wildcatwireless.net[63.77.16.216]:80
 msmtp_1.2.4-wrt1_mip 100% |****************************************************************************| 21740       00:00 ETA
 Done.
 Unpacking msmtp...Done.
 Configuring msmtp....: 2: Can't open /etc/wireless.conf

Then using vi, type in following:

 /jffs/usr/bin # vi msmtprc
 account default
 host smtp.yourisp.com
 from you@yourdomain.com

Inside vi, use "i" to insert text, Esc to stop editing, ":w" to write the file and ":q" to close the file. Replace smtp.yourisp.com with your own smtp smarthost, which accepts incoming mail from you. Replace you@yourdomain.com with a valid email address. We're almost done now. Using vi again, edit the miaurc and find the forwardmsg line. Edit it to:

 forwardmsg = "/jffs/usr/bin/msmtp --file=/jffs/usr/bin/msmtprc send.to@thisdomain.com"

Replace send.to@thisdomain.com with a different valid email address where you want your logs to arrive.


You are here: Main Page/DD-WRT Docu (EN)/Miau IRC Bouncer