![]() ![]() See /filter for more filtering options, including custom filters. To control which messages you see in the chat, you can add filters.įor example, to add a predefined filter that hides messages about users joining or leaving the channel, enter the following command: /filter add irc_smart * irc_smart_filter * To scroll up or down within a buffer, press Alt and PgUp or PgDn. To switch between buffers, press Alt and the left or right arrow key. WeeChat displays its content in different buffers. See the WeeChat documentation for an overview of the most important commands and the list of supported IRC commands. These commands start with a “/” character. To quit, enter the /quit command.īy default, anything you type into the command line at the bottom of the WeeChat window is sent to the selected channel, with the exception of IRC or WeeChat commands. Start WeeChat by logging on to the irc container ( lxc exec irc bash), switching to the weechat user ( sudo -Hiu weechat) and running weechat. Save your settings and quit WeeChat: /save Register your certificate to avoid having to identify with your password every time you log on: /msg NickServ CERT ADDĬonfigure WeeChat to automatically connect to the Libera.Chat server with your nick (replace YourNickName) and join the LXC channel: /set on com with your email address: /msg NickServ REGISTER YourPassword your email and enter the command from the confirmation email to complete the registration of your nick name. Register your new nick name, replacing YourPassword with the password you want to use (it will be replaced by asterisks in the input) and. If you get an error that the nick is already registered, choose a different one. ![]() For example, if you encounter the problem on a cloud instance, repeat the steps in this guide on your local machine to register your credentials, and then use the same credentials to connect from the cloud instance.Ĭhoose a nick name, replacing YourNickName with the nick you want to use: /nick YourNickName In this case, you must use an alternative connection to register your nick name. See SASL access only IP ranges for more information. Note: If Libera.Chat returns a “ SASL access only” error, the IP address of your client might be in a range that requires connecting with a nick name registered with a verified email address. WeeChat will attempt to connect to the server with the default nick ( weechat in this case), which causes an error message that this nick is already registered and you must choose a different one. set _mechanism externalĬonnect to the server: /connect liberachat set /6697Įnter the following commands to enable and configure SSL: /set on In the WeeChat command line at the bottom of the window, enter the following commands to add the Libera.Chat server: /server add liberachat /6697 -ssl In the irc container, still logged in as the weechat user, start WeeChat: weechat weechat/certs/Ĭomplete the following steps to configure basic settings in the IRC client: Move the certificate to the correct location: mv libera.pem. You must provide information for at least one of the prompts.Ĭreate directories to hold the certificate: mkdir -p. In the irc container, switch to the weechat user: sudo -Hiu weechatĮnter the following command: openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1096 -nodes -out libera.pem -keyout libera.pemĮnter the requested information or press Enter to skip. See Using CertFP for more information.Ĭomplete the following steps to create your certificate: To avoid password-based authentication and increase security, use a TLS certificate. Log on to the container: lxc exec irc bashĬreate a user for running WeeChat: adduser -system -home /var/lib/weechat -group -shell /bin/bash weechat Set up a container and install WeeChatĬomplete the following steps to install the WeeChat IRC client in a new LXD container:Ĭreate and launch a container named irc: lxc launch images:ubuntu/20.04 irc In this case, you can still follow the instructions in this tutorial, but you must replace the commands related to LXD. See Getting started - command line for installation instructions.Īlternatively, you can install the IRC client directly on your local machine, or ideally on a machine that is always running (for example, a cloud instance or a Raspberry Pi). This means that your machine must have LXD installed. In this tutorial, we’ll install the IRC client in a LXD container on your local machine. The following tutorial will guide you through the steps of setting up the WeeChat IRC client, join the relevant channels and use the Glowing Bear web client or the WeeChat-Android app to access the conversations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |