/etc/network/interfaces
  • DHCP
    auto lo
    iface lo inet loopback
    allow-hotplug eth0
    iface eth0 inet dhcp
  • auto lo
    iface lo inet loopback
    iface eth0 inet static
     address   192.168.1.7
     network   192.168.1.0
     netmask   255.255.255.0
     broadcast 192.168.1.255
     gateway   192.168.1.1
     dns-nameservers 192.168.1.1

  1. apt-get install telnetd
  2. telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd
  3. in.telnetd: 127.0.0.1 192.168.1.0/24
  4. /etc/init.d/openbsd-inetd restart


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: Tue, 12 Oct 2021 01:03:46 JST (920d)