User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » map ncsu network drive to my computer? Page [1] 2, Next  
wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

anyway to do this? I'm tired of WinSCP.

K drive & J drive

12/3/2008 4:15:53 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

wolfcall
http://www.eos.ncsu.edu/wolfcall/

12/3/2008 4:18:31 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

something that runs on vista. forgot that portion

[Edited on December 3, 2008 at 4:22 PM. Reason : n]

12/3/2008 4:19:17 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

Ok, then I second your question. I'll be wanting this soon too.

12/3/2008 4:20:33 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

lol. I swear my professor has his network drives mapped. no wolf call or anything. he just boots up his laptop and the network drives appear in the list of drives.


WinSCP is ok. I don't really like the mechanics of using it though. My biggest problem with it, is that it disconnects at least every 5 minutes, if not more often. Then navigation through it is a pain, rabble, rabble, rabble.

[Edited on December 3, 2008 at 4:24 PM. Reason : .]

12/3/2008 4:21:27 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

Of course, you can always use VCL and remote desktop and email yourself. But by then, I'd rather use WinSCP. Am I supposed to be able to copy/paste files with VCL connections? I know I can if I'm connected to other computers.

12/3/2008 4:31:47 PM

DirtyMonkey
All American
4269 Posts
user info
edit post

you can use netdrive to mount the drives over ssh.

12/3/2008 4:35:06 PM

darkone
(\/) (;,,,;) (\/)
11610 Posts
user info
edit post

You should be able to do this with the help of the AFS client of your choice.

12/3/2008 4:40:21 PM

duro982
All American
3088 Posts
user info
edit post

the university has a site license for webDrive. Haven't personally used it on Vista, but I think it should work.

http://www.ncsu.edu/software/download/webdrive/index.php

12/3/2008 5:08:55 PM

evan
All American
27701 Posts
user info
edit post

Quote :
"You should be able to do this with the help of the AFS client of your choice."


but don't use wolfcall to set up AFS, it will most likely mess up your system

12/3/2008 5:46:01 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

k, I'm not too familiar with some of this. Does "You should be able to do this with the help of the AFS client of your choice" mean that I'm still having to run a separate program (like WinSCP)

I was hoping to get away from having to run a separate program and have the drives mapped. I guess that's not going to happen.

that being said, I downloaded Webdrive. thanks for the link. since I'm not familiar with it, is there anything I should do in the options to optimize it? I'll be using it from campus and home (vista & XP) so I don't know if that will make a difference.

[Edited on December 3, 2008 at 7:54 PM. Reason : I can't get Webdrive to connect...]

12/3/2008 7:42:12 PM

evan
All American
27701 Posts
user info
edit post

http://www.openafs.org/windows.html

AFS is a filesystem, it would appear just like a normal drive on your computer - it runs as a system service. (it's what wolfcall sets up for you)

the main cells at ncsu are eos.ncsu.edu and unity.ncsu.edu
make sure your computer's clock is synced within 3 minutes to the NTP server at time.ncsu.edu or else krb won't work

http://www.eos.ncsu.edu/guide/afs.html
http://www.ncsu.edu/it/essentials/managing_files/afs.html

12/3/2008 8:16:56 PM

duro982
All American
3088 Posts
user info
edit post

^^ Don't take this the wrong way, but even though you had WinSCP working... I don't want to assume you know anything. So, webdrive settings should be - site:ftp.ncsu.edu, server type: sftp, unity ID/pass. You can set it to save your credentials and to run on startup if you want the drives to "just be there" (that may be what your professor is doing). Otherwise, the only thing you may want to set is the startup directory, but that's not necessary for the "K drive."

Is that how you had it set up? Is it not working on Vista, XP, or either?

12/3/2008 9:20:48 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^^i'll look at that

^thanks. i'm on xp right now, trying to connect to a directory in the j drive. I'll look at my set up to see if that's what I did

path is to: /afs/eos.ncsu.edu/lockers/research/ ...

[Edited on December 3, 2008 at 10:35 PM. Reason : .]

12/3/2008 10:33:42 PM

BigMan157
no u
103354 Posts
user info
edit post

http://techies.ncsu.edu/wiki/OpenAFS_on_Windows_Vista

[Edited on December 3, 2008 at 10:39 PM. Reason : i got it working following that]

12/3/2008 10:39:05 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^I'll try that on my vista machine tomorrow.

I'm trying to set up open afs, but I can't get new tokens.

cell name: eos.ncsu.edu & I put in my unity ID & p/w....

says user doesn't exist. but I do exist

shit. just realized that ^ will probably fix this on xp too

[Edited on December 3, 2008 at 11:11 PM. Reason : .]

12/3/2008 10:55:40 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

sweet. ^^ worked. thanks everyone for the help. it's up and running on xp. I'll find out about vista tomorrow.

well it worked for the j drive. getting "user doesn't exist when obtaining tokens for k drive (cell = unity.ncsu.edu)

[Edited on December 3, 2008 at 11:38 PM. Reason : .]

12/3/2008 11:25:54 PM

evan
All American
27701 Posts
user info
edit post

change the script to this:

Set oShell = CreateObject("WScript.Shell")

oShell.Run "cmd /c" & "kinit.exe & aklog.exe bp.ncsu.edu eos.ncsu.edu unity.ncsu.edu &
NET USE j: \\afs\auto1 /persistent:no &
NET USE k: \\afs\unity.ncsu.edu\users\w\wdprice3 /persistent:no "

12/4/2008 9:33:15 AM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^I got it to work. just needed a reboot. thanks everyone. Later I'll post what I did to get it to work for vista & xp. For the most part, I followed the wiki page.

however, I still get integrated login errors...

[Edited on December 4, 2008 at 10:03 AM. Reason : .]

12/4/2008 9:59:29 AM

evan
All American
27701 Posts
user info
edit post

that's probably because your username doesn't match your NCSU username

12/4/2008 1:25:12 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

que? oh, you mean on the computer. well I thought it was set up to use what I told it to... maybe not

and I can't seem to get the network identity manager to log on to my k drive either, though it does the j drive just fine. i have to go through the afs client to connect to the k drive...

[Edited on December 4, 2008 at 1:36 PM. Reason : .]

12/4/2008 1:35:45 PM

evan
All American
27701 Posts
user info
edit post

the AFS client is what actually connects you

NIM is a part of kerberos - it just gives you the ticket that says you're authenticated

12/4/2008 2:44:03 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

right, but the NIM can obtain new credentials, which is what I tried to do, but it didn't work.

I went back and started over with the NIM and now I have it working. I just used one identity and associated eos and unity under that one name.

- - - - - - -

FOR ANYONE WANTING TO USE OPENAFS, HERE IS WHAT I GOT TO WORK

This is the procedure that I followed. It's worked on Vista & XP. I'm not an expert, but I figured I'd post what I did in case any other n00bs wanted to go this route. The websites given are pretty good, though not complete. If anyone has any suggestions, corrections, etc, feel free to post them, as I don't want to give out bad information. Special thanks to evan, BigMan157, and duro982 for helping me out.

1.) Download OpenAFS & MIT Kerberos (http://www.openafs.org/windows.html)
a.) OpenAFS
- Windows 32-bit OS's (http://dl.openafs.org/dl/openafs/1.5.55/winxp/OpenAFSforWindows-1-5-55.exe)
- Windows 64-bit OS's (http://dl.openafs.org/dl/openafs/1.5.55/winxp/openafs-en_US-1-5-55.msi AND http://dl.openafs.org/dl/openafs/1.5.55/winxp/openafs-en_US-64bit-1-5-55.msi)
b.) MIT Kerberos (http://www.secure-endpoints.com/index.html#kfw)
- Windows 32-bit OS's (http://www.secure-endpoints.com/binaries/mit-kfw-3-2-2/kfw-i386-3-2-2.exe)
- Windows 64-bit OS's (http://www.secure-endpoints.com/binaries/mit-kfw-3-2-2/kfw-i386-3-2-2.msi) AND (http://www.secure-endpoints.com/binaries/mit-kfw-3-2-2/kfw-amd64-3-2-2.msi

2.) Install OpenAFS
a.) Run .exe file
b.) Welcome screen (next)
c.) EULA (next)
d.) Components
- From drop down menu, select "Custom"
- In the checkboxes, make sure AFS Client is checked. Others can be, if you need/want them (next)
e.) Install location (next)
f.) CellServDB (should be on 'use packaged..." next)
g.) default cell name
- If you want to connect to your K: drive, type "unity.ncsu.edu"
- If you want to connect to the J: drive, type "eos.ncsu.edu"
- If you want to connect to both, then choose one
- First three boxes should be checked (I haven't quite figured out integrated logon, so I unchecked it)
h.) AFS Credentials
- First 5 should be checked (last one can be, doesn't matter) (next)

3.) Reboot

4.) Install MIT Kerberos
a.) Run .exe file
b.) Language - figure it out yourself
c.) Welcome (next)
d.) EULA (next)
e.) Components
- At least have the KfW Client checked (next)
f.) Install location (next)
g.) Kerberos Configuration
- "Use packaged config..." (next)
h.) NIM Setup
- Uncheck the autostart box (install)

Reboot


5.) Remove items from startup folder (http://techies.ncsu.edu/wiki/OpenAFS_on_Windows_Vista)
a.) Vista: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
b.) XP: C:\Documents and Settings\username\Start Menu\Programs\startup
c.) Delete the AFS and KFW Manager, if present

6.) Modify Kerberos file (http://techies.ncsu.edu/wiki/OpenAFS_on_Windows_Vista)
a.) C:\Windows
b.) Find krb5.ini and change the file extenstion ('ini') to 'txt'
c.) Open file in notepad
d.) Change the first three sections of the file
- Highlight and delete '[libdefaults]' until '[logging]' (don't delete '[logging]')
- Copy the following code and paste it where the previous code was:

[libdefaults]
default_realm = EOS.NCSU.EDU
krb4_config = /usr/kerberos/lib/krb.conf
krb4_realms = /usr/kerberos/lib/krb.realms
dns_lookup_kdc = true

[realms]
EOS.NCSU.EDU = {
admin_server = kerberos-master.ncsu.edu:749
default_domain = eos.ncsu.edu
}

[domain_realm]
.ncsu.edu = EOS.NCSU.EDU
ncsu.edu = EOS.NCSU.EDU

e.) Save the file and change the extension back to '.ini'

7.) Create VBS script (http://techies.ncsu.edu/wiki/OpenAFS_on_Windows_Vista)
a.) Open notepad (new file)
b.) Copy and paste the following code:

Set oShell = CreateObject("WScript.Shell")
user = oShell.ExpandEnvironmentStrings("%username%")
first_char = left(user,1)

oShell.Run "cmd /c" & "kinit.exe & aklog.exe bp.ncsu.edu eos.ncsu.edu unity.ncsu.edu & NET USE j: \\afs\auto1 /persistent:no & NET USE k: \\afs\unity.ncsu.edu\users\"+first_char+"\"+user+" /persistent:no "

c.) in the above code replace "+first_char+" with the first letter, of your first name. Replace "+user+" with your unityID.
Example: my unityID is wdprice3. thus the last line of code, for me, looks like:

oShell.Run "cmd /c" & "kinit.exe & aklog.exe bp.ncsu.edu eos.ncsu.edu unity.ncsu.edu & NET USE j: \\afs\auto1 /persistent:no & NET USE k: \\afs\unity.ncsu.edu\users\w\wdprice3 /persistent:no "


d.) Save the file with the extension '.vbs' to the desktop

Reboot

8.) Run Network Identity Manager
(I forgot most of what I did in here for set up, my bad). If something doesn't work, make sure you have the 'cell' right. Also, refer back to http://techies.ncsu.edu/wiki/OpenAFS_on_Windows_Vista for other options. You can always unistall/reinstall when you've screwed up enough

In general though:

Connecting to K: Drive: make sure your unityID is correct/type it in, make sure your cell is set to unity.ncsu.edu
Connecting to J: Drive: same as above, but the cell should be eos.ncsu.edu
Connecting to Both: same as above. under identities, then under the AFS tab, make sure both eos.ncsu.edu and unity.ncsu.edu are added







[Edited on December 4, 2008 at 2:58 PM. Reason : /]

12/4/2008 2:48:45 PM

evan
All American
27701 Posts
user info
edit post

Quote :
"but the NIM can obtain new credentials"


also known as: giving you the ticket that says you're authenticated

12/4/2008 3:38:52 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

lol. I'm n00bing all over myself then, because I'm confused.

Without running, touching, etc. the AFS client, in the NIM, I can log in and get a certificate/authentication (right? at least that's what it appears to be doing, to me. Or is the NIM accessing the client?)

I'm confused because all I did was put my password in the NIM and it mapped to the J: drive, but not the K:

It's working now (after redoing things), I'm just curious as to how it works. In layman's terms

[Edited on December 4, 2008 at 3:51 PM. Reason : .]

12/4/2008 3:50:51 PM

evan
All American
27701 Posts
user info
edit post

read up on kerberos

http://en.wikipedia.org/wiki/Kerberos_(protocol)

it's actually really cool

12/4/2008 4:03:18 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

PERHAPS YOU SHOULD POST A LINK THAT WORKS EVAN

http://en.wikipedia.org/wiki/Kerberos_(protocol)

12/4/2008 4:04:48 PM

evan
All American
27701 Posts
user info
edit post

LOL I AM SORRY HUMAN

12/4/2008 4:05:54 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

THIS GUY CAN'T EVEN POST A LINK, AND HE'S TRYING TO TELL ME WHAT TO DO?

12/4/2008 4:10:49 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

WHY ARE WE ALL SCREAMING?!1?!

12/4/2008 4:14:00 PM

smoothcrim
Universal Magnetic!
18966 Posts
user info
edit post

LOOOOOOOOOOOUD NOISES.

12/4/2008 6:04:51 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

BECAUSE IT'S .... ?

12/4/2008 9:09:55 PM

Aficionado
Suspended
22518 Posts
user info
edit post

I LOVE LAMP

12/4/2008 11:22:19 PM

evan
All American
27701 Posts
user info
edit post

I KILLED A MAN

12/4/2008 11:45:24 PM

Master_Yoda
All American
3626 Posts
user info
edit post

wdprice3

Good job and very nicely laid out, but one minor problem, that will only work if you have an eos account. eg if you aint an engineer you are out of luck with your cell names.

12/5/2008 10:09:29 AM

Owned
New Recruit
9 Posts
user info
edit post

I personally use filezilla and sftp to the server. I've never used WinSCP or whatever that shit is.

12/5/2008 1:28:02 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

Quote :
"Good job and very nicely laid out, but one minor problem, that will only work if you have an eos account. eg if you aint an engineer you are out of luck with your cell names."


I did include the unity cell.... the other main cell is the backbone cell (bp.ncsu.edu)


oh, I guess you meant in the code. forgot about that. oops.



[Edited on December 5, 2008 at 6:22 PM. Reason : .]

12/5/2008 6:21:02 PM

GonzoBill
Veteran
122 Posts
user info
edit post

My god I can't believe you guys want to go through all this.... I'll post a link in a few minutes to the newest BETA installers for KfW and OpenAFS that I've been trying to get people to test.

12/5/2008 11:18:13 PM

GonzoBill
Veteran
122 Posts
user info
edit post

IF AND ONLY IF your local login to your computer is the same as you unityid/password, then this should give you a J: and K: drive and access to all 3 AFS cells at login. K: shows up after a bit since you can't map it till after all of the tickets/tokens are gotten.

Download and save the following 4 files into the same directory:
http://download.eos.ncsu.edu/wolfcall/files/beta/kfw-3-2-2.msi
http://download.eos.ncsu.edu/wolfcall/files/beta/openafs-en_US-1-5-54.msi
http://download.eos.ncsu.edu/wolfcall/files/beta/NCSU.mst
http://download.eos.ncsu.edu/wolfcall/files/beta/map-homedir.vbs

Run cmd.exe and navigate to the directory.
Run:
msiexec /i kfw-3-2-2.msi /quiet
msiexec /i openafs-en_US-1-5-54.msi /quiet TRANSFORMS=NCSU.mst

Note: This isn't the newest build of OpenAFS, but you probably should be able to substitute that in since all of changes are done in the transform. The KfW installer is heavily modfied, but MIT doesn't update their installers much, so it should be fine for a while. afscred.exe opens at login time because I haven't turned it off, but you should be able to ignore it.

NOTE #2: This has not been fully tested for home use AT ALL. It works great from an AD machine on campus, which was the first (and only so far) test environment used.

NOTE #3: Wolfcall is done. It is not ever being updated again. It is not Vista compatible. Webdrive/WinSCP handles 99% of student needs.

Note #4: If you are looking on Techies for info, http://techies.ncsu.edu/wiki/AFS_access_without_WolfCall has more info.

Note #5: If doing a by-hand config, use this page for kerberos config file settings: http://techies.ncsu.edu/wiki/Kerberos

[Edited on December 5, 2008 at 11:43 PM. Reason : adding more notes]

12/5/2008 11:35:24 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^stable on vista & does it work with biometrics?

ok, ^ completely tanked my system and showed no signs of even trying to work

[Edited on December 23, 2008 at 1:22 PM. Reason : .]

12/23/2008 1:08:38 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

Quote :
"^^ Don't take this the wrong way, but even though you had WinSCP working... I don't want to assume you know anything. So, webdrive settings should be - site:ftp.ncsu.edu, server type: sftp, unity ID/pass. You can set it to save your credentials and to run on startup if you want the drives to "just be there" (that may be what your professor is doing). Otherwise, the only thing you may want to set is the startup directory, but that's not necessary for the "K drive."

Is that how you had it set up? Is it not working on Vista, XP, or either?

"



got it to work for the k drive, set up like you had it, but not for the j drive (on vista)

12/23/2008 1:40:55 PM

duro982
All American
3088 Posts
user info
edit post

did you point it to the right spot? set up a separate connection to the j drive. same connection settings as the K, but set the directory/root/location (don't recall which webdrive calls it) to /afs. it's under "advanced' i think.

12/23/2008 10:26:13 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

yes

12/23/2008 10:32:05 PM

duro982
All American
3088 Posts
user info
edit post

that's odd. I just set it up on Vista w/no problem.

12/24/2008 2:31:08 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

you're connected to a directory in the J drive (eos cell)?

12/24/2008 4:30:04 PM

duro982
All American
3088 Posts
user info
edit post



[Edited on December 24, 2008 at 8:38 PM. Reason : pic]

12/24/2008 8:38:08 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

well i'll be damned.


nvm, my problem is in my initial path

I can't get it to open to the initial directory that I want it to. if I start at the afs directory and try to navigate, explorer freezes...

[Edited on December 24, 2008 at 9:48 PM. Reason : .]

12/24/2008 9:20:55 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

I'm trying to get to somewhere like: .eos\lockers\research\bae

I went to properties -> general -> open explorer in the following folder
and then pasted the above path. doesn't work. I'm guessing it's a formatting thing (missing / or \, etc) any help?

12/24/2008 10:05:21 PM

duro982
All American
3088 Posts
user info
edit post

your ex. would be: /afs/eos/lockers/research/bae

set that in webdrive under "root directory". it's under properties>connection>sftp setting. It's also presented when you first create the connection.

well, i guess you don't have to set it as the root, but you might as well if you don't need to access anything above that point.

[Edited on December 24, 2008 at 10:18 PM. Reason : ..]

12/24/2008 10:12:07 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

awesome! works. thanks a lot man!

and as soon as I saw your post, I knew exactly what I was doing wrong. I copied/paste the path with \'s instead of using using /'s like a url

[Edited on December 24, 2008 at 10:19 PM. Reason : yeh, that's the only directory that I need to access, at least for now]

12/24/2008 10:18:28 PM

 Message Boards » Tech Talk » map ncsu network drive to my computer? Page [1] 2, Next  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.