LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-04-2001, 08:33 AM   #1
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
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

Last edited by gene_gEnie; 10-04-2001 at 08:45 AM.
 
Old 10-04-2001, 11:13 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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!]
 
Old 10-04-2001, 11:48 AM   #3
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Original Poster
Rep: Reputation: 15
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
 
Old 10-04-2001, 12:41 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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
 
Old 10-04-2001, 02:19 PM   #5
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Original Poster
Rep: Reputation: 15
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...
 
Old 10-04-2001, 02:24 PM   #6
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Original Poster
Rep: Reputation: 15
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?

Last edited by gene_gEnie; 10-04-2001 at 02:29 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
amaroK: How to prevent it from accessing the net? furryspider Linux - Software 2 09-17-2005 03:42 PM
Accessing the net via VMware's NAT texasholdem Linux - Networking 2 07-26-2005 11:41 AM
Accessing net using a LiveCD mooseman Linux - Security 5 10-30-2004 02:38 PM
modem users: how are u accessing the net? webazoid Linux - Software 9 08-17-2004 03:20 AM
Accessing SSH thru the net. TRi-x2 Linux - Security 5 03-28-2004 07:48 AM


All times are GMT -5. The time now is 08:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration