Telnet (PuTTYtel)

Phoenix

Разработчик
Сообщения
2,112
Реакции
1,623
Что это такое ? (PuTTY Download Page)
Управление сетевым оборудованием - роутером. (посредством обращения к операционной системе роутера - busybox)
Пример использования:
puttytel.png
BCM96318 Broadband Router
Login: admin
Password:
(ввод пароля не отображается)
Первая команда - это конечно help :Help:
?
help
logout
exit
quit
reboot
adsl
xdslctl
xtm
brctl
cat
loglevel
logdest
virtualserver
ddns
df
dumpcfg
dumpmdm
dm
meminfo
psp
kill
dumpsysinfo
dnsproxy
syslog
echo
ifconfig
ping
ps
pwd
sntp
sysinfo
tftp
wlctl
arp
defaultgateway
dhcpserver
dns
lan
lanhosts
passwd
ppp
restoredefault
route
save
swversion
uptime
cfgupdate
swupdate
exitOnIdle
wan
mcpctl

Практика начинается с конкретных примеров:
Установка DNS

PHP:
> dns
Usage: dns config auto [<interface(s) sperated by ',' with NO SPACE.  eg. ppp0 OR for multiple interfaces ppp0,ppp1>]

Usage: dns config static [<primary DNS> [<secondary DNS>]]
       dns show
       dns --help
>dns show - текущие настройки днс (я уже установил google dns)
PHP:
 > dns show
DNS: static
Primary DNS Server = 8.8.8.8
Secondary DNS Server = 8.8.4.4
А теперь установим Яндекс.DNS
PHP:
> dns config static 77.88.8.8 77.88.8.1
> dns show
DNS: static
Primary DNS Server = 77.88.8.8
Secondary DNS Server = 77.88.8.1
Так просто можно менять DNS не ковыряясь в настройках роутера.
 
Версия прошивки
PHP:
 > swversion
7.240a4N_RTC
Вот тут показана версия busybox
Код:
 > ping
BusyBox v1.17.2 (2013-09-18 18:56:34 CST) multi-call binary.

Usage: ping [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

Options:
        -4, -6          Force IP or IPv6 name resolution
        -c CNT          Send only CNT pings
        -s SIZE         Send SIZE data bytes in packets (default:56)
        -I IFACE/IP     Use interface or IP address as source
        -W SEC          Seconds to wait for the first response (default:10)
                        (after all -c CNT packets are sent)
        -w SEC          Seconds until ping exits (default:infinite)
                        (can exit earlier with -c CNT)
        -q              Quiet, only displays output at start
                        and when finished
 
Назад
Сверху Снизу