networking 2 linux boxes
hi im trying to get a network setup
i followed the instruction via gentoo wiki samba what i have done configured smb.conf global settings i changed security = share guest account = nobody interfaces = lo eth0 bind interfaces only = true shares i made [public] comment = stuff path = /home/user/shared folder public = yes writable = yes browseable = yes guest account = nobody guest ok = yes available = yes than i restarted samba /etc/init.d/samba restart then i did chmod 777 to the shared folders on both machines went into nautilus it sees the folder but it will not mount the folder showing the error msg:"unable to mount location failed to mount windows share" ive been searching unbuntu forums opensuseforums and google for an answer to this issue but as of right now anything that i have tried to do has failed and nothing seems to be working. |
You don't have to use a Windows share to share files between Linux boxes, you also can use NFS, SSH or rsync.
|
yes but ssh requires user/pass nfs the same thing i tried setting up nfs and ssh as well when i couldnt fix the samba issue. and either way there i run into issues and the simplest one to fix is the samba which is why i posted it here to find the solution to that issue.
|
May be you get a more detailed error-message if you mount the share from the command-line.
|
configuring nfs or sshfs is much much easier than samba, and, imo, much better when windows is not involved.
|
acid_kewpie ok well with nfs or ssh can i just open nautilus selected the shared folder view and modiy its contents without inputing a single username or password once? becuase when i tried to setup ssh i had to input a username and password wihtout knowing what the defualt was since i never specified a user or a password and thats not what i want. i setup samba before i felt i knew more about setting it up then nfs or ssh which is why i chose samba.
TobiSGD- how would i manualy mount it via terminal i never attempted to do so? i tried useing the regualar mount command but i havnt added the share in fstab. it really dosnt matter what i use as long as the end result i can access each computers shared files and folders without inputing a user or a password. |
Try this:
Code:
mount -t cifs -o user=nobody,password=none //IPOFREMOTEPC/SHARE /YOURMOUNTPOINT At my home I have a fileserver that delivers to Linux and Windows machines, so I also use Samba for that. I can mount my server with this command: Code:
mount -t cifs -o user=nobody,password=none //XXX.XXX.XXX.XXX/server /server |
NFS would be the easiest
i have a folder set up on suse and if i drop a file in there it moves over to the SL6 box |
TobiSGD--mount -t cifs -o user=nobody,password=none //my ip/Public /home/hiawatha/john
retrying with upper case share name mount error(6): No such device or address Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) that's what i received when i did that command. |
Quote:
|
Did you ty it with public (all lowercase)? This is the name you specified in your smb.conf for your share.
|
yes i did it was a typo sorry. i rechecked the ip address i used as well and that was correct. i did a ping command for 50 sequences and it said the host was unreachable this was the results:
50 packets transmitted, 0 received, +38 errors, 100% packet loss, time 49011ms pipe 3 i believe i discovered the problem i have dhcp set for my computers so the ip adresses could be changing causeing the failure to mount. |
acid_kewpie- yes they are there cause i tried ssh and it requests a user and pass that i dont want to bother with. i do not wish to input a username or password to access files on a different computer. all i want to do is click a folder and i have access to them.
|
All times are GMT -5. The time now is 01:29 AM. |