View previous topic :: View next topic |
Author |
Message |
griblik n00b
Joined: 12 Nov 2003 Posts: 36
|
Posted: Thu Apr 15, 2004 4:52 pm Post subject: noob linux/windows filesharing problems |
|
|
Hi all,
I'm trying to move files from a win2k box to a gentoo kit, and having absolutely no success. Wondered if some helpful soul could point me in the right direction...
I've got samba set up and working on gentoo - I can move stuff from one linux kit to another with no problems. However, windows networking is doing something weird, and I can't see the share at all from 2k (or even the kit). Hell, I can't even see my WinXP kit from it, or vice versa, so I've given up on the idea of using samba for the time being. MS product support being what it is, I'm not holding out any hopes of working that one out any time soon.
The workgoups are the same on all kits, I'm not using a domain, they can all ping each other by name & IP, and there's no firewall running on the windows boxen.
I thought about using winSCP, but I have no idea where to begin setting that up at the linux end. I've got ssh installed, but get a "Connection refused" message when I try to connect with winscp. Same thing happens after I installed scponly on the gentoo box.
At this point, I'm more than willing to concede my total lack of knowledge in this area and try anything anyone can suggest (well, almost anything
Help? |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Thu Apr 15, 2004 4:57 pm Post subject: |
|
|
Connection refused usually means that there is nothing listening at the address and port you specified. I would check to make sure the sshd_config on the machine running sshd has the same Listen On and Port options that you are using to connect to. I know it sounds lame, but I've had problems with this before. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
dambacher Apprentice
Joined: 11 Feb 2003 Posts: 290 Location: Germany
|
Posted: Thu Apr 15, 2004 5:20 pm Post subject: smb and xp |
|
|
Hi griblik
winxp and samba are trobles...
first try to ping from windows to linux using the ip numbers. the computer should see each other. (ping from linux to windows won't work)
second check if both computers are in the same workgroup and you don't use domain controllers. (smb.conf: workgroup=, xp: in computer configuration where you set the computer name you can set the workgroup, too.
try to connect from linux to xp using
Code: | smbclient -L yourxpcomputername -U yourusername -W yourworkgroupname -N |
you should get a list of shares
use smbclient like ftp:
Code: | smbclient //yourcomputername/yoursharename -U yourusername -W yourworkgroup |
reading samba shares from xp is only possible if you tweak some security options of xp (wiered thing to do, if you want it, I will tell you...)
post smb.conf and /var/log/samba/log.smb errors if this does not work[/code]
Last edited by dambacher on Thu Apr 15, 2004 5:22 pm; edited 1 time in total |
|
Back to top |
|
|
griblik n00b
Joined: 12 Nov 2003 Posts: 36
|
Posted: Thu Apr 15, 2004 5:20 pm Post subject: |
|
|
Might have sounded lame, but I hadn't actually checked.
As it happens, I'm not sure if ssh was listening on the right port (although I'm guessing it defaults to IP:22), but I've explicitly told it where to listen, and I can ssh into it.
Still no success with scp tho. I'm starting to think it's really just windows being crap.
On the plus side, in the last two days I've got samba and ssh working, so at least I'm learning new stuff... |
|
Back to top |
|
|
davidblewett Apprentice
Joined: 15 Feb 2004 Posts: 274 Location: Indiana
|
Posted: Thu Apr 15, 2004 5:53 pm Post subject: |
|
|
I looked at the WinSCP site (http://winscp.sourceforge.net/eng/requirements.php), and it appears it tries to use both SFTP and SCP. If it's trying to use SFTP to connect to your machine, it might be failing if you don't have your sshd setup to use SFTP. I read this on their site:
Quote:
To transfer files scp1 is used (it is called from within scp). If only scp2 is allowed on your server, check "Use scp2 with scp1 compatibility" option on "SCP" tab in login dialog.
It might be trying to use scp1 to connect to your (most probably) SSH2 server.
You might try using a Cygwin environment. This way you could use the native scp app.
Griblik:
Quote: | reading samba shares from xp is only possible if you tweak some security options of xp (wiered thing to do, if you want it, I will tell you...) |
I would like to see this, as I'm having problems with my XP box playing nice with the samba server. _________________ No guilt in life, no fear in death
this is the power of Christ in me
From lifes first cry to final breath
Jesus commands my destiny
-- Newsboys, "In Christ Alone", "Adoration: The Worship Album" |
|
Back to top |
|
|
coax Apprentice
Joined: 08 Sep 2003 Posts: 231 Location: Antwerp - Belgium
|
Posted: Thu Apr 15, 2004 6:20 pm Post subject: |
|
|
It's my experience not to thrust windows file sharing. It's much easyer to just emerge proftpd and connect to it from windows box. _________________ - There is no such thing as having too many computers - |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|