NSLU2-Linux
view · edit · print · history

HowTo.ConfigureMiauForIRCLogging History

Hide minor edits - Show changes to markup

June 15, 2006, at 08:13 PM by eFfeM --
Changed lines 2-3 from:

The info here is for unslung. The SlugOS variant can be found at: SlugOs?/InstallMiauForIRCLogging?

to:

The info here is for unslung. The SlugOS variant can be found at: InstallMiauForIRCLogging?

June 15, 2006, at 08:13 PM by eFfeM --
Changed lines 2-3 from:

The info here is for unslung. The SlugOS variant can be found at: InstallMiauForIRCLogging

to:

The info here is for unslung. The SlugOS variant can be found at: SlugOs?/InstallMiauForIRCLogging?

June 15, 2006, at 08:08 PM by eFfeM -- moved slugos variant to its own page, removed slugos info here and added pointer
Changed lines 2-3 from:

This is also applicable to openslug. All openslug specific information is written in green (like this text). Unslung users should ignore the green text.

to:

The info here is for unslung. The SlugOS variant can be found at: InstallMiauForIRCLogging

Changed lines 18-19 from:

On openslug: 756 root 852 S /usr/bin/miau

to:
Changed lines 22-23 from:

On openslug the file is /etc/miau.conf

to:
Changed lines 46-47 from:

On openslug: /etc/init.d/miau restart

to:
December 21, 2005, at 02:41 PM by eFfeM --
Added lines 68-71:

Awnser to question 1

This depends on the amount of traffic on the channel you are logging and the space available on the filesystem where /var/spool resides.

Added lines 81-94:

Awnser to question 3

Other users can also start miau if they desire by starting it from the shell.
The settings should be in .miau/miaurc in the home directory of the user.
Note that whereas the root miau from above restarts when the system reboots, whereas user started versions will not restart. If you want to start a session as a regular user and want to keep it running if you logout either start miau in the background (e.g. with:
nohup miau &
) or run it under screen.

Also when starting miau as a user make sure that you have write access to the directories where miau wants to scribble.

More information.

The miau user manual can be found at: http://miau.sourceforge.net/manual.html

December 21, 2005, at 02:34 PM by eFfeM --
Changed line 22 from:

# nano /opt/etc/miau.conf

to:

# nano /opt/etc/miau.conf \\

December 21, 2005, at 02:33 PM by eFfeM -- added openslug specifics
Changed line 76 from:

ln -s /pathwhereulikeit/ miau

to:

ln -s /pathwhereulikeit/ miau

December 21, 2005, at 02:33 PM by eFfeM -- added openslug specifics
Changed lines 1-2 from:

This HowTo covers the setup and usage of the miau IRC bouncer for logging the #nslu2-general IRC channel.

to:

This HowTo covers the setup and usage of the miau IRC bouncer for logging the #nslu2-general IRC channel.
This is also applicable to openslug. All openslug specific information is written in green (like this text). Unslung users should ignore the green text.

Changed lines 17-18 from:

12991 ttyp1 root 1720 S /opt/bin/miau

to:

12991 ttyp1 root 1720 S /opt/bin/miau
On openslug: 756 root 852 S /usr/bin/miau

Changed lines 23-24 from:
to:

On openslug the file is /etc/miau.conf

Changed lines 47-48 from:

# /opt/etc/init.d/S52miau

to:

# /opt/etc/init.d/S52miau
On openslug: /etc/init.d/miau restart

December 21, 2005, at 02:18 PM by eFfeM -- added setting channels in the config file
Added lines 35-37:

channels = {
"#nslu2-general"
} \\

July 19, 2005, at 01:51 PM by tman --
Changed lines 1-2 from:

This HowTo covers the setup and usage of the miau IRC bouncer for logging the #nslu2-linux IRC channel.

to:

This HowTo covers the setup and usage of the miau IRC bouncer for logging the #nslu2-general IRC channel.

Changed line 10 from:
  1. Reboot and check miau is running. Also if you go to the nslu2-linux Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau.\\
to:
  1. Reboot and check miau is running. Also if you go to the nslu2-general Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau.\\
July 19, 2005, at 12:21 PM by rwhitby -- Changed #nslu2-linux to #nslu2-general, both here and in the Optware package.
Changed line 10 from:
  1. Reboot and check miau is running. Also if you go to the nslu2-linux Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau. (Note that unfortunately miau has connection to the nslu2-linux development IRC channel by default, rather than the nslu2-general IRC channel that the Java client now connects to by default. You may therefore need to type /join #nslu2-linux in the Java client to find the connected name as mentioned above.)\\
to:
  1. Reboot and check miau is running. Also if you go to the nslu2-linux Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau.\\
Changed line 36 from:
     "#nslu2-linux":"aC":"nslu2-linux.log" \\
to:
     "#nslu2-general":"aC":"nslu2-general.log" \\
Changed line 46 from:
  1. /var/spool/miau/logs/nslu2-linux.log contains a verbose log of the nslu2-linux IRC channel
to:
  1. /var/spool/miau/logs/nslu2-general.log contains a verbose log of the nslu2-general IRC channel
June 30, 2005, at 08:33 AM by Eiffel --
Changed lines 61-62 from:

The chanlogs can be redirected this way "#chan":"aC":"/pathwhereulikeit/chanlogfile"

to:

Awnser to question 2

The chanlogs can be redirected this way in the miau.conf "#chan":"aC":"/pathwhereulikeit/chanlogfile"

I think with the help of a softlink u can redirected the complete folder where u like just go to /opt/var/spool rm -r miau (kills everything in miau ofcourse so backup incase) ln -s /pathwhereulikeit/ miau

June 30, 2005, at 08:26 AM by Eiffel --
Added lines 58-62:

The chanlogs can be redirected this way "#chan":"aC":"/pathwhereulikeit/chanlogfile"

June 20, 2005, at 04:35 PM by tman --
Changed lines 3-7 from:

1) Unsling your slug - see http:\\www.nslu2-linux.org/wiki/Unslung/HomePage Unslung

2) Install the miau package which gives you your IRC bounce. You can do this by executing the following via telnet.

# ipkg update \\
to:
  1. Unsling your slug - see Unslung
  2. Install the miau package which gives you your IRC bounce. You can do this by executing the following via telnet.

    # ipkg update \\
Changed lines 10-24 from:

3) Reboot and check miau is running. Also if you go to the website http:\\www.nslu2-linux.org/wiki/Main/IRC Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau. (Note that unfortunately miau has connection to the nslu2-linux development IRC channel by default, rather than the nslu2-general IRC channel that the Java client now connects to by default. You may therefore need to type /join #nslu2-linux in the Java client to find the connected name as mentioned above.)

# ps -ef

And look for a line something like the following:

12991 ttyp1 root 1720 S /opt/bin/miau

4) OK so it's running. What the heck do you do now? Well, you need to configure miau so that you are connecting with a meaningful name. To do this we need to edit /opt/etc/miau.conf. (I use http:\\www.nslu2-linux.org/wiki/Unslung/Nano nano as my editor on the slug, but you can use any editor of your choice)

# nano /opt/etc/miau.conf

5) Change all the mandatory options at the top of the file to settings of your choice. Particularly the nicknames.

'''nicknames = { \\
to:
  1. Reboot and check miau is running. Also if you go to the nslu2-linux Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau. (Note that unfortunately miau has connection to the nslu2-linux development IRC channel by default, rather than the nslu2-general IRC channel that the Java client now connects to by default. You may therefore need to type /join #nslu2-linux in the Java client to find the connected name as mentioned above.)

    # ps -ef

    And look for a line something like the following:

    12991 ttyp1 root 1720 S /opt/bin/miau
  2. OK so it's running. What the heck do you do now? Well, you need to configure miau so that you are connecting with a meaningful name. To do this we need to edit /opt/etc/miau.conf. (I use nano as my editor on the slug, but you can use any editor of your choice)

    # nano /opt/etc/miau.conf
  3. Change all the mandatory options at the top of the file to settings of your choice. Particularly the nicknames.

    '''nicknames = { \\
Changed lines 28-30 from:

6) Now you need to set up the logging variables in the optional parameters below as follows:

'''qloglength = "5" \\
to:
  1. Now you need to set up the logging variables in the optional parameters below as follows:

    '''qloglength = "5" \\
Changed lines 39-48 from:

7) Now you need to restart miau so that it rereads the config file. this is easily done by executing the init script as follows:

# /opt/etc/init.d/S52miau

8) Now you should be cooking on gas. I'm not going to pretend I know the subtleties of these parameters, but I do know that they work. Their effect is as follows:

  1. /var/spool/miau/inbox contains any private messages sent to you over IRC
  2. /var/spool/miau/logs/nslu2-linux.log contains a verbose log of the nslu2-linux IRC channel
  3. /var/spool/maiu/logs/anotheruser contains private messages from anotheruser on IRC
to:
  1. Now you need to restart miau so that it rereads the config file. this is easily done by executing the init script as follows:

    # /opt/etc/init.d/S52miau
  2. Now you should be cooking on gas. I'm not going to pretend I know the subtleties of these parameters, but I do know that they work. Their effect is as follows:
    1. /var/spool/miau/inbox contains any private messages sent to you over IRC
    2. /var/spool/miau/logs/nslu2-linux.log contains a verbose log of the nslu2-linux IRC channel
    3. /var/spool/maiu/logs/anotheruser contains private messages from anotheruser on IRC
Deleted line 57:
February 27, 2005, at 01:36 PM by MattMcNeill --
Changed line 10 from:

3) Reboot and check miau is running. Also if you go to the website http:\\www.nslu2-linux.org/wiki/Main/IRC Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau.

to:

3) Reboot and check miau is running. Also if you go to the website http:\\www.nslu2-linux.org/wiki/Main/IRC Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau. (Note that unfortunately miau has connection to the nslu2-linux development IRC channel by default, rather than the nslu2-general IRC channel that the Java client now connects to by default. You may therefore need to type /join #nslu2-linux in the Java client to find the connected name as mentioned above.)

February 01, 2005, at 07:57 AM by MattMcNeill --
Changed lines 39-43 from:

7) I'm not going to pretend I know the subtleties of these parameters, but I do know that they work. Their effect is as follows:

to:

7) Now you need to restart miau so that it rereads the config file. this is easily done by executing the init script as follows:

# /opt/etc/init.d/S52miau

8) Now you should be cooking on gas. I'm not going to pretend I know the subtleties of these parameters, but I do know that they work. Their effect is as follows:

January 31, 2005, at 10:05 PM by MattMcNeill --
Changed line 45 from:

---

to:

January 31, 2005, at 10:04 PM by MattMcNeill --
Added lines 45-54:

---

Outstanding questions:

So my questions now are:

  1. How long will it be before /var/spool/ fills up?
  2. Can the logs be redirected elsewhere? (I would like to access them on a share)
  3. Is maiu on the slug designed only for the root user? How would multiple users access it?
January 31, 2005, at 10:00 PM by MattMcNeill --
Changed lines 1-44 from:
to:

This HowTo covers the setup and usage of the miau IRC bouncer for logging the #nslu2-linux IRC channel.

1) Unsling your slug - see http:\\www.nslu2-linux.org/wiki/Unslung/HomePage Unslung

2) Install the miau package which gives you your IRC bounce. You can do this by executing the following via telnet.

# ipkg update
# ipkg install miau

3) Reboot and check miau is running. Also if you go to the website http:\\www.nslu2-linux.org/wiki/Main/IRC Java IRC client you should see a new user has connected called "change-me" or "echange-m" or "mechange-" or some other combination depending on how many other people still have not configured miau.

# ps -ef

And look for a line something like the following:

12991 ttyp1 root 1720 S /opt/bin/miau

4) OK so it's running. What the heck do you do now? Well, you need to configure miau so that you are connecting with a meaningful name. To do this we need to edit /opt/etc/miau.conf. (I use http:\\www.nslu2-linux.org/wiki/Unslung/Nano nano as my editor on the slug, but you can use any editor of your choice)

# nano /opt/etc/miau.conf

5) Change all the mandatory options at the top of the file to settings of your choice. Particularly the nicknames.

nicknames = {
"myircnick"
}

6) Now you need to set up the logging variables in the optional parameters below as follows:

qloglength = "5"
timestamp = "beginning"
flushqlog = "false"
inbox = "true"
privlog = "always"
chanlog = {
"#nslu2-linux":"aC":"nslu2-linux.log"
}

7) I'm not going to pretend I know the subtleties of these parameters, but I do know that they work. Their effect is as follows:

  1. /var/spool/miau/inbox contains any private messages sent to you over IRC
  2. /var/spool/miau/logs/nslu2-linux.log contains a verbose log of the nslu2-linux IRC channel
  3. /var/spool/maiu/logs/anotheruser contains private messages from anotheruser on IRC
view · edit · print · history · Last edited by eFfeM.
Based on work by eFfeM, tman, rwhitby, Eiffel, and MattMcNeill.
Originally by MattMcNeill.
Page last modified on June 15, 2006, at 08:13 PM