LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2008, 12:40 AM   #1
sir_com
Member
 
Registered: Feb 2008
Posts: 31

Rep: Reputation: 15
Mapping a windows drive letter to my desktop linux box


Hi,

I always had a windows drive mapped to my desktop linux box in this case to //jamd/jd.After I shifted my machine to new location it's not working. Here are some messages in my /var/log/samba.log file:



[2008/05/27 15:27:59, 1] libsmb/cliconnect.c:cli_connect(1312)

Error connecting to 192.168.0.4 (No route to host)

[2008/05/27 15:27:59, 0] auth/auth_server.c:server_cryptkey(83)

password server not available

[2008/05/27 15:27:59, 1] auth/auth_server.c:check_smbserver_security(252)

password server is not connected (cli not initilised)


Any idea how I repair this?
 
Old 05-28-2008, 01:02 AM   #2
charlie0313
Member
 
Registered: Jan 2008
Location: Dunn Loring, VA
Distribution: Slackware 12.0, Ubuntu 8.04
Posts: 47

Rep: Reputation: 15
Quote:
Error connecting to 192.168.0.4 (No route to host)
It looks like when you moved you where put on a different subnet or network. Try trouble shooting your network I guess? Could you post what "ifconfig -a" and "route" give you?

Also make sure you plugged your network cable in when you moved

Last edited by charlie0313; 05-28-2008 at 01:04 AM.
 
Old 05-28-2008, 01:52 AM   #3
grizly
Member
 
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
When you say "Windows Drive"...

What exactly do you mean?

A removable drive that has windows data on it?
A hard-drive inside your workstation, that has windows installed on it?
A remote computer running Windows with a shared directory?


Your use of the samba error log suggests you know it to be a remote windows machine.

Can you ping the machine?
Can you post the output of:
Quote:
/usr/bin/smbclient -L host
Can you connect manually?
Quote:
/usr/bin/smbclient \\\\server\\share mypasswd
Can you mount it manually?
Quote:
smbmount "\\\\samba1\\customers" -U rtg2t -c 'mount /customers -u 500 -g 100'
or:

Quote:
mount.cifs //server/inetpub /mnt/location -ouser=transfer,pass=dkfhjdjskd
Quote:
mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd
Are you on a domain?
Quote:
mount.smbfs //server/inetpub /mnt/location -ousername=transfer,password=dkfhjdjskd,domain=FICTDOMAIN
A great guide to troubleshooting samba: http://www.oreilly.com/catalog/samba2/book/ch12.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mapping a windows network drive andy1974 Linux - Networking 8 02-01-2011 06:09 PM
Windows to Linux - Remote Desktop / Mapping Linux home directory as drive. goldenmongoose Linux - Server 2 05-02-2007 03:15 AM
remote desktop to a linux box from windows jag2000 SUSE / openSUSE 5 04-18-2007 08:51 PM
Mapping a windows drive to a Linux box tbthorpe Linux - Networking 6 02-21-2005 02:48 PM
Mapping drive from Windows to Linux rkingndayton Linux - Networking 1 10-15-2003 11:24 AM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration