LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   cant connect from windows client to linux (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-from-windows-client-to-linux-36731/)

g_manO0O0 11-28-2002 12:35 PM

cant connect from windows client to linux
 
**Originally started post in NEWBIES**
//----- original problem
redhat 8
samba, swat

Hi, i am new to linux, and i am trying to ween myself off of windows. i have 4 pcs and 2 are converted to linux, i need help getting samba to work. after hours of playing with samba and swat, i am able to ping all pcs and use nmblookup to ping my main xp machine. but i cant do the reverse. windows cant ping the linux box [EARTH]

i have a gateway router, with dhcp, using a 192.168.0.1-50 ip range. i think part of my problem is i dont understand the

field: interfaces

i tried nothing at all, then wild cards, i know that i could use static ips, but i would rather keep them dynamic. i use a lot of virtual machines and such, and would rather not have to wory about that in the future.

the other thing is im trying to connect to the share via command line: <//192.168.0.150/gshare> or <//earth/gshare> is that valid. i know the netbios name doesnt work for me, but will the ipaddress work?

------------//
--------
after a few replies i have acomplished:
--------

Hi guys. and happy Turkey Day!
i can ping both ways, and can map from linux to windows, but still cant map from windows to linux.

so i guess, what do i need to do to get windows to map a folder from linux. i cant see it in network neighboorhood, or map from CMD.

i edited the host file. (for others, its in the <Win_Root>\system32\drivers\etc) had to remove the .SAM ext. the host file has no extension. added the host info for the linux machines. (i didnt add the windows info since it already works.)

i have tried turning off my firewall on linux, im behind a router anyways, but i dont know if it worked. as sugested in other posts, i logged in with gnome and started lockit, turned off firewall. went back in to the util and it looks like it defaulted back to high security. i dont know if my changes where saved, is there anyway to verify they kept?

thanks to all you guys for your help this far. with you guys, i know i can kick this windows habbit

Ciccio 11-28-2002 01:40 PM

if you can't make it work with XP then change it to linux!!!

try using smb so Windows machines can 'see' linux machines.

in /etc/samba/smb.conf you shoul add a few lines like these

[Shared]
comment = This is my shared direcotry
path = /home/samba/shared
public = yes
write = no
write list = @root

and in the security fiel put

security = share #this is the minimmum security, everyone can access this samba shared public folders.

If you don't want to have that kind of security you must add the users to samba a it is kind of tricky... but if you are intrested in more security tell me and I would be happy to help you.

If you want that windows machines can write you will have to set
write = yes
and then run this command as root
chmod -R 777 /home/samba

and ALL the users will be able to read and write this directory.

Save the penguin :Pengy:


All times are GMT -5. The time now is 03:57 AM.