LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-28-2002, 12:35 PM   #1
g_manO0O0
LQ Newbie
 
Registered: Nov 2002
Location: milwaukee, USA
Distribution: slackware 9.1
Posts: 11

Rep: Reputation: 0
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
 
Old 11-28-2002, 01:40 PM   #2
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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

Last edited by Ciccio; 11-28-2002 at 01:43 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Connect LINUX client to WINDOWS 2003 server linuxy2 Linux - Networking 8 07-29-2009 05:02 AM
How to connect two pc's via modem? (server = linux, client = windows) seraph-seph Linux - Networking 2 11-18-2005 08:26 AM
can not connect to my pureftp server from Linux client, but i can from windows client bonito SUSE / openSUSE 5 03-16-2005 09:45 PM
windows client, linux nfs server how to connect feetyouwell Linux - Software 1 06-09-2004 03:35 AM
Help me to Configure a Linux Client connect to Network with Windows Server! tthai01 Linux - Networking 1 11-05-2002 07:59 PM

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

All times are GMT -5. The time now is 07:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration