Changed telnetd ip in boot process to 172.16.42.1/24, see issue #70

This commit is contained in:
Martijn Braam 2017-06-09 12:28:57 +02:00
parent 95312904f6
commit 26ee9f1ff8
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

Binary file not shown.