LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Newbie- how to network Winxp and SuSE Linux 9.0? (https://www.linuxquestions.org/questions/linux-networking-3/newbie-how-to-network-winxp-and-suse-linux-9-0-a-173081/)

SoulPioneer 04-21-2004 08:00 PM

Newbie- how to network Winxp and SuSE Linux 9.0?
 
So i would like to know how the heck you network linux and win xp? Iv gone through 12 pages of threads and to no avail.

This is the situation thus far; i have installed Samba and configured as best as newbie possible. I have used the ping command to ping from winxp to linux and linux to winxp successfully.

The work groups are the same and set as HOME. When i click on My Network Place in winxp nothing appears. When i select View Work Group Computers, no work group computer is shown. However when i Search For Computer, i can locate the Linux box... but when i click double click the Home file i get a request for username and password even though i have not set a username/password request on Linux.

Now, with linux when i click on Local Networks i get an error saying 'Unable to find any workgroups in your local network.'

Below is the samba config file:

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-09-23
[global]
workgroup = HOME
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = user
server string = Samba Server
add user script =
domain master = false
domain logons = no
local master = no
preferred master = auto
load printers = no
;; ldap server = 127.0.0.1
[homes]
comment = Home Directories
valid users = %S
browseable = yes
read only = No
create mask = 0640
directory mask = 0750
guest ok = no
printable = no
;; [printers]
;; comment = All Printers
;; path = /var/tmp
;; printable = yes
;; create mask = 0600
;; browseable = no
;; guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no

I just dont understand how to successfully network the two. Could someone tell me how to network them or tell me what i am doing wrong?

Any assistance would be much appreciated.

SoulPioneer

SoulPioneer 04-21-2004 08:10 PM

iv been able to share the DOCUMENTS in Linux with xp by using the 'Add a Network place' feature on xp. Which i guess is a start. (\\linux\DOCUMENTS)

But i again, how do i get linux to see xp? Do i need LISa Daemon activated?

SoulPioneer

NetAX 04-21-2004 08:53 PM

I've been able to connect to my Linux box from XP using the DHCP server i configured on Linux, i specified the IP address of my linux box as a WINS server. The only problem now is that i cannot see XP in the Local Network browser,however, it does show up when i open "Linneighborhood".

Im thinking that there is a better way at finding a solution to this problem.

By the way have you tried connecting to your linux box by typing in the IP address in the XP address bar?(ex. \\linuxIP) That should allow you to see directories on linux from XP if host naming does not work.

The reason why you are asked a for user authentication for your "homes" directory is because you have your "guest ok" line set to "no". It should be set to "yes" in the configuration file in order to browse it without authentication.

SoulPioneer 04-21-2004 09:21 PM

Thanks for your reply.

I did the browser thing you suggested and it did not work.

The problem now is not whether i can access linux from windows but to access windows from linux.

I activated LISa daemon but xp box does not appear so that was a bit pointless.

I installed linneighborhood but when i try to 'mount' i get an error saying:

smbmnt must be installed suid root for direct user mounts (500,500)
smbmnt failed: 1

So basically windows lets me access linux but linux doesnt even see xp.

Any suggestions?

Much appreciated,

SoulPioneer

SoulPioneer 04-21-2004 09:26 PM

Okay linneighborhood is working too!

God why does everything have to be so difficult!

SoulPioneer

SoulPioneer 04-21-2004 09:32 PM

I dont understand why linux Local Network will not see xp...

Is there a way to resolve this?

SoulPioneer

NetAX 04-21-2004 09:37 PM

is linux set up as a server? Are you running samba client or samba server? I think it should work if you have it set up as samba client.

SoulPioneer 04-21-2004 10:10 PM

I tried linux as a just a client and it did not work. Infact setting linux just as client results in windows being unable to access linux. I get a 'you dont have permission error'

SoulPioneer


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