Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
mount -t cifs -o user=nobody,password=none //IPOFREMOTEPC/SHARE /YOURMOUNTPOINT
Exchange IPOFREMOTECOMPUTER with the IP of the computer you want to connect to, SHARE with the name name of the share and YOURMOUNTPOINT with the name of the directory you want to mount the share at.
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
I have obfuscated the IP, but basically I am mounting the share server that is on machine XXX.XXX.XXX.XXX to my local directory /server.
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)
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.
yes, if you hit "Places" and add one there SSH should be in the list. But then that's if you want to use the fluffy stuff to access it in the first place...
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.