|
thamaht posted:disclaimer: I know nothing about linux. That sounds like you might be burning bad cdroms. See if you can open the files on another computer. I suppose it is possible for it to be able to access the first bit of boot information but encounter errors with stuff further on.
|
# ¿ Apr 12, 2007 02:59 |
|
|
# ¿ May 2, 2024 13:53 |
|
permanoob posted:I've read up on it and I'm seeing that I need to install a kernel-source package. I can't find any reference to this anywhere really. Any help? You should read this chapter in the FreeBSD handbook, on kernel configuration and compilation: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
|
# ¿ Apr 14, 2007 04:55 |
|
rugbert posted:Im pretty new to Linux but im slowly learning. Im using Fedora 6 and almost everything is going fine but I cant get access to my second harddrive with all my music on it. quote:also - are there any good a/v codec packs available? Im thinking something like defiler, I dont care really but I cant watch half the movies I have. Something like mplayer should play anything you can throw at it. vlc is nice too. There are a number of other media players, but I use the former.
|
# ¿ Apr 16, 2007 22:01 |
|
Jorenko posted:That's very odd, I've never seen a Linux system lacking lp before (It's the standard command-line tool for printing). In any case, from trawling packages.ubuntu.com, it appears it's included with two packages: cupsys-client and lprng. Try installing one of them. You want cupsys-client; the other is old BSD lp, which CUPS replaces.
|
# ¿ Apr 19, 2007 23:57 |
|
dfn_doe posted:Set a cron job at the beginning of your outage window to create a marker file in /tmp and then make your regular mrtg cron check for the presence of the file. Create another cron job which removes the marker at the end of the outage window.... voila! A better solution would probably be to put the start, backup, and stop in one script, for example (I have no idea how mrtg works, but you get the idea): killall -STOP mrtg backupcommand killall -CONT mrtg Then put that script in cron and it will run your backup as usual.
|
# ¿ Apr 21, 2007 00:21 |
|
minute posted:Awesome, thanks. Since fat32 is not a unix-y filesystem, it does not hold unix-y information. The only way to set these for such a filesystem is with mount options. Use uid/user (owner) gid/group (group) and umask (numerical permissions, but inverted) on mount to get the correct permissions on the filesystem. Maybe you could have more than one set of permissions for the files on the partition with multiple umasks, but I don't know how that would work. This is why you are much better off using a native linux filesystem for this sort of thing. Although I would suspect there is a way you can use a read-only directory as a mpd music source and write the db metadata to another location.
|
# ¿ Apr 24, 2007 01:42 |
|
este posted:I have a fun paritioning issue. Sure, it's not too hard, although you do have to copy sda5 twice. Do not follow this blindly without verification, though . And be sure to have backups/verify your data at each step and all that. -Make a new partition in linux at least 45 GB. # dd if=/dev/sda5 of=<path to free space>/windows.img -With fdisk or similar, delete partition sda1 (this will also take out sda5, I believe), and create a new 45 GB primary partition on the free space at the beginning of the disk. This will be your new sda1. # dd if=<path>/windows.img of=/dev/sda1 Now you can get rid of the newly created linux partition. That is (should be) all there is to it!
|
# ¿ Apr 26, 2007 04:00 |
|
Munkeymon posted:It seems to me like some process/job is eating the whole processor while it's doing something that takes it ~12 seconds then waits for what it thinks is a minute before doing that thing again. Network IO stops, the UI freezes, any input from me gets cached somewhere and acted upon when 'the event' is over with. Err, maybe I'm misreading your question, but isn't this your answer right here? The azureus process is taking up most/all of your cpu time and 20% of your memory. Compare the TIME column to all the other processes. Do you have it set to start at boot/login? You will continue to have these problems even after closing it since the software is horribly buggy and often doesn't kill the process even when the GUI is closed. See if kill -9 915 helps you. (killall -9 java would be alright except you seem to have another, unrelated java process running).
|
# ¿ Apr 29, 2007 05:06 |
|
fletcher posted:I followed this guide exactly, and when I try to login it says "Server refused our key". Anybody know what could be wrong? I'm running FC4. I don't have much experience with those PuTTY utilities, but just a few things to make sure you have set up correctly: -As mentioned in the comments, you should use ~/.ssh/authorized_keys . Make sure this is in the home folder of the user you are logging in as. -Make sure the following lines are in your server's sshd_config code:
Besides that, all you need to do is put the public key on one line in authorized_keys and authenticate with the private key. Also, check the output in the server's log. Probably /var/log/auth.log or /var/log/syslog I assume you can log in with a password alright?
|
# ¿ Apr 29, 2007 18:23 |
|
Yaksha posted:I recently setup a Linux Desktop for the first time, Debian. It's fun to play with, but I don't think I'll have it replace my Windows PC. Well it is pretty easy, you will need an SSH server accessible remotely. This means you either need a static IP or an updating service like DynDNS. It is not quite that simple though; as you can only tunnel traffic from applications that support proxying in the first part. You basically ssh to your server to forward a particular local port, and then set the application to use localhost:port as the proxy. Google for ssh proxy. If you want a full-fledged tunnel for all traffic, you need a VPN. With OpenVPN, this is not too hard either. In both cases, you will need to be able to install software/change settings on the computer you're using, so you will want to have your own.
|
# ¿ May 3, 2007 04:32 |
|
minute posted:I'm running utorrent through wine, and everything seems to work okay, except for some torrents where I can't connect to the tracker. How can I fix this? Or, I wouldn't mind switching over to a linux client, so is there one that's as light on resources as utorrent with all/most of the features? It is exceptionally unlikely that this has anything to do with Linux; it is probably just an issue with that particular tracker. Can you connect to it with the same network setup+uTorrent in Windows? I highly recommend deluge, although I have never used uTorrent. Azureus' features can be nice at times, but it has some serious issues with resource consumption and runaway java threads.
|
# ¿ May 5, 2007 07:41 |
|
JoeNotCharles posted:They're in /etc/acpi.d. The ones I looked at (volume up, volume down, mute) just called FAKEKEY or something, I guess to just translate the ACPI "somebody pushed a button" event into a keyboard "somebody pushed a button" event, and then Gnome is set up to read the key codes instead of the ACPI events. You can set up acpid to execute scripts on acpi events. Run 'acpi-listen' when acpid is on and try pressing the different hardware keys (sleep, volume?, screen close, etc) to see if any of them work through acpi. You can then use their key ids to run arbitrary commands.
|
# ¿ May 10, 2007 02:33 |
|
fletcher posted:Ahhh, thank you. Beware that ssh has some overhead compared to other, unencrypted protocols, so if you are on your own network I would recommend something simpler. I use nc (netcat). It just opens up plain tcp connections which you can pipe arbitrary data through. FWIW, ssh gets ~8 MBps over my 100 mbps ethernet network, and nc gets ~11.
|
# ¿ May 11, 2007 05:21 |
|
derdewey posted:I don't like that answer You should first start by disabling desktop effects (does Ubuntu now use compiz/beryl by default?), although that shouldn't make too much of a difference if you're using nvidia binary drivers with hardware acceleration. You can also try a lighter desktop environment; I would recommend (and use) xfce. With that hardware, you should be able to run everything well, but gnome may just be unavoidably slow. Kernel optimization/recompiling can affect the speed of some processes, but probably won't make any difference in this graphical stuff.
|
# ¿ May 23, 2007 23:35 |
|
Furd_Terguson posted:I had made a dd image of my / directory which I would like to restore. My thoughts are to boot the machine using knoppix and then type: This should work, but you will have to make sure your hda3 is AT LEAST as big as the original source. If you don't have the same partition layout as before, you will also probably have to edit config files. /etc/fstab at the very least. And no, you won't be able to write to a mounted device in this manner. Perhaps it would start, but it would royally hose your system.
|
# ¿ May 26, 2007 04:47 |
|
MC Fruit Stripe posted:What's the deal with Debian? It's 3DVDs or 20CDs? That seems like a bit much. That is to download every single package in the repository. If you have a halfway decent internet connection you can just install from CD 1 and then download new packages to install as you want them.
|
# ¿ May 30, 2007 00:19 |
|
Scrios posted:I didn't see it in either after a quick search. Check the Help->About window. Near the bottom there is a list of compile-time libraries. My Debian unstable package says: code:
What does yours say differently?
|
# ¿ Jun 9, 2007 07:04 |
|
Bonus posted:Hey, your post is much appreciated, thanks a lot! While that will likely work as a workaround, you really should post the full /var/log/Xorg.0.log (this will be the log of the current or most-recent xserver, so make sure you open the one from your failed runs with the nvidia driver) if you really want a solution to be found.
|
# ¿ Jun 9, 2007 23:15 |
|
Now for a question of my own. I recently came across an old symlink which I cannot seem to delete. code:
|
# ¿ Jun 18, 2007 03:58 |
|
teapot posted:Does ls actually show question marks? Yes, that's exactly what I get in aterm. Not a locale issue.
|
# ¿ Jun 19, 2007 04:37 |
|
Sister Miyagi posted:Well, I went through all the trouble of getting album art and tags for most of my MP3s in iTunes, and then switched to Linux (and Amarok). I thought I made iTunes save all my tags with the old "convert id3 thag" tirck, but apparently not. Is there any way to get Amarok to read my iTunes database, or do I have to do everything over again? And does Amarok actually change the tags, or just write everything to its database? There are media players which do not read and use each individual file's ID3 tag? I cannot think of any conceivable reason that would be better, besides developer laziness. In any case, I installed Amarok and, (although I far prefer quodlibet), it writes all changed info to the ID3 tag, as it should. I cannot help you with iTunes, since I have not really ever used it, but there must be a way to write everything to the file tags. I doubt Amarok can read this "iTunes database", although I could be wrong. Album art is typically stored in a ./cover.jpg or similar file in the same directory as the files in the album. This works fine if you have your music in a sensible layout, and nearly all music players I have used pick up the file as cover art, but it does not seem to be the best solution technically.
|
# ¿ Jun 21, 2007 05:03 |
|
Al Azif posted:Is Matroska (.mkv) just a really CPU-heavy format? I can never get them to play correctly; in mplayer the audio is always out of sync and in vlc the video is unwatchably choppy. If the mkv has high-resolution h.264 video it could conceivably take up all your CPU time. Are you using mplayer from SVN? What type of video+audio is in this (these?) mkv file(s)?
|
# ¿ Jun 24, 2007 05:59 |
|
teapot posted:
Sorry for the delay, but that did not fix my problem. The file persists with the same issues. I am fairly certain fsck is run; boot output shows: code:
|
# ¿ Jun 24, 2007 06:04 |
|
Spartan22x posted:Okay, I'm running KDE on Debian(unstable). In Kate, every time I try to select the Encoding option under the Tools menu (or even just mouse over it), KDE dies. Not just kate, but the whole loving desktop environment freezes, and the only thing I can do is exit out into the shell (or whatever the term is) with ctrl-shift-F1. Is this a common problem/is there any way to fix it? If you are using a Geforce4-era card, you can use the nvidia-kernel-legacy-96xx (yes, with 'x's) packages. For even older, double legacy ones, you probably need -legacy-71xx (formerly just -legacy, but then nvidia dropped more support and the second set was added).
|
# ¿ Jul 6, 2007 05:33 |
|
JoeNotCharles posted:Just put "%1" in your script instead of "file.iso", and that will be replaced by the first parameter of the script. (So if your script is called "dvdrecord", use "dvdrecord somefilename.iso") "$1" . %s are for Windows batch script variables(?) Also, you're better off putting that in a shell script in ~/bin or something. code:
thenameseli fucked around with this message at 05:51 on Jul 25, 2007 |
# ¿ Jul 25, 2007 05:48 |
|
dfn_doe posted:Gentoo would be my #1 for this job. I've got 9 systems at work booting gentoo from 4gb thumb drives and logging to /var mounted on NFS. works a treat and the lack of crazy dependency hell that you get from redhat/suse/debian based distros just doesn't exist when you do gentoo minimal with a few exclusionary USE flags "-X11 -docs" etc... [quote="sund"] I have done a linux from scratch deal on a CF card before, but it's a little tedious building each package or popping the card into a workstation to change a line in a config file. [quote] And please don't spread misinformation about distros. Debian certainly has nothing resembling 'dependency hell,' nor to my knowledge did it ever have a reputation for such in the past. The rpm-based distros you mention certainly had problems a few years ago, but from what I understand the situation is much improved now. I'm glad your setup works but he said he didn't want to build everything from source. Sund: I personally would recommend Debian. It has every binary package you could need, and it is simple to do a bare-bones installation. Also, you will need at least /var to be read-write.
|
# ¿ Aug 23, 2007 08:09 |
|
Leathal posted:I have grub set to boot hd(0,1) which SHOULD be the new Ubuntu partition, but if I go to System Monitor it shows the root drive as being /dev/hdb1 which is the original Ubuntu partition. To make things even wackier, the free space shown is what it should be if it was in fact the new partition. Can you post your /etc/fstab, /boot/grub/{menu.lst,grub.conf}, and the output from code:
|
# ¿ Aug 27, 2007 04:02 |
|
SnatchRabbit posted:I guess some games and emulators that won't run in Linux (NullDC is one) as well as some other video encoders and junk that I've just gotten used to in Windows. I'd just like to have both OSes at my disposal without having to reboot. VMware doesn't support 3d acceleration in Windows, so you will not be able to play recent games. You should try Wine for this; many games work well with only a mild speed penalty. I would see how much you can get out of Wine before resorting to a full-blown VM. It is easier to integrate individual applications into your desktop with Wine.
|
# ¿ Aug 30, 2007 00:01 |
|
Scaevolus posted:All the best video encoders run on Linux, provided you're not afraid of the command line. This is not necessarily true. There is certainly no lack of video encoding tools, but almost all the fancy proprietary encoders (and some decoders) run on windows. If you are encoding to the most popular options of mpeg2, mpeg4, or h.264, afaik open source implementations, (libavcodec for the first two, x264 for the last), have performance and feature parity to the major proprietary ones. For newer and more exotic codecs however, support can be limited. There is currently no OSS encoder (any very limited decoding) of wmv9 (VC-1), for example. In short, it takes a while for open source projects to catch up to new video codecs, especially when a lot of reverse-engineering is required. But where the software is mature, it is generally very good. See http://mplayerhq.hu, http://ffmpeg.sf.net, http://www.videolan.org/developers/x264.html
|
# ¿ Aug 30, 2007 04:17 |
|
Toiletbrush posted:Is it just me, or does The GIMP create an unnecessary amount of artifacting in JPEGs compared to e.g. Photoshop, when compressing to approx. the same file size? Do you have any example images? This seems unlikely, as I would think JPEG encoding has become trivial in the 13 years it has been an ISO standard. Kaluza-Klein posted:I just want to point out that I am an idiot. I don't think that makes you an idiot. It is quite understandable, since libata only recently started supporting PATA drives, and the current layout of the kernel config menu does not really make it clear that libata and "ATA/ATAPI/MFM/RLL support" are different driver subsystems.
|
# ¿ Aug 31, 2007 00:28 |
|
io_burn posted:Is there any way to have Linux pretend it is iTunes and share out a directory full of music to the rest of my network and trick iTunes running on other machines in to thinking it is connecting to a shared library? My music folder has a pretty standard directory structure of \Music\Artist\Album\Track Number Song Name.mp3 if that matters at all. I'm not sure about "pretending" but there is an OSS DAAP (iTunes share protocol) server:
|
# ¿ Aug 31, 2007 20:26 |
|
spacepirate posted:So I need to set environment variables in linux/solaris/hpux etc. I want to run a script to set a bunch of environment variables. Then run a series of other scripts that will read and use these variables. Assuming a bourne shell, 'export' is sorta what you're looking for, but this will not work in any shell that I know of, since the script is run in a new shell and can't change the environment variables of its parent. You will have to use another approach, maybe integrating the variables into the scripts, or setting them globally in .profile et al.
|
# ¿ Aug 31, 2007 20:31 |
|
|
# ¿ May 2, 2024 13:53 |
|
ShoulderDaemon posted:
man 5 apt_preferences , too. I think this is a more flexible way of doing this (recommended in the Debian guide ), and I'm not sure how permanently selection settings are stored.
|
# ¿ Sep 1, 2007 05:10 |