[gentoo-user] Problems emerging gcompris
I recently emerged gcompris to see if my Kindergarten son could benefit from some decent Linux apps, but I cannot get it to work. I saw no complaints during the emerge, such as configure errors, but it just goes nowhere. When run I get this: ** Message: gcompris_set_locale '' ** (gcompris:27603): WARNING **: Requested locale '' got 'C' Opened audio at 44100 Hz 16 bit stereo, 2048 bytes audio buffer Fatal signal: Segmentation Fault (SDL Parachute Deployed) I really don't know what this means, and a google search returned nothing relevant. Any ideas or help is greatly appreciated. Patrick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Questions about setting up reliable firewall
I have been trying to find a way to set up a simple firewall which I can trust is doing what I need it to do. I am connecting via a diaulup with my local phone company which dynamically assigns me an ip address. I want to be able to use the web and send and receive email via my pop and smtp server, also from my phone company, but of course would like to protect myself from outside attacks. I also have a second machine connected via ethernet which allows me to operate out of two rooms, but I don't have anything I can use to set up a dedicated firewall box, which seems to be what so many howtos assume. Can anyone make a suggest a guide or howto on firewalls which I can use? I have never been able to figure out iptables in such a way that I am confident that I am doing anything other than making things worse, or just end up unable to connect to anything. Or perhaps there is a simple tool which will do these things? I tried firestarter but it never seemed to work quite right. I could get it to allow me out once, but then when I would dial up later I couldn't reach the network. Or the ssh connection would be down. Or something similar. This was disappointing as it really did seem the simplest to use of those I investigated. I hope someone can make a suggestion to an iptable newbie about where to go now. Many thanks for any help, Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Questions about setting up reliable firewall
* Alexander Rink ([EMAIL PROTECTED]) wrote: Have a look at firehol (firehol.sourceforge.net). I suppose that this is exactly what u r looking for. You can write config files in an easy and understandable language, firehol will translate them into iptables commands. You can find predefined scripts for different environments after emerging firehol in /etc/firehol/examples For a single dialup computer the settings are as simple as: interface any world client all accept Which means that the computer is completely hidden and offers no services. Adding a ssh Server just adds the following line server ssh You can find a nice and detailled example at firehols hompage. Quite awesome. I used the tutorial on their webpage and it seemed to work just as I wanted. I tried several online port scans, i.e. Sygate, Shields Up, etc., and they all returned all ports as stealthed. And yet my internet connection, masquerading, and ssh connections are all up and running just as I need. Many thanks for the help. Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Slow mencoder after emerge?
* Rumen Yotov ([EMAIL PROTECTED]) wrote: Hi, Maybe rebuilding mplayer through portage will have the same result. Think you could have a look at 'revdep-rebuild' (man revdep-rebuild). HTH. Rumen Nope. Didn't work. But, I did notice that when I run it I get a string of ... supported but disabled. statements at the beginning. MMX, SSE, MMX2 and so on. This causes me to wonder, is there a way to adjust the configure options in emerge? For instance, even not considering the slowness, I don't use the gui and so do not enable it when I configure it myself. I figured that emerge includes it since most people seem to like it. Can I change these things? And I like 256 colors enabled on xterm, rxvt and elinks. Can these be switched on when emerging? Being new to this I am not sure about these details. Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Slow mencoder after emerge?
* Andreas Claesson ([EMAIL PROTECTED]) wrote: On 7/8/05, cothrige [EMAIL PROTECTED] wrote: Yes, USE-flags. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=2 To see which USE flags mplayer uses: $ emerge -pv mplayer enable them by adding them to the global USE in '/etc/make.conf' or add a line to '/etc/portage/package.use'. See the portage man pages for more information: $ man portage /Andreas Ah yes. I was just looking at use.desc and saw mmx. When I did I knew what I had done wrong. I read through it carefully and enabled all the flags which seemed to apply to MPlayer and now it works like a dream. I think perhaps a shade or two better than it had. The only strangeness is that it uses libdvdread and shows the output of libdvdcss whereas my previous installs used the internal mplayer dvd facilities. Doesn't appear to affect the outcome any though, which is fine by me. What is interesting is that I was apparently overcomplicating things a bit. I just knew that there had to be some esoteric way to do these things but in fact it was much more intuitive and simple than I thought. Many thanks to all for the help. Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Slow mencoder after emerge?
* Rumen Yotov ([EMAIL PROTECTED]) wrote: Hi, Maybe rebuilding mplayer through portage will have the same result. Think you could have a look at 'revdep-rebuild' (man revdep-rebuild). HTH. Rumen Okay. Sounds like a good start to me. I will give it a go and see what I get. It's not hard to reinstall by hand if it does not do well. Many thanks, Patrick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Slow mencoder after emerge?
I am very new to Gentoo and portage and just beginning to learn to find my way around. For the most part things have been good, but MPlayer has proved to be a difficulty. Not in basic functionality though, but just speed. What I did was start with a basic 'emerge -a mplayer' which installed mplayer and a codec package. Everything seemed very solid and seemed to work as it should. But when I tested mencoder with a dvd it would only run at something like 12 or 14 fps. Normally with the same settings (mencoder dvd://1 -noodml -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:vbitrate=1800) it goes at about 28-30. I hated to think about taking three hours to make one pass on a movie encoding and so unmerged it and compiled myself from source. Now it works fine. I am very curious about what I did wrong, not so much for mplayer as I have it running fine but rather for a better knowledge of portage and such. My use flags in /etc/make.conf are this: gnome kde jpeg gif tiff dvd dvdr emacs tcltk in case they are responsible. Thanks in advance for any advice. Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa stops working after 'emerge -uD world'
* Emanuele Morozzi ([EMAIL PROTECTED]) wrote: I have esperienced your problem; in my case it was caused by the lack of a var, and that that caused the mixer not to load the previously saved settings. 1. Specifically in /etc/conf.d/alsasound I had to add this lines RESTORE_ON_START=yes SAVE_ON_STOP=yes that referes to the mixer setup saving and restoring. 2. In make.conf see if the var ALSA_CARDS=ens1371 3. Be sure the correct module is loaded; use the alsa daemon or put the module in /etc/modules.autoload.d/kernel-2.6 using cat snd-ens1371 /etc/modules.autoload.d/kernel-2.6 (alsa daemon is preferred by me because it saves at 'stop' and restores at 'start') the mixer level. Emanuele Many thanks for the tips. I took a look and ALSA_CARDS=ens1371 is in make.conf, and the two lines you mentioned are also in /etc/conf.d/alsasound. I am curious about number three. What exactly is the alsa daemon? Is that what is invoked by alsaconf? I do agree that the saving at stop which my system always did is nice and I hesitated going the modules.autoload.d method for that reason. Fortunately things do seem to be moving better now that I have copied back the old alsasound init.d script. The new one was empty which really fouled things up apparently. Thanks again, Patrick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Alsa stops working after 'emerge -uD world'
I just finished running 'emerge -uD world' and everything seemed to go okay. At least in the end it seemed to. I did have some troubles with spamassassin and a couple of other strange dependencies which were not dealt with automatically, but google and archives of such lists as this helped in those areas. But, now I am having all sorts of strange trouble with alsa. When I rebooted I found that my old alsa setup was not working. There was nothing in dmesg about alsa but I saw an alsasound error zoom by on bootup. I couldn't read it unfortunately. So I ran alsaconf again figuring that would take care of things but it did not. I got the expected offer of ens1371 but then I was asked if I wanted to adjust /etc/modules.d/alsa or such but not with the correct module, snd-ens1371, but instead something like snd-*** and liblow. It then shot up a brief error, too fast to read again, and then exited. No alsamixer of course. It now does not give me this, or I would give a more exact quote, but it still gives an error and offers no sound. I can modprobe for snd-ens1371 and adjust the mixer manually, but I cannot get any sound to work at boot and am not sure where to begin. I tried editing the /etc/modules.d/alsa file manually but that did not help. Any ideas? What am I missing? Thanks in advance, Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Alsa stops working after 'emerge -uD world'
* Norbert Kamenicky ([EMAIL PROTECTED]) wrote: cothrige wrote: I just finished running 'emerge -uD world' and everything seemed to go okay. At least in the end it seemed to. I did have some troubles with spamassassin and a couple of other strange dependencies which were not dealt with automatically, but google and archives of such lists as this helped in those areas. But, now I am having all sorts of strange trouble with alsa. -snip- I would say u forgot to inform us, that u also rebuilt kernel ... didn't u ? No, actually, I didn't. I was very happy with the kernel I compiled with the installation and had no reason to change that. But, at least I may have thought of that as a problem if I had since that never failed to kill alsaconf when I used Slackware. As a matter of fact alsa never really worked right for me then, but didn't work at all after a kernel compile. And only about half the time could I ever correct the problem. In any case, I think I have just solved the alsa problem, though I wonder if I really know what I did wrong. It would seem that my ignorance and newbieness in matters Gentoo is to blame (Duh!). In order to slow down the alsaconf messages I had to compile a program and then run it during that process. In this way I was able to see that alsasound had no start function. I looked at /etc/init.d/alsasound and saw that it was virtually blank. It had one line of some kind but I don't recall what it was. It would seem that knowing that my files would be saved to the archive folder I had gotten a little bold when running dispatch-conf. But, I copied the old file back from the archive and ran alsaconf again. This time it seemed to work, though things still look funny. In alsamixer there is no way to choose a record source. It used to have red dashes over those items which could be captured, and when selected they told you, but now there is nothing of that sort, and no capture control either, which it used to have. Audacity does act like it can record though as it gives me no errors and the record source does offer the typical choices my card offers. Maybe there is just something odd in the alsamixer screen now? Strange anyway. I do wonder if it will work on reboot, and I don't know if I should run rc-update on alsasound again. Would that have actually have corrected the problem in the first place? I fear that I really hate alsa which never seems to work right for me ever, no matter which distro I use or how I compile my kernels, and now with Gentoo things to consider I am somewhat lost. Patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Disk usage?
* Mark Knecht ([EMAIL PROTECTED]) wrote: If you were very judicious you might, possibly, somehow get it into 3GB but that would be tight. My smallest installation right now is a Pundit-R running fluxbox and MythTV. I uses about 2.4GB: myth11 root # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda3 7610488 2384076 4839820 34% / none 94900 0 94900 0% /dev/shm myth11 root # You could solve about 1GB of the problem by making the portage directory be a network mount if you have NFS running somewhere. I did not do that above so really I'm only using about 1GB and making good use of a 2.5GHz Celeron D. Interesting. For future reference how might I go about moving the portage directory? I am surprised that it would use that much space, but perhaps that is why I am seeing such a difference in space usage between this Gentoo installation and previous distros. That said I think you'd go nuts building all this stuff on a 450MHz machine. I just tried doing a Gentoo installation on an XBox a month or two ago. That was 750MHz but far less memory. Things took days due to swapping. You would very probably be right, except that I am just trying to get a test install up to see if I even like the way it works. I am a longtime Slackware user, but I have been less happy with that distro as Gnome is hard to work with. I don't actually use Gnome, but it is important to other things and so causes me difficulties. I am a ratpoison guy myself. If I really like this I may move my main machine to it. That one is a more reasonable, though still not fast, Athlon XP 2000+ setup. The hard drive is bigger too, but I wanted to sort out where the space was going so that I would have a better understanding of what is going on. I am just not much for waste I suppose. Hope this helps, Mark thanks, patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Disk usage?
* Mark Knecht ([EMAIL PROTECTED]) wrote: I think there is no difference in size between any of these distros really. KDE is the size of KDE. Gnome is the size of Gnome. Differences are pretty small compared to the overall size of things. The first step would be to mount /usr/portage on a separate machine using NFS. Setup an NFS server on that remote box, export the directory as rw, and then mount it as rw on your machine in fstab. At this point all the code that's downloaded by your box is actually placed on another machine where you have space. Keep i mind that this is 2-3 times the network traffic when you are building code - Internet-small machine-NFS drive for storage- small machine to be built. None the less it works. More practical is to just do things normall and watch after the /usr/portage/distfiles. I currently have 600MB in mine on this laptop. On the small MythTV frontend machine I have 425MB right now but on machines I haven't cleaned up I have 1.5GB. It gets big over time. You can erase anything in this directory at the risk of needing to download it again if you decide to rebuild it. None the less it's easy to clean up to give oyu more space quickly. Very cool. I will start there and see if I get benefits which are workable. Sure - OK to test it out. Hard to live on it forever. But build fluxbox for test and learn, not Gnome. ;-) Exactly what I did actually. Generally Fluxbox and ratpoison are the only two desktops I use. I only use fluxbox to tempwm into when I use the gimp or some such multi-windowed app. Ratpoison is rough on those. I really only keep Gnome around as things like Gramps needs it. In this case I intended to install it only to see how I felt about the final product in my test. That I can't is not really a big deal in itself, but it caused me to wonder about the space usage in general. That's fast enough. I used to use Gentoo on a 750 Athlon at my old job. It was fast enough. Not great but it got done. More memory helps, etc. You'll probably like Gentoo once you get past the shock of building it the first time. I built a new machine with fluxbox and MythTV and had it booting and starting to work in about 3-4 hours 2 weekends ago. Like I said, the first time it took me days to build and longer to learn about the commands necessary to administer it. (I'm neither a programmer or IT person. I'm a guitar player using Linux for music, email, web browsing and TV watching.) For someone like me it was a bit trying for all the nice people here to teach me but the folks here are like no others I've met on any list. Very, very, very helpful folks who share a huge amount of knowledge in a completely open way. I've learned a lot. I only screw up once a day now. ;-) - Mark Well, I have to say that just for one day on this old Pentium3 I am very impressed. I was a bit intimidated but I do like the final product. I had wanted to install from sources rather than binary packages as I had to but without a high speed internet connection I could not consider it. But as a compromise I like this a lot, and Debian, Slack and all the others are from binaries as well. So in that sense it is no different, but I like the philosophy behind it so much more than the others. That is why I have wanted to try it out for so long. I just don't understand why they don't make iso images of the source packages available as well as the binary stuff. It would make a more traditional install available for folks like me. But, that is a small complaint I suppose. many thanks, patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Disk usage?
* W.Kenworthy ([EMAIL PROTECTED]) wrote: Gentoo is not designed to save space, or rather isnt worried about space is a better way to describe it. Well, I can understand this. With modern machines who exactly is using the kind of drive I am right now? Yesterday in the local Circuit City I noticed that you cannot even buy a 40 gig drive anymore. Just too small I guess. Just like the installation itself. Now just everybody it seems has a broadband connection and so that is how things work. But people like me living on dial-up, sad huh?, cannot install an entire system downloading it a bit at a time. It would take a year. I have to go to another computer and download one iso and burn it to bring home, and can only do this once or twice a month. That is why I am using the universal installation disc and the packages disc. I would much rather have source packages and compile them myself in the traditional manner, but I cannot download so many files. It is a work computer which I cannot oversee and so must go with one click downloads. If there were several iso images available of the files which I could use then I would go with that, but as it is I have to compromise. I understand why, but wish it were a bit different. Some things you can do : delete /usr/portage/distfiles/* - can save lots, but often the same distfile is used for updates/rebuilds, so I would copy them to another system running rsync (point make.conf to it) if possible and clean this directory on a regular basis. portage can be put on a compressed loopback which is supposed to give good gains, both in space and speed. Use flags: some ebuilds like xorg have a minimal use flag. -docs which removes extra documentation is also a good one. Look into building only one or two locales which saved a huge amount of space, but I did run into some errors because of things some apps were expecting were reomoved - a full emerge -ep may have fixed this tho. Keep only the current kernel installed (or delete all of them! - /usr/src/linux*) If you want to keep the kernel source, do a make clean after install to save a few hundred M. Use one partition for the bulk of the system to avoid wasting space. A problem with the above is that its hard to remove all the fluff on built system, so the best effect is on a new install. Believe it or not, it is possible to put a fully usable desktop with office apps on a bootable 256M USB key with room to spare! Very tricky methods used, but thats the fun of it. BillK Thanks for all of these tips. I am definitely going to keep them to look into as I find out just how things are working. Cleaning up the kernel files is certainly something I should have thought of. I am going to do that right now, and I am going to look in the distfiles directory as well. Many thanks, patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
* Neil Bothwick ([EMAIL PROTECTED]) wrote: On Tue, 31 May 2005 07:14:49 +0100, Graham Murray wrote: That is not strictly true. It is possible to do a source install without direct network access. What you have to do is get (on CDs or DVD) a portage snapshot and all the source files required and put them in (the chrooted) /usr/portage/distfiles/. A UK magazine (Linux Format) has, in the past, put sufficient (and more) source packages on the cover DVD to do stage1 install without having to download anything from the net. The new issue of Linux Format, out in the UK later this week, has Gentoo 2005.0 on the DVD with over 2GB of source files. Everything you need for a standard desktop setup on x86, amd64 or ppc. Hmmm. I like the sound of that. If that is true of America, where I am, I will buy that to give it a try. Of course, I will have to find the dvd coverdisc, and the local bookstore carries the cd I believe. That is sometimes a bad way to go such as this month's Slackware 10.1 which turned out to have only disc 1. Not much use that if you ask me. patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
* Neil Bothwick ([EMAIL PROTECTED]) wrote: On Mon, 30 May 2005 08:40:20 -0500, cothrige wrote: It will be a few weeks before it reaches US shops. There isn't a great deal on the second Slackware disc. Where supplying only one disc would reduce the effectiveness greatly, we generally put the distro on the DVD only, as with Gentoo. Thanks for the heads up on that. I am going to find out where I can get it and keep an eye out. I think that this would be the easiest way to go for sure. patrick -- gentoo-user@gentoo.org mailing list
[gentoo-user] Clarification on iso downloads
I have been interested in trying out gentoo for quite a while, but have been having some trouble making out just which files I need. The book seems clear for most everything, but as regards my particular situation it is not so. I want to install in the typical way, from source packages rather than with precompiled binaries. However, I have a lowly dialup, and cannot even imagine trying to download each package at that speed. I do have some indirect access to a computer with a faster connection, just a day or two a month, but I cannot use torrent or be there to watch it and click on a bunch of links. So, what I am having to do is know in advance exactly which iso I need, and then start the download at the beginning of the day and then later burn the disc to bring home. The book mentions a networkless install, but this seems to be a binary package installation. That is the inference I am drawing in regards to the universal install disc and the packages disc. Am I wrong? The day I have access to a faster connection is coming up this Wednesday and I am hoping to clarify what I need so that I can consider trying out a Gentoo install. So, in short, which specific iso images can I use to achieve a reasonably complete non-binary Gentoo installation without any internet access whatsoever? I very much appreciate any help that can be offered. patrick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Clarification on iso downloads
* A. Khattri ([EMAIL PROTECTED]) wrote: On Sun, 29 May 2005, cothrige wrote: The book mentions a networkless install, but this seems to be a binary package installation. That is the inference I am drawing in regards to the universal install disc and the packages disc. Am I wrong? Yes, for a networkless install you would normally use the universal CD + packages CD. The day I have access to a faster connection is coming up this Wednesday and I am hoping to clarify what I need so that I can consider trying out a Gentoo install. So, in short, which specific iso images can I use to achieve a reasonably complete non-binary Gentoo installation without any internet access whatsoever? An install from source REQUIRES net access since the bootstrap script downloads and builds each package - so a binary-less install without net access is a contradiction in terms. Oh, I see. That would explain why I had trouble figuring out what was what in that regard. The one thing you could try is pre-downloading all the tarballs you are likely to need for the bootstrap, kernel and various utils you need, burn them to a CD, then put them in the /usr/portage/distfiles during the install... I may have to look into that. Unfortunately that many individual files is tough to download as I cannot monitor the computer I am using and generally have to go in early, click a download and come back much later to burn it. It is a Windows machine which makes it tougher for me to use things like wget scripts which could be put together for my computer. But perhaps it is an option I can work on. Thanks for the information. patrick -- gentoo-user@gentoo.org mailing list