Login-on-Connect

Automate logging into your account while connecting.

Login-on-Connect (LOC) can be used to automate logging into your account as you connect to the network. It removes the need to manually supply N your credentials each time you connect. This feature also allows you to bypass most DNSBL scans and connection restrictions, which is helpful for users of some ISPs.

How to use it?

You'll need a DareNET account. You can get one here, if you don't already have one.

Login-on-connect uses the server password feature. All you have to do is put your login information into the server password box of your IRC client, formatted as shown below:

username:password

or

username password

Your username and password should be separated by a colon or a space.

For example, if my username is NiTeMaRe, and my password is ApPlEsAuCe, I'd put the following into the password box:

NiTeMaRe:ApPlEsAuCe

or

NiteMare ApPlEsAuCe

Now, whenever I connect to DareNET, I should see a message like the following:

*** Attempting service login...
*** Service login successful
*** Last account login was 2 minutes and 7 seconds ago from nick!user@host [0 failed login attempts since last login]
Welcome to the DareNET IRC Network, ...

Forced disconnect

If your login is rejected, the server will still proceed with the connection, but you will not be logged in. You can force the server to disconnect you if login-on-connect fails for any reason by prefixing your username with an exclamation mark.

For example: /server irc.darenet.org:6667 !username:password

Server Passwords

Suppose the server you're connecting to requires a password (not common for most users). In that case, you should format your login information as follows:

serverpass:username:password

or

serverpass username password

Troubleshooting

If the Login-on-Connect feature isn't working for you due to an error, you'll receive a message indicating why. For example:

*** Attempting service login...
*** Service login failed (Invalid username/password)

Possible error messages:

  • Invalid username/password. Your username, password, and/or client certificate fingerprint do not match.
  • Account needs activated. Your account has not been activated. Please check your email.
  • Account suspended. Your account has been suspended and, therefore, cannot be used.
  • Maxlogins exceeded. You exceeded the 'maxlogins' setting for your account (i.e., too many clients are already logged into your account).
  • Invalid hostmask for account. Your hostmask does not match the allowed hostmasks for your account.
  • Unavailable. Services are currently offline.

Additionally...

  • Some mIRC users have reported they needed to restart mIRC before LoC would start working.
  • If you added DareNET to mIRCs server list, ensure the group string is "DareNET" exactly.  It won't send the password otherwise.

If you're still unable to solve these problems on your own, stop by #help for assistance.

What about SASL?

Our Login-on-connect (LOC) feature predates broad support for SASL on IRC. However, we also support using SASL. See the Using SASL guide for more information.

Should you still need assistance, stop by #Help on IRC.