954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Windws -> Linux

Hi, I have a Windows box connected to a Linux box and they both share the Internet. H can I get my Linux box to see my Windows files and how do I configure my printer on the Linux box? Thanks

jleach45
Light Poster
31 posts since Jan 2004
Reputation Points: 40
Solved Threads: 0
 

have to install samba on you Linux computer.samba is a software that allows you to connect a Linux computer to a Windows using NetBIOS to share folders and drives between both OS.almost every Linux distribution comes with samba, but if you don't have it, download from: http://www.samba.org/.

once u installed it , u can connect to your windows box using this command
smbclient -L \\COMPUTER -I 198.168.x.x <---- windows ip
by this u will be able to see the shared folders in the win box.

b0x
Newbie Poster
6 posts since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

oh..for the printer , if u runing redhat/fedora try the printtool command,and click on "New", u will get a set up wizard, for suse , use the yast2 command.

b0x
Newbie Poster
6 posts since Jan 2004
Reputation Points: 10
Solved Threads: 0
 

Samba!

floris
Junior Poster
162 posts since Jan 2004
Reputation Points: 115
Solved Threads: 2
 

Thanks, Is there any recommended books for troubleshooting Linux? :lol::lol:

jleach45
Light Poster
31 posts since Jan 2004
Reputation Points: 40
Solved Threads: 0
 
Thanks, Is there any recommended books for troubleshooting Linux? :lol::lol:


The book I've almost worn out isA Practical Guide to Linux
by Mark G. Sobell

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 
once u installed it , u can connect to your windows box using this command smbclient -L \\COMPUTER -I 198.168.x.x <---- windows ip by this u will be able to see the shared folders in the win box.


Or you can use smbmount (or mount -t smbfs) //path/to/shared/dierctory /local/mountpoint {any options here}

Notice that FORWARD slashes are used under *nix. Backslashes are used for an entirely different thing.

If you have entries in your /etc/hosts file, or a working local DNS server, you can use the machine name instead of IP for mounting remote directories.

Reference:
man smbmount
man mount
man smbclient

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 

suggestion install that NT HDD into the *NIX box then it will show up on the *nix desktop (root) as /Windows/c

WEATHER CHANNEL
Junior Poster
Banned
150 posts since Jan 2004
Reputation Points: 46
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: