View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue May 31, 2005 12:09 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
I am attempting to use the Hauppauge Media MVP as a front-end for knoppmyth R4V5. The problem I am currently facing is that there is no file named /usr/sbin/in.tftpd on my system. In the wiki notes on the install there is a comment that "tftp-hpa is included in R5Ax". I am drawn to the inevitable conclusion that I need to install tftp-hpa on my R4V5 system. Can anyone point me to directions on how to do this? Thank you.

marc


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 6:55 pm 
Offline
Joined: Tue Feb 08, 2005 5:18 pm
Posts: 70
you can try the following as root:

Code:
apt-get update
apt-get install tftpd-hpa


But since R4V5 is kind of old compared to the current debian sid I'm not sure how it will go. You can run apt-get with the --simulate option to see what all it wants to install.

Code:
apt-get --simulate install tftpd-hpa


BTW, it looks like tftpd-hpa is the server package and tftp-hpa is the client. My mythtv box (backend and frontend) only has the server package.

Code:
apt-cache search tftp


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 31, 2005 9:52 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Crabby, thank you for the reply. Actually, before I saw your response I downloaded the R5A16 image and installed it on a different machine and used that to get the tftpd-hpa process. I am now hitting a new problem. In /var/log/syslog I see the following:

Quote:
May 31 20:43:31 mythtvR5 dhcpd: DHCPDISCOVER from 00:0d:fe:00:78:c6 via eth0
May 31 20:43:31 mythtvR5 dhcpd: DHCPOFFER on 192.168.0.250 to 00:0d:fe:00:78:c6 via eth0
May 31 20:43:31 mythtvR5 in.tftpd[4137]: connect from 192.168.0.250 (192.168.0.250)
May 31 20:43:31 mythtvR5 in.tftpd[4137]: cannot bind to local socket: Address already in use
May 31 20:43:31 mythtvR5 inetd[4126]: /usr/sbin/tcpd: exit status 0x47
May 31 20:43:31 mythtvR5 in.tftpd[4138]: connect from 192.168.0.250 (192.168.0.250)
May 31 20:43:31 mythtvR5 in.tftpd[4138]: cannot bind to local socket: Address already in use
May 31 20:43:31 mythtvR5 inetd[4126]: /usr/sbin/tcpd: exit status 0x47

<<3 line sequence repeates many times>>

May 31 20:43:32 mythtvR5 inetd[4126]: tftp/udp server failing (looping), service terminated


I've tried searching around and playing with various settings, but no luck. Does anyone have any ideas? Some more info:

/etc/inetd.conf contains the following:

Quote:

tftp dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.tftpd -l -vv -p -u root -s /tftpboot


Also, /etc/default/tftpd-hpa contains

Quote:
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -vv -p -u root -s /tftpboot"


Any help anyone can provide would be greatly appreciated


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 3:08 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Marc: check the messages in this thread:

http://www.shspvr.com/smf/index.php?topic=8027.0

Note that he had me change the tftp line in inetd to have different options than what is listed in the wiki.

I'm not sure, but the "address already in use" line in your syslog makes it sound like your DHCP settings are trying to give out an IP number that you've already assigned to something else. How does your dhcpd.conf look?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 5:58 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
ceenvee703, thank you for replying. I actually had found that thread, and I thought I had replicated what was there in my inetd file, including the change from "nobody" to "root'. Can you post exactly what you have in your inetd file for reference?

Also, just to be sure, this is a single line in a rather long inetd config file -- is that what you have?

As I re-read the thread, I'm wondering if I was supposed to use the following:

Quote:
tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s /tftpboot


I cannot access my dhcp config file right now, but I will post that later. It is probably worth noting that I did the following:

1. Booted all devices except MEdiaMVP with router DHCP server running, linux DHCP server stopped.

2. Stoped router DHCP server.

3. Started linux DHCP server.

4. Powered up the MediaMVP

Both DHCP servers are configured to use 192.168.0.x. Router uses addresses 3 -> 50; Linux DHCP server uses addresses 230->250, with mediaMVP hard coded to 192.168.0.250.

I will post the DHCP config file when I can gain access to my myth system agin...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 9:02 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Marc: my /etc/inetd.conf has this line for tftp:

Code:
tftp            dgram   udp     wait    root  /usr/sbin/tcpd    /usr/sbin/in.tftpd -s /tftpboot


And yes, it's as a single line.

No idea why this would matter, but try assigning the MVP the first IP number in the range that the DHCP server is serving, rather than the last.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 10:33 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
Thank you -- it works now!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu