Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Installing IRC

jhjh Member
edited April 2013 in Help

Never installed an IRC server before. Found a guide here: http://www.codeography.com/2012/09/23/howto-irc-server.html.

Followed the guide but I can't log in:

*** Looking up your hostname...
*** Checking Ident
13:49
*** Couldn't look up your hostname
*** No Ident response

Any ideas on turning reverse DNS lookups off?

Comments

  • You're looking to disable 'ident'.

    In /ircd-hybrid/ircd.conf, add:

    # Disable ident lookups?
    disable_auth = yes;
    

    to general { }

  • jhjh Member

    Some progress but still not quite there:

    *** Looking up your hostname...
    *** Couldn't look up your hostname
    13:56 Closing Link: 5.2.16.184 (Registration timed out)
    Disconnected
  • No reverse DNS check?

    You're going to have a baaaaaaaaaaaaad time

    VPS provider that doesn't check A Records on user set DNS, set it to "localhost" and let the amusement start

  • jhjh Member

    It's a small private server for a few friends - nothing bad is going to happen :)

  • Try telnetting to your IRC server on its port

    You should get some lines beginning with a colon. When they stop, try doing:

    NICK Test
    USER Test * * :Test

    After that, you may or may not receive a message from the server like:

    PING :198218991281

    The number will be a timestamp. Send back a PONG, copying the timestamp:

    PONG :198218991281

    Then see if the server sends you a welcome message, or not.

  • jhjh Member

    Thanks @Damian, seems to be working now after that change + setting up a channel.

  • What IRCd are you using? I found UnrealIRCd to be pretty easy to set up and install, and I had next to no idea what I was doing when I set up my network.

  • jhjh Member

    Hybrid IRC. I have no idea what I'm doing really but it seems to work after @Damien's help.

  • @jhadley said: Hybrid IRC. I have no idea what I'm doing really but it seems to work after @Damien's help.

    Happens to me all the time :P

  • jhjh Member
    edited April 2013

    Ok, next question. This is meant to be a collective exam revision channel, but the occasional idiot is coming in that needs to be kicked/banned.

    I have set up the server as follows

    operator {
            /* name: the name of the oper */
            name = "James";
    
            /* user: the user@host required for this operator.  CIDR is not
             * supported.  multiple user="" lines are supported.
             */
            user = "*@5.2.16.184";
            user = "*@127.0.0.1";
    
            /* password: the password required to oper.  By default this will
             * need to be encrypted using '/usr/bin/mkpasswd'.
             * WARNING: Please do not mix up the 'mkpasswd' program from
             * /usr/sbin with this one. If you are root, typing 'mkpasswd'
             * will run that one instead and you will receive a strange error.
             *
             * MD5 is supported. If you want to use it, use mkpasswd -Hmd5.
             */
            password = "hash here;
            #password = "$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U/";
    
            /* class: the class the oper joins when they successfully /oper */
            class = "opers";
    
            /* privileges: controls the activities and commands an oper are
             * allowed to do on the server.  All options default to no.
             * Available options:
             *
             * global_kill:  allows remote users to be /KILL'd (OLD 'O' flag)
             * remote:       allows remote SQUIT and CONNECT   (OLD 'R' flag)
             * kline:        allows KILL, KLINE and DLINE      (OLD 'K' flag)
             * unkline:      allows UNKLINE and UNDLINE        (OLD 'U' flag)
             * gline:        allows GLINE                      (OLD 'G' flag)
             * nick_changes: allows oper to see nickchanges    (OLD 'N' flag)
             *               via usermode +n
             * rehash:       allows oper to REHASH config      (OLD 'H' flag)
             * die:          allows DIE and RESTART            (OLD 'D' flag)
             * admin:        gives admin privileges.  admins
             *               may (un)load modules and see the
             *               real IPs of servers.
             */
            global_kill = yes;
            remote = yes;
            kline = yes;
            unkline = yes;
            gline = yes;
            die = yes;
            rehash = yes;
            nick_changes = yes;
            admin = yes;
    };

    And I can do:

    /oper James password

    which seems to work.

    But then I go to

    /kick #compsci IanMarshy

    and it tells me I'm not a channel operator.

  • You may still need to set the oper mode on yourself:

    /mode +o James

  • Install Anope IRC Services for *Serv (Nick/Chan/Memo/setting vhosts)

  • Dump hybridircd
    Get unrealircd+anope.

  • jhjh Member
    edited April 2013

    mode #compsci +o James
    482: #compsci You're not channel operator

    Edit: It would be better if we can use Hybrid now it's on here to avoid annoying the users.

  • r0t3nr0t3n Member

    You need to use opmode:

    /opmode #compsci +o James

    You can then use normal channel commands to kick/ban/mode etc

  • jhjh Member

    opmode #compsci +o James
    421: opmode Unknown command

  • This is kinda fundamentally how IRC works: the first user of the channel is the operator. And Hybrid is old.

    'hybserv' is the services package for ircd-hybrid: http://hybserv2.sourceforge.net/HybservStart

  • jhadley, I had a lot of trouble too.

    I could just give you my unrealircd+services config files, and all you have to do is change a few things (like replacing the password/hash/ip/domain/desc fields)

  • If you're going to be using HyBrid, please take a look into our fork of it.

    Numerous improvements and it's in active development: https://bitbucket.org/rizon/plexus

    As to setting modes, the raw command is MODE. It takes three parameters.

    
    MODE #channel +mode/-mode Nick
    
    

    Omit channel for umodes.

  • @jhadley said: Edit: It would be better if we can use Hybrid now it's on here to avoid annoying the users.

    It's your job to be a BOFH to the lusers

  • jhjh Member

    OK gone with Unreal and now I have this:
    Nickname is already in use.

    Any ideas?

  • /whois the-nickname-in-use

  • Before you settle on one you should also take a look at this http://inspircd.github.io/

  • ihatetonyyihatetonyy Member
    edited April 2013

    Insp or ShadowIRCd are nice.

    Of course you've already hopped between two IRCds. Right now just do a /kill to get rid of the other nick.

  • InspIRCd + Atheme = <3

  • oh irc...

  • DavidxDavidx Member
    edited April 2013

    I use this tutorial whenever I setup irc;
    http://news.softpedia.com/news/Building-Your-Own-IRC-Server-With-Services-40772.shtml

    always works. Anope configs are straightforward too.
    alternative to your article.

  • If you're continuing to have difficulty, we could set up an IRC server, complete with services, for you for a small fee.

  • jhjh Member

    Thanks @Damian. I've got the minimal functionality working which is enough for this short-term IRC server. Also it's best I learn how to do this :)

Sign In or Register to comment.