View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 30 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 21, 2005 1:50 pm 
Offline
Joined: Mon Mar 21, 2005 1:43 pm
Posts: 388
Location: Nanaimo BC
I would be nice to have a diskless front end that if a config file was in the root
of the cd with the hostname/ipaddress info maybe an output device info section. The Cd would boot into the front end using this info to connect to the backend. this file could be added by simply burning the ISO as multisession and then adding this config file. The main ISO would need to be altered to look for this file on bootup and act accordingly. It would work much like MYdsl's work on damn small linux.

Just a thought.

Craig


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 10:06 pm 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
I think that is a great idea.

Along those lines, what if you set your PC up to boot from the network? Then you wouldn't even need an optical drive. Does anyone know how to set this up? I have an option in my bios, but I have no idea how to configure the server side.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 10:33 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
booting from the network is already implemented in the R5 alphas.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 24, 2005 10:34 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
With R5, one can already boot via the network. This allows for diskless frontends or installation over the network. Insert the CD in the drive then as root:
Code:
prep-ts

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 9:33 am 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
Sweet!

Just to make sure I got your instructions right, I am supposed to put the CD in the drive on the backend and type that command on the backend, right?

You guys rock!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 9:58 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
that is correct Red5.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 10:26 am 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
Thanks again.

I found a tutorial (http://www.babytux.org/articles/howto/how2netknoppix.php) that includes some info on moving the files from CD to the hard drive on the server, so that you don't have to have the CD in the drive.

I am going to try both ways in the next week or so. I'll let you know how it goes.

As far as the initial post goes, if you can get the frontend to boot from stuff stored on the hard drive of the backend, I think you should be able to add some config files there to automatically setup your frontend.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 10:47 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the prep-ts command sets up the terminal server and moves the image onto the harddrive, so you don't have to leave the cd in after you have run the utility, you just have to have it in there when you run prep-ts. Now here's the deal it just copies the cdimage to the harddrive, so if you wanted it customized you would have to customize inside the image. it is possible, but more difficult than just editing some files.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 12:58 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Ideas are great! KnoppMyth would not be where it is without ideas. However the core team is compromised of 2 developers ( rdt (Dale) and I). Patiences folks, Rome did not get build in a day.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Sun Mar 27, 2005 9:41 am 
Offline
Joined: Sat Mar 26, 2005 12:25 pm
Posts: 20
Has anyone used the prep-ts script successfully with R5A12?

I just tried it and after modifying the script to mount /dev/cdrom instead of /dev/sr0 it worked. However, the diskless client isn't quite working.

I have a VIA EPIA based machine that I set to net boot. I disabled the dhcpd on the KnoppMyth back end since I alread have a dhcpd on a Debian box on my network. I put the "filename" command in my dhcpd.conf.

The VIA got an IP and TFTP'd something. Then it gave a series of "Trying to load: pxelinux.cfg C0A8016E" where it knocked off the last letter of that hex string on each attempt. Finally it tried "default" and apparently worked.

There was a graphical splash screen saying Knoppix Terminalserver Client and a bunch of typical Linux bootup messages. Finally it got to the message "entering runlevel 5" and displayed a grey X windows style screen.

Then the error occured. It dropped back to a text screen with an error that said:

X-Window session terminated with errors
Please check and retry '/etc/init.d/xsession start'

And it dropped me to a logged in prompt as user knoppix. I don't know what log file to check for errors, but I tried runnint startx and got some messages that included the following error:

/usr/X11R6/bin/startx: line 132: cannot create temp file for here document: Permission denied

and also

X: unable to open wrapper config file /etc/X11/Xwrapper.config

I checked and that file is only readable by root. On the terminal server client, sudo is not suid root and I don't know what root password is set, so I can't su.

I could be wrong since I'm not an expert in this stuff, but it seems the file permission is set wrong inside of the root filesystem that the net boot client TFTP'd.

Has this worked for anybody else?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2005 9:17 pm 
Offline
Joined: Sun Jan 16, 2005 8:23 pm
Posts: 94
PaulC,
Will you post a copy of the prep-ts script that you got to work?
I will try it out and let you know if I run into any problems.

cesman,
I am definitely not trying to say you guys haven't done enough. Actually, I am stoked that you had already thought of the network boot idea and started implementing it! Thanks for the great work. There is no way I would have a functional MythTV setup if it weren't for KnoppMyth.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 28, 2005 9:33 am 
Offline
Joined: Sat Mar 26, 2005 12:25 pm
Posts: 20
aha, I found the problem. When you run the script initially it asks you some configuration questions. One of the questions is whether you want the terminal server to be secure. You must uncheck that option. I'm not sure what the implications of that are, but both machines are on my home LAN behind a firewall so hopefully it's ok.

The front end booted and asked me some setup questions. Right now I'm stuck on it not being able to connect to the database, but at least the net boot portion seems to be working fine.

I'll have to search the documenation to see if there's a security setting for MySQL on the backend. I entered the correct backend IP into the front end and I've got it set to the defaults of mythtv/mythtv and mythconverg as the database. There must be something blocking the connection.


Top
 Profile  
 
PostPosted: Tue Mar 29, 2005 6:29 am 
Offline
Joined: Sat Mar 26, 2005 12:25 pm
Posts: 20
Ok, the database connection problem was simple enough. It was just turned off. I had looked in /etc/mysql/my.cnf and verified that the port was set (3306), but I missed the part further on down in an apparently unrelated part of the config file where there was a command "skip-networking" which disables remote access to the database.

Once I commented that out and restarted the database I was able to connect.

Unfortunately the front end still isn't really usable. I haven't even gotten to the point of trying to play video, just the UI is unusable. It takes 5-10 minutes just to get the main Myth screen up and 5-10 seconds for a down arrow to move the selection highlight. Also, the Myth GUI keeps crashing, though the command line is still perfectly usable on other virtual consoles.

Now, this EPIA box is no powerhouse, but it runs Win2K snappily and has no problem handling lots of tabs in Firefox (a memory hog) and it can play divx video under Win2K (barely, but it can do it.) So either there's a whole bunch of errors going on or else MythTV is a much bigger resource pig than Win2K.

Anybody know where I should look for log files? I can't imagine what MythTV could be doing to make it so slow unless it's just spitting out a huge number of errors as it retries something over and over again.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 8:33 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
my guess about what is making it slow is I believe you will find it is using the vesa video driver which would slow things down alot.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 5:37 pm 
Offline
Joined: Sat Mar 26, 2005 12:25 pm
Posts: 20
You guess correctly, it's using VESA. I think I understated the incredible slowness of it, though. From a command prompt in a virtual console it takes literally minutes to execute a command like "cat /proc/fb" or "ps aux"


I'll search the forum to see about enabling the VIA's built in MPEG hardware, but I'm not even talking about playing video, I'm talking about the MythTV menu. This is a box that is snappy and responsive in Win2K but it's so bogged down by MythTV displaying a simply static menu.

I think there must be some sort of bug involved. I do note that it is mounting the NFS server (i.e. the Myth back end) read only. That explains why there's no /var/log/messages and nothing in the /var/log/mythtv and /var/log/mysql logs. I'm not sure where the NFS is getting mounted though, since there's nothing about it in /etc/fstab.

Incidentally, what's the "normal" way of restarting MythTV when it crashes? Both this VIA front end and my MythTV backend both seem to fall over at the drop of a hat. The backend GUI locked up (i.e. wouldn't respond to the Hauppage remote control) just from sitting unused for a couple hours. It also crashes to an X desktop in response to certain button presses on the remote.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 30 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 20 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