DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-04-13 19:59:28

cainpusa
New member
Registered: 2010-04-06
Posts: 3

edit crontab

Hi,
   I'm not an experience linux user. I just installed the latest  ffp v 0.07. The installation went well. Ialready enabled ssh and disabled telnet. I can login to the ssh and do some stuff.  My problem is editing the cron using crontab -e. Pressing  ESC-i  (insert mode) does nothing, instead it outputs  ^[ on the screen. I can't even go into command mode on the editor. If somebody can point to the the right direction, i'll be glad to. Thanks

btw, I have a dns-323 with firmware 1.10 /oabi funplug v0.07

Last edited by cainpusa (2012-04-13 20:05:11)

Offline

 

#2 2012-04-13 23:30:08

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: edit crontab

If you just want to test it you can export it to disk with
crontab -l > somefile-i-can-access-from-windows.txt
make it writable
cmod 777 somefile-i-can-access-from-windows.txt
Then edit it with at unix friendly editor like notepad++ and later
import it using
crontab  somefile-i-can-access-from-windows.txt


But this will not survive boot you need to do something like in this thread below.

http://dns323.kood.org/forum/viewtopic.php?id=5972


If you still wannt to stick to crontab -e you may wannt to install the ffp package joe (joe's own editor, I just love the name). And set the envirnoment variable VISUAL and EDITOR to point to joe. joe is way simpler than vi and its siblings.

Last edited by bjby (2012-04-13 23:46:43)

Offline

 

#3 2012-04-14 04:26:55

cainpusa
New member
Registered: 2010-04-06
Posts: 3

Re: edit crontab

thanks, i'll do the above for the meantime while trying to find a fix. Btw, what config file do i need to modify to change the default visual and editor? Tried googling and it says need to modify a certain file at ~./bashrc and i can't find bashrc directory on ffp...Thanks again.

Offline

 

#4 2012-04-14 15:00:57

bjby
Member
Registered: 2009-02-22
Posts: 265

Re: edit crontab

it is ~/.bashrc not ~./bashrc

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB