LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   2 computers one 2 OSes, need file sharing help. (https://www.linuxquestions.org/questions/linux-networking-3/2-computers-one-2-oses-need-file-sharing-help-74684/)

pee_pee 07-21-2003 06:29 PM

2 computers one 2 OSes, need file sharing help.
 
i am a total newbie to linux. On one computer i have Mandrake linux 9.1 and Win98 (on the another partition). The other computer i have Win ME. Both are connected to a broadband router. With Win98 and Win ME i can share files.

I would like to share files between Mandrake Linux (comp 1) and Win ME (comp2). Also on comp 1, i would like to share files between linux and Win98.

So far I've used linNeighborhood. It has detected comp 2, but when i try to click on the folders a mount dialog box comes, i click mount and i get error messages (smb connection failure'-'standard in...tty') can someone please help.

thank you.

charlyw 07-21-2003 07:13 PM

Hi
I made a search on Google and found the following :

------------------------------------------------------------------------
'Standard in must be a tty' while mounting
It seems that this error can occur if smbmnt and smbumount doesn't be installed setuid root. If this is the case, there should normally be returned an error like 'smbmt must be installed setuid root' , but we have postings from several users who got the earlier error.
To solute this, try to set the setuid bit (refer to the next FAQ). Nevertheless, we cannot guarantee.


Smbmnt must be installed setuid root This error occurs if you want to mount any smb share as user without root rights. You must set the setuid root bit on your executables 'smbmnt' and 'smbumount'.
Do the following:

login as root and change to the directory where this tools resides (/usr/bin ?)
do a 'ls -l smbmnt', you'll see something like -rwxr-xr-x
invoke 'chmod +s smbmnt', after that you'll see something like -rwsr-xr-x
do the same with smbumount
The tools will now be executed with the rights of the tool's owner, in this case root and you should be able to use this tools as normal user.
Note: Don't set smbmount to setuid root, smbmnt is quite enough.
--------------------------------------------------------------------------

Any doubt, donīt hesitate and make a new post!
Hope this helps

charlyweird@hotmail.com

Ossymoon 07-23-2003 09:25 AM

If you have sshd running you can just use Winscp, no additonal setup required, all you need to know is your pass for the linux box, and the up of that box

pee_pee 07-24-2003 02:51 AM

regarding the second reply. i checked out that LinNeighborhood FAQ website. where do i login as the root? the english in this FAQ is pretty broken. I can see my comp 2 in LinNeighborhood but still getting that 'standard must in tty' msg or 'tree connect failed'.

please help! sorry didn't understand that third reply.

Looking_Lost 07-24-2003 03:05 AM

Never really used mandrake but forgetting LinNeighborhood aswell which you got it, I haven't I haven't used either, for a minute if you type smb: into your file browser does it work okay?

You should be able to mount your win98 drive on the dual-boot for reading/writing between them

pee_pee 07-24-2003 03:19 AM

when i type smb: in my file browser it says 'malformed url'. is there a way that, on one machine with win 98 and mandrake linux 9.1 can share files?

this is one of two questions i'm asking. i feel i'm close to getting comp1 and comp2 to talking to each other.

Looking_Lost 07-24-2003 03:36 AM

make a directory /mnt/windows or whatever name you want to in your /mnt/ directory

Add the line to /etc/fstab :
/dev/hda2 /mnt/windows vfat noauto,user,rw 0 0

replacing hda2 with the windows drive name probably hda1 in your case

then you can do mount /mnt/windows to read/write to it
and umount /mnt/windows when you're finished using it.

I'm sure the smb: thing worked the one time I had mandrake going for half an hour :)

maybe it was smb:/// but oh well.


All times are GMT -5. The time now is 11:10 PM.