how to access a shared folder on a windows machine
I have a fedora3 system installed and can successfully ping
my windows xp network card over the network. Is there an easy way to mount one of the shared winxp folders in linux so that I can view/edit the files. it is ntfs on winxp, is that a problem? Thanks. |
try this command,
mount -t vfat /dev/... <mount point> the mount point can be any directory in your system say /tmp/... you have to edit the the fstab file. try giving defaults in the optins column in fstab and fstype is of course fat32. this might boot the shared folders in other machine on booting. if that doesn't work try installing fedora3 on the xp machine (dual boot).lets call this machine m2.mount files and folders which you want from xp onto the fedora3 of m2. and then by ssh tranfer files from both machines. if any Qts just ask!!! :rolleyes: |
hi,
make sure, 1) the dir on win-machine is shared 2) create a mountpoint for the shared-dir on ur FCbox Code:
mount -t smbfs -o username=xxx,password=yyy //winxp/share /mountpoint/ |
That won't work on a network.
edit: I'm referring to bitt_u now, once again I'm not fast enough :-) I'm doing exactly that, with this line in /etc/rc.d/rc.local: Code:
mount -t cifs -o credentials=/etc/mypassword //a-server2/peterh$ /home/peterh/G username=pingu password=123456 But I believe you must have samba installed? Not sure really, I have both samba & lisa configured and running. |
that's close, when I say:
mount -t smbfs -o username=edt,password=nnn //192.168.66.1 /home/edward/testmount/ it says: 3223: session request to 192.168.66.1 failed (Called name not present) The share on XP is set to "full control for everyone". What else can I try to get this connected? Thanks. |
can u try ssh to m2 from m1 after u have FC3 on m2
|
First of all, try 'cifs' instead of 'smbfs'
smbfs didn't work for me, I think that works with earlier Windows-versions only. Secondly, install/configure samba. test it: In konqueror type in like this in the adress-field: (your servername & share of course...) smb://a-server2/Install$ Any message you receive will point you to the problem. |
i downloaded puTTY
tried to ssh from winxp to fed3 with the ip address (port 22) and got: Network Error: connection reset by peer on my fed3 in services, I tried to click on telnet (to try that) but it said that I need to enable xinetd, which is already running... so how can I get the ssh connection to work? thanks. |
Quote:
mount -t smbfs -o username=edt,password=nnn //192.168.66.1/<sharename> /home/edward/testmount/ |
Damn you're fast.
Don't know about ssh, but the first thing to try would probably be to try and connect to sshd from the fedora box itself to see if it's actually accepting connections. ssh 127.0.0.1 on the fedora box. |
This should work for you :)
Code:
smbmount //windowspcname/share /linuxbox/directory -o rw,username=un,password=pw your /etc/hosts file should look something like this # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. Just add the names, addresses # and any aliases to this file... # # By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1 # should NEVER be named with the name of the machine. It causes problems # for some (stupid) programs, irc and reputedly talk. :^) # # For loopbacking. 127.0.0.1 localhost 192.168.1.101 windowspcname # End of hosts. |
does ftp work for u?
|
All times are GMT -5. The time now is 07:31 PM. |