Saturday, October 19, 2013

Using Raspberry Pi as IRC Client

I wanted to be continually logged into IRC and also use it as a logging client for message on the #doothings IRC channel.
What better way than to use Raspberry Pi?

Steps for using Raspberry Pi as IRC Client

  1. We will use IRSSI, whici is a terminal based IRC client.
  2. Install it by running sudo apt-get install irssi
  3. Also install screen by running sudo apt-get install screen
  4. screen and then press Enter
  5. IRSSI irssi
  6. /server irc.freenode.net
  7. /join #doothings
  8. Now you have logged-in to the #doothings IRC Channel.
  9. To Detach from the Client. Press Ctrl + a and then d
  10. You should be back to the terminal window.
  11. To rejoin the IRC window run screen -r

Settings for irssi

  1. To ignore joins / quits / nicks changes on a specific channel.
    /ignore -channels #chan1,#chan2,#chan3 * JOINS PARTS QUITS NICKS
  2. Auto Connect to a Server on startup
    /SERVER ADD -auto -network IRCnet irc.freenode.net 6667
  3. Auto Join to Specificed channels
    /CHANNEL ADD -auto #doothings IRCnet
  4. To Keep logging all these conversations
    /SET AUTOLOG ON
  5. To set Nicks and Real Name etc.
    /SET -> This should show all existing configured parameters.
    To change these just say
    /SET param-name value like /SET nick nism-pi
  6. /SAVE to save the entire configuration.
    All these steps if you think need to be improved, you can send in a pull request here https://github.com/iot-pune/raspberrypi/blob/master/IRC-client.md

7 comments:

  1. Thanks for providing such a useful and concise set of some of the most important commands an irssi n00b like myself can fit onto a single sheet of paper. Brilliant!

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. There was an idea to use the IRC protocol as a transport for connecting IoT devices, such as RPi or ESP, and now we are creating an open IRC-IoT protocol for this.

    ReplyDelete
  4. Salesforce Developer Training
    Salesforce developer training helps in gaining hands-on experience. I saw this salesforce developer training info and it looks useful. It focuses on real-time development. Practical projects are included. Helpful for learners.

    ReplyDelete
  5. Salesforce Admin Course Online
    Online admin courses are very flexible. This salesforce admin online course looks helpful. Covers key topics. Simple structure. Good for learners.

    ReplyDelete
  6. Insightful post! devops with aws course
    enables faster releases and better collaboration. A course helps master tools and techniques used in modern development environments.

    ReplyDelete
  7. Very informative! Our aws devops course
    helps professionals master CI/CD pipelines, containerization, and monitoring tools, preparing them for high-demand IT roles.

    ReplyDelete