access to debug.cfg in 7050 04.26 EN

skizzo3000

Neuer User
Mitglied seit
14 Jul 2006
Beiträge
53
Punkte für Reaktionen
0
Punkte
6
HI,
i tried to copy debug.cfg in /var/tmp with this command:

cat /var/flash/debug.cfg > /var/tmp/mydebug.cfg

but mydebug.cfg is empty because this command gets an error:

Code:
BusyBox v1.2.1 (2006.08.06-16:28+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
/ # cd var/flash
/var/flash # cat /var/flash/debug.cfg > /var/tmp/mydebug.cfg
cat: /var/flash/debug.cfg: No such file or directory
/var/flash # ls
ar7.cfg        fx_cg          fx_moh         telefon_misc   wlan.cfg
calllog        fx_conf        multid.leases  tr069.cfg
debug.cfg      fx_def         net.update     voip.cfg
ds_mod         fx_lcr         stat.cfg       vpn.cfg
/var/flash #

why ?????

for files *.cfg is the same !

Thanks Sk3
 
Because the files don't exist. Even if they are listed.

Greets, Oliver
 
Just write one and stream it to debug.cfg:
Code:
cat /var/tmp/mydebug.cfg > /var/flash/debug.cfg
After that your lines of code will work and you can stream it out again later if you wish to add some code (don't forget to write it back after the changes):
Code:
cat /var/flash/debug.cfg > /var/tmp/mydebug.cfg
 
Kostenlos!

Statistik des Forums

Themen
247,943
Beiträge
2,277,436
Mitglieder
377,032
Neuestes Mitglied
haribo12