View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 241 posts ] 
Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Thu Jun 18, 2009 11:22 am 
Offline
Joined: Sat Apr 21, 2007 6:55 pm
Posts: 306
Location: CA,USA
iscraigh wrote:
If I don't get it working I will give mythbuntu a try and see if I can get it working with that.
Craig


I highly doubt Mythbuntu comes with a script like this, you'd truly be blazing a trail there :-) My impression also is that support on MB is less than LH. Certainly give this script a shot and see how it goes but if you give up then merely switch to KM 5.5; remember that it comes with more apps/plug ins, the same ver of MythTV as R6, a heck of a lot more/better support (due to a large number of users, decent wiki site etc) and best of all, a working/"supported" version of this diskless FE script. It is for these reasons that I am staying away from R6 for a long time.

_________________
Paul O'Flynn


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 1:17 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
I was not trashing Knoppmyth I have been a user and tester for a number of years.

Mythbuntu does come with the slickest way of setting up remote frontends including ones that use different video drivers. In this respect it is superior to knoppmyth and Linhes. I do stress in this one way not over all. For me I am setting up a new system and WAF/KAF is very important, so I may (if I cannot get this working in Linhes) have to weigh the advantage of diskless setup against some of the setup challenges of mythbuntu.
Linhes R6 is easily the fastest myth system, my situation may require a change, but not before a valiant effort to get it working.


Craig


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 19, 2009 6:25 am 
Offline
Joined: Fri Oct 15, 2004 7:39 am
Posts: 57
Location: Easton, PA
I'm very interested in a FE only setup for a diskless machine. A lot of people will be putting diskless frontends on those Nvidia Ion boxes in the near future.

_________________
R6: ASUS M2NPV-VM motherboard|4 gig or RAM| AMD 3800+ dual core processor|1 TB HD|Nvidia 8600GT graphics card|HDHomeRun|PVR-1212 |Zotac Ion AU frontend


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 21, 2009 11:26 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
After getting dhcp installed (thanks Jams)
And starting the daemon manually my diskless frontend gets and ip in the range I had set but does not load. I time out on the tftp, I started the tftp daemon and still no luck.
When I rerun the script it does not recognize that an IP has been given out.
The IP is from the backend as I disabled my routers dhcp server and the ip is from a range I assigned to the backend.

Any suggestions on what to check next.

THanks

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 12:02 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
I noticed in the script that the command
/sbin/sv restart dhcpd and the same command with tftpd are used

When I run these commands I get


Code:
[root@hdbe /]# /sbin/sv restart dhcpd
fail: dhcpd: unable to change to service directory: file does not exist
[root@hdbe /]# sv restart tftpd
fail: tftpd: unable to change to service directory: file does not exist
[root@hdbe /]#


Could this be part of my issue?

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 12:08 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
When I check out the dhcp leases file I get

Code:
[root@hdbe /]# tail /var/state/dhcp/dhcpd.leases
lease 192.168.0.50 {
  starts 1 2009/06/22 04:44:19;
  ends 1 2009/06/22 04:54:19;
  tstp 1 2009/06/22 04:54:19;
  cltt 1 2009/06/22 04:44:19;
  binding state free;
  hardware ethernet 00:19:d1:df:91:02;
}
server-duid "\000\001\000\001\021\321\307\304\000\023\324|\310\375";


Code:
[root@hdbe /]# tail /var/state/dhcp/dhcpd.leases
lease 192.168.0.50 {
  starts 1 2009/06/22 04:44:19;
  ends 1 2009/06/22 04:54:19;
  tstp 1 2009/06/22 04:54:19;
  cltt 1 2009/06/22 04:44:19;
  binding state free;
  hardware ethernet 00:19:d1:df:91:02;
}
server-duid "\000\001\000\001\021\321\307\304\000\023\324|\310\375";


So the dhcp server part is working. Would this be a better way of determining if the fe was started and got an ip?

Code:
[root@hdbe /]# tail /var/log/daemon.log
Jun 21 22:28:30 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:33 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:36 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:39 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:42 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:45 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:48 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:51 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:54 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.
Jun 21 22:28:57 hdbe dhcpd: DHCPREQUEST for 192.168.0.6 (192.168.0.254) from 00:50:70:a4:ea:1c via eth0: unknown lease 192.168.0.6.


this is not my frontend

Can I make the dhcp server on the be just work for boottp clients and ignore other requests, or is that what it is doing?

Craig


Last edited by iscraigh on Mon Jun 22, 2009 12:12 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 12:09 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I have addressed that issue in a later version that is being incorporated into the LinHES-config package. Yo are missing the add_service.sh calls for dhcpd and tftpd.

http://linhes.org/cgit/cgit.cgi/LinHES- ... ntend.bash

You will also want the tftpd and dhcpd run scripts from the latest updated to the runit-scripts package.

I think jams has other ideas for how diskless should work, but it would be good for us to get the old version going on R6 before changing things too much. jams plan i believe will cater better for the case where the FE has different hardware than the BE.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 12:36 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
okay to recap

We need to install
dhcp
tftpd

then run the add-services script on both

Started them both up
and it boots it starts to tftp then gives me an error about /dev/nfs not existing
unable to create
sv start nfsd

Time for bed but If any one has any suggestions I will try tomorrow.
I feel we are close.

Thanks

Craig

PS: Different hardware is an issue I will be dealing with but baby steps.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 22, 2009 1:08 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I got as far as getting the diskless fe to boot, but I also had to recompile the kernel.

Have you got the runit-scripts changes?

You should have these files if you do:
Code:
/etc/sv/dhcpd/run
/etc/sv/tftpd/run

and you should be able to start the service using
Code:
sv restart dhcpd
sv restart tftpd


cesman may have produced the new kernel package by now, but if not, you can get the PKGBUILD from:
http://linhes.org/cgit/cgit.cgi/LinHES- ... g/kernel26


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 28, 2009 5:02 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I now have a diskless frontend working on R6. The necessary changes have been made to the kernel in the repo, so a pacman -Syu should get that installed for you.

I have also added a package called diskless-legacy which if you install it with:
Code:
pacman -S diskless-legacy
it should also install the dependencies and then you should be able to run config_diskless_frontend.bash.


Top
 Profile  
 
 Post subject: thanks!!
PostPosted: Sun Jun 28, 2009 8:39 am 
Offline
Joined: Sat Apr 21, 2007 6:55 pm
Posts: 306
Location: CA,USA
Greg: Wow, awesome! This is great stuff.

Craig: I have reverted to R5 - you could you try this out so we can update the flyspray incident as appropriate? Right now it is awaiting my feedback and I certainly don't want to be the one holding up progress on this.

_________________
Paul O'Flynn


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 28, 2009 9:54 am 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
I had to reload my backend the other day, I will try this in the next couple of days and report back.

Greg

Can I leave my routers dhcp server enabled?
Is different hardware still an issue?


Craig


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 28, 2009 3:15 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Because the FE now has its own /usr, you can install/remove other packages as needed without effecting the backend, so it is easier to make it work with different hardware.

My diskless fe needs to use older nvidia drivers than my be, so after I had booted the diskless fe, I had to ssh in and:
Code:
pacman -Rb nvidia nvidia-utils
cd /data/var/pacman/pache/pkg
pacman -U nvidia-96*
I then rebooted and the FE came up and booted into the frontend where I could watch a recording. That is the extent of my testing so far.
Craig: I dont know about how this interacts with a router's dhcp. I have never had any issues with that on my network.

Oh: Now it is has a copy of /usr it needs a bit more disk space. I would recommend a 10 gig root partition so you can place it there. I know others prefer to use the /myth partition, but I am always concerned that a runaway log file might cause all my recordings to auto-expire. That cant happen when using the root partition.


Last edited by Greg Frost on Mon Jun 29, 2009 4:23 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 28, 2009 11:48 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
perfect I will try it in the next couple of days

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 29, 2009 8:47 am 
Offline
Joined: Sat Apr 21, 2007 6:55 pm
Posts: 306
Location: CA,USA
iscraigh wrote:
Can I leave my routers dhcp server enabled?
Craig


I notice on my newly purchased router which I flashed with DDWRT there is an option on the DHCP server to direct PXE boot requests to a particular server etc. This would negate the reason for have DHCPd runnning on the BE. Dont know if you have DDWRT or OpenWRT etc. I wonder do "normal" routers have this option anyway? I highly doubt it...

As for me, I currently have the DHCP server running in my router & it doesn't interfere with the PXE boots for some reason but that is just luck I suspect..

_________________
Paul O'Flynn


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 241 posts ] 
Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 22 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