LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   accessing net thru' shell via windows (https://www.linuxquestions.org/questions/linux-networking-3/accessing-net-thru-shell-via-windows-7230/)

gene_gEnie 10-04-2001 08:33 AM

accessing the net directly from shell/xterm via windows
 
Im sure ive seen this question or variants of it asked a hundred times but after trawling thru the lists again, i cant quiet seem to find the info i need so here goes...

What i want is to be able to access remote computers (i.e. my university solaris server) using SSH or related tools that will allow me to run X apps over the internet.

How do i go about this im wonderin?

Present state of my system/network:
Win2k -the machine that has the modem :(
Redhat 7.1 the machine with out the modem!!! :(

I have them networked, can ping, ftp etc etc...
Also i have windows set up as a proxy server (using AnalogueX's nifty little gadget) so i can browse websites on my linux box using Netscape.
But, (here's the crunch) how do i configure Linux so i can access the net from the shell?
i.e. telnet, SSH, FTP remote sites directly from shell?

Any info would be much appreciated (such as a step by step tutorial :-) or pointers to the relevant how-to's or websites, just anything really.

Thanks

Martin

acid_kewpie 10-04-2001 11:13 AM

i guess your problem is that you can't ping externally from linux? well i'd say you needed seom proper routing s/w for windows, rather than simply doing proxy serving. have a look at winroute. I think that'd be exactly what you want.

If you find it works, i've a free licensed copy i could mail you.. if i'm feeling nice...

And then of course you set your linux network to have it's gateway set as the win2k machine. in linuxconf (ICK) or just edit the obvious bit in /etc/sysconfig/network

but then you really wanna put the modem in linux, much much much nicer, even from a windows point of view if it's working properly... look at mserver. that's cool.

LALALALALALA I JUST BOUGHT A NEW BASS GUITAR... :-):-):-):-) [sorry!]

gene_gEnie 10-04-2001 11:48 AM

Im downloading wingate as i type...

I have set my gateway to be the win2K machine
but somehow it still dont like it.

here's an excerpt from my /etc/sysconfig/network file

NETWORKING=yes
...
GATEWAYDEV="eth0"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

Does that look ok to you?

As for the modem in the linbox solution, i will migrate towards that as soon as, but for now i just want a quick fix to the current situation.

Thanks again

acid_kewpie 10-04-2001 12:41 PM

cancel the download... wingate is proxy software, NOT routing software. the difference can seem subtle, but will be much harder to config... eitherway, wnigate or sygate etc.. are VERY expensive, and you wouldn't use an illegal crack would you now? try winroute... http://www.faxware.co.nz/winroute/

you might get wingate working, but it's not a great solution AFAIK.

Oh and the network file.. yeah, make sure the ip is the win2k box. check it's ok with

/sbin/route

gene_gEnie 10-04-2001 02:19 PM

so i've got winroute.

urrmmm, it dont like me either :((

I've got no other proxy or routing software runing. I've ran thru the set up and it all seems good, im not using DCHP as i only have 2 pc's networked (should i use DCHP? - then winroute acts as the DCHP server yeah?)

As mentioned before, i have the win2K boxes internal IP set as the gateway for the linux box

im at a loss as to what else to do or configure...

gene_gEnie 10-04-2001 02:24 PM

IP of win2K : 192.168.0.1
IP of Linux : 192.168.0.2
Netmask 255.255.255.0


excerpt from doing /sbin/route -n

destination_____gateway________Genmask____________Flags___..._____Iface
192.168.0.0_____0.0.0.0________255.255.255.0______U_______________eth0
...
...
0.0.0.0_________192.168.0.1____0.0.0.0____________UG_______________eth0

does this look suspect?
Or is it perfectly legal?


All times are GMT -5. The time now is 03:37 PM.