Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
What's wrong with setting up vsftpd? I used to be pretty good at setting it up if you need help
-
wowotek58276y@ScribeOfGoD actually the trouble is not exactly in the vsftpd, but i don't familiar with setting up the networking. i mean the term is a bit different like for example "broadcast ip" which i never heard of. and the the different subnet something that use 192.168.x.x\24.
i don't even started to touch the authentication and folders hierarchy settings. just spinning around this circles.
and for Samba, it did not show up in network sharing, but i can access it manually using ip \\192.168.x.x tho. but still can't cannot go deeper after this layer of directory. -
Condor324966yFor Samba I always use the Arch Wiki page. Works every time :)
Essentially you just install samba, install the smb.conf file from https://git.samba.org/samba.git/..., check your workgroup and add your shares to it, and add a SMB password using "# smbpasswd $user". For example, if you want to access /var/vmail as user root, you want to add the following:
[vmail]
comment = Mail directory on server.
path = /var/vmail
browseable = yes
read only = no
guest ok = no
And then add the smbpasswd for user root. The password can be different, but the access levels to files will be that of what the user on the server would have. In case of root, that'd be everything. You'll likely want to create a separate user instead, and grant it group access to the directories it needs.
Regarding vsftpd, it's a terrible server. Nothing but issues with that piece of crap. Personally I quite like proftpd, really easy to set up. Also check out Arch Wiki for this.
configuring Samba and vsftpd is really frustrating. it's my first time setting up local server tho.
rant