12-12-2012, 08:44 PM | #1 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
IRC from the kindle
This is actually a guide! yay!
To use IRC from the Kindle 3, you need to have optware or debian set up. then just install irssi and launch it with this: Code:
TERM=ansi ; irssi -d -c irc.__ircserver__.com -n __desired_nick__ |
12-13-2012, 12:41 AM | #2 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
This IRC client in 40 lines of shell script worked fine on my K3, but as I recall, I think I had to fix a typo in it:
http://lists.canonical.org/pipermail...ry/000480.html I like it because it fits nicely into the spirit of my eink algorithmic art script demos, which also push shell scripting to absurd limits: https://www.mobileread.com/forums/sho...d.php?t=172182 Last edited by geekmaster; 12-13-2012 at 12:49 AM. |
Advert | |
|
12-13-2012, 07:16 AM | #3 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
hmm yeah. interesting.
:irc.mr.gd NOTICE * :*** Looking up your hostname... :irc.mr.gd NOTICE * :*** Checking Ident :irc.mr.gd NOTICE * :*** Found your hostname :irc.mr.gd NOTICE * :*** No Ident response Have to waste some time fixing it myself one day |
12-13-2012, 08:54 AM | #4 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
In our world of NAT'ed IPv4, ident responses are a thing that have become a seldom sight. I guess this is not an error - especially since it is also tagged with "NOTICE" :-)
|
12-13-2012, 09:30 AM | #5 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
heh yeah.
|
Advert | |
|
12-13-2012, 09:31 AM | #6 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
OR It is fairly easy to "fake" with a script run by inetd - just return the string "nobody" whenever asked. OR as HH says - ignore it. |
|
12-13-2012, 09:58 AM | #7 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
It's not likely, however, that the Kindle will be reachable directly from the network the IRC server resides (since that is typically the Internet) - in most cases there will be a router in between, doing NAT for a private subnet. You would then have to configure that router to do either fake ident responses itself (a lot of them can actually do this!) or forward ident requests to your Kindle. My suggestion: just don't bother.
|
12-13-2012, 10:35 AM | #8 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Which do forward (or NAT, or proxy) the Ident queries. And if they don't, then you will never have to make a fake reply. No harm, no problem. Hmm... Another consideration which I did not mention above - - The default iptables in a Kindle are set to block the queries, so they will not respond to "ident" queries unless updated to do so. |
|
12-16-2012, 12:01 AM | #9 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Don't IRC as root.
Because of this nice thread i installed successfull Irssi, but also only on Optware.
I tried out to connect to my favourite Server which I couldn't visit a long time. But during to connect to the server it gave an error. I should not IRC as root. Fine, I thought and then I began to add an user which one could do nothing until I installed sudo. Now I can be root if I would type "sudo command". After configure it works fine. If i start now Irssi without sudo at the start the error still comes. Maybe someone knows the answer? Best regards, Bagerfahrer Last edited by Bagerfahrer; 12-16-2012 at 12:03 AM. |
12-16-2012, 08:51 AM | #10 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Try the Mobileread IRC server - it doesn't mind if your "root".
|
12-16-2012, 02:54 PM | #11 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Is there no other option? Maybe start irssi as not root or there are any other irc clients? Because I don't want join the server from this website.
Best regards, Bagerfahrer |
12-16-2012, 03:48 PM | #12 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I don't really understand your error description for the current situation. How do you switch the session over to the user account?
|
12-16-2012, 08:14 PM | #13 |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Maybe I forgot to tell you that there was an email to contact them. I wrote a short email. I am not sure that this was the reason why i can now connect to server without any problems because I changed in few files some lines in /etc/ for the already added user.
@hawhill: what are you meaning? If you asked how I login to an account I use the login <user> command. Best regards Bagerfahrer Last edited by Bagerfahrer; 12-16-2012 at 08:29 PM. |
12-17-2012, 07:01 AM | #14 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
That was one thing I meant. The other thing is that you aren't quoting any meaningful error messages. But those probably aren't very important here.
I guess that "login" doesn't clean the environment properly. Did you check the environment variables after using "login"? But probably now you don't need to bother anymore if it works now... |
12-17-2012, 12:13 PM | #15 | |
Connoisseur
Posts: 69
Karma: 36148
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Quote:
When I type echo $PATH as no user and then when I successful login I get different $PATH output. I can only change the $PATH from the user when I edit the /etc/profile. That is one reason why I need an user because I had to add /opt/bin and /opt/sbin directory to the $PATH which will save only for non-user in the current window session when I use the export command. Where I find the file to change the $PATH for the non-user? Best regards Bagerfahrer Last edited by Bagerfahrer; 12-17-2012 at 12:18 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IRC chat on irc.freenode.net | Jaapjan | Lounge | 1 | 02-09-2018 03:05 PM |
Getting IRC (Irssi) to work on your Kindle | r04r | Kindle Developer's Corner | 10 | 05-18-2013 03:50 PM |
Irssi or IRC Kindlet | dasmoover | Kindle Developer's Corner | 2 | 10-28-2011 06:11 AM |
Android IRC App for Edge | jasonrkr | enTourage Archive | 5 | 12-06-2010 02:57 PM |