SearchSearch  Log in to check your private messagesLog in to check your private messages  recent posts Recent Posts
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ivaldizOffline



Joined: Jan 28, 2008
Posts: 1

Status: Offline
Posted: Jan 28, 2008 - 08:28 PM Reply with quote Back to top
I have Rhino Server running Centos and trixbox v 2.0.0, i have added new phone extension to the server, specifically to 3 files which are: voicemail.cong, extensions.conf and sip.conf.
and i uploaded them to the rhino server successfully, now im trying to insert these details to the phone itself "Polycom IP320" under FTP SERVER menu.. i can enter the ip address for the server and its asking me for user name and password, donnu which ones i should enter, and when i log in to the server i found 4 folders under /HOME

and if possible would like to know how can i create my own folder under /HOME and assign my own username and password! , is that possible .. and what is require to do that!

thanks alot.
View user's profile Send private message
ianplainOffline
Site Admin


Joined: Jul 05, 2004
Posts: 2897
Location: Bath UK
Status: Offline
Posted: Jan 28, 2008 - 10:40 PM Reply with quote Back to top
Hi
Welcome to voipuser.

Did the server come with a tutorial/manual. if not then head over to http://help.trixbox.com/index.php/Main_Page and have a read.

You can do it by editing the conf files but thats not the way to go. also have look at http://www.oreilly.com/catalog/covers/9 ... 80_lrg.jpg as it will give you a good grounding in asterisk

Ian
View user's profile Send private message
jeanvoi23Offline



Joined: Feb 22, 2008
Posts: 6

Status: Offline
Posted: Feb 23, 2008 - 05:23 AM Reply with quote Back to top
FTP configuration



To set up FTP on the Asterisk box, first we need to create a specific user for the polycom phones. Note that in the DHCP configuration, I used polycom/12345 as the username and password…you will want to adjust this for whatever username and password you would like to use.



In the Linux CLI, do the following:



useradd polycom

passwd polycom (enter the password twice)



Now, we want to lock down the polycom user so that it can’t log into the system, and can only be used to access the FTP site:



nano /etc/passwd



Scroll to the end of the file and change:



polycom:x:502:502::/home/polycom:/bin/bash



to



polycom:x:502:502::/home/polycom:/sbin/nologin



Now we need to edit the FTP configuration file:



nano /etc/vsftpd/vsftpd.conf



Find the line that says chroot_list_enable. Uncomment it and change it to YES so that it looks like:



chroot_list_enable=YES



At the bottom of the file, you will also want to have the following two lines:



userlist_enable=YES

userlist_deny=NO



This sets the FTP server so that only users in the userlist_file will be allowed to log in via FTP.



Now create /etc/vsftpd.chroot_list and /etc/vsftpd.user_list and add a single word ‘polycom.’ (Or whatever username you created above).



touch /etc/vsftpd.chroot_list

touch /etc/vsftpd.user_list

echo polycom > /etc/vsftpd.chroot_list

echo polycom > /etc/vsftpd.user_list



Make vsftpd start automatically with Linux:



chkconfig –levels 345 vsftpd on



Restart vsftpd with the new configuration:



service vsftpd restart



*** NOTE 2: To view DHCP status live (for troubleshooting purposes), do the following:



tail -f /var/log/xferlog



You should see files going to and from your phone via the FTP server. CTRL+C to exit viewing the log


Thanks
Ben
View user's profile Send private message


View previous topic Printable version Log in to check your private messages View next topic

Post new topic   Reply to topic
Forum Rules and Guidelines | About VoIP User | Privacy Policy


All logos and trademarks in this site are property of their respective owner.
Comments and posts are property of the poster, all the rest (c) 2003-2008 VoIP User Limited.

VoIP User Limited is incorporated in England and Wales under Company Number 6694577.

No part of this site may be reproduced without our prior consent.