Hi I am a new bee to Linux in general. Please accept my apologies if the question is not appropriate.
I have a LAN with 2 computers: One is CentOS and one is Windows XP. I am trying to transfer file between 2 computers using LAN. Can you please tell me how to do it?
I have tried Samba from the Applications menu. Add a directory in there. Set it to Read only and Allow access to everyone. I couldn't see the CentOS from Windows computer.
I have tried the Network Servers. There is Windows Network there. When i click to see inside that, there is nothing.
I tried to see the all the services are running. The winbind status is winbindd dead but subsys locked.
Thanks a lot for your help. I do appreciate that.
Ha Thai Duong wrote:
Hi I am a new bee to Linux in general. Please accept my apologies if the question is not appropriate.
I have a LAN with 2 computers: One is CentOS and one is Windows XP. I am trying to transfer file between 2 computers using LAN. Can you please tell me how to do it?
I have tried Samba from the Applications menu. Add a directory in there. Set it to Read only and Allow access to everyone. I couldn't see the CentOS from Windows computer.
I have tried the Network Servers. There is Windows Network there. When i click to see inside that, there is nothing.
I tried to see the all the services are running. The winbind status is winbindd dead but subsys locked.
Thanks a lot for your help. I do appreciate that. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
"service smb status" will tell you if the services (smbd, nmbd) are running but ...
Maybe your firewall is active and blocking your requests;
From a root prompt type # service iptables status
If the response is "Firewall is stopped" then this is not the problem - however if you get a list of the firewall entries, then try # service iptables status|egrep "445|137|138|139" You should see 4 or so entries listed for the various services related to samba sharing.
If you see none, you need to either ; A. stop the firewall (not recommended, but you may want to stop it to confirm that the firewall is the issue) using # service iptables stop (restart it with # service iptables start) B. config the firewall to allow these ports (recommended solution)
try /usr/sbin/s
set Security Level to "Enabled", Customize, under "Other ports" type "445:tcp 137:udp 138:udp 139:tcp"
This should allow all the samba services to ba accessed.
Regards,
MrKiwi
Samba has worked great for me. I'm no expert myself, but this is how it works for me...
Smb.conf: workgroup = WORKGROUP <--Default windows workgroup name netbios name = <hostname> hosts allow = 192.168.1. <--Allows access from my subnet security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd
[installs] comment = Install programs path = /installs valid users = joeschmoe read only = No writeable = Yes write list = @joeschmoe create mask = 0775 directory mask = 0775
Since my private LAN is already firewalled, my centos server has firewall disabled.
To simplify the connection to Samba, joeschmoe is my windows account and the passwords are identical between XP and centos.
# smbpasswd joeschmoe to sync the passwords
Also, check /var/log/samba for errors
Wei-min Lee
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of MrKiwi Sent: Sunday, December 17, 2006 2:45 PM To: CentOS mailing list Subject: Re: [CentOS] How to connect to a Windows PC in LAN
Ha Thai Duong wrote:
Hi I am a new bee to Linux in general. Please accept my apologies if the question is not appropriate.
I have a LAN with 2 computers: One is CentOS and one is Windows XP. I am trying to transfer file between 2 computers using LAN. Can you please tell me how to do it?
I have tried Samba from the Applications menu. Add a directory in there. Set it to Read only and Allow access to everyone. I couldn't see the CentOS from Windows computer.
I have tried the Network Servers. There is Windows Network there. When i click to see inside that, there is nothing.
I tried to see the all the services are running. The winbind status is winbindd dead but subsys locked.
Thanks a lot for your help. I do appreciate that. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
"service smb status" will tell you if the services (smbd, nmbd) are running but ...
Maybe your firewall is active and blocking your requests;
From a root prompt type # service iptables status
If the response is "Firewall is stopped" then this is not the problem - however if you get a list of the firewall entries, then try # service iptables status|egrep "445|137|138|139" You should see 4 or so entries listed for the various services related to samba sharing.
If you see none, you need to either ; A. stop the firewall (not recommended, but you may want to stop it to confirm that the firewall is the issue) using # service iptables stop (restart it with # service iptables start) B. config the firewall to allow these ports (recommended solution)
try /usr/sbin/s
set Security Level to "Enabled", Customize, under "Other ports" type "445:tcp 137:udp 138:udp 139:tcp"
This should allow all the samba services to ba accessed.
Regards,
MrKiwi
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi all! Today I needed to replace my local server. Mounting HDs to the new computer, and thanks to kudzu, my new server was up and running in less then 5 minutes... ;-) But rebooting I experieced a proftpd hang. The server can't wake up proftpd; after remove it from runlevel, all went to the right way, but a "service proftpd start" neither works. Server was online 1 month far, but I can't remember a possibly proftpd update that broken my configs. I only added some virtual server, just like I do normally. Some ideas?
Thank you! Nando
PS: Merry Xmas and a Happy New (GNU/Linux/FOSS) Year! :-D
Untitled Document
__________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it
On 22/12/06, Ferdinando Santacroce jesus_was_rasta@yahoo.it wrote:
Hi all! Today I needed to replace my local server. Mounting HDs to the new computer, and thanks to kudzu, my new server was up and running in less then 5 minutes... ;-) But rebooting I experieced a proftpd hang. The server can't wake up proftpd; after remove it from runlevel, all went to the right way, but a "service proftpd start" neither works. Server was online 1 month far, but I can't remember a possibly proftpd update that broken my configs. I only added some virtual server, just like I do normally. Some ideas?
Which release of CentOS is this? CentOS releases typically use vsftpd in place of proftpd. Where did you get your proftpd? Is it built from source or an RPM?
Have you checked /var/log/message for any errors?
Will.
Well, I use proftpd.i386 -|- 1.3.0-5.1.el4.kb in standalone mode, from kbsingh repo. I tried to disable all <VirtualHost> directives, and proftpd starts well, and FTP places are correctly browsable (from local 192.168.x.x IP address). Well, now it works, but I can't understand why it stop to run... In last reboot I had 3 virtual hosts; I added in this week 3 other virtual hosts, by a simple cut&paste and a normal conf change, and I restarted the service, and it worked well. Today, after the reboot, the misterious hang... I have no time now to search in logs a possibly solution, my boss can't understand these things... I'll find time later.
Thank you Will! Nando
--- Will McDonald wmcdonald@gmail.com ha scritto:
On 22/12/06, Ferdinando Santacroce jesus_was_rasta@yahoo.it wrote:
Hi all! Today I needed to replace my local server. Mounting HDs to the new computer, and thanks to
kudzu,
my new server was up and running in less then 5 minutes... ;-) But rebooting I experieced a proftpd hang. The
server
can't wake up proftpd; after remove it from
runlevel,
all went to the right way, but a "service proftpd start" neither works. Server was online 1 month far, but I can't
remember a
possibly proftpd update that broken my configs. I
only
added some virtual server, just like I do
normally.
Some ideas?
Which release of CentOS is this? CentOS releases typically use vsftpd in place of proftpd. Where did you get your proftpd? Is it built from source or an RPM?
Have you checked /var/log/message for any errors?
Will. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Untitled Document
__________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it
FTP servers are normally rock-solid applications; the behaviour you has described is unusual. In spite of you boss attitude (¿why the boss never has time enough?) I advice you to check the logs. The key (and probably the solution) is there.
Morover you can check the Proftpd mail list to search any recent and serious bug.
On Friday 22 December 2006 06:38, Ferdinando Santacroce wrote:
Well, I use proftpd.i386 -|- 1.3.0-5.1.el4.kb in standalone mode, from kbsingh repo. I tried to disable all <VirtualHost> directives, and proftpd starts well, and FTP places are correctly browsable (from local 192.168.x.x IP address). Well, now it works, but I can't understand why it stop to run... In last reboot I had 3 virtual hosts; I added in this week 3 other virtual hosts, by a simple cut&paste and a normal conf change, and I restarted the service, and it worked well. Today, after the reboot, the misterious hang... I have no time now to search in logs a possibly solution, my boss can't understand these things... I'll find time later.
From what I remember, proftpd is very picky about host names and DNS unless you tell it not to be in the config. There is usually something in the logs to the effect of "Error: could not determine IP address of your.host.name" from proftpd.
In any case, as most the responses have suggested, /var/log/messages will most likely have the cause of the failure.
Ha Thai Duong <duongthaiha@...> writes:
Hi I am a new bee to Linux in general. Please accept my apologies if the question is not appropriate.
I have a LAN with 2 computers: One is CentOS and one is Windows XP. I am trying to transfer file between 2 computers using LAN. Can you please tell me how to do it?
I have tried Samba from the Applications menu. Add a directory in there. Set it to Read only and Allow access to everyone. I couldn't see the CentOS from Windows computer.
I have tried the Network Servers. There is Windows Network there. When i click to see inside that, there is nothing.
I tried to see the all the services are running. The winbind status is winbindd dead but subsys locked.
Thanks a lot for your help. I do appreciate that.
Simplest way - share directory (e.g.)"shared" on Windows PC, then NFS mount it under Linux.
On Windows: select folder "shared", set permissions for your username as 'full control', Create sample textfile xyz.txt in the directory to check visibility. Note the machine name of the Windows box (my computer: properties). The machine name can only be used on some networks, but the IP address should always work.
Find the IP address of the Windows machine; in a console window type 'ipconfig', note the IP address (e.g. 192.168.1.99). [If you have more than one network interface, it should be that connected to the Linux system!]
On the Linux box, as root, 1. create a mountpoint for the Windows directory, e.g. /mnt/shared, make it owned by yourself, group 'users' (chown ... chgrp as root) 2. create a credentials file /home/yourname/.cred for your Windows login, containing text (fill in correct text!) username=yourwindowsloginname password=windowspassword
3. add the following line (it's all one line) to the end of the text file /etc/fstab (you'll need to be root): //<Windows IP address>/shared /mnt/shared smb rw,credentials=/home/yourname/.cred,gid=users,fmask=777,dmask=777
(Your system may allow you to use the machine name instead of the IP)
4. as root, type: mount /mnt/shared, you should then be able to see the file xyz.txt. Using "-v" option to mount might give more info about reason if this is unsuccessful.