Firstly if you are just ttrying to use windows shares, then smb (or CIFS) is the right protocol to use.
attempting to use HTTP will try to connect on port 80 and unless you have a web server running (Apache eg) there will be no listener on port 80 and so no connection. So all the windows blather about a firewall is just a red herring at this stage.
Now for Windows shares.
1. Windows does not understand LINUX filesystems (ext2, ext3 etc.) so any share that you want to get to should be on a Fat32 or NTFS partition.
2. Are you running a more recent version of Windows than XP? If so you must get the security settings correct.
3. I assume that since your linux box can connect to windows that you have your workgroup setup correctly. If not do so.
I always change my workgroup from WORKGROUP to something more secure.
4. In Linux sharing with windows is accomplished with an application called SAMBA. To access a windows share all you need is the samba client software. To export a windows share, you need to make sure that the samba server stuff is there also.
- Code: Select all
ps -ef | grep smbd
- Code: Select all
ps -ef | grep nmbd
should show these two processes running.
5. if they are running then you need to make sure that the permissions are OK.
The configuartion for samba is in /etc/samba/smb.conf
this is a complicated file that gives you full control but you don't want to edit it by hand if you can avoid it.
Go to MENU => CONTROL CENTER => INTERNET and NETWORK and click on the Shared Folders icon.
This should give you a list of shares. To make changes you need to click on the little Lock icon and enter your password.
Then click on the users tab. Make sure that there are enough users enabled. Eg. Nobody, samba guest account, Dave etc.
It helps A LOT if your user name (eg Dave) is the same on your Linux box as on your Windows box.
In fact if it is not, I would create a linux user to correspond to your windows login name, and then enable that user under the shares control panel as above.
Once you have enough users enabled, you want to go to the share and check its permissions by clicking on the Properties button. There is a READ Only option there, that you probably want to turn off.
That should allow you to share with windows. If it does not work, you may have to resort to running the various samba stuff (smbpasswd etc) from the cmd line, or editing the smb.conf file.
But lets try the above first.
One more thing. If you are in a hurry to get a file transfered and the Linux to Windows works, but the WIn to LInux does not, then just go to linux and copy the file in whatever direction you need.