All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
/dev/fs does not show network drive-letters
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
/dev/fs does not show network drive-letters - Apr. 7, '04, 8:19:24 AM
|
|
|
aotto1968
Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
|
Hi,
my problem:
1) I have a linux box which provide a linux share
dev1usr@linux02:~> cat /etc/exports
/home/Project/TclBase *(rw,sync,all_squash,anonuid=500,anongid=100)
/home/Project/TclSNMP *(rw,sync,all_squash,anonuid=500,anongid=100)
/home/Project/darwin *(rw,sync,all_squash,anonuid=500,anongid=100)
2) I can mount the share with the Wondows-Explorer without any problem
3) I can access the NFS share with /net/linux02/home/Project/TclBase
but now my problems:
1.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@linux02:~> ssh win01
Welcome to the Interix UNIX utilities.
DISPLAY=localhost:0.0
dev1usr@win01:~> mount linux02:/home/Project/TclBase X:
Network Error - 5
Type 'NET HELPMSG 5' for more information.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2. If I mount my NFS directory with Windows-Explorer I have no
DRIVE letter under /dev/fs
( I mount my NFS share under X: A: D: E: are just floppy,dvd,cd )
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
3. The only working solution with Interix is the /net automounter
but this is very very slow. my logfiles on the linux-box says
that !every! access does a new mount of the fs
is any better solution available ?
mfg
aotto
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 8:46:27 AM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
1) network error 5 is "access is denied".
Have you tried using the "-u:username" option to the mount command ?
2) when you ssh into Interix, (and you think X: is mounted), what is the output from "net use" ?
The drive letters that display in "net use" should also be available in /dev/fs.
Remember that the ssh session has its own set of drive letters - independent from any other logged in session on Windows XP.
So you have to mount the drives you want for each session.
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:13:09 AM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
how long did you wait before ^C ?
Are you ssh'ing into the Windows box using account name "dev1user" ?
The only way to get a drive letter access is if you can get the mount command to be successful.
I think mount command uses UserNameMapper during the connection request.
You may want to make sure that is set up properly.
And check how you're exporting the fs from Linux. They aren't restricted are they ?
Have you read the SFU help docs ?
There may be something there.
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:23:23 AM
|
|
|
aotto1968
Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
|
Hi,
I have additional information:
1) if I open a shell on my windows xp box I get the X: drive-letter
2) if I use a telnet or ssh session from my linux box no X: driver-letter is available
3) if I use the "net use" command in 1) I get an empty status
if I use the "net use" command in 2) I get "not available" as status
4) if I open a telnet session to my windows xp box and type ..
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> mount linux02:/home/Project/TclBase X:
Network Error - 1202
Type 'NET HELPMSG 1202' for more information.
dev1usr@win01:~> ls -al /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-> the error message says: I can not use X: because it is in use
-> but X: is not available in /dev/fs
5) if I use Y: as drive letter (in a telnet session)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~> mount linux02:/home/Project/TclBase Y:
Y: is now successfully connected to linux02:/home/Project/TclBase
The command completed successfully.
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 1
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
drwxr-xr-x 9 dev1usr nobody 512 Apr 7 09:59 Y
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-> this is good I got Y: (not X:) as network drive
#####################################################################
##### now put everything together ....
i
if you see the drive letter at /dev/fs or not depends ... :
1) if you are local (at the windows xp box) or remote
2) if you are using a telnet or ssh session
3) if you are remote and if you use a telnet session you can not use
a drive letter which is currently (hidden) in use
4) if you are remote and if you use a ssh session you can not use
any (at lease nfs) network connection
question: how does I get a drive letter in a remote (ssh) session?
mfg
aotto
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:36:29 AM
|
|
|
aotto1968
Posts: 37
Joined: Apr. 7, '04,
From: Germany
Status: offline
|
Hi,
1) mount -u:dev1usr .... I can wait forever ...
2) I use "dev1usr" but I add my public rsa-ssh key to
dev1usr@win01:~> cat .ssh/authorized_keys
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAp3eYaqv2h7Fk1KjRsF5vaUJDPCOyI22+glA8ogdvp3grklge66xxRb/0svfJLdnNGJ620aGfNyIM3qY4634PvsMKsPM4Q9b1PS/I54QpqRfDNZ+msSECjjsmg9287fxEW5/k2qMOQegzSBKs6Tk89fiqgw+BFh0Oc4ByWGO+v/s= dev1usr@linux02
this mean on linux I use just: "ssh win01" and I am on my windows box
2) mount with telnet works but with ssh does not works ..
3) the problem seemst to be ssh ...
setp one delete my public ssh keys
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
dev1usr@win01:~/.ssh> mv authorized_keys authorized_keys.new
dev1usr@win01:~/.ssh> ll
total 12
drwx------ 1 dev1usr +SYSTEM 0 Apr 7 17:33 .
drwxr-xr-x 1 dev1usr +SYSTEM 0 Apr 7 16:53 ..
-rw-r--r-- 1 dev1usr +SYSTEM 225 Apr 6 15:33 authorized_keys.new
-rw------- 1 dev1usr +SYSTEM 668 Apr 6 15:31 id_dsa
-rw-r--r-- 1 dev1usr +SYSTEM 603 Apr 6 15:31 id_dsa.pub
-rw------- 1 dev1usr +SYSTEM 883 Apr 6 15:30 id_rsa
-rw-r--r-- 1 dev1usr +SYSTEM 223 Apr 6 15:30 id_rsa.pub
-rw------- 1 dev1usr +SYSTEM 528 Apr 6 15:29 identity
-rw-r--r-- 1 dev1usr +SYSTEM 332 Apr 6 15:29 identity.pub
-rw-r--r-- 1 dev1usr +SYSTEM 229 Apr 6 15:32 known_hosts
drwxr-xr-x 1 dev1usr +SYSTEM 0 Apr 6 15:32 linux02
dev1usr@win01:~/.ssh> logout
Connection to win01 closed.
dev1usr@linux02:~/win01> ssh win01
dev1usr@win01's password:
Welcome to the Interix UNIX utilities.
DISPLAY=localhost:0.0
dev1usr@win01:~> mount
Local Remote Properties
-------------------------------------------------------------------------------
X: \\linux02.otto-net\home\Project\TclBas Unavailable
Y: linux02:/home/Project/TclBase Unavailable
dev1usr@win01:~> ll /dev/fs
ls: A: Input/output error
ls: D: Input/output error
ls: E: Input/output error
total 0
drwxrwxr-x+ 1 +Administratoren +SYSTEM 0 Apr 7 09:50 C
dev1usr@win01:~> mount linux02:/home/Project/TclBase Z:
Network Error - 5
Type 'NET HELPMSG 5' for more information.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-> this does not help :(
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 11:54:10 AM
|
|
|
markfunk
Posts: 670
Joined: Mar. 31, '03,
Status: offline
|
If the mount works for telnet, but not ssh, then you are correct it is a ssh problem. It is a known problem. The ssh login does NOT create a security token using your password. So its not a "complete" security token.
You will get network resource problems due to this.
This is a known bug in the current ssh Interix implementation.
I think Rodney is working on getting this fixed.
|
|
|
RE: /dev/fs does not show network drive-letters - Apr. 7, '04, 12:31:02 PM
|
|
|
Rodney
Posts: 3714
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Local access machine access is fine.
As a work around once you are in your can do a su username
and this will make a full token.
The change to ssh won't be for a while.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|