LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-21-2003, 07:29 PM   #1
pee_pee
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Rep: Reputation: 0
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.
 
Old 07-21-2003, 08:13 PM   #2
charlyw
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
Smile

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
 
Old 07-23-2003, 10:25 AM   #3
Ossymoon
LQ Newbie
 
Registered: Apr 2002
Location: Michigan
Distribution: Redhat 7.3
Posts: 6

Rep: Reputation: 0
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
 
Old 07-24-2003, 03:51 AM   #4
pee_pee
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-24-2003, 04:05 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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
 
Old 07-24-2003, 04:19 AM   #6
pee_pee
LQ Newbie
 
Registered: Jul 2003
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 07-24-2003, 04:36 AM   #7
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
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.
 
  


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
File Sharing Windoze Network Computers deepgrewal SUSE / openSUSE 11 10-12-2005 11:37 AM
Two T1 jacks, Two Computers: Easiest LAN/File Sharing mac_phil Linux - Networking 13 09-30-2003 05:35 PM
File Sharing With Windows Computers John0 Linux - Newbie 2 05-25-2003 09:19 PM
HOW to create a FAT32 partition for file sharing between OSes? jolly_good2000 Linux - General 5 11-21-2002 02:08 AM
Sharing printers over multiple OSes mopron Linux - General 0 05-07-2002 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:12 PM.

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
Open Source Consulting | Domain Registration