About to install KnoppMyth! Wish me luck!

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: drag
Originally posted by: WarDemon666
http://distrowatch.com/table.php?distribution=knoppmyth


Cant wait for it to be done downloading!! :D:D:D

Hope it works out for you.

What hardware are you running?

OLD computer right now, only going to use it for playing dvds and music

AMD K6-2 450
64 megs of ram
12 gigs space
cheap tv out card, goign to test out an old tv tuner see if the computers fast enough, probably next week though..

It wont be fast enough for live tv but might be fast enough only for recording

Thanks for the reply :)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Cool. That should be fast enough for recording, then playback later...

If your using a Nvidia card it may help to install the propriatory drivers and setup the playback to "xv". I beleive it uses Mplayer for the video playing and mplayer is fairly advanced. In i t you have the choice of different styles of drivers/playback modes.

Go:
mplayer -vo help

At the command line and see what your combination of mplayer and video card are capable of playing video with what modes.

Common ones are sdl, x11, gl, gl2, aa, xv, xvidix... x11 is the normal X stuff, gl/gl2 is opengl rendering, and xv seems to be the fastest/least cpu intensive mode out their. So if it seems that it's a little bit to slow for playback play around with mplayer and find the fastest mode.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
oh my goddd,,,

i just installed it, its SOOOOOO slow...
had a few problems installing, but i got it working, hand to create the database manually..

It takes forever to load, and takes forever to switch options (go from tv to listen to music etc )

any ideas? :(
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
UPDATE:

Rebooted, fast as hell now :)

Only problem, getting an error: cannot connect to backend server

im guessing its the mysql server it cant connect to... hmmmmm


UPDATE 2:

Fixed the backend server problem.

Now I cant open my cdrom :( I tried unmounting it, but it says its not mounted, tried mounting, said it couldnt find it in the fstab :(

Ideas?
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
You can try the command:

eject cdrom

or
eject /dev/hd#

were hd# = your cdrom's device name (hda hdb hdc hdd etc, etc.)

See what it says.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: drag
You can try the command:

eject cdrom

or
eject /dev/hd#

were hd# = your cdrom's device name (hda hdb hdc hdd etc, etc.)

See what it says.

Couldnt eject the cdrom cause I was using the CD as the frontend of knoppmyth..

so yeah, now I cant get X starting. I got it running when it runs off the cd but when I run it on the hard drive it cant seem to find a display adapter (actually, it finds the onboard one instead of my rageII(mach64))

Trying to get it to work but its unpossible

Any ideas again?

Thanks to whoever suggested opening the CDrom
I tried that to no avail
it was busy because it was running off the cd, it was mounted at /cdrom too
 

drag

Elite Member
Jul 4, 2002
8,708
0
0


Can you go into the bios and disable the onboard video. That way knoppix shouldn't detect it at all.

If that doesn't work then you'll have to edit the /etc/X11/XF86Config (or /etc/X11/xorg.conf, depends) to fit your setup manually.

If it works on the cdrom, copy the configuration file to your harddrive or a floppy or something. Then when you boot up from your harddrive backup the original one, and copy the cdrom's configuration file to the correct location.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: drag


Can you go into the bios and disable the onboard video. That way knoppix shouldn't detect it at all.

If that doesn't work then you'll have to edit the /etc/X11/XF86Config (or /etc/X11/xorg.conf, depends) to fit your setup manually.

If it works on the cdrom, copy the configuration file to your harddrive or a floppy or something. Then when you boot up from your harddrive backup the original one, and copy the cdrom's configuration file to the correct location.

I followed your instructions and got the drivers, put em on cd, and put it in the XF86Config-4, and now TV Out works !!! :D:D:D

Thanks a LOT! :)

One more question, have you ever used Lirc? how about mplayer? I cant seem to get dvds to play :(

Other then that, this is the coolest thing ive ever set up in my life.

Linux really is the best. its so fast compared to all the windows crap I had tried to get going properly

The hardest thing will be to get my Dlink DWL G520 rev b card to work, I found some drivers, gonna try and install them, seems hard though :( And they were built for fedora, and redhat 9, Will they work on knoppix/debian?

Thanks!!
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Lirc I don't know about. Mplayer I know much more about.

DVD's sometimes use encryption to protect the data from being copied. Completely worthless trash, but there are legal complications that distros like Debian and Fedora want to aviod so that they don't install things directly.

In order to play these files you need to have a special software library installed called libdvdcss. It should of been installed along with the Mythtv stuff, though. To play dvds in mplayer what I do is go from the command line:
mplayer dvd://

If it's not able to find your dvd player for whatever reason, you would go:
mplayer dvd:// -dvd-device /dev/hd#

were hd# == your dvd device.


Then on top of that there are a few more command line switches for things like subtitles or if they offer different sound tracks (like you may have a spanish version, or a english version or a english + director comments version). It can get pretty silly with all the switches and stuff. I generally only worry about that stuff when using mencoder to rip dvds into AVI files.

What makes a MUCH easier and mostly better DVD player is Xine media player, or VLC media player. Of course you can use Mythtv's frontend to play DVD's, but I never done that before.


For installing other things you can use Apt-get. Now I am not so sure about the details on Knoppix when it comes to how they got it setup, but Knoppix is Debian-based and is compatable with debian packages.

So you should be able to do this:
apt-get update
apt-get install xine

Or something like that. (if you don't already have Xine installed)

Like I said, I am shaky on the knoppix details.

If it is just a problem with mplayer or whatever not finding the DVD player you can make it easy with a couple symbolic links.

You have your /dev directory, right? Now in that directories you have all these files that represent hardware and system resources. Like /dev/hda will probably represent your harddrive.

So what you do, if it isn't already done, is create a symbolic link from your dvd drive to /dev/dvd. That way programs can find it easier. You can do the same thing for your cdrom. If it's not done already.

Symbolic links are sort of like shortcuts, but a bit lower level in the system. They are basicly a way to create 2 names for any one file in a way that programs can transparently use them.

So say your your /dev/hdc is your DVD IDE device. You would go like this:
ln -s /dev/hdc /dev/dvd


edit:
Not sure on the wifi card though. it uses Madwifi drivers, I beleive but beyond that I am not sure. The drivers for the redhat and others probably won't work, unless you compile from source code for them. Best to ask a the knoppix.net forums for what to do.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: drag
Lirc I don't know about. Mplayer I know much more about.

DVD's sometimes use encryption to protect the data from being copied. Completely worthless trash, but there are legal complications that distros like Debian and Fedora want to aviod so that they don't install things directly.

In order to play these files you need to have a special software library installed called libdvdcss. It should of been installed along with the Mythtv stuff, though. To play dvds in mplayer what I do is go from the command line:
mplayer dvd://

If it's not able to find your dvd player for whatever reason, you would go:
mplayer dvd:// -dvd-device /dev/hd#

were hd# == your dvd device.


Then on top of that there are a few more command line switches for things like subtitles or if they offer different sound tracks (like you may have a spanish version, or a english version or a english + director comments version). It can get pretty silly with all the switches and stuff. I generally only worry about that stuff when using mencoder to rip dvds into AVI files.

What makes a MUCH easier and mostly better DVD player is Xine media player, or VLC media player. Of course you can use Mythtv's frontend to play DVD's, but I never done that before.


For installing other things you can use Apt-get. Now I am not so sure about the details on Knoppix when it comes to how they got it setup, but Knoppix is Debian-based and is compatable with debian packages.

So you should be able to do this:
apt-get update
apt-get install xine

Or something like that. (if you don't already have Xine installed)

Like I said, I am shaky on the knoppix details.

If it is just a problem with mplayer or whatever not finding the DVD player you can make it easy with a couple symbolic links.

You have your /dev directory, right? Now in that directories you have all these files that represent hardware and system resources. Like /dev/hda will probably represent your harddrive.

So what you do, if it isn't already done, is create a symbolic link from your dvd drive to /dev/dvd. That way programs can find it easier. You can do the same thing for your cdrom. If it's not done already.

Symbolic links are sort of like shortcuts, but a bit lower level in the system. They are basicly a way to create 2 names for any one file in a way that programs can transparently use them.

So say your your /dev/hdc is your DVD IDE device. You would go like this:
ln -s /dev/hdc /dev/dvd



Wow. Thanks for the very detailed reply.

Im going to have to get to all that once I get my network card going, thats my number one priority right now

Ive set up sybolic links before, but its a little rusty, ill set that up as soon as I get the Remote going with Lirc, and the Network card going.


Its a DWL-G520 Video card, and AirPlus from Dlink

I just tried to get it going, with no avail

After running the install everything seems to be right, but when i ran iwconfig it said I had no wireless extentions. I tried restarting the wlan service and it gave me quite a bit of errors, (after I installed the drivers)

What could I be doing wrong?

Any tips for me?

Ive already set up a regular network but never a wireless in linux. I edited all the config files (wlan.conf in /etc/wlan) and it still doesnt work

Any ideas?

Thanks a lot, really apprechiate all the help so far
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Not so sure about wireless stuff.

Check out your kernel output and see what it says about the drivers when you try them. To see the kernel output try the "dmesg" command and see if you can spot any errors when you load the modules or whatnot. You may need to get a copy of a firmware file or something like that.

edit:
Oh, do a "lsmod" command to see what modules (drivers) you have loaded and make sure that you have the ones for your card running.
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
Originally posted by: drag
Not so sure about wireless stuff.

Check out your kernel output and see what it says about the drivers when you try them. To see the kernel output try the "dmesg" command and see if you can spot any errors when you load the modules or whatnot. You may need to get a copy of a firmware file or something like that.

edit:
Oh, do a "lsmod" command to see what modules (drivers) you have loaded and make sure that you have the ones for your card running.


ok, I tried lsmod, doesnt seem to have any of the drivers running. What could be the reason?

I noticed when I tried to "make" the drivers I got this type of error:

"make[2]: Entering directory '/usr/src/kernel-headers-2.4.25-chw'
"Makefile:260: arch/i386/Makefile: No such file or directory"
"Makefile:543: Rules.make No such file or directory"
"No rule to make target 'rules.make'. Stop."

What could be the cause?

Thanks :)


EDIT:

I tried starting wlan (/etc/init.d/wlan start) and it game the the error cant start prism2_pci.o: no such device

Any ideas?

I really need to get the network card going :(
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Modules for Linux aren't quite the same thing for Linux as drivers are for Windows.

When installing modules they usually have to be compiled to match your kernel version and settings, one module for one system will probably not work in another one unless they are using the same kernels.

So to compile the modules the installer has to be able to check out the kernel headers.

So you need to unpack the kernel sources, then configure them, then the install should go smoother. (But there may be a much easier way to get the card running then what your doing. Check out the forums at mysettopbox, if you haven't already).

I found this and the first few parts of his post involves setting up sudo so that you can do it from a regular user. But the important part is getting the kernel sources unpacked and configured read what he says, but this is the important bits:

The DVB kernel drivers need the kernel source code before they will compile.
Code:
cd /usr/src
sudo bzcat linux-2.4.25-chw.tar.bz2 | tar -xvf -
cp linux/.config linux-2.4.25-chw
[type y]
sudo rm linux
ln -s linux-2.4.25-chw linux
cd linux-2.4.25-chw
make oldconfig dep

Now, on KnoppMythR4V3, there is one error that needs correcting:
Code:
sudo rm /lib/modules/2.4.25-chw/build
sudo ln -sf /usr/src/linux-2.4.25-chw /lib/modules/2.4.25-chw/build

And then try that then try to reinstall your drivers. See if that helps.

I am not completely sure, though. Mostly going off of guesswork.

I tried starting wlan (/etc/init.d/wlan start) and it game the the error cant start prism2_pci.o: no such device

That's just because it can't load the kernel modules, which weren't compiled due to the make error. That is what I am thinking, anyways.

check out here, I beleive that madwifi project has drivers that will get your card working, if the ones your trying to use don't work out.