Solved

Linksys cable router/linux problem

Posted on 2001-06-05
6
202 Views
Last Modified: 2010-04-20
I have a linux server connected to the net via a linksys cable router and cable modem.  If you are familiar with the linksys router, you'll know it has web interface to administer it.  How do I administer it remotely?  I can get to the server, but lynx seem to have a problem with the connection, as I receive "unexpected network error" from lynx when I access it.  There has to be a way to do this!

Thanks,

Tom
0
Comment
Question by:tom419
  • 3
  • 3
6 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 6159380
My guess would be to try using "ssh -X a-user@linux.sys.tld" to connect to your Linux box behind the Linksys. Then you should be able to start Netscape from the ssh session and use that to connect to the Linksys box.
0
 

Author Comment

by:tom419
ID: 6159778
I'll have to try this and get back to you, but it sounds like it might work.  I did eventually get in with lynx, but I would a better solution.  So in theory, I can run an X session through the ssh?  would I need to do anything to the terminal emulation?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 6160123
Yes, the -X flag tells ssh to forward X11 data over the connection. And one neat thing about the way it does that is than you don't have to set up a DISPLAY env var on the remote system. Just use ssh to log in and invoke any X app on the remote and the local X server will display the Gui.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:tom419
ID: 6167636
Sorry about the wait.  I ran the "ssh -X a-user@linux.sys.tld" command as you suggested and connected just fine, but then tried to run netscape, in which I received the error:
'cannot find Display'

In truth, I don't have much experience in Linux GUI Applications, do I need to start x first, then run netscape?
0
 
LVL 40

Accepted Solution

by:
jlevie earned 300 total points
ID: 6168679
On the local machine, the one where you are executing the "ssh -X user@linux.sys.tld" to connect to your remote Linux box behind the Linksys, you do have to be running X when that command is executed. Otherwise the netscape client, when it runs on the remote Linux box won't have an X server to talk to.
0
 

Author Comment

by:tom419
ID: 6262738
I ultimately did get the lynx to work, but this works alot better for the fellow, as we can use netscape and the prettier GUI.

Thanks for your help!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question