Sorry to trouble you with what may be a Microsoft problem. On my LAN, I replaced one of my Win2k boxes with a new WinXP box. I use cifs to connect with MS boxes from an FC7 box. Here is the main part of the start script in init.d :
case $1 in start) mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd30/base /mnt/base30 mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd10/mike_local /mnt/ mike_local_10
abcd30 is a Win2k box. abcd10 is the new WinXP box; mike_local is a share name on a directory.
abcd30 connects correctly; for abcd10 I get:
# smb start mount error 5 = Input/output error Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
The man page says little of errors. I note that: ping works fine; the new box and its shared directory are visible from other Win boxes; the real passwords are the same on both boxes and have no inappropriate characters. I tried shutting down iptables and ZoneAlarm (with WAN disconnected, of course).
Thanks for your help. Mike.
If the Windows XP box has the Windows firewall turned on, are you allowing inbound and outbound traffic for cifs? I don't know the port numbers off the top of my head, and my knowledge of cifs is smaller than a grain of sand.
Bob Cochran
Mike -- EMAIL IGNORED wrote:
Sorry to trouble you with what may be a Microsoft problem. On my LAN, I replaced one of my Win2k boxes with a new WinXP box. I use cifs to connect with MS boxes from an FC7 box. Here is the main part of the start script in init.d :
case $1 in start) mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd30/base /mnt/base30 mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd10/mike_local /mnt/ mike_local_10
abcd30 is a Win2k box. abcd10 is the new WinXP box; mike_local is a share name on a directory.
abcd30 connects correctly; for abcd10 I get:
# smb start mount error 5 = Input/output error Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
The man page says little of errors. I note that: ping works fine; the new box and its shared directory are visible from other Win boxes; the real passwords are the same on both boxes and have no inappropriate characters. I tried shutting down iptables and ZoneAlarm (with WAN disconnected, of course).
Thanks for your help. Mike.
On Sun, 31 Aug 2008 01:37:47 -0400, Robert L Cochran wrote:
If the Windows XP box has the Windows firewall turned on, are you allowing inbound and outbound traffic for cifs? I don't know the port numbers off the top of my head, and my knowledge of cifs is smaller than a grain of sand.
Bob Cochran
[...]
Windows firewall is off. The "Security Center" display shows that ZoneAlarm Pro is on, even after I shut ZoneAlarm down!
Mike.
Mike -- EMAIL IGNORED wrote:
Sorry to trouble you with what may be a Microsoft problem. On my LAN, I replaced one of my Win2k boxes with a new WinXP box. I use cifs to connect with MS boxes from an FC7 box. Here is the main part of the start script in init.d :
case $1 in start) mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd30/base /mnt/base30 mount -t cifs -o user=administrator% xxx,noauto,suid,dir_mode=0700,file_mode=0700 //abcd10/mike_local /mnt/ mike_local_10
abcd30 is a Win2k box. abcd10 is the new WinXP box; mike_local is a share name on a directory.
abcd30 connects correctly; for abcd10 I get:
# smb start mount error 5 = Input/output error Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
The man page says little of errors. I note that: ping works fine; the new box and its shared directory are visible from other Win boxes; the real passwords are the same on both boxes and have no inappropriate characters. I tried shutting down iptables and ZoneAlarm (with WAN disconnected, of course).
Thanks for your help. Mike.
Dumb question - is abdc30 in /etc/host, /etc/samba/lmhosts, or resolvable in some other way?
Mikkel
On Sun, 2008-08-31 at 13:14 +0000, Mike -- EMAIL IGNORED wrote:
The "Security Center" display shows that ZoneAlarm Pro is on, even after I shut ZoneAlarm down!
Under some circumstances, shutting zonealarm down would just send the interface away. The firewall would still be up. How did you shut it down?
It's ages since I played with it, but it used to be that adding your LAN IP range, or a specific ethernet adaptor, to a list of "local" interface definitions helped to get all sorts of local area networking issues to work.
On Mon, 01 Sep 2008 03:39:04 +0930, Tim wrote:
On Sun, 2008-08-31 at 13:14 +0000, Mike -- EMAIL IGNORED wrote:
The "Security Center" display shows that ZoneAlarm Pro is on, even after I shut ZoneAlarm down!
Under some circumstances, shutting zonealarm down would just send the interface away. The firewall would still be up. How did you shut it down?
As an administrator, on the Z on the bottom bar, rightClick -> "Shutdown ZoneAlarm Pro"
It's ages since I played with it, but it used to be that adding your LAN IP range, or a specific ethernet adaptor, to a list of "local" interface definitions helped to get all sorts of local area networking issues to work.
I'll look around, It wouldn't be a ZoneAlarm thing because I have the same ZoneAlarm on a Win2k box that shown no problem.
Mike.
On Sun, 31 Aug 2008 20:47:30 +0000, Mike -- EMAIL IGNORED wrote:
On Sun, 31 Aug 2008 11:16:29 -0500, Mikkel L. Ellertson wrote:
[...]
Dumb question - is abdc30 in /etc/host, /etc/samba/lmhosts, or resolvable in some other way?
Mikkel
[...]
It is defined in /etc/hosts .
Mike.
Googing around, I saw a suggestion to try putting the actual ip address in place of abcd10 . It solved the problem. This is most peculiar. It suggests /etc/hosts is not read. However, for the Win2k box, abcd30, hosts is read??? There is more to this than meets the eye. But it is working.
Mike.
Mike -- EMAIL IGNORED wrote:
On Sun, 31 Aug 2008 20:47:30 +0000, Mike -- EMAIL IGNORED wrote:
On Sun, 31 Aug 2008 11:16:29 -0500, Mikkel L. Ellertson wrote:
[...]
Dumb question - is abdc30 in /etc/host, /etc/samba/lmhosts, or resolvable in some other way?
Mikkel
[...]
It is defined in /etc/hosts .
Mike.
Googing around, I saw a suggestion to try putting the actual ip address in place of abcd10 . It solved the problem. This is most peculiar. It suggests /etc/hosts is not read. However, for the Win2k box, abcd30, hosts is read??? There is more to this than meets the eye. But it is working.
Mike.
This is the way it is supposed to be:
The default order is lmhosts, host, wins, bcast and without any entry in the smb.conf file the name resolution methods will be attempted in this order.
Did you double check that the IP address is correct? I don't remember if you could "ping abcd10". I guess it is possible that abcd30 is in lmhosts, and abcd10 is not, and it is only checking lmhosts. Just a shot in the dark - then again, I have made typos more then once when doing this.
Mikkel
On Sun, 31 Aug 2008 17:32:46 -0500, Mikkel L. Ellertson wrote:
[...]
This is the way it is supposed to be:
The default order is lmhosts, host, wins, bcast and without any entry in the smb.conf file the name resolution methods will be attempted in this order.
Did you double check that the IP address is correct? I don't remember if you could "ping abcd10". I guess it is possible that abcd30 is in lmhosts, and abcd10 is not, and it is only checking lmhosts. Just a shot in the dark - then again, I have made typos more then once when doing this.
[...]
ping abcd10 works correctly. Following your comments I also tried lmhosts -- it didn't work. I checked spellings; I did remove some extra tabs from /etc/hosts . It looks like the order you indicate isn't happening for the XP box. Very peculiar. BTW you are saying "host"; I have "hosts". A typo?
Mike.
Mike -- EMAIL IGNORED wrote:
On Sun, 31 Aug 2008 17:32:46 -0500, Mikkel L. Ellertson wrote:
[...]
This is the way it is supposed to be:
The default order is lmhosts, host, wins, bcast and without any entry in the smb.conf file the name resolution methods will be attempted in this order.
Did you double check that the IP address is correct? I don't remember if you could "ping abcd10". I guess it is possible that abcd30 is in lmhosts, and abcd10 is not, and it is only checking lmhosts. Just a shot in the dark - then again, I have made typos more then once when doing this.
[...]
ping abcd10 works correctly. Following your comments I also tried lmhosts -- it didn't work. I checked spellings; I did remove some extra tabs from /etc/hosts . It looks like the order you indicate isn't happening for the XP box. Very peculiar. BTW you are saying "host"; I have "hosts". A typo?
Mike.
I should have copied the definition from the man page.
host: Do a standard host name to IP address resolution, using the system /etc/hosts , NIS, or DNS lookups.
Also, lmhosts is /etc/samba/lmhosts, and not /etc/lmhosts. The format is almost the same as /etc/hosts:
127.0.0.1 localhost 192.168.1.30 toshiba 192.168.1.31 thinkpad 192.168.1.34 mary 192.168.1.101 brother
But it is strange that it works for one host, and not the other.
Mikkel
On Sun, 31 Aug 2008 19:42:56 -0500, Mikkel L. Ellertson wrote:
[...]
I should have copied the definition from the man page.
host: Do a standard host name to IP address resolution, using the system /etc/hosts , NIS, or DNS lookups.
Also, lmhosts is /etc/samba/lmhosts, and not /etc/lmhosts. The format is almost the same as /etc/hosts:
127.0.0.1 localhost 192.168.1.30 toshiba 192.168.1.31 thinkpad 192.168.1.34 mary 192.168.1.101 brother
But it is strange that it works for one host, and not the other.
Mikkel
[...] Yes, what I am doing conforms to what you say, and it is peculiar. Since I have it working, I'm going to put it aside for now, unless someone comes up with a new idea. Thanks for your help.
Mike.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Mike -- EMAIL IGNORED wrote:
But it is strange that it works for one host, and not the other.
Mikkel
[...] Yes, what I am doing conforms to what you say, and it is peculiar. Since I have it working, I'm going to put it aside for now, unless someone comes up with a new idea. Thanks for your help.
Mike.
http://www.linuxquestions.org/questions/linux-networking-3/cifs-mount-error-...
hth
- -- gpg id EB547226 Revoked Forgot Password :( Skype: Frankly3D http://www.frankly3d.com