Wednesday, March 31, 2010

SIP Phone Configuration

Following the steps starting on page 110, (in /etc/asterisk/)
mv sip.conf sip.conf.sample
touch sip.conf
nano sip.conf
Added the lines:
[general]
[1000]
type=friend
context=phones
host=dynamic
The book is a little confusing at this point, vsftpd is already installed, but I followed the directions...
anonymous_enable=NO
was changed in the vsftpd.conf file, then
groupadd PlcmSpIp
useradd PlcmSpIp -g PlcmSpIp -p PlcmSpIp
passwd PlcmSpIp

However,
vsftpd/vsftpd.chroot_list

doesn't seem to exist?

3 comments:

  1. vsftpd is the Very Secure ftp server. When I first installed Ubuntu on this machine, I thought that I needed to install it to get the ftp server to work. Did that, but vsftpd still didn't run. Did a remove- install sequence a couple of more times to see what kind of messages flew by on the install but nothing really indicated a problem. Eventually figured out that openssl was handling the secure ftpd chores and it must somehow inhibit vsftpd from grabbing the incomming connection, even when it shows vsftpd running as a process. Here is the way to show this. Telnet in and run

    ps -ef|grep ftp

    then start the filezilla client on your local machine and tap in to the server. Run the ps command again and you will see that the ftpd process is the openssl spawned deamon.

    so the trick for you will be to figure out how to use the openssh ftp service instead of vsftpd

    ReplyDelete
  2. testing the hyperlink thing, here is a openssh link

    http://www.openssh.com/manual.html

    ReplyDelete
  3. I see it (I think); here's the results of ps before:

    root 31099 1 0 13:30 ? 00:00:00 /usr/sbin/vsftpd
    root 31102 31053 0 13:31 pts/1 00:00:00 grep ftp

    and after

    root 31099 1 0 13:30 ? 00:00:00 /usr/sbin/vsftpd
    miles 31106 31105 0 13:36 ? 00:00:00 /usr/lib/openssh/sftp-server
    root 31108 31053 0 13:36 pts/1 00:00:00 grep ftp

    ReplyDelete