Solved

Linksys cable router/linux problem

Posted on 2001-06-05
6
201 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now