# Using IRC - the weechat application

In **Freenode.net** we have some channels dedicated to the Ubuntu phone:

```
#ubuntu-touch (in English, a lot of folks)
#ubuntu-phone-es (in Spanish, few participants)
```

One can join through a browser: <https://webchat.freenode.net/> or install a console driven IRC client in the chrooted environment: **weechat**:

```
phablet@ubuntu-phablet:~$ ssh localhost
phablet@ubuntu-phablet:~$ sudo chroot myRoot
[sudo] password for phablet:
root@ubuntu-phablet:/# apt-get install weechat
...
root@ubuntu-phablet:/# su phablet
phablet@ubuntu-phablet:/$ cd
phablet@ubuntu-phablet:~$ cat weechat.sh 
#!/bin/sh
weechat -r '/set irc.server.freenode.nicks "guru";\
   /set irc.server.freenode.autojoin "#ubuntu-touch";/connect freenode'
phablet@ubuntu-phablet:~$ sh weechat.sh

WeeChat 1.1.1 (C) 2003-2015 - https://weechat.org/
06:22:01 |   ___       __         ______________        _____ 
06:22:01 |   __ |     / /___________  ____/__  /_______ __  /_
06:22:01 |   __ | /| / /_  _ \  _ \  /    __  __ \  __ `/  __/
06:22:01 |   __ |/ |/ / /  __/  __/ /___  _  / / / /_/ // /_  
06:22:01 |   ____/|__/  \___/\___/\____/  /_/ /_/\__,_/ \__/  
06:22:01 | WeeChat 1.1.1 [compiled on Jan 26 2015 05:20:28]
06:22:01 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
06:22:01 | Plugins loaded: alias, charset, irc, logger, xfer
06:22:01 | Option changed: irc.server.freenode.nicks = "gurucubano"  (default: (undefined))
06:22:01 | Option changed: irc.server.freenode.autojoin = "#ubuntu-phone-es"  (default: (undefined))
06:36:49 | Plugins unloaded
```

As you can see above, the syntax to auto-connect and join the channel as nickname 'guru' is a bit crude, esp. if you use it from the terminal-app directly and not from a normal netbooc keyboard. Just make a script as shown above and start it as:

```
phablet@ubuntu-phablet:~$ sh weechat.sh
```

or use a netbook, connected to the BQ and SSH.

Last updated: Mon Oct 26 07:40:01 CET 2015


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guru-1.gitbook.io/bq-aquaris-e-4-5-ubuntu-phone/en/chapter-irc.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
