PDA

View Full Version : how to edit rc.remote-login?


twistie
08-02-2002, 07:11 PM
:rolleyes: i have found all ( i think ) of the commands i need to change to a static ip address so that i can finally use tivoweb , i am at 2.5 s/w , i did the upgrade , i have found my way slowly aorund the new structure of Kraven's upgrade.
alas i am famous for the most stupid questions ever asked on this fine site , and now , i gotta ask another one
HOW ,, do i use joe to edit the precious rc.remote-login ? i've searched ,,i swear i have , i've read , and i've learned lot
but i can't find the basic commands at the bash to get this done
please?
i am on a home network which prefers the " 192.168.244.1ect family of addys
w/ subnet mask of 255.255.0.0
my tivo tells me that it is using ' 127.0.0.1
por favor?

dtype
08-02-2002, 10:12 PM
What is the problem?

First, from a bash prompt, try running joe:
# joe

If get a "command not found" style message, then joe isn't properly installed. Look into that, or search the threads here for "nano" another editor which can be installed.

If joe works, to edit a file, just type `joe filename`. If you're editing rc.sysinit, it would be:
# joe /etc/rc.sysinit
(I think, unless I'm brain skipping and this is under a subdirectory of /etc.)

The same goes for any other file you wish to edit. Alternately, you could just download the file via ftp, edit it, and upload it back via ftp to the same place. Your ftp daemon should allow you to browse the whole filesystem looking for things.

SplitKane
08-03-2002, 10:00 AM
If you have FTP working I would advise you to copy the file to your PC and then edit it using a Unix editor ( I use UltraEdit32) it will give you the option to convert it to a DOS format when you try to open a text file. Don't do it!!

Edit the file and save. UltraEdit32 will create a backup automatically. This has saved me several times.

You then need to delete the file on the Tivo. You can do this from telnet or the serial link BASH prompt. Use the command rm rc.remote-login

Then drag the new edited file back using FTP. Remember to Chmod +x rc.remote-login so that the file will execute.

Just my 0.02$

twistie
08-03-2002, 10:28 AM
thanks kind sir , thats pretymuch what i needed to know , i'm gonna bite my lower lip and see if i can figure it out
in referance to your question "whats the problem" its pretty clear that i need BASIC knowledge! thanks for your efforts at providing me with some !

twistie
08-03-2002, 10:32 AM
oh shite , how do you EXIT joe? its there , its working , what proper commands for getting back to bash?
also , i haven't tried ftp , i geuss i should oughta
thanks for your help

superzap
08-03-2002, 11:39 AM
exit joe with <ctrl-k> <x> to save or <ctrl-c> to cancel without saving. Use <ctrl-k> <h> to toggle the help info.

twistie
08-03-2002, 11:48 AM
THANK YOU!!!! :)

twistie
08-03-2002, 12:09 PM
i tried ftp-ing the tivo from a puter on my network using "FTP Voyager" it says its trying to connect on port 21 , using 127.0.0.1 as an addy but it times out.
is this a good ftp program? it seems to TRY to connect ,, thanks all

dtype
08-03-2002, 12:11 PM
Originally posted by twistie
[Bin referance to your question "whats the problem" its pretty clear that i need BASIC knowledge! thanks for your efforts at providing me with some ! [/B]

Sorry, It wasn't meant to be a knock of any kind. I was just asking for more specifics than "it doesn't work". It is just tough to answer queries where we aren't quite sure where the user is stuck. :)

twistie
08-03-2002, 12:33 PM
no offense taken !! i don't blame you bit , i have made headway with your help , now whats my problem?
now i can't find out just where in hell rc.sysinit can be found! i don't see it anywhere in the /etc directory anyhow

ALSO the location of the remote-login file remains a mystery which may need alteration from what i've been reading.
and absolutely thanks you , i was ribbing ME not YOU!! you been savin me! i don't bite the helping hand:)

ntsql2k
08-03-2002, 01:45 PM
Originally posted by twistie
i tried ftp-ing the tivo from a puter on my network using "FTP Voyager" it says its trying to connect on port 21 , using 127.0.0.1 as an addy but it times out.
is this a good ftp program? it seems to TRY to connect ,, thanks all

FTP voyager is a good FTP program. The problem is the 127.0.0.1 addy is the machine you are running on. You need to connect to the IP addy of the DTivo box.

twistie
08-03-2002, 07:48 PM
thats what tried. the ip n the computer is in the 192.168.244.1** range. do they both have to use the same subnet mast and gateway when you use ftp?

ntsql2k
08-04-2002, 10:05 AM
If they are in the same subnet (ie same subnet mask) then the gateway is irrelevant. Make sure that the subnet mask of both is set to 255.255.255.0 (to simplify things).

Now assume that the Windows computer is IP address: 192.168.244.1 and the Tivo is IP Address 192.168.244.10

FTP Voyager needs to try to connect to IP address 192.168.244.10