Merge pull request #72 from MartijnBraam/feature/70-change-default-ip-and-subnet-for-telnetd

Changed telnetd ip in boot process to 172.16.42.1/24, see issue #70
Close #70.
This commit is contained in:
Oliver Smith 2017-06-09 15:38:21 +00:00 committed by GitHub
commit 69b558e45c
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
IP=192.168.2.15
IP=172.16.42.1
TELNET_PORT=24
telnetd -b "${IP}:${TELNET_PORT}" -l /bin/sh

View File

@ -1,5 +1,5 @@
#!/bin/sh
IP=192.168.2.15
IP=172.16.42.1
TELNET_PORT=23
usb_setup_android() {
@ -23,8 +23,8 @@ dhcpcd_start()
# create /etc/udhcpd.conf
{
echo "start 192.168.2.20"
echo "end 192.168.2.90"
echo "start 172.16.42.2"
echo "end 172.16.42.254"
echo "lease_file /var/udhcpd.leases"
echo "interface $INTERFACE"
echo "option subnet 255.255.255.0"