Networking Forums

Networking Forums > Computer Networking > Linux Networking > newbie problems

Reply
Thread Tools Display Modes

newbie problems

 
 
root
Guest
Posts: n/a

 
      07-07-2004, 06:34 PM
I hope who ever reads this has a stomach for dealing with the dense!

I am trying to view the directory on several windows machines in order to
transfer files to my Red Hat machine.
The Red Hat box sees all the other machines fine but wants user name and
password.
Now here comes the dumb question!
What must I do to the windows machines in order for get access to the
drives for the ability to transfer files to the Linux box for some batch
modification?

Thanks in advance to anyone who give some advice.

Ted
 
Reply With Quote
 
 
 
 
GVK
Guest
Posts: n/a

 
      07-07-2004, 07:31 PM
root wrote:
> What must I do to the windows machines in order for get access to the
> drives for the ability to transfer files to the Linux box for some batch
> modification?


With each of your windows box, do folder options->view and unselect
"use simple file sharing(recommended)". Recommended, my ass. Now, you
must be able to access the drives of the windows machines, like
\\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines
are using FAT drives, or, your Linux kernel is compiled to handle NTFS
as well. Now, you can mount the entire drives on to your linux box. But,
it can be done only by using the login/password of an administrator
account of the windows box.

eg - this is how I mount my friend's windows box

$ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf

Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the
drive mounted(someone correct me if I'm wrong).

This whole thing can be automated by adding entries to /etc/fstab so
that the drives will be mounted at boot time itself.

Hope this helps and hope you are not too dense :-)

regards,
GVK
 
Reply With Quote
 
Ted Randall
Guest
Posts: n/a

 
      07-07-2004, 10:20 PM
Thanks so much for your help!
This is better than the tech support I get on the phone from the
commercial software companies I am forced to deal with.
Thanks so much
Ted


On Thu, 08 Jul 2004 01:01:24 +0530, GVK wrote:

> root wrote:
>> What must I do to the windows machines in order for get access to the
>> drives for the ability to transfer files to the Linux box for some batch
>> modification?

>
> With each of your windows box, do folder options->view and unselect
> "use simple file sharing(recommended)". Recommended, my ass. Now, you
> must be able to access the drives of the windows machines, like
> \\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines
> are using FAT drives, or, your Linux kernel is compiled to handle NTFS
> as well. Now, you can mount the entire drives on to your linux box. But,
> it can be done only by using the login/password of an administrator
> account of the windows box.
>
> eg - this is how I mount my friend's windows box
>
> $ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf
>
> Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the
> drive mounted(someone correct me if I'm wrong).
>
> This whole thing can be automated by adding entries to /etc/fstab so
> that the drives will be mounted at boot time itself.
>
> Hope this helps and hope you are not too dense :-)
>
> regards,
> GVK


 
Reply With Quote
 
Michael C.
Guest
Posts: n/a

 
      07-08-2004, 12:13 AM
On Thu, 08 Jul 2004 01:01:24 +0530,
GVK <(E-Mail Removed)> wrote:
> root wrote:
> > What must I do to the windows machines in order for get access to the
> > drives for the ability to transfer files to the Linux box for some batch
> > modification?

>
> With each of your windows box, do folder options->view and unselect
> "use simple file sharing(recommended)". Recommended, my ass. Now, you
> must be able to access the drives of the windows machines, like
> \\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines
> are using FAT drives, or, your Linux kernel is compiled to handle NTFS
> as well. Now, you can mount the entire drives on to your linux box. But,
> it can be done only by using the login/password of an administrator
> account of the windows box.


An administrator account isn't required to access user shares. (Not sure
about Administartive shares as in your example.)

Linux doesn't need to know how to access ntfs or even fat. When you
access a network file system, you send a request to a remote machine,
the remote machine then deals with that request (ignores it, issues an
error, or sends the requested data.) At no time does machine A read
machine B's disk.

>
> eg - this is how I mount my friend's windows box
>
> $ smbmount //172.16.19.5/d$ /mnt/movies -o username=xXx,password=asdf
>
> Bingo, the drive is on my /mnt/movies. Beware, you cannot modify the
> drive mounted(someone correct me if I'm wrong).


You're wrong.

Michael C.
--
(E-Mail Removed) http://mcsuper5.freeshell.org/


The only people who don't make mistakes are the ones that aren't doing
anything.
 
Reply With Quote
 
GVK
Guest
Posts: n/a

 
      07-08-2004, 11:07 AM
Michael C. wrote:
>> On Thu, 08 Jul 2004 01:01:24 +0530,
>> GVK <(E-Mail Removed)> wrote:
>>With each of your windows box, do folder options->view and unselect
>>"use simple file sharing(recommended)". Recommended, my ass. Now, you
>>must be able to access the drives of the windows machines, like
>>\\w_box\c$ or \\w_box\d$. This is assuming that all the windows machines
>>are using FAT drives, or, your Linux kernel is compiled to handle NTFS
>>as well. Now, you can mount the entire drives on to your linux box. But,
>>it can be done only by using the login/password of an administrator
>>account of the windows box.


>> root wrote:
>>
>>>What must I do to the windows machines in order for get access to the
>>>drives for the ability to transfer files to the Linux box for some batch
>>>modification?

>>

> An administrator account isn't required to access user shares. (Not sure
> about Administartive shares as in your example.)
>

I wasn't talking about user shares. I was talking about administrative
shares...c$,d$...I don't think you can mount them using a "limited
account" or guest account. You must access them with an account with
administrative powers.

> Linux doesn't need to know how to access ntfs or even fat. When you
> access a network file system, you send a request to a remote machine,
> the remote machine then deals with that request (ignores it, issues an
> error, or sends the requested data.) At no time does machine A read
> machine B's disk.
>


Sorry, I was wrong here. One can mount even a NTFS share. Thanks for the
correction. I tried a "locate *.mp3" expecting my mounted songs to show
up, but they didn't...even after an updatedb. Thanks kinda proves that
machine A does not read machine B's disk.
> You're wrong.


I gladly accept.

regards,
GVK
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network newbie with problems Ed Christie Wireless Internet 5 08-24-2005 12:09 PM
Newbie broadband problems R D S Broadband 5 02-04-2005 10:52 PM
Newbie having problems.... Richie Wireless Internet 4 01-07-2005 06:51 AM
Newbie - Network problems Richie Broadband 2 01-06-2005 01:03 AM
Newbie wireless problems Steve Jackson Home Networking 23 03-03-2004 05:35 AM



1 2 3 4 5 6 7 8 9 10 11