Special Thanks to: http://raspadmin.wordpress.com/2012/12/20/irc-server-on-the-raspberry-pi/
First things first: Make sure you can Port-Forward, this is a must.
First we need to install the IRC Daemon (IRCd), type the following into your command line
sudo apt-get install ircd-hybrid
Next we need to change the .conf file, bascially the settings file
sudo nano /etc/ircd-hybrid/ircd.conf
You should now see a long list of settings, you can do the following settings or just copy mine
1. Under the listen { section change
host = "127.0.0.1"
to host = "0.0.0.0"
2. Under the operator { section change to
user = "*@*"
3. Change any server name and server description settings at the top of the page
4. Save the .conf file (Command + O)
Now to start the server
sudo /etc/init.d/ircd-hybrid stop
to reload the settings
Then
sudo /etc/init.d/ircd-hybrid start
to start the server
Now, on a local machine try connection to your Pi's IP Adress (most times 192.167. something) the port should be 6667 (standard IRC port)
If all went well and you connect, open port 6667 and connect to your IP (to find type
curl ifconfig.me
into terminal)Getting No-IP to work if you have a Dynamic IP
Special thanks to: http://www.stuffaboutcode.com/2012/06/raspberry-pi-access-from-internet-using.html
No-IP is used to automatically update IP address with a web redirect, before doing these steps, make sure to set up a No-IP.com account
1. In the terminal, create the folder for the No-IP software
mkdir /home/pi/noip
cd /home/pi/noip
2. Download the software
wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz
3. Extract the software
tar vzxf noip-duc-linux.tar.gz
4. Go to the extracted folder
cd noip-2.1.9-1
5. Install the software (you'll be asked for no-ip login info)
sudo make
sudo make install
6. Run the software
sudo /usr/local/bin/noip2
No comments:
Post a Comment