Solved

Linksys cable router/linux problem

Posted on 2001-06-05
6
200 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 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.

706 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

22 Experts available now in Live!

Get 1:1 Help Now