maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   IRC on the N900? (https://talk.maemo.org/showthread.php?t=35720)

MaxiKana 2009-12-02 19:33

IRC on the N900?
 
I was wondering if anyones gotten som kind of IRC to work on the phone? the plugin in extras testing is promising but it lacks the fundamental feature of joining rooms. msgs org fine however. has anyone gotten a version of irssi working for example?

hqh 2009-12-02 19:39

Re: IRC on the N900?
 
Irssi appears to be already in extras-devel. I haven't tried it though, as I prefer to use IRC over ssh on a remote machine.

Flanbix 2009-12-02 19:39

Re: IRC on the N900?
 
You could use Pidgin I think ...

timoph 2009-12-02 19:40

Re: IRC on the N900?
 
x-chat is in extras-devel. I don't know if it's stable, optified, etc. If you decide to try it, please share your experiences with it.

I've been using ssh to connect to a server running irssi in screen.

joppu 2009-12-02 19:43

Re: IRC on the N900?
 
set up irssi on on a screen on your desktop or server and use X-Terminal to connect to it using SSH.

More info

sjgadsby 2009-12-02 19:49

Re: IRC on the N900?
 
Quote:

Originally Posted by MaxiKana (Post 405675)
I was wondering if anyones gotten som kind of IRC to work on the phone?

XChat is in Extras-devel. So, it should be available for general use at some point in the (hopefully) not too distant future.

In the meantime, please note that Extras-devel is a playground for developers. Installing software, including XChat, from there is potentially dangerous. The software you install from Extras-devel may not work. The software you install from Extras-devel may cause other, previously wonderful, software on your phone to stop working. The software you install from Extras-devel may cause your phone to stop working in general. Heck, all your data and files may be converted into sophomoric Red Dwarf fanfic written in Loglan. With Extras-devel there are no guarantees beyond getting to keep all the jagged little pieces when something breaks.


EDIT: timoph zoomed past as I was writing the disclaimer.

Petteri 2009-12-02 19:53

Re: IRC on the N900?
 
Quote:

Originally Posted by joppu (Post 405705)
set up irssi on on a screen on your desktop or server and use X-Terminal to connect to it using SSH.

More info

Any pointers how to add alt key to xterm?

hqh 2009-12-02 19:57

Re: IRC on the N900?
 
Quote:

Originally Posted by Petteri (Post 405730)
Any pointers how to add alt key to xterm?

I solved the problem of missing alt by rebinding the keys in irssi.
(Or, to be more specific, by creating additional bindings so I can still use the original ones when on a desktop computer)

Petteri 2009-12-02 20:42

Re: IRC on the N900?
 
Quote:

Originally Posted by hqh (Post 405741)
I solved the problem of missing alt by rebinding the keys in irssi.
(Or, to be more specific, by creating additional bindings so I can still use the original ones when on a desktop computer)

Thanks. I have vague memory that I have seen maemo xterm with alt on the menubar. I don't like to restart my irssi session, so I think I will look around a bit more before modifying irssi config :D

zerojay 2009-12-02 20:47

Re: IRC on the N900?
 
Quote:

Originally Posted by hqh (Post 405741)
I solved the problem of missing alt by rebinding the keys in irssi.
(Or, to be more specific, by creating additional bindings so I can still use the original ones when on a desktop computer)

How about sharing your irssi configuration files or showing people how they can do this themselves?

qole 2009-12-02 20:53

Re: IRC on the N900?
 
X-Chat in extras-devel works fine.

Some problems I have had with it, along with the workarounds to make things very usable for me:

- Settings are not saved, and attempting to save settings crashes XChat
-- Workaround: Edit the config file: ~/.xchat2/xchat.conf

- No tab key for autocompletion of users' names
-- Workaround: remap my keys to use Fn+Rightarrow as Tab key

- Upon closing, the maemo-xinput-sounds process sometimes runs away and starts consuming 97% of the processor until the battery dies
-- Workaround: "killall maemo-xinput-sounds" if the load applet shows strange activity after closing XChat.

hqh 2009-12-02 21:15

Re: IRC on the N900?
 
Quote:

Originally Posted by Petteri (Post 405841)
Thanks. I have vague memory that I have seen maemo xterm with alt on the menubar. I don't like to restart my irssi session, so I think I will look around a bit more before modifying irssi config :D

Quote:

Originally Posted by zerojay (Post 405853)
How about sharing your irssi configuration files or showing people how they can do this themselves?

You can use the /bind command in irssi to change the keybindings without restarting it. Afterwards just use /save to write the config file and make the bindings permanent.

For example (the actual commands in bold, the rest is comments):
/bind Show a list of all current bindings
/bind ^P previous_window Binds ctrl-P to change to previous window
/bind -delete ^P Clears the binding for ctrl-P

Some key combinations might get eaten by the terminal, ssh or screen, so you'll probably have to experiment a bit to find working ones.

davost 2009-12-02 22:00

Re: IRC on the N900?
 
Quote:

Originally Posted by joppu (Post 405705)
set up irssi on on a screen on your desktop or server and use X-Terminal to connect to it using SSH.

More info

I was just wondering, why recommend a solution which involves opening up a port on your desktop for no apparent reason? This is, IMHO, a solution if and only if you really need the ssh service running for some other reason. Don't forget, there's alot of bad guys out there.

EDIT: Or maybe there is a reason. Battery life and data traffic economy?

ewan 2009-12-02 22:12

Re: IRC on the N900?
 
There are hundreds of reasons to want to be able to SSH into your desktop - it's a fantastically useful thing to be able to do. If you set it up with only one username allowed to log in, and only with a key, you're pretty secure from would-be bad guys.

If you can do it this way, you should - it's great.

in-maemo 2009-12-02 22:17

Re: IRC on the N900?
 
I use pidgin for my IRC needs. It has SSL support. The only problem to my mind is that the window to see the chat messages is really really small.

nytcrawlr 2009-12-02 22:17

Re: IRC on the N900?
 
Been using X-Chat all day since I downloaded last night, fantastic IRC client in it's current state. Only issue I've noticed is when closing the app, if you choose "Minimize to tray", the app will close down but cannot be launched from the icon again.

Thinking about it now, I should of dropped into the shell and see if there was job present to fg back into the foreground. I'll try that later.

qole 2009-12-02 22:45

Re: IRC on the N900?
 
nytcrawlr: If you like to "minimize to tray" (why? that concept doesn't make sense in Maemo 5) you can install "hildon-systray" and you can see the XChat icon there... That's pretty much the only use I've found so far for hildon-systray.

http://farm3.static.flickr.com/2547/...7d053de4_o.png

davost 2009-12-02 22:46

Re: IRC on the N900?
 
Quote:

Originally Posted by ewan (Post 406054)
There are hundreds of reasons to want to be able to SSH into your desktop - it's a fantastically useful thing to be able to do. If you set it up with only one username allowed to log in, and only with a key, you're pretty secure from would-be bad guys.

If you can do it this way, you should - it's great.

Granted, ssh is very useful, I use it a lot. But I only have it enabled when and where I really need it. As a matter of fact you are not really safe. Just consider TLS. The foundation of almost all web security. That was considered safe until the renogatiation weakness was discovered not many months ago.

CrashandDie 2009-12-02 22:57

Re: IRC on the N900?
 
Quote:

Originally Posted by ewan (Post 406054)
There are hundreds of reasons to want to be able to SSH into your desktop - it's a fantastically useful thing to be able to do. If you set it up with only one username allowed to log in, and only with a key, you're pretty secure from would-be bad guys.

If you can do it this way, you should - it's great.

Actually, the "one username only makes it secure" is a myth. A username isn't a secret, and it shouldn't be treated as one. Yes, my username on my boxes is "slauwers". Yes, my boxes are exposed to the wild wild web.

Just disallow root logon and enforce PKI authentication. Has been discussed plenty of times.

Quote:

Originally Posted by davost (Post 406140)
Granted, ssh is very useful, I use it a lot. But I only have it enabled when and where I really need it. As a matter of fact you are not really safe. Just consider TLS. The foundation of almost all web security. That was considered safe until the renogatiation weakness was discovered not many months ago.

You're paranoid, good for you. Most people can't be bothered to turn sshd on and off the whole time -- it kinda defeats the purpose. SSH with PKI authentication is very secure. I can give you a few IPs, to you and the whole wide world, and I have no doubt no one would hack it by guessing my private key. Maybe an exploit in one of the cryptolibraries, but then again, that's a one-in-a-million event, and I really doubt my servers are of enough importance to warrant that kind of level of research.

There's much bigger chance one of the gazillion other services you are running will have a leak, exploit or backdoor than SSH.

Oh, and for the record, he never said his desktop was exposed to the web -- wifi works in local too.

Venomrush 2009-12-03 00:33

Re: IRC on the N900?
 
irssi IRC just got promoted to Extras-testing

More info here - http://maemo.org/packages/package_in...rssi/0.8.14-1/

davost 2009-12-03 00:38

Re: IRC on the N900?
 
Hey, let's say we disagree on some things. And leave the rest of the discussion to future thread where it isn't off topic.

As a conclusion though. If I find that I frequently need to access my home computer when I'm on the go. Well then I would open up my router for ssh. But for IRC which could be run as a client on the phone itself? I just think you are better of with a defensive approach to security. And "a one-in-a-million event" of SSH getting cracked? I would say a one-in-fifty event, and still worry that I underestimate the risk.

detective 2009-12-03 01:08

Re: IRC on the N900?
 
Quote:

Originally Posted by hqh (Post 405691)
Irssi appears to be already in extras-devel. I haven't tried it though, as I prefer to use IRC over ssh on a remote machine.

now in extra-testing, feel free to test and help me to get this wonderful piece of software ported well

http://maemo.org/packages/package_in...irssi/0.8.14-1

note: you can switch with ctrl+n or ctrl+p from one to another window, don't ask how you can switch to windownumber x.
i did not binded it, reason: everyone think that his opinon of mapping the keys right is the best. it's irssi, so feel free to bind your keys like YOU want :)

dick-richardson 2009-12-03 01:30

Re: IRC on the N900?
 
Quote:

Originally Posted by davost (Post 406140)
Granted, ssh is very useful, I use it a lot. But I only have it enabled when and where I really need it. As a matter of fact you are not really safe. Just consider TLS. The foundation of almost all web security. That was considered safe until the renogatiation weakness was discovered not many months ago.

The renegotiation exploit doesn't give a man in the middle your private key and has absolutely NO impact on the security of ssh in this context.

The renegotiation exploit allows a man in the middle to establish their own valid ssl connection (NOT ssh) to a server that accepts public requests, and then forward your new attempt as a renegotiation.

ewan 2009-12-03 01:52

Re: IRC on the N900?
 
Quote:

Originally Posted by CrashandDie (Post 406162)
Actually, the "one username only makes it secure" is a myth. A username isn't a secret, and it shouldn't be treated as one. Yes, my username on my boxes is "slauwers". Yes, my boxes are exposed to the wild wild web.

It's perfectly true in principle that username's aren't a secret, but in practice the attacks I usually see are dumb dictionary attacks, not targetted thoughtful ones; if you've got systems that need to allow password auth then limiting the available usernames does reduce the chance of one of them getting a lucky hit. If you're keys only then it doesn't make much difference, but then I've had a machine that I thought was set to keys only get compromised because it turned out not to be, and a dictionary attack did get lucky.

As a rule I like a security setup that can take the occasional balls-up without falling to pieces.

Quote:

Originally Posted by davost (Post 406330)
As a conclusion though. If I find that I frequently need to access my home computer when I'm on the go. Well then I would open up my router for ssh. But for IRC which could be run as a client on the phone itself?

Not as well though. Your phone's likely to be hopping from network to network as you move around and that will break open tcp connections. With irssi running in screen on a machine with a stable connection your IRC session keeps running - you need to reconnect to it, but it doesn't keep popping on and off IRC. Aside from being generally more friendly that means that it captures conversation that takes place while you're disconnected, so you can catch up when you're back online.

Quote:

I just think you are better of with a defensive approach to security. And "a one-in-a-million event" of SSH getting cracked? I would say a one-in-fifty event, and still worry that I underestimate the risk.
Seriously - one in fifty what? SSH in general and OpenSSH in particular is open to the internet on an enormous number of machines and has been for a long time. It's a hugely high profile target, and has an excellent track record of security.

fnordianslip 2009-12-03 02:27

Re: IRC on the N900?
 
Quote:

Originally Posted by ewan (Post 406443)
Seriously - one in fifty what? SSH in general and OpenSSH in particular is open to the internet on an enormous number of machines and has been for a long time. It's a hugely high profile target, and has an excellent track record of security.

Er, debian :eek:

dick-richardson 2009-12-03 02:32

Re: IRC on the N900?
 
Quote:

Originally Posted by fnordianslip (Post 406496)
Er, debian :eek:

Are you referring to the vulnerability that led to a certain percentage of ssh keys that were easier to brute-force than others and was fixed within the week with no known loss?

fnordianslip 2009-12-03 02:39

Re: IRC on the N900?
 
Quote:

Originally Posted by dick-richardson (Post 406506)
Are you referring to the vulnerability that led to a certain percentage of ssh keys that were easier to brute-force than others and was fixed within the week with no known loss?

Yes, precisely. You seem to be impressed by the fact that it was fixed. I suppose that's what you get from hanging around here :)

I was mostly poking fun at the actual cause of the problem.

MaxiKana 2009-12-05 12:05

Re: IRC on the N900?
 
After using Irssi since getting the tip in this thread I have come to the conclusion that irssi must be quite a power hog. Having 3g on, WLAN off, bluetooth off, gps off and no widgets on the desktop but irssi on all the time my battery drains in 7-8 hours. After charging my phone I'm going to run one battery cycle without irssi on to see if it still drains the battery as fast.

As a potential sollution I'm already looking at getting a dd-wrt compatible wlan router instead of the one I have now so that I can install irssi on it and ssh to the router with my phone. My friends running irssi on his server and is sshing to it with his n900, he had it on last night (10 hours) and it drained only 15% of his battery.

Anyone else with simmilar experience?

joppu 2009-12-05 16:02

Re: IRC on the N900?
 
Quote:

Originally Posted by davost (Post 406330)
Hey, let's say we disagree on some things. And leave the rest of the discussion to future thread where it isn't off topic.

As a conclusion though. If I find that I frequently need to access my home computer when I'm on the go. Well then I would open up my router for ssh. But for IRC which could be run as a client on the phone itself? I just think you are better of with a defensive approach to security. And "a one-in-a-million event" of SSH getting cracked? I would say a one-in-fifty event, and still worry that I underestimate the risk.

Because you'll be able to continue your IRC sessions everywhere, on your work computer, home computer, laptop, N900, S60 smartphone.And without any reconnecting and join/quit spam for other users. It'll also collect all your private messages and also all other conversations.

Use a strong password, or even better, a keypair.

anttu 2009-12-13 19:29

Re: IRC on the N900?
 
Quote:

Originally Posted by MaxiKana (Post 411454)
As a potential sollution I'm already looking at getting a dd-wrt compatible wlan router instead of the one I have now so that I can install irssi on it and ssh to the router with my phone. My friends running irssi on his server and is sshing to it with his n900, he had it on last night (10 hours) and it drained only 15% of his battery.

Anyone else with simmilar experience?

I have an Asus WL-500W with dd-wrt keeping up my irssi in screen, and it is really really nice. Now I have a new N900 and of course I ssh with it to the Asus, screen and irssi.

There is two problems with using irssi with N900: (Could someone help with these.)

- No Alt key - Is this somehow doable?
- Scandinavian characters missing - how can I get them work?

mickenordin 2010-01-24 15:08

Re: IRC on the N900?
 
Quote:

Originally Posted by anttu (Post 426002)
- Scandinavian characters missing - how can I get them work?

You should start screen with screen -U to get едц and such working properly

/Micke

Jeffgrado 2010-01-24 16:31

Re: IRC on the N900?
 
For freenode users, http://webchat.freenode.net works in the browser.


All times are GMT. The time now is 10:13.

vBulletin® Version 3.8.8