# 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/](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
