Solved

Linksys cable router/linux problem

Posted on 2001-06-05
6
205 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 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