LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-29-2004, 08:14 AM   #16
Pizentios
LQ Newbie
 
Registered: Sep 2004
Location: Brandon Manitoba Canada
Distribution: Slackware and OpenBSD
Posts: 22

Original Poster
Rep: Reputation: 15

It just tells me that the connection has been refused, which is odd, since that drive is mapped to all the computers on my network. This is the only linux box however.
 
Old 09-29-2004, 09:13 AM   #17
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
well you need to create a samba username/password that matches a username/password on the windows machine.

the command is smbpasswd -a username
 
Old 09-29-2004, 09:30 AM   #18
MS-outLINUX-in!
LQ Newbie
 
Registered: Aug 2004
Location: Riga, Latvia
Distribution: Debian (Testing/Stable), Slackware current
Posts: 27

Rep: Reputation: 15
You can try out a more cool option. Find out your UID, for example, by viewing the
/etc/passwd
file. And then enter
mount -t smbfs -o username=[Username on the remote WinNT],uid=[your linux UID]//[WinNT computers IP or name]/ [the shared dir on the WinNT] /[an empty dir on your slack machine]
This way you won't need to be root to change into the dir.
You can also try to create an entry in /etc/fstab, but actualy I know only how to add a NFS or local filesystem in the /etc/fstab.
 
Old 09-29-2004, 07:58 PM   #19
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
This is what i have in my fstab

\\server\share /mnt/point smbfs password=password,username=username,noauto 0 0
 
Old 09-30-2004, 10:29 AM   #20
Pizentios
LQ Newbie
 
Registered: Sep 2004
Location: Brandon Manitoba Canada
Distribution: Slackware and OpenBSD
Posts: 22

Original Poster
Rep: Reputation: 15
I got it working now, it turns out that the problem was with my network cards. I have two in my box, eth0 and eth1, it was trying to use eth1, which is ment for somthing totally different that what i was trying to use it for. Anyways, it was a simple fix of changing what card samba talked to in the conf file. Thanks for your help.
 
Old 10-06-2004, 10:09 AM   #21
Ghostalker
LQ Newbie
 
Registered: Oct 2004
Location: Reading
Distribution: Mandrake 9.2
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by Finlay
Try this, if it works you don't need to download anything:

mount -t smbfs -o username=user,password=pass //server/share /mnt/share

NOTE: need to mkdir /mnt/share
I'm having a similar problem mounting a shared drive, I have done exactly what you have typed above, but I get a timeout error. I also get this error when using smbclient <server> <pass>, but I manage to connect (or at least, the smb: \> prompt comes up)

Any help anyone could offer, I would be most grateful
 
Old 10-06-2004, 05:44 PM   #22
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
try using the ip address instead of the server name
 
  


Reply



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
Networking Hard Drive shof515 Linux - Networking 3 11-23-2005 05:17 AM
how to mount linux drive for windows networking tittosimu Linux - Networking 2 10-12-2005 01:37 PM
Beginner networking: sharing a drive LancerNZ Linux - Networking 3 02-25-2005 01:11 PM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
mounting networking drives in fedora 2782d4 Linux - Networking 1 02-23-2004 07:56 PM

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

All times are GMT -5. The time now is 05:28 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