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 03-07-2009, 09:01 PM   #1
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
How to access files on XP machine from Linux machine


Samba works - I can access files on the Linux box from any of the windows boxes using the windows file manager "explorer"
smbclient -L johns-pc from the Linux box shows the Shares on the windows box "johns-pc"
Problem"
Linux Filemanagers nautilus and Thunar don't see any of the 'windows file systems

Since smbclient sees the windows shared folders there must be some sequence of keystrokes that will allow me to use nautilus to drag and drop files to and from the windows boxes??

Thanks in advance for any help!
 
Old 03-08-2009, 03:06 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
http://www.cyberciti.biz/tips/browse...-nautilus.html
 
Old 03-08-2009, 03:07 PM   #3
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
In nautilus you have a "Network" icon on the left. You can also click Ctrl+L and type "smb://" to browse the network in nautilus. You can also open it from Places->Network.
 
Old 03-08-2009, 04:32 PM   #4
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
Don't seem to have a network icon on left in nautilus
also Places does not have Network to click on

Output of smbclient:
Code:
root@johns-desktop:/home/johns# smbclient -L //192.168.1.101
Password: 
Domain=[VMANANDMOM2] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
        vonshare        Disk      
        IPC$            IPC       Remote IPC
        D$              Disk      Default share
        print$          Disk      Printer Drivers
        SharedDocs      Disk      
        vons picks      Disk      
        Gavmanandmom2   Disk      
        Lexmark X5100 Series Printer   Lexmark X5100 Series
        Printer3        Printer   CAPTURE FAX BVRP
        My Pictures     Disk      
        Train           Disk      
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
session request to 192.168.1.101 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[GAVMANANDMOM2] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
root@johns-desktop:/home/johns#
But I see I have some failures in the smbclient output above

Thanks for the links I will do some more reading

Last edited by john test; 03-08-2009 at 04:34 PM. Reason: add info
 
Old 03-08-2009, 05:21 PM   #5
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
OK Sort of beginning to get it together:
In Nautilus No network Icon but location allows me to type in smb://servername//filefolder which does not work but smb://192.168.1.102//SharedDocs does work if I use the second set of double /s and spell SharedDocs properly.
So now I can drag and drop in Nautilus
smbclient -L //192.168.1.102 works to show the shares
smbclient //192.168.1.102//SharedDocs fails as:
Code:
 Domain=[GATEWAY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
I'm thinking I need to do something with Static IP addresses on the network.

Any suggestions welcome
 
Old 03-08-2009, 06:03 PM   #6
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
What in your /etc/nsswitch.conf file?

Your DNS server probably cannot resolve your local Windows computer names, but normally Windows defaults to broadcast if there is no WINS server. If you don't have a Windows server, you can have Samba be a WINS server.

If you are running Samba, there is a name resolve order in smb.conf somewhere.
 
Old 03-08-2009, 06:17 PM   #7
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
What I will do:
1. Set Static IPs on all devices in network
2. edit Hosts to reflect Hostnames and static ips

Currently: Still can't drag and drop in nautilus because I can bring up either the linux file system or the Windows share file system but not both in the same Nautilus window.

Is there a way to get the Network Icon up on the left side of the nautilus window?
 
Old 03-09-2009, 03:59 AM   #8
Udi
Member
 
Registered: Jan 2009
Posts: 165

Rep: Reputation: 44
Hi John,

the side pane in nautilus can be toggled by pressing F9 or choosing it from the "View" menu in nautilus. You have a pretty old Ubuntu but I'm pretty sure you'll have this feature in it too.

To drag and drop, you'll need to open 2 nautilus windows. An alternative to drag and drop is copy-paste with Ctrl+C and Ctrl+V which you can do with only one window displayed.
 
Old 03-09-2009, 10:43 AM   #9
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Original Poster
Rep: Reputation: 35
Thanks for the response.
I can toggle the Left Side Bar but there is no network Icon appearing there.

Thanks for the tip on the two windows dragNdrop and One window copy/paste

That should get me through until I can upgrade Ubuntu or find another file manager that will support drag and drop across the LAN.

Are there any thoughts on the SMBCLIENT errors and failures posted above?
 
  


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
How to transferring files from linux machine to linux machine and windows Dinimani Debian 3 05-12-2008 05:50 AM
Windows XP machine fails to access Ubuntu machine gwatts Linux - Networking 6 03-04-2007 01:04 PM
How to Transfer files between Linux machine and Window Machine rktech83 Linux - Networking 7 03-14-2006 03:10 AM
how to access internet from a linux machine via a linux machine as gateway b0nd Linux - Newbie 5 03-21-2005 11:59 AM
Using SMB to copy files from one linux machine to second linux machine. coppersky Linux - Networking 9 06-24-2003 12:07 PM


All times are GMT -5. The time now is 04:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration