Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Linksys cable router/linux problem

Posted on 2001-06-05
6
Medium Priority
?
222 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 1200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

564 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