Re: [newbie] Linux / LAN Help

2004-08-14 Thread BJ Tracy
On Friday 13 August 2004 07:38 pm, Erylon Hines wrote:
 On Friday 13 August 2004 12:05 pm, BJ Tracy wrote:
 | Hello All,
 |
 | Slowly getting my office up and running on Linux.  Using Mandrake 10.0
 | Power Pack.  MDK 10.0 is loaded and running well on my PC and laptop.  I
 | have established LAN connections and can see three of the four computers
 | in my office.  I can see the pc with XP on it.  However the other pc that
 | has 98 (used for storage) on it, I cannot see.  I have set my linux
 | machines to smb and nfs.  Is there something else I'm missing.  My router
 | and hub are Linksys.

 Hmm--do you have the same username and password on the W98 machine as on
 the Linux machine?
NO
 Do you have an entry for the W98 machine in /etc/samba/lmhosts
I'm NEW to Linux and not sure what you are talking about here.
 How about an entry for it in /etc/hosts
?  Not sure
 Does the /etc/hosts.allow entry cover the IP addy of the offending machine?
??
 You can add the name and IP addy of the Linux machine to the W98 machine's
 lmhost file.
Where do I look for this file on 98?
 I'm assuming that the W98 box shows up everywhere but on the Linux box.
Yes that is correct.  On the 98 box I can see everything in my office.
Thanks for your help
bj
 Erylon

 | Also, to move or copy files from one machine to another is there anything
 | that I need to do as well, ie permissions or configuring routes,,,please
 | advise.
 |
 | Thanks in advance.
 | bj
 |
 | TGIF


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Linux / LAN Help

2004-08-14 Thread Erylon Hines
On Saturday 14 August 2004 08:04 am, BJ Tracy wrote:
| On Friday 13 August 2004 07:38 pm, Erylon Hines wrote:
|  On Friday 13 August 2004 12:05 pm, BJ Tracy wrote:
|  |
|  | Slowly getting my office up and running on Linux.  U
| 
|  Hmm--do you have the same username and password on the W98 machine as on
|  the Linux machine?
|
| NO

First off, it has been a long, long time since I had 98 (or any windows) on my 
network, so I'm doing this from far distant memory.  

You need to go to the Control Panel and make a user for your W98 box that is 
identical, and that has an identical password to the samba user on the Linux 
box.  The 98 box also has to belong to the same WORKGROUP identified in 
your /etc/samba/smb.conf 

From here on, do everything as root.
|
|  Do you have an entry for the W98 machine in /etc/samba/lmhosts
|
| I'm NEW to Linux and not sure what you are talking about here.

/etc/samba/lmhosts gives samba a roadmap to IP/computer names of network 
machines.

127.0.0.1  localhost
192.168.0.1 BoxName1
192.168.0.2 BoxName2
192.168.0.3 BoxName3
etc

Don't eliminate the 127.xx localhost entry.  I'm assuming you are using 192.xx 
and not 10.xx--adjust accordingly.  Add all your networked machines.
|
|  How about an entry for it in /etc/hosts
|
| ?  Not sure

/etc/hosts allows remote hosts to be identified by the samba box.
The convention is:

127.0.0.1   localhost.localdomain localhost
192.168.0.1 BoxName1.workgroup_name
192.168.0.2 BoxName2.workgroup_name

The localhost entry is required.Add an entry for each box on your network 
(there are easier ways, but this always works)
|
|  Does the /etc/hosts.allow entry cover the IP addy of the offending
|  machine?
|
| ??

This allows specific addresses to access the samba machine.

This is the way I do mine, there are others, but this is secure enough for me, 
and simple.  On a small network an IP for each machine here is no problem.  
On a large network you might want to us a range of addresses.

ALL : 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5 

|  You can add the name and IP addy of the Linux machine to the W98
|  machine's lmhost file.
|
| Where do I look for this file on 98?

In the Windows/System folder (I think) there is a file named lmhost.sam, or 
very similar.  You can open Notepad and create an lmhost.txt file that 
follows the conventions of the *.sam sample file and save it to the same 
folder that lmhost.sam is located.
|
|  I'm assuming that the W98 box shows up everywhere but on the Linux box.
|
| Yes that is correct.  On the 98 box I can see everything in my office.
| Thanks for your help
| bj

I always name my 8 network machines the same, and I keep a copy of the above 
files and just put them into any new install, so I don't really have to 
remake my network every time.
|
|  Erylon
| 
|  | Also, to move or copy files from one machine to another is there
|  | anything that I need to do as well, ie permissions or configuring
|  | routes,,,please advise.

The 98 machine is basically open to the whole network if you have file sharing 
enabled.

You probably want to configure your /etc/samba/smb.conf file to allow a share 
on your Linux box.  I make a directory /home/public (directories under /home 
can be easily made into a share) and give it world permissions:  
#chmod 2777 /home/public.  
With msec enabled (which it is by default), you'll have to jump through some 
hoops or it will change the permissions on you (I disable msec because I know 
what permissions I want on directories and msec irritates me to no end).

The entry in the smb.conf file would look something like this:

[Public]
comment = public folder
path = /home/public
admin users = @workgroup_name
write list = @workgroup_name
force group = @workgroup_name
read only = No
inherit permissions = Yes
guest ok = Yes

|  |
|  | Thanks in advance.

I hope this is useful

e



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Linux / LAN Help

2004-08-13 Thread SME Server Admin
On Friday 13 Aug 2004 20:05, BJ Tracy wrote:
 Hello All,

 Slowly getting my office up and running on Linux.  Using Mandrake 10.0
 Power Pack.  MDK 10.0 is loaded and running well on my PC and laptop.  I
 have established LAN connections and can see three of the four computers in
 my office.  I can see the pc with XP on it.  However the other pc that has
 98 (used for storage) on it, I cannot see.  I have set my linux machines to
 smb and nfs.  Is there something else I'm missing.  My router and hub are
 Linksys.

 Also, to move or copy files from one machine to another is there anything
 that I need to do as well, ie permissions or configuring routes,,,please
 advise.

 Thanks in advance.
 bj

 TGIF

Right. I have been in a similar situation. I have had trouble getting 98 to 
access XP and for that I needed to create an ID on the XP machine matching 
the login details of the 98 machine.

To access Linux  98, Linux  XP, Linux  SME Web Server I've used 
LinNeighborhood.

Unfortunatly my file server has gone off on other vital duties and my large 
file space is on XP which is annoying me.  With your setup can your 98 
machine access your Linux machine's SMB area for file storage :)

With the problem you've mentioned, can your XP machine see your 98 machine?

Can your Linux machine see your XP machine?

Are you using static IP or DHCP, what network parts have you got installed on 
your 98 machine.

Cheers

Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Linux / LAN Help

2004-08-13 Thread BJ Tracy
On Friday 13 August 2004 04:58 pm, SME Server Admin wrote:
 On Friday 13 Aug 2004 20:05, BJ Tracy wrote:
  Hello All,
 
  Slowly getting my office up and running on Linux.  Using Mandrake 10.0
  Power Pack.  MDK 10.0 is loaded and running well on my PC and laptop.  I
  have established LAN connections and can see three of the four computers
  in my office.  I can see the pc with XP on it.  However the other pc that
  has 98 (used for storage) on it, I cannot see.  I have set my linux
  machines to smb and nfs.  Is there something else I'm missing.  My router
  and hub are Linksys.
 
  Also, to move or copy files from one machine to another is there anything
  that I need to do as well, ie permissions or configuring routes,,,please
  advise.
  Thanks in advance.
  bj

OK, my 98 machine can see the XP and my Linux machine(SMB area).  My XP sees 
the 98 and Linux machines.  My Linux machine sees the XP machine only.
 Right. I have been in a similar situation. I have had trouble getting 98 to
 access XP and for that I needed to create an ID on the XP machine matching
 the login details of the 98 machine.

  With your setup can your 98 machine access your Linux machine's SMB area 
for file storage :)
Yes
 With the problem you've mentioned, can your XP machine see your 98 machine?
Yes
 Can your Linux machine see your XP machine?
Yes
 Are you using static IP or DHCP, what network parts have you got installed
 on your 98 machine.
DHCP, the 98 has a NIC connected to the LAN.  The hub and routers are Linksys.
Thanks
bj
 Elwyn


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Linux / LAN Help

2004-08-13 Thread Erylon Hines
On Friday 13 August 2004 12:05 pm, BJ Tracy wrote:
| Hello All,
|
| Slowly getting my office up and running on Linux.  Using Mandrake 10.0
| Power Pack.  MDK 10.0 is loaded and running well on my PC and laptop.  I
| have established LAN connections and can see three of the four computers in
| my office.  I can see the pc with XP on it.  However the other pc that has
| 98 (used for storage) on it, I cannot see.  I have set my linux machines to
| smb and nfs.  Is there something else I'm missing.  My router and hub are
| Linksys.

Hmm--do you have the same username and password on the W98 machine as on the 
Linux machine?

Do you have an entry for the W98 machine in /etc/samba/lmhosts

How about an entry for it in /etc/hosts

Does the /etc/hosts.allow entry cover the IP addy of the offending machine?

You can add the name and IP addy of the Linux machine to the W98 machine's 
lmhost file.

I'm assuming that the W98 box shows up everywhere but on the Linux box.

hth

Erylon
|
| Also, to move or copy files from one machine to another is there anything
| that I need to do as well, ie permissions or configuring routes,,,please
| advise.
|
| Thanks in advance.
| bj
|
| TGIF



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com