Authenticating with SASL: typo
← Older revision
Revision as of 15:32, 26 May 2015
(4 intermediate revisions by the same user not shown)
Line 49:
Line 49:
|-
|-
| {{ic|/window 1}}, {{ic|/w 1}}
| {{ic|/window 1}}, {{ic|/w 1}}
−
| Go to the first window. Windows are ordered
after
the first two rows on the keyboard: (1-0), (q-p).
+
| Go to the first window. Windows are ordered
by
the first two rows on the keyboard: (1-0), (q-p).
|-
|-
| {{ic|/window close}}, {{ic|/wc}}
| {{ic|/window close}}, {{ic|/wc}}
Line 76:
Line 76:
* You can use {{ic|/save}} to save your current configuration to the config file.
* You can use {{ic|/save}} to save your current configuration to the config file.
* You can save the location of your currently opened windows by entering {{ic|/layout save}}
* You can save the location of your currently opened windows by entering {{ic|/layout save}}
−
−
=== Auto-logging ===
−
−
/SET autolog ON
−
/save
−
−
=== Automatically connect to #archlinux on startup ===
−
−
Start irssi and then type the following in it:
−
−
/server add -auto -network fn chat.freenode.net
−
−
{{ic|fn}} is a common abbreviation for the freenode network, but any preferred word can be substituted for it (e.g. {{ic|foo}}).
−
−
It is recommended to next configure [[Irssi#Freenode_SSL_and_SASL_installation|SASL]]. You may use NickServ manually with {{ic|-autosendcmd}} instead of SASL, but this causes a race condition when automatically joining channels. If desired, authenticate using SSL certificates, instead of passwords with NickServ.
−
−
{{Note|
−
* Your password will be visible when you type it and can also be seen in {{ic|~/.irssi/config}}.
−
* If your password contains {{ic|$}}, you have to prefix it with another {{ic|$}} for ''irssi'' to properly parse it.}}
−
−
/channel add -auto #archlinux fn
−
/channel add -auto #archlinux-offtopic fn
−
−
=== Hide joins, parts, and quits ===
−
−
In order to ignore showing of joining, leaving and quiting of users for all channels type the following in irssi:
−
−
/ignore * joins
−
/ignore * parts
−
/ignore * quits
−
−
== Freenode SSL and SASL installation ==
=== Authenticating with SASL ===
=== Authenticating with SASL ===
Line 124:
Line 92:
/save
/save
−
{{Note|Make sure to use the correct capitalization for the network name.}}
+
{{Note|
+
*
Make sure to use the correct capitalization for the network name
.
+
* Your password will be visible when you type it and can also be seen in {{ic|~/.irssi/sasl.auth}}
+
* If your password contains {{ic|$}}, you have to prefix it with another {{ic|$}} for ''irssi'' to properly parse it
.}}
−
Restart irssi and
have a
look for "Irssi: SASL authentication successful".
+
Restart irssi and look for "Irssi: SASL authentication successful".
+
+
=== Automatically connect to #archlinux on startup ===
+
+
Start irssi and then type the following in it:
+
+
/server add -auto -network fn chat.freenode.net
+
+
{{ic|fn}} is a common abbreviation for the freenode network, but any preferred word can be substituted for it (e.g. {{ic|foo}}).
+
+
Ensure [[Irssi#Authenticating with SASL|SASL]] is configured correctly. You may use NickServ manually with {{ic|-autosendcmd}} instead of SASL, but this causes a race condition when automatically joining channels. If desired, authenticate using SSL certificates, instead of passwords with NickServ.
+
+
/channel add -auto #archlinux fn
+
/channel add -auto #archlinux-offtopic fn
=== SSL Connection ===
=== SSL Connection ===
−
{{Warning|The port must not be 6667, or you will get {{ic|Irssi: warning SSL handshake failed: unknown protocol}} errors.}}
+
Freenode uses port 6697, 7000 and 7070 for SSL connections
('''not''' 6667)
. To connect to Freenode IRC network via SSL you have to setup an new connection. Start {{ic|irssi}} and run:
−
+
−
Freenode uses port 6697, 7000 and 7070 for SSL connections. To connect to Freenode IRC network via SSL you have to setup an new connection. Start {{ic|irssi}} and run:
+
/server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network freenode -port 6697 chat.freenode.net
/server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network freenode -port 6697 chat.freenode.net
Line 174:
Line 156:
/save
/save
+
+
=== Automatic logging ===
+
+
/SET autolog ON
+
/save
+
+
=== Hide joins, parts, and quits ===
+
+
In order to ignore showing of joining, leaving and quiting of users for all channels type the following in irssi:
+
+
/ignore * joins
+
/ignore * parts
+
/ignore * quits
== Tips and tricks ==
== Tips and tricks ==