View Full Version : HOw to access windows computers in LAN
zhumingvictor
2005-06-25, 10:52 PM CDT
Currently I am running FC4 now, how can I access the shared folders in the other WinXP computers in LAN?
agentblue
2005-06-25, 11:14 PM CDT
By using Samba or the lisa daemon.
zhumingvictor
2005-06-26, 09:38 AM CDT
Can you tell me more sepcific?
AndyCooll
2005-06-26, 11:40 AM CDT
As a fellow Linux newbie myself, I'm struggling with network issues too.
Samba is the service that Linux uses to enable Linux/Win XP shares
Under: "desktop-->system settings-->server settings-->services" make sure the smb and lisa services are ticked, reboot your pc. Then set up your samba shares (the bit I'm struggling with).
If you have a desktop icon called "Computer" or "System" check there for any network type folder.
That's all I know so far, I hope it's some use :)
kg4cbk
2005-06-26, 12:20 PM CDT
You can use system-config-samba to configure basic samba options. However I recommend you install the samba-swat package and use that iinstead. swat lets you configure samba via the web browser and gives you control over a lot more options than the system-config-samba tool.
Once you have samba-swat installed you will need to start in system-config-services.
Then point your browser to http://localhost:901
It will prompt you for the root user and root password (so you can change the config files).
The first thing you want to do is review/modify the global settings. This controls things like the workgroup name the netbios name of the system, share mode, etc.
The other important thing you want to setup is samba users on your linux system. Use the command:
smbpasswd -a userid
to set the same userid and password that you use on your windows system.
You can also use command line tools like smbclient to access windows systems.
axel
2005-06-26, 12:44 PM CDT
And here is the terminal way:
http://www.brennan.id.au/18-Samba.html
pparks1
2005-06-26, 06:06 PM CDT
zhumingvictor,
If you are looking to actually get to the files on your windows computers, you do not need to set up Samba. Samba is only necessary if you want to share files on your linux box and then access them from a windows box (as if your Linux box was running Windows).
Here is what you need to do my friend,
mkdir /mountpoint
mount -t smbfs -o username=windows_user //windows_machine/share /mntpoint.
In fc4, it might require, mount -t cifs (the rest is the same)
Viola!. cd /mountpoint and run ls. You should see your files.
zhumingvictor
2005-06-26, 07:22 PM CDT
zhumingvictor,
If you are looking to actually get to the files on your windows computers, you do not need to set up Samba. Samba is only necessary if you want to share files on your linux box and then access them from a windows box (as if your Linux box was running Windows).
Here is what you need to do my friend,
mkdir /mountpoint
mount -t smbfs -o username=windows_user //windows_machine/share /mntpoint.
In fc4, it might require, mount -t cifs (the rest is the same)
Viola!. cd /mountpoint and run ls. You should see your files.
Ok so what is "username" and "windows_user"??
Also, we don't need to sepcific which workgroup?
kg4cbk
2005-06-26, 07:40 PM CDT
Actually you should use the credentials option in fstab. This allows you to put your windows userid and password in a file that you can protect. Otherwise you will need an password option in fstab also in order to make a connection.
smbfs noauto,users,rw,credentials=/home/userid/.smbpw,uid=userid,gid=userid,fmask=664,dmask=775 0 0
agenol
2005-06-27, 11:01 AM CDT
Hi zhumingvictor,
You said use :
mkdir /mountpoint
mount -t smbfs -o username=windows_user //windows_machine/share /mntpoint.
who sees what and where? Windows to Linux (seeing Linux hardrive contents?) ?
Thanks
Agenol
x94scorp
2005-06-27, 11:40 AM CDT
enable the lisa daemon
to just browse to a share- just open konqueror and put in the url of smb:/workgroup
you can set your default workgroup in control center under network/local network browsing
zhumingvictor
2005-06-27, 09:05 PM CDT
THanks for all your help, now I can the shared folers on other windows machines but typing in there Local IP. But I got two other questions:
1. How can I search the IPs for other machines in LAN
2. When I tried to play media files with Chinese file names the play will tell me the address is invalid. I think this is because those Chinese are translate to hex codes. How can I solve this problem?
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.