LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-20-2006, 03:23 PM   #1
Intern_Sean
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Rep: Reputation: 0
setting up a Red Hat 9 (Shrike) server on an MS XP workgroup


I just recently attached a linux box running RH9 to one of the ports on my linksys router. I am trying to set this up as a server that my brother and I can use as a code repository for a program we are writing. I am not too familiar with linux other than a DeVry textbook that gives me some very basics about navigating the filesystem, filerights and such. What I am trying to do first is be able to log onto the box from my Win XP box so I don't have to have two of everything (monitors, keyboards and mice) on my desk. Right now the two computers can see eachother and i can tell that the router has assigned an IP to the Linux box because I can ping it but thats about all I can do. Secondarily, I would like to be able to get out on the net from the RH gui but am not able to right now for some reason. Anyone want to look like a big shot and help out a noob?
 
Old 08-20-2006, 03:30 PM   #2
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
any reason why you are keeping RH9 instead of just installing something newer/better (slackware, centos, debian, etc.)? you might have an easier time of it later on with a more up to date OS.

regardless of whether you keep it or upgrade, you need to install and/or configure sshd on the server box. once that's set up, you can ssh in from windows with an application called putty.

can you ping the net from the RH box?
 
Old 08-20-2006, 03:38 PM   #3
Intern_Sean
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Fist of all, thats for replying to me.

Secondly:

The linux box is on loan from my office. Now, they have told me that I can bascially do what ever I want with it but I figured that I should play around with what was on it first before installing something new largely because it has Samba already on it.

I found some stuff about that and tried to see if sshd was already installed. It would be listed as sshd in the /bin directory if was on the box right?

I haven't figured out how to ping in linux yet.
 
Old 08-20-2006, 03:48 PM   #4
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
sshd is most likely in /usr/sbin, and you can also do "ps ax |grep ssh" to see if it's already running. pretty sure the startup scripts are in /etc/rc.d/init.d. there's lots of tutorials on configuring ssh on LQ and the net.

but if you can do whatever you want, they'd probably thank you for upgrading it. anything new you installed would almost certainly have samba and sshd in a stock install, or else they could be installed afterward very easily if you wanted to keep the base system minimal.
 
Old 08-20-2006, 03:52 PM   #5
Intern_Sean
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by slackhack
sshd is most likely in /usr/sbin, and you can also do "ps ax |grep ssh" to see if it's already running. pretty sure the startup scripts are in /etc/rc.d/init.d. there's lots of tutorials on configuring ssh on LQ and the net.

but if you can do whatever you want, they'd probably thank you for upgrading it. anything new you installed would almost certainly have samba and sshd in a stock install, or else they could be installed afterward very easily if you wanted to keep the base system minimal.
It looks like sshd IS in the /etc/rc.d/init.d directory. I think I will play around with it but can you tell me how to ping in linux?
 
Old 08-20-2006, 04:02 PM   #6
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
you just open a terminal and use the ping command, e.g., "ping google.com" (edit: ctrl + c to stop it, or else use the -c option, as in ping -c 3 google.com).

p.s. note that the sshd in /etc/rc.d/init.d isn't the binary, just the startup script.

Last edited by slackhack; 08-20-2006 at 04:05 PM.
 
Old 08-20-2006, 05:11 PM   #7
Intern_Sean
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I downloaded putty and

now have access to the box itself. Thanks for that tip. It looks like sshd was already set up or else I accidentially did something right. Interestingly (or not depending on your experience level) I tried to run the gui from the putty window and it started on the linux box monitor but I guess you cant run the gui remotely through Putty. I still cant get out to the internet from the linux box however even though it has been assigned an IP address from the router.
 
Old 08-20-2006, 07:34 PM   #8
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
did your office have a firewall set up on it? i think you can check as root with iptables -L , unless RH9 didn't use iptables yet and still ipchains, in which case i'm not sure how to check it. any firewall or settings on the router that could be blocking net access?

afaik, you can't run the linux gui through putty, but you could run gui programs from another linux box through ssh with X forwarding. so that might be useful if you wanted to log on from another linux box somehwere. there's also other ways to do virtual desktops, etc. but i'm not too into that as i don't really find any need for it.

Last edited by slackhack; 08-20-2006 at 07:37 PM.
 
Old 08-20-2006, 08:23 PM   #9
Intern_Sean
LQ Newbie
 
Registered: Aug 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Well I checked my router config

and the only thing I cold think of was the mac address filtering but I had thought that was only for wirelessly accessing the network but I was wrong. I added the Linux box ip to the table and bingo! I now have access to the interweb through the Linux box. Now all I have to do is figure out how to give my brother access to it and how to turn it into a code repository. Thanks for the help so far, I really appreciate it.
 
  


Reply



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
Start up files for Red Hat Linux 9 (Shrike) lud477 Linux - Software 7 07-25-2006 12:08 AM
Red Hat version 9 (shrike) file system? Bleep Red Hat 5 11-21-2005 11:14 AM
help! setting print server on red hat 9 chyan Linux - Networking 2 11-04-2004 03:25 PM
Setting up a web server, using Red Hat 9 Ricochet423 Linux - Networking 16 04-20-2004 11:06 AM
March 31 with the release of Red Hat Linux 9, code-named Shrike. futurist Linux - Distributions 1 03-26-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration