Linode Forum Index Linode Forum
Linode Community Forums
 


Lish Ajax console port?

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Wed Nov 09, 2011 9:20 pm    Post subject: Lish Ajax console port?  

I changed the default SSH port and can't use the AJAX terminal now... at least I think that's what caused it.... does it only work on port 22?
Back to top  
mnordhoff



Joined: 03 May 2008
Posts: 451

Posted: Wed Nov 09, 2011 9:36 pm    Post subject:  

Lish does not interact with your node's SSH daemon in any way. It logs in over the virtual equivalent of a serial console.

What browser are you using? The Lish Ajax console can be pretty wonky in...most of them. Have you tried logging into Lish over SSH? (The login details are one line above the link to the Ajax version.)

What do you mean by "can't use", anyway?
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Wed Nov 09, 2011 9:54 pm    Post subject:  

yea, guess I wasn't terribly clear...

So, when I use the AJAX terminal it loads up and shows all the terminal messages BUT I cannot interact or type anything in there.

I just tried to lish via ssh, and it does the exact same thing.

I just opened up iptables for the hell of it as well, but that didnt make any difference...

normally I wouldnt care, but earlier today I was screwing with iptables and managed to lock myself out... I've always loved having the ajax console as a backup just in case I pull a stupid move like that :)
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC

Posted: Thu Nov 10, 2011 10:45 am    Post subject:  

LISH basically connects to your linode's virtual serial port, so you could shut down all networking on your linode and still use LISH.
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Thu Nov 10, 2011 10:48 am    Post subject:  

yea so, it doesn't work and this means I really don't know why...

guess I'll open a ticket.
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC

Posted: Thu Nov 10, 2011 10:51 am    Post subject:  

LISH basically connects to your linode's virtual serial port, so you could shut down all networking on your linode and still use LISH.
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Thu Nov 10, 2011 10:56 am    Post subject:  

You're running a custom kernel via pv_grub and haven't correctly configured a getty to listen on the correct console device (most likely either tty1 or hvc0) for your kernel. Depending on your init it's either going to be /etc/inittab or one of them newfangled upstart config files.

-Chris
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Thu Nov 10, 2011 10:57 am    Post subject:  

ahh that makes sense, I'll see what I can do :)

thanks Caker
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Thu Nov 10, 2011 11:31 am    Post subject:  

Alrighty, Caker is definitely correct as to what my issue is, I can temporarily turn on the terminal by issuing this command:
`/sbin/getty 38400 hvc0`

however this is debian 6 and I cannot, for the life of me, figure out what to change so that this is used on bootup. The stupid inittab keeps overwriting my changes on reboot. In Ubuntu there are some other files/folders that don't seem to exist in Debian (like /etc/init/tty1.conf and /etc/event.d/tty1)

Any help would be appreciated.
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Thu Nov 10, 2011 11:39 am    Post subject:  

Hmm ... disable "Helper Xen" in your configuration profile and reboot -- that may be responsible for overwriting your inittab changes. If so, it's a bug.

-Chris
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Thu Nov 10, 2011 11:40 am    Post subject:  

yea, I just figured that out, I disabled the 'Xenify Distro' in the config page and now my changes are persistent and working as expected.

Thanks man!
Back to top  
drpks



Joined: 20 Dec 2010
Posts: 55

Posted: Thu Nov 10, 2011 11:48 am    Post subject:  

I had the same problem with Lish and I thought it was something related with my browser.
Thanks to this post and http://www.linode.com/wiki/index.php/PV-GRUB#Boot_Configuration I have Lish working :)

PD: Debian 6 just need to change inittab file, and Xenify Distro in Linode Manager.
Back to top  
Abzstrak



Joined: 22 Sep 2011
Posts: 16

Posted: Thu Nov 10, 2011 11:49 am    Post subject:  

lmao, I wish I would have searched for that page before randomly changing things, would saved a bit of time :)
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1