[asterisk-users] OT - Aastra phones provisioning
Olivier
oza-4h07 at myamail.com
Thu Jun 11 04:59:30 CDT 2009
2009/6/11 Grygoriy Dobrovolskyy <megahohol at gmail.com>
>
>
> 2009/6/11 Olivier <oza-4h07 at myamail.com>
>
> Hi,
>>
>> I can't find a way to tailor DHCP/TFTP/HTTP environment so that brand new
>> Aastra SIP phones can be auto-provisioned when config files are stored in a
>> specific TFTP subdirectory instead of TFTP root directory.
>>
>> For instance, TFTP root directory is /srv/tftp.
>> When config files are stored in /srv/tftp, a new Aastra can find its
>> config files.
>> When config files are stored in /srv/tftp/aastra, a new Aastra can't find
>> its config files.
>>
>> I tried to using DHCP "root-path" option to tell Aastra phones to search
>> the right subdirectory, but it doesn't seem to work.
>>
>> Any advice on this ?
>>
>> Regards
>
>
> How about /srv/tftp/aastraphones ?
>
Do you mean using /srv/tftp/aastraphones should work while /srv/tftp/aastra
wouldn't ?
Anyway, I tried this and this doesn't change anything :
Jun 11 11:37:33 osiris2 in.tftpd[2476]: connect from 192.168.100.119
(192.168.100.119)
Jun 11 11:37:33 osiris2 tftpd[2477]: tftpd: trying to get file: security.tuz
Jun 11 11:37:33 osiris2 tftpd[2477]: tftpd: serving file from /srv/tftp
Jun 11 11:37:33 osiris2 in.tftpd[2478]: connect from 192.168.100.119
(192.168.100.119)
Jun 11 11:37:33 osiris2 tftpd[2479]: tftpd: trying to get file: aastra.cfg
Jun 11 11:37:33 osiris2 tftpd[2479]: tftpd: serving file from /srv/tftp
Jun 11 11:37:35 osiris2 in.tftpd[2480]: connect from 192.168.100.119
(192.168.100.119)
Jun 11 11:37:35 osiris2 tftpd[2481]: tftpd: trying to get file: security.tuz
In /etc/dhcp3/dhcpd.conf, I included :
option root-path "/srv/tftp/aastraphones";
If I'm not mistaken, it seems :
- DHCP should include in its DHCPOFFER, a TFTP path set to
/srv/tftp/aastraphones (using Wireshark, I can't see any root-path related
value in DCHPOFFER from DHCP server nor in any consecutive DHCP or TFTP
request but I can't say if this is normal or not)
- from then, TFTP request should include something telling files should be
searched in aastraphones subdirectory.
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090611/c70eff92/attachment.htm
More information about the asterisk-users
mailing list