Forum Home
Press F1
 
Thread ID: 23024 2002-08-05 12:41:00 linux + 98Se network Chris Wilson (431) Press F1
Post ID Timestamp Content User
68471 2002-08-05 12:41:00 here's my network
Vanessa 98se------sam, suse linux------- cable modem

Sam has 2 network cards
internal 198.162.0.1
external (202.0.37.227)

what i am finding impossable is to get the machines to share folders/ drives,
i can ping each machine
sam makes a great gateway for vanessa
to transfer the files to the apche in sam webserver, i had to put them on CD, and move them across the room.

other weird things
from vanessa i can only see www.something.net.nz by typing http://198.162.0.1
something.net.nz is pointed direct to 202.0.37.227. I have no other problem with any other domain name but my own..

there are other silly things, but one thing at a time
HELP!!!!!
?:| :D ?:| :D X-( :D ?:| :D :p :D ?:|
Chris Wilson (431)
68472 2002-08-05 13:15:00 Hi Chris,

To get Windows to talk to Linux you need to run a Samba Server on your Linux box. Samba is available on the Suse discs under networking utilities. A easy way to set up Samba is by enabling Swat which is accessible through your web browser on 127.0.0.1 (localhost).

You can also set up an individual user for vanessa on sam. Makes access easier.

Hopefully you have typed your private address incorrectly. 198. is an accessable address and private networks should be using something like 192.168.0.1.

Hope this helps.
Gorela (901)
68473 2002-08-05 13:49:00 damn i didn't.....
i'll just go ajust everything to 192.168
Chris Wilson (431)
68474 2002-08-06 09:55:00 OK, i fixed that oversight....

I've switched the machine on for todays session and apache is not running
now i just rang the guy who was working on the machine with me, and he cant remember what he did to start apache either...

what's the command to start apache?

Is there a way of getting apache to start automaticly just after sam boots up?

bottom line is that webserverving is what i got sam to do
priorities are gateway, webserver, storage, anything else that seems like a good idea once these things are sorted. sofar gateway is the only bit that works fine.

this is a standard install (if there is such a thing) of apache on suse 8.0
Chris Wilson (431)
68475 2002-08-07 02:37:00 Well, when I first put apache up on one of my servers (RH6.2) I just typed "httpd". That started it, and added a line to one of the rc files. It started after reboot every time after that.

I don't know about SuSe, but do a "man apache" ... or browse for its readme files. "locate apache" might help you find the files, if it has run long enough to cron an "updatedb". "which apache" or "which httpd" will locate commands in your path. If you can find a recommended way of making it start automatically, do that. If one of httpd or apache starts it, you can put that into /etc/rc.d/rc.local or something like that.
Graham L (2)
68476 2002-08-07 03:52:00 Thankyou very much Graham

I can start apache, so i'm very happy... and about an hour late to be somewhere.

is there an easy command to stop httpd?

(did i describe myself as a linux virgin yet?)
Chris Wilson (431)
68477 2002-08-07 04:04:00 You will love this command.
killall httpd

But I don't know if that's the recommended way to do it. Without arguments it will probably be safe enough and get an "orderly" shutdown of the server daemon. The severe option "-9" means "DO IT. DO NOT PASS GO. DO NOT COLLECT $200. DO IT NOW ".

Usually, you don't shut down a daemon, then restart it when a configuration file has been changed.

The "kill" command has a lot of options, and there is one which will cause a daemon to reread any files which have been changed. Even the main process "init" can be restarted without rebooting with "init q".

"killall" looks at the list of running processes for any with the name givenb as the argument. It gets the PID and issues "kill <PID>".

You can find PIDs by "ps aux", or by running "top" in a text window.

"top" is a good programme to have running anyway --- (try typing "h" when it is running --- it can do lots of things, including kil,ling processes)
Graham L (2)
68478 2002-08-07 04:55:00 >>Usually, you don't shut down a daemon, then restart it when a configuration file has been changed.

:O

I that is so, then what do i do to let apache know that the config file changed?

With doze, i had to shutdown/restart apache each time i did anything to the config files, or the changes would have no effect. Is thier a better way with linux?
Chris Wilson (431)
68479 2002-08-07 05:34:00 If the "httpd" command worked, there will be a file called "/etc/rc . d/init . d/httpd" . That is a command script (read it) . It takes the arguments: start (default), stop, restart, reload . "reload" is meant for when you have changed httpd . conf .

I won't type the whole url: feed "httpd restart linux" to google . There's a match at www . redhat . com . . . ending in "ch-configuration . html" .

Try localhost .

I thought that you had to reboot Windows if you wanted to reset server daemons ;-) . This is much nicer . :-)
Graham L (2)
68480 2002-08-13 10:54:00 Ok, so i got the webserver running, the gateway was a breeze
i have worked out how i can get the linux box (sam) to see into my doze box, (vanessa) but i cannot work out how to make sam visable to vanessa, let alone the next big task (please no scoffing) share one of the partitions on sam with vanessa
.... big learning experiance... i'm loving it, but could really do with a bit of guidance here to speed things up!
Chris Wilson (431)
1 2