PDA

View Full Version : Frustrated: Was working...FTPd and remote


ksv666
06-04-2006, 01:12 AM
OK, I'm not a novice, I swear, although this problem will probably sound like I am one.

I have a 160GB drive that I upgraded a while ago. I applied all the standard hacks (FTPd, web project, etc.). I even made a copy of the drive (dd). I created and modified the .author file (on both partitions) and I just want to re-back it up. So, I tried to log in remotely, and I just get my standard prompt with no path. I mean I get squat. I can't even do an ls.

So, I pop the drive out and hook it up to my tower. I run Jenkins boot CD and I see the drive. I try to mount it and it says "success" and then says: "mount: you must specify the filesystem type."

I can't seem to get my arms around this one. I have never had this problem before. The main issue is now I need to change my IP address (new router) and I can't even mount the drive, much less change a file.

Any advice?

-Kirk

arctanstevo
06-04-2006, 02:29 AM
Could you telnet, but not ls? Did you put your hacks on \var? Var could have been "rebuilt" and you lost your hack directory. If this is the case, there are a number of threads that discuss better places to put your hack directory.

You can http_get ftp back on, launch it and rebuild from there.

Off the top of my head, I have no clue on the connect to your PC problem. If you include the mount command you are using, maybe that woudl help.

ksv666
06-04-2006, 12:19 PM
I think you're correct. I used the standard locations for the hack files (like /var/hack I think). I can't even tell what directories I have at this point as I can't view the directories. I can get into the box and I get a "KSV TiVo: {/var} #" prompt. I tried to cd to hack and it says it does not exist. I have included my variables at the bottom of my post. Hope that helps a bit. Can you point me to a thread that locates the hack folder in a better location? It's just that I can't even modify what I have. Very frustrating!

I had all of this working a couple of weeks ago. I now can't even hit the TiVo with my web page...it just times out. FTP is refusing my connection. Any suggestions as to what username/password to use?

The mount command I used was as follows:

- I booted off of CD using jenkins.iso.
- Looged in as root
- Created /mnt4 (mkdir /mnt4)
- mount /dev/hde4 /mnt4 (hde is the drive)
- It says successful, but then has the comment "mount: you must specify the filesystem type" and does not recognize the dev.

I've done this a bunch of times (taking the drive out and updating it), but not in the past six months or so. I want to modify the .author file so I can change the static IP address I gave it. I think I will let it DHCP this time so I don't have this problem in the future.

I even have the backup drive that I can "test" modifying on, but the same problem is happening with it. I must be doing something obviously wrong, I just can't figure out what it is.

Thanks!

-Kirk

My set variables:
KSV TiVo: {/var} # set
BASH=/bin/bash
BASH_VERSINFO=([0]="2" [1]="02" [2]="0" [3]="1" [4]="release" [5]="i686-pc-linux-gnu")
BASH_VERSION='2.02.0(1)-release'
DEBUG_BOARD=false
DIRSTACK=()
DYNAMIC_NET_DEV=eth0
EUID=0
GROUPS=()
HDA_ID=Y426B7NE
HDB_ID=Unknown
HISTFILE=//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/
HOSTNAME='(none)'
HOSTTYPE=i686
IFS='
'
IrdSerialNumber=532120E3
MACHTYPE=i686-pc-linux-gnu
MAILCHECK=60
MFS_DEVICE=/dev/hda10
OLDPWD=/var/tmp
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/bin:/sbin:/tvbin:/devbin:/var/hack:/var/hack/bin:/var/hack/scripts
PIPESTATUS=([0]="127")
PPID=106
PROMVERSION='

'iVoProm Monitor version 1.84b
PS1='KSV TiVo: {\w} # '
PS2='> '
PS4='+ '
PWD=/var
SHELL=/bin/sh
SHELLOPTS=braceexpand:hashall:histexpand:monitor:history:int eractive-comments:emacs
SHLVL=3
SerialNumber=0020000202120E3
TERM=linux
TIVO_REMOTE=TIVO
TIVO_ROOT=
TIVO_SVR_ADDR=192.168.50.1:80
TV_STD=NTSC
UID=0
_=./http_get
root=/dev/hda4
varpartition=/dev/hda9
KSV TiVo: {/var} # cd hack
bash: cd: hack: No such file or directory
KSV TiVo: {/var} # cd /var/hack
bash: cd: /var/hack: No such file or directory
KSV TiVo: {/var} #