PDA

View Full Version : Failed. Service unavailable



MelissaH
19-04-2009, 04:27 PM
Hi there,
I have not been able to make a daily call for a few days as i get 'Failed. Service unavailable' as a result.

I have attached the tclient log and also ran through the networking tests which were fine until i tried wget http://65.49.60.197/index.html

wget http://65.49.60.197/index.html
--17:11:59-- http://65.49.60.197/index.html
=> `index.html.14'
Connecting to 65.49.60.197:80... failed: Connection timed out.
Retrying.

I have previously had proxy issues, so i'm not sure what is going on!

Any help would be appreciated..
Thanks,
Melissa.

petestrash
20-04-2009, 07:02 PM
Try this command and post your results:

wget http://65.49.60.197:9090/index.html

Peter

MelissaH
20-04-2009, 10:00 PM
[TiVo [p0] ~]# wget http://65.49.60.197:9090/index.html
--22:57:30-- http://65.49.60.197:9090/index.html
=> `index.html.14'
Connecting to 65.49.60.197:9090... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.oztivo.net/twiki/bin/view [following]
--22:57:31-- http://www.oztivo.net/twiki/bin/view
=> `view'
Resolving www.oztivo.net... failed: Host not found.

Thanks Peter

petestrash
20-04-2009, 11:02 PM
It looks like your ISP is blocking you differently.

Please edit the /etc/oztivo.conf file.

You will need to telnet into your TiVo and do the following:
run the command "rw" to make the disk writable;
use an editor (e.g the joe editor) and edit /etc/oztivo.conf
Change emulatorport=80 to emulatorport=9090
run the command "ro" to make the disk read-only;
reboot the box. and try a daily call.If this works, it should stop the issue re-occurring in the future.

Peter.

MelissaH
21-04-2009, 07:02 AM
I made the changes, but now i can't connect to the tivo via telnet or anything. I use wireless to connect to the tivo.

petestrash
21-04-2009, 12:18 PM
There is nothing in the above changes that would stop telnet access, all you have changed is what port is used to contact the emulator.

I assume you have rebooted?

Did you edit the file using the TiVo as suggested, and which program did you use?

Peter.

MelissaH
21-04-2009, 12:50 PM
I admit i was in a hurry and edited it using Word.... :o

petestrash
21-04-2009, 01:01 PM
Ok, that is what has killed it...

Can you connect via serial cable?

Peter.

MelissaH
21-04-2009, 01:12 PM
I will give it a go tonight..... thanks Peter

I really shouldn't do these things on no sleep and no coffee :o

MelissaH
21-04-2009, 09:13 PM
Hi Peter,
I was able to connect via serial cable and get a bash prompt in hyperterm but i have zero idea on what to do from there - sorry for the bother but I would greatly appreciate some detailed instructions..

Many thanks,
Melissa.

petestrash
21-04-2009, 11:52 PM
First we will try just cleaning the file you edited.

You will need to telnet into your TiVo and do the following:
run the command "rw" to make the disk writeable;
enter the command dos2unix /etc/oztivo.conf
run the command "ro" to make the disk read-only;
reboot the box. and see if it is working again.Did you move any other files between Word and your TiVo?

If you still have issues attach the /etc/oztivo.conf file here for me to look at.

Peter.

MelissaH
23-04-2009, 07:30 PM
Thanks Peter,
I tried that and still can't connect, this is what i got when i followed your instructions:

[TiVo [S3] ~]# dos2unix /etc/oztivo.confdos2unix /etc/oztivo.conf
dos2unix: converting file /etc/oztivo.conf to UNIX format ...
dos2unix: problems renaming './u2dtmpa00494' to '/etc/oztivo.conf'
output file remains in './u2dtmpa00494'
dos2unix: problems converting file /etc/oztivo.conf

I didn't change or move anything else.

petestrash
23-04-2009, 11:24 PM
Did you run the rw first command?

Please post your oztivo.conf file here.

Peter.

MelissaH
24-04-2009, 04:33 PM
Yes i ran RW first. I'm sorry but you'll have to tell me how to access the file...

M.

petestrash
24-04-2009, 05:57 PM
Just to confirm RW will not work. It must be lower case rw.

It that is not the issue, how did you originally grab it so you could edit it in word?

Can you not use FTP to move the file to your PC?

Peter.

MelissaH
26-04-2009, 04:09 PM
I tried it again and this is what i got:

[TiVo [S3] ~]# rwrw
File system is now READ/WRITE.
[TiVo [S3] ~]# dos2unix /etc/oztivo.confdos2unix /etc/oztivo.conf
dos2unix: converting file /etc/oztivo.conf to UNIX format ...
dos2unix: problems converting file /etc/oztivo.conf
[TiVo [S3] ~]# rroo
File system is now READ ONLY.
[TiVo [S3] ~]# [TiVo [S3] ~]#

I rebooted and i still can't connect (other than via serial cable and hyperterm).

When i opened the file originally in Word i used ftp://192../etc and got in there from there.

Thanks.

petestrash
26-04-2009, 07:44 PM
Ok, looks like the file has word formatting, not just linefeeds.

I'm very rusty at file transfer via serial and I am not at home to test it, but I think the following command should work.

sz /etc/oztivo.conf

Peter.

MelissaH
26-04-2009, 08:59 PM
This is what i got:
[TiVo [S3] ~]# sz /etc/oztivo.confsz /etc/oztivo.conf

BB0BB00000000
Can't open any requested files.
BB0BB[TiVo [S3] ~]#

A window also popped up saying, "transfer cancelled by remote system'

Skolink
27-04-2009, 06:20 AM
After entering the sz command did you go the appropriate menu in your serial console program and select 'receive file'>'zmodem' ?

conversely if you want to get a file off your TiVo, type rz (enter) then select 'send file' > 'zmodem' from the menu in your terminal program. If it doesn't have any such menus I would suggest using Tera Term Pro 3.1.3 (free).

MelissaH
17-05-2009, 07:17 PM
Hi again,
I tried sz /etc/oztivo.conf again and then used the receive file'>'zmodem menu option and the window popped up and timed out with no result.

I am open to more instructions, other options and also prepared to sell the darn thing or drop out of a window! :confused:

thx
m.

petestrash
18-05-2009, 03:18 AM
Do you have a copy of the original file you edited on your PC, can you attach it here?

Peter.

Skolink
18-05-2009, 06:10 AM
One reason the serial transfers used to fail - the USB to serial adaptor was crap. However your transfer doesn't appear to have even started.
I'll have a look at TeraTerm when I get home - I have a feeling there might be some other terminal setting to change.
I used serial/dialup for a year, but it was so long a ago I've forgotten how I solved such issues.


This is what i got:
[TiVo [S3] ~]# sz /etc/oztivo.confsz /etc/oztivo.conf
Can't open any requested files.

Actually it looks like /etc/oztivo.conf is missing, that is why it can't send it.

type cd /etc then ls -l or just ls to get a list of files in that folder. Is oztivo.conf listed?

MelissaH
18-05-2009, 08:03 PM
Ah guess its not there. I swear i didn't delete it! I am using hyperterminal also. Cheers.

[TiVo [S3] /etc]# llss
DEADJOE nsswitch.conf resolv.conf
boot.expect ntpdate_local_ip services
build-version oztivo_version sysinit.conf
chap-secrets palmod.conf sysinit.conf~
chat-script pap-secrets syslog.conf
dflt_sysinit.conf postcodezones tclient.conf
dhclient-script ppp-options tclient.conf-oztivo
dhclient.conf ppp-options.cua3 tclient.conf.orig
fstab ppp-options.orig tclient.conf~
fstab.hda4 profile tclientUK.conf
fstab.hda7 protocols termcap
hosts psdevtab termcap.orig
inittab rc.d tivoconfig
mtab rc.net.orig update_exclude
[TiVo [S3] /etc]#

petestrash
19-05-2009, 01:40 AM
Try seeing if the file is anywhere on the TiVo.

Run the find command from root.

[TiVo [p0] ~]# find / -iname oztivo.conf

Either way, you can just make a new one.

# OzTiVo menu configuration settings file
# Please do not edit this file
# Run the nic_config_tivo tool to reconfigure
nic=
ip=
mac=
timing=
hostname=
emulator=
emulatorport=
netmask=
gateway=
ssid=
wep=
wepkey=

By just making the above file with your details.

You could also try using nic_config_tivo, but there were some versions that did not work correctly.

Peter.

Skolink
19-05-2009, 05:43 AM
I am using hyperterminal also

Stop using Hyperterminal, it is a piece of crap. Also, have you got local echo turned on (it should be off).

MelissaH
21-05-2009, 01:32 PM
I ran find / -iname oztivo.conf and nothing came back - weird.

Also, i tried it all with tera term and had the same results. I have tried connecting to it using smartftp and can't get it to connect, it says something about the host rejecting it, so i don't know how to put in a new file?

Any suggestions? :confused:

petestrash
21-05-2009, 04:58 PM
Try running nic_config_tivo to see if it will recreate your oztivo.conf file.

Or just manually make a new one as suggested above.

Peter.

MelissaH
21-05-2009, 07:26 PM
ok, i ran nic_config_tivo and can now connect via ftp and via tivowebplus, yay! The file is below and i guess i now need to edit it? Could you please give me strict and easy instructions and i might get it right this time :o

I tried an optimistic daily call and got 'Failed. Service unavailable'

# OzTiVo menu configuration settings file
# Please do not edit this file
# Run the nic_config_tivo tool to reconfigure
nic=TurboNet
ip=192.168.0.10
mac=00:0B:AD:44:60:83
timing=16
hostname=oztivo
emulator=www.oztivo.net
emulatorport=80
netmask=255.255.255.0
gateway=192.168.0.1
ssid=
wep=
wepkey=

petestrash
21-05-2009, 10:56 PM
This method means you don't have to use an editor. Just type in everything in the quote exactly as shown below (there are 6 lines to type, hit 'enter' after each line).

It's probably best to copy and paste these commands into Hyperterminal (or whatever you are using) one line at a time, to make sure there are no mistakes.


cd /etc
rw
cp oztivo.conf oztivo.conf.old
sed 's/80/9090/' oztivo.conf.old > oztivo.conf
ro
rebootPeter.

MelissaH
22-05-2009, 07:59 PM
Ok, did that and still getting 'Failed. Service unavailable'

Here is the updated file

# OzTiVo menu configuration settings file
# Please do not edit this file
# Run the nic_config_tivo tool to reconfigure
nic=TurboNet
ip=192.168.0.10
mac=00:0B:AD:44:60:83
timing=16
hostname=oztivo
emulator=www.oztivo.net
emulatorport=9090
netmask=255.255.255.0
gateway=192.168.0.1
ssid=
wep=
wepkey=

petestrash
23-05-2009, 04:36 PM
Just checking that you rebooted before trying a daily call.

If you did, can you post your tclient log.

Peter.

MelissaH
24-05-2009, 10:30 AM
Yes, sure did.

petestrash
24-05-2009, 03:27 PM
Ok, it looks like you modified some other file in the past to get around the proxy issue.


May 24 00:23:45 (none) comm[146]: confInfo: :127.0.0.1:8000::::

It is still trying to use emuproxy rather then the new information that you put into oztivo.conf

Post your /etc/tclinet.conf & etc/sysinit.conf.

Peter.

MelissaH
25-05-2009, 06:03 PM
This is the original proxy issue i had if that helps. http://forums.oztivo.net/showthread.php?t=1427

Files below.

Many thanks.


sysinit.conf

# This file contains the default parameters which control
# how your tivo boots. DO NOT EDIT THIS FILE! Instead, put
# your changes in /etc/sysinit.conf, which overrides this file.
#
# Parameters controlling rc.sysinit.author
ccxstream_enable="NO" # Start ccxstream
cron_enable="YES" # Start cron
tivoftpd_enable="YES" # Start tivoftpd
tivoweb_enable="YES" # Start TivoWeb or TivoWebPlus:
tivoweb_version="PLUS" # Set to "" for TivoWeb, or "PLUS"
autospace_enable="YES" # Start Autospace
vserver_enable="NO" # Start vserver
endpad_enable="YES" # Start endpad
endpad_configfile="/hack/endpad-1.5.1/endpad.config" # Location of config file
copymod_enable="NO" # Install /lib/modules/copy.o
emuproxy_enable="YES" # Start one of the emuproxy programs:
emuproxy_version="ZA" # Either "2", "3" or "ZA"
report_ip_enable="YES" # Report the IP address at boot time
trickey_enable="YES" # Start trickey
k9tivo_enable="NO" # Start k9tivo ntp client
bufferhack_enable="NO" # Start bufferhack
bufferhack_size="60" # 60 minute bufferhack buffer size

#
# Functions used by the rc.sysinit scripts
# DON'T CHANGE ANYTHING BELOW THIS LINE!
#
# checkyesno var
# Test $1 variable, and warn if not set to YES or NO.
# Return 0 if it's "yes" (et al), nonzero otherwise.
# Borrowed from FreeBSD 6.x.
#
checkyesno()
{
eval _value=\$${1}
#debug "checkyesno: $1 is set to $_value."
case $_value in

# "yes", "true", "on", or "1"
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
return 0
;;

# "no", "false", "off", or "0"
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
return 1
;;
*)
echo "Warning: ${1} is not set properly - see /etc/dflt_sysinit.conf"
return 1
;;
esac
}



tclient.conf

# Copyright (c) 2001 TiVo Inc.
#
# This file contains entries for each of the possible service
# instances supported. The fields are all ":": (colon) separated
# and are as follows with the folling meanings:
#
# label:phone_number:svr_addr:svr_port:ppp_user:ppp_ pass:radius_domain
#
# label This is a 3 character numeric field which must
# unique identify this entry (the /Setup field XXX
# will point to this). Note the value 911 is reserved
# to imply the Addr.itcl *_EMG_* fields. (i.e.
# emergency repair port). Note the value 000 is
# reserved to imply the Addr.itcl *_DEF_* fields
# (i.e. the default port).
# phone_number This is the full phone number to dial, minus any
# prefixes defined by the phone options screen
# svr_addr This is the Ip Address of the service to connect to
# svr_port This is the TCP port number of the service to
# connect to
# ppp_user This is the username to connect to the ppp modem
# ppp_pass This is the password to connect to the ppp modem
# radius_domain This is the radius domain to put after the generated username.
# If ppp_user is set then this will have no effect.

#
# This is the default port, it's values come from Addr.itcl not here
#
000:
# Dennis' Emulator
126::66.23.218.193:80:::
# This is for the server emulator on minnie. Trouble if your ISP blocks HTTP .9
#127::65.49.60.197:80:::

# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
127::127.0.0.1:8000:::
#127::202.63.38.134:8000:::

petestrash
25-05-2009, 07:41 PM
I think the easiest would be to change:


# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
127::127.0.0.1:8000:::

To:


# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
#127::127.0.0.1:8000:::

And add this to the bottom of the file.


# We now use the Maxie server on port 9090
127::65.49.60.197:9090:::


Peter.

MelissaH
25-05-2009, 08:37 PM
Thanks Peter, i'm not sure how to edit the file sorry (my previous attempts using Word were clearly a failure...). I looked at Joe editor but had no idea...any help would be appreciated.:o

petestrash
25-05-2009, 09:26 PM
Take a look at HowToEditFilesUsingJoe (http://www.oztivo.net/twiki/bin/view/Software/HowToEditFilesUsingJoe)

Peter.

MelissaH
25-05-2009, 09:58 PM
Cool, thanks, did that and now it says 'Failed. No dial-in number chosen.'

# Copyright (c) 2001 TiVo Inc.
#
# This file contains entries for each of the possible service
# instances supported. The fields are all ":": (colon) separated
# and are as follows with the folling meanings:
#
# label:phone_number:svr_addr:svr_port:ppp_user:ppp_ pass:radius_domain
#
# label This is a 3 character numeric field which must
# unique identify this entry (the /Setup field XXX
# will point to this). Note the value 911 is reserved
# to imply the Addr.itcl *_EMG_* fields. (i.e.
# emergency repair port). Note the value 000 is
# reserved to imply the Addr.itcl *_DEF_* fields
# (i.e. the default port).
# phone_number This is the full phone number to dial, minus any
# prefixes defined by the phone options screen
# svr_addr This is the Ip Address of the service to connect to
# svr_port This is the TCP port number of the service to
# connect to
# ppp_user This is the username to connect to the ppp modem
# ppp_pass This is the password to connect to the ppp modem
# radius_domain This is the radius domain to put after the generated username.
# If ppp_user is set then this will have no effect.

#
# This is the default port, it's values come from Addr.itcl not here
#
000:
# Dennis' Emulator
126::66.23.218.193:80:::
# This is for the server emulator on minnie. Trouble if your ISP blocks HTTP .9
#127::65.49.60.197:80:::

# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
#127::127.0.0.1:8000:::
#127::202.63.38.134:8000:::
# We now use the Maxie server on port 9090
127::65.49.60.197:9090:::

petestrash
26-05-2009, 12:17 AM
Have you rebooted?

Peter

MelissaH
28-05-2009, 02:01 PM
Yes. I rebooted a few times.

petestrash
28-05-2009, 03:31 PM
Can you post your new tclient.conf file.

Peter.

MelissaH
28-05-2009, 07:57 PM
See below. There are also .conf.orig, .conf~ and .conf-oztivo versions.

# Copyright (c) 2001 TiVo Inc.
#
# This file contains entries for each of the possible service
# instances supported. The fields are all ":": (colon) separated
# and are as follows with the folling meanings:
#
# label:phone_number:svr_addr:svr_port:ppp_user:ppp_ pass:radius_domain
#
# label This is a 3 character numeric field which must
# unique identify this entry (the /Setup field XXX
# will point to this). Note the value 911 is reserved
# to imply the Addr.itcl *_EMG_* fields. (i.e.
# emergency repair port). Note the value 000 is
# reserved to imply the Addr.itcl *_DEF_* fields
# (i.e. the default port).
# phone_number This is the full phone number to dial, minus any
# prefixes defined by the phone options screen
# svr_addr This is the Ip Address of the service to connect to
# svr_port This is the TCP port number of the service to
# connect to
# ppp_user This is the username to connect to the ppp modem
# ppp_pass This is the password to connect to the ppp modem
# radius_domain This is the radius domain to put after the generated username.
# If ppp_user is set then this will have no effect.

#
# This is the default port, it's values come from Addr.itcl not here
#
000:
# Dennis' Emulator
126::66.23.218.193:80:::
# This is for the server emulator on minnie. Trouble if your ISP blocks HTTP .9
#127::65.49.60.197:80:::

# This uses emuProxy2 to avoid problems with transparent proxy. Thanks Tim!
#127::127.0.0.1:8000:::
#127::202.63.38.134:8000:::
# We now use the Maxie server on port 9090
127::65.49.60.197:9090:::

petestrash
28-05-2009, 09:15 PM
Sorry, I meant your new tclient log to see why it is failing now.

Peter.

MelissaH
28-05-2009, 09:23 PM
No worries. It is attached.

petestrash
28-05-2009, 11:01 PM
Looks like your TiVo has defaulted back to dial up.

Run this command to set it back to network:

dbsetx /State/PhoneConfig DialPrefix ',#401'

Then reboot and try another call.

If you still get the number error run this command and let me know the result.

dbget /State/PhoneConfig DialPrefix

Peter.

MelissaH
29-05-2009, 07:07 AM
I still get the Failed. No dial-in number chosen eror

[TiVo [p0] ~]# dbsetx /State/PhoneConfig DialPrefix ',#401'
/State/PhoneConfig DialPrefix val was: ,#401
/State/PhoneConfig DialPrefix set to : ,#401
[TiVo [p0] ~]# reboot
[TiVo [p0] ~]# dbget /State/PhoneConfig DialPrefix
,#401
[TiVo [p0] ~]#

MelissaH
09-06-2009, 08:14 PM
Hi there,
Wondering if there is anything else i can do to fix my tivo? Throwing out of a window is a possibility! If anyone wants to buy it before it goes airborne, please let me know :)

Skolink
10-06-2009, 07:22 AM
If I were you I would just reimage and start afresh, setting everything you need to with the boot disk menus.

petestrash
10-06-2009, 03:32 PM
Sorry, I missed your earlier reply.

I think I would agree with Skolink.

There is only so much I can do in a forum, and at this stage cannot think of what else to try as it is not making much sense.

Download the current installer ISO. When using it select the update command for the installer before completing the setup steps.

Then once the TiVo is imaged run the update_oztivo routine to bring you up to date.

Following these steps should bypass the Proxy your ISP uses without any further input from you, like you have needed in the past.

Peter.

Darren King
10-06-2009, 03:50 PM
Yep, I concur with reimaging. Actually I would have suggested that long ago (I take the easy way out!) but thought the suggestions Peter offered would amount to something. Now that they have not worked (very rare indeed) then a reimage is the way to go.

MelissaH
10-06-2009, 04:21 PM
Just so i have this right....reimaging means removing the tivo hard drive and connecting to to my PC? Haha, have you seen all my stupid questions over the last few years?! This will provide much hilarity :-)

I might have to enlist help from more knowledgeable friends and acquaintances :-)

petestrash
10-06-2009, 05:20 PM
I generally leave re-imaging as a last resort, as some people do not have a PC that can do the task, or are no familiar enough with PC's to open their case.

It also means that you lose all your Thumbs data which makes suggestions so good & forces you to delete or transfer all your archived shows.

But from a support point of view, it is the easiest to start with a fresh system in a known state.

Peter.