First, we chose to set up a samba server on fc15 (Fedora15! The command is as follows: (if you want to use the root user, do not go into details here) yum-yinstallsamba and then install the samba graphical interface management software yum-yinstallsystem-config-samba. At this time, we can see a name named samb in the application.
First, we chose to set up a samba server on fc15 (Fedora 15!
The command is as follows: (if you want to use the root user, do not go into details here)
Yum-y install samba
Then install a samba graphical interface management software.
Yum-y install system-config-samba
At this time, we can see a program named samba in the application. This is the management software for the graphic interface.
The following command enables the smb and nmb services:
Start the Samba ora Samba service (including two Daemon Processes: smb and nmb ).
[Root @ localhost ~] # Chkconfig smb on startup set Fedora Samba to start automatically
[Root @ localhost ~] # Chkconfig -- list smb restart confirm the Samba ora Samba startup label and check that 2-5 is in the on status
[Root @ localhost ~] # Chkconfig nmb on startup
[Root @ localhost ~] # Chkconfig -- list nmb logs confirm the nmb startup tag and check that 2-5 is in the on status
Nmb 0: off 1: off 2: on 3: on 4: on 5: on 6: off
[Root @ localhost ~] #/Etc/rc. d/init. d/smb start (or service smb start) Restart start the Samba ora Samba service
Starting SMB services: [OK]
[Root @ localhost ~] #/Etc/rc. d/init. d/nmb start worker start nmb Service
Starting NMB services: [OK]
Set smb
Assume that the ip address of the windows host is 10.114.77.239.
The folder to be shared is the smb-share in the main directory.
Open smb Management Software
#
System-config-samba
In 'preference '---> 'samba settings'
Select 'security'
Test:
Anonymous access successful !!!
Don't think this is done. Go to windows
Start -- run: \ 10.114.77.238/* (Assume that the ip address of the fc host LAN is 10.114.77.238 */
Result discoveryUnable to access linux shared files
I have been troubled by this problem for a long time. I did not find the cause. Later I saw the firewall settings (under the terminal) in a reference document ),
So I went to the firewall with my luck,
Check the two programs with smb and click application.
OK. Now you can access linux shared folders under windows!
Here, we can add several more shared folders. The permission can be set to Visible (Display). (do not click the writable above if you do not want to change it)
Ps: fc15 is installed on the laptop and windows xp is installed on the desktop. The tp-link usb wireless Nic is used because there is no network cable interface in the room, because it is far away from the wireless route and several walls are separated, the signal is not very good, and the copy speed between the two machines is very slow, only 65 kb/s.