- Use the command
hostname -I | awk '{print $1}'to obtein the IP address of the server. - Next you can lunch the server with the command
./ircserv <port> <password>. The server is now running on this terminal. - Open an other terminal to connect a client to the server. (tips: you van use the command
gnome-terminalto create a terminal from another.) - You have many way to connect a client, here we have two choice, nc and irrsi.
- lunch the command
nc <server's Ip address> <server's port>to connect the client to the server. - next use the command
PASS <password>,NICK <nickname>andUSER <username> <hostname> <servername> :<realname>to being identificate on this server. (help: the hostname is historicaly 0 and the server's name is * if you don't know it or don't use it.)
- lunch the command
/connect localhost <port> <password>. IRSSI will automaticaly use the command PASS, USER and NICK.
The list of command will follow the order nc's command | irssi's command.
PASS <password>USER <username> <hostname> <servername> :<realname>|NICK <nickname>|/nick <nickname>|JOIN #<channel>|/join channelPART #channel|/part(in a channel)PRIVMSG #<channel> :<message>|<message>(in a channel)PRIVMSG <target> :<message>INVITE <target> #<channel>|/invite <target>(in a channel)TOPIC #<channel>|/topic(in a channel)TOPIC #<channel> :<new_topic>|/topic <new_topic>(in a channel)MODE #<channel> +<flag>|/mode +<flag>(in a channel)MODE #<channel> -<flag>|/mode -<flag>(in a channel)KICK #<channel> <target> :<kick_message> | /kick <user>(in a channel)