Hi,
I would be grateful if someone could explain if it is possible to demonstrate a test for ttys0 and ttys1 on a wrt54gsv4 with openwrt-wrt54gs_v4-squashfs.bin installed.
I have read the wiki on that router in openwrt, and understand the modifications required to add a line driver chip, which I have done.
My problem seems to be that there is no command built into the "Busybox" that installed to configure/start the serial ports
BusyBox v1.00 (2007.01.30-11:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
root@OpenWrt:~# opkg update
-ash: opkg: not found
root@OpenWrt:~# busybox
BusyBox v1.00 (2007.01.30-11:42+0000) multi-call binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use, and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, arping, ash, awk, basename, bunzip2, busybox, bzcat, cat, chgrp,
chmod, chown, chroot, clear, cp, crond, crontab, cut, date, dd,
df, dirname, dmesg, du, echo, egrep, env, expr, false, fgrep,
find, free, grep, gunzip, gzip, head, hexdump, hostid, httpd,
id, ifconfig, init, insmod, kill, killall, killall5, klogd, length,
ln, lock, logger, logread, ls, lsmod, md5sum, mesg, mkdir, mkfifo,
mknod, mktemp, more, mount, mv, nc, netmsg, netstat, nslookup,
passwd, pidof, ping, ping6, pivot_root, printf, ps, pwd, rdate,
reboot, reset, rm, rmdir, rmmod, route, sed, seq, sh, sleep, sort,
strings, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd,
test, time, top, touch, tr, traceroute, true, udhcpc, umount,
uname, uniq, uptime, vconfig, vi, watchdog, wc, wget, which, xargs,
yes, zcat
I am able to WinSCP into the router and see all the directories/files.
Can I install the files to "set serial" with that instead of opkg, which was "not found"
As you can probably gather, I am new to this, but any help will be much appreciated.
Thanks in advance
David
ps
login as: root
root@192.168.1.1's password:
BusyBox v1.00 (2007.01.30-11:42+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
WHITE RUSSIAN (0.9) -------------------------------
* 2 oz Vodka Mix the Vodka and Kahlua together
* 1 oz Kahlua over ice, then float the cream or
* 1/2oz cream milk on the top.
---------------------------------------------------
root@OpenWrt:~# ipkg install http://downloads.openwrt.org/backfire/1 … cm-2.4.ipk
Downloading http://downloads.openwrt.org/backfire/1 … cm-2.4.ipk
wget: downloads.openwrt.org: Unknown host
Nothing to be done
An error ocurred, return value: 4.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget --passive-ftp -q -P /tmp/ipkg-0uIYhp http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/packages/setserial_2.17-1_brcm-2.4.ipk'
Cannot find package http://downloads.openwrt.org/backfire/1 … m-2.4.ipk.
Check the spelling or perhaps run 'ipkg update'
root@OpenWrt:~#
(Last edited by dh1948 on 10 Jun 2013, 10:53)