Jump to content

Recommended Posts

Posted

Здравствуйте! Имею роутер Zyxel Keenetic Giga 2 с прошивкой версии 2.05(AAFS.1)C3, поддерживающей открытые пакеты, и набор OPKG, настроенный на репозиторий Entware-Keenetic.

При попытке настройки tftpd-hpa скриптом автозапуска имею проблему: нет доступа к файлам на tftp сервере, хотя в консоли opkg видно, что tftpd-hpa запущен и в журнале роутера видны запросы tftp клиента. Tftp клиент при этом говорит через некоторое время о таймауте соединения. Что не так?

~ # cat /opt/etc/init.d/S53tftpd-hpa

#!/bin/sh

ENABLED=yes
PROCS=tftpd-hpa
ARGS="-l -a 192.168.100.1:69 -vv -s /opt/mnt/boot"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

. /opt/etc/init.d/rc.func
 
  • 1 year later...
Posted (edited)

Ultra первая. Анологичная проблема. Не удалось завести tftpd-hpa. Пробовал из консоли в том числе на нестандартном порту - кидает в syslog следующее

Jan 29 10:29:39 zyxel pure-ftpd: (?@?) [ERROR] Unable to identify the local socket: transport endpoint is not connected.

При попытке запуска tftp из dnsmasq - всё чудесно, кроме виндовых клиентов

PS C:\Users\again> tftp 192.168.10.1 GET test.txt
 Сбой запроса на подключение

А в логах на роутере

Jan 29 10:48:44 zyxel dnsmasq-tftp[542]: unsupported request from 192.168.10.2

Если клиентом делается запрос передачи в двоичном формате, то лог следующий, а ответ тот же.

Jan 29 10:48:44 zyxel dnsmasq-tftp[542]: unsupported request from 192.168.10.2
Jan 29 10:50:01 zyxel cron[801]: (root) CMD (/opt/bin/run-parts /opt/etc/cron.5mins^I)
Jan 29 10:50:11 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:12 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:14 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:18 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:26 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:34 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:42 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2
Jan 29 10:50:50 zyxel dnsmasq-tftp[542]: failed sending /opt/tftpboot/test.txt to 192.168.10.2

при этом линуксовый клиент tftp без заморочек выкачал преесловутый файл.

Jan 29 11:01:40 zyxel dnsmasq-tftp[542]: sent /opt/tftpboot/test.txt to 192.168.10.5

 

Edited by againDDM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.