Products > Test Equipment
Hantek HDG2002B AWG: 5Mhz or 100MHz? Let's see!
alex.forencich:
--- Quote from: andrija on November 06, 2014, 06:00:18 pm ---I can confirm telnet over LAN works fine once you add the necessary parts and configure the (static) IP address. So you don't have to get a FTDI if you don't have already and can "upgrade" to 100MHz by editing the file via LAN. Just enter "root" as username (there's no password).
--- End quote ---
Really, you can telnet in as root without a password? That's a bit dangerous.
andrija:
I don't think it's dangerous, this is just an instrument, not a PC or a router or a NAS. Besides password would have to be known anyway in order for the service to be of any use. Technically, they should disable the service out of the box and force you to open it and use UART to start telnet or sshd. But let's not forget they don't actually give you LAN anyway, you have to buy and solder a bunch of stuff onto board so it's hardly a real issue. So running service is really a non-issue, I don't think even legally speaking they would be liable.
Cyber7:
Telnet wasn't enabled on my 1.00.2 unit; the daemon command was remarked in boot.sh, so a pure LAN upgrade will not work on newer units by default.
Yes, there is no password for root. If you pass on the shell as a parameter you can even avoid the login prompt completely, just like the serial TTY interface. :scared:
andrija:
Ah so they did the right thing in the next version. I got mine a week ago so there is really no way to know what you'll get. boot.sh is where they specify start up daemons? There is no /etc/init.d/* structure? I guess it really is bare bones linux.
Cyber7:
There's just a single init.d/rcS script that in turns calls boot.sh
It's stripped down for embedded use; for example, only ubifs and fat is baked into the kernel.
--- Code: ---#!/bin/sh
#This is the first script called by init process
mount -a
mkdir /dev/pts
mount -t devpts devpts /dev/pts
mdev -s
echo /sbin/mdev > /proc/sys/kernel/hotplug
source /etc/profile
mount -t ubifs ubi1:config /config
/dso/etc/boot.sh &
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version