Jump to content

mystified

Platinum
  • Posts

    5828
  • Joined

  • Last visited

Posts posted by mystified

  1. I tried to burn a dvd .iso yesterday and k3b couldn't find my device. So I tried from command line and it also said it couldn't detect a burner. This is on my laptop and I don't think I've ever tried to burn anything with it before but it's only a year old and I don't think it's bad.

     

    Here are some things I checked.

    debian:/home/mystified# ls -la /dev/dvd
    lrwxrwxrwx 1 root root 3 2007-06-11 14:56 /dev/dvd -> hdc

     

    debian:/home/mystified# dmesg | grep DVD
    hdc: PHILIPS CD-RW/DVD-ROM SCB5265, ATAPI CD/DVD-ROM drive
    hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

     

    Here's the interesting part. I tried to manually mount a data dvd and I got an error message that line 9 was bad. Here's my /etc/fstab

    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>	   <dump>  <pass>
    proc			/proc		   proc	defaults		0	   0
    /dev/hda5	   /			   reiserfs notail		  0	   1
    /dev/hda7	   /home		   reiserfs defaults		0	   2
    /dev/hda6	   none			swap	sw			  0	   0
    /dev/hdc		/media/cdrom0   udf,iso9660 user,noauto	 0	   0
    /dev/hda1	   /mnt/windows	vfat auto,umask=o o o 0

     

    Line 9 is my windows partition.

    So I tried to mount /mnt/windows and it said it didn't exist in fstab.

  2. Well it opens but I think I have an .htaccess problem.

    When I click on Statistics I get cannot open /etc/hosts.conf. When I click on settings I get: Error: Can't open upsset.conf to verify security settings.

    Refusing to start until this is fixed.

     

    I have .htaccess in cgi-bin with the following:

    <Files upsset.cgi>

    deny from all

    allow from 127.0.0.1

    </Files>

     

     

     

    In /etc/hosts.conf I have:

    MONITOR belkin@localhost "Local UPS"

     

     

     

    I also added this to httpd.conf. But I think I'm missing something somewhere.

    According to a nut developer you need this to secure your ups.

  3. I don't have anything that I know of that would be causing problems.

     

    I have cgi-bin in apache.

     

    These are my permissions:

    localhost log # ls -l /var/www/localhost/cgi-bin/nut
    total 629
    -rwxr-xr-x 1 root root 530156 May 11 16:18 htsearch
    -rwxr-xr-x 1 root root	268 May 11 16:18 printenv
    -rwxr-xr-x 1 root root	757 May 11 16:18 test-cgi
    -rwxr-xr-x 1 root root  29120 Jun  1 16:27 upsimage.cgi
    -rwxr-xr-x 1 root root  33024 Jun  1 16:27 upsset.cgi
    -rwxr-xr-x 1 root root  32064 Jun  1 16:28 upsstats.cgi
    localhost log # ls -l /var/www/localhost/htdocs/nut
    total 16
    -rwxr-xr-x 1 root root   62 May 11 16:13 bottom.html
    -rwxr-xr-x 1 root root  623 May 11 16:14 header.html
    -rwxr-xr-x 1 root root  503 May 11 16:14 index.html
    -rwxr-xr-x 1 root root 2750 May 11 16:14 nut-banner.png

    apache error_log says

    [Sat Jun 02 10:51:39 2007] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/localhost/htdocs/nut/

     

    I haven't found anything in htdocs or nut that would interfere.

  4. I have nut, my ups monitor set up so I can access it via localhost/nut. My Document root setting is /var/www/localhost/htdocs

    inside this I have forum, which is my test copy of the board and nut. But when I try to access localhost/nut I get access denied. I don't understand why it works for forum and not for nut.

     

    I also have cgi set in httpd.conf because nut uses cgi-bin.

     

    Any suggestions?

  5. I want to make sure that if something happens with my harddrive I can use the new one, change the mount points and be able to boot directly into it. It's taken me way too much time getting everything set up on gentoo. I have a fully working, apache, mysql, php server and a DNS server. I really don't want to go through all that again!

  6. I have a problem with my mouse and I can't blame it on kde, Mandriva or Debian because it also happens in Windows. Acer Tech Support told me how to fix it in windows but I haven't tried because I haven't booted into windows in ages. This is what happens, when I click on something like a browser icon it will open up more than one instance of the browser. If I'm typing it will jump around the page but this seems to only happen in OO.org. If I move my mouse across something like My Controls it will automatically go there. Anybody have any ideas. It really is annoying. Thanks!

  7. There's quite a good film, at least I think so, that's very very similar to this. It's called "Anti-Trust" with Ryan Phillipe and Tim Robbins.

     

    You'd have to watch it to see the striking similarities! I mean the code of open-source being used in a closed-source companies programs. The code being stolen by the said company from the open-source programmers. Nothing about patents, but nonetheless quite good.

     

    That has to be my favorite geek movie of all time. If you look at the computer in one of the first scenes they're using linux and gnome. It's all prochoice open software.

  8. They've already said they're going to need translators for their wiki. I used to be a contractor for a .com that was out of California. For the most part I worked out of my house on the internet. I did do a 2 1/2 month job in Miami. It was nice cause I got paid California wages. I was really sad when they closed down that division and I lost my contract.

  9. I don't know. I just thought it was really tedious. Copy and pasting from the LFS manual and then having to sit and wait for things to comple and then move onto the next one. The manual is pretty thorough as to what you need.

     

    As far as Gentoo goes I don't think I'm an above average user (thank you SoulSe :)) I just like researching and problem solving. And I get to do that with gentoo and probably other advanced linux distros as tyme says. I just happen to use Gentoo. Gentoo really isn't that hard to install or use, it's just that when you run into a problem it's really complex and you have to dig for answers. But Gentoo is so well documented that you can find a lot of answers with Google and then the Gentoo Forums hold a tremendous wealth of information and I can find answers through searching a lot of times and then posting if I can't. That's how I happened to luck out and find a NUT developer who happens to be a Gentoo user. Without him, I'd never have gotten anything done.

  10. With all due respect to all those in this thread, if you want to prove your geek abilities, use this LFS

     

    I'm not advocating the use of LFS, but it is the most demanding on the mind.

     

    Personally, I can compile 'anything' on my Debian or Mandriva systems. :D

     

    I did a lfs install one time. Never again. Gentoo is fun. lfs sucks.

  11. When I did my Debian install (I think) when it came to the boot loader it asked me if I wanted to put it on /dev/hda, the MBR. There is a /dev/hda but it's certainly not one of the partitions. I don't try and figure it out as long as the distro does.

  12. But lets not forget that in another distribution you might never have got it working ;)

     

    That's true. I don't know if you read my other thread about trying to get my UPS working but because it's so new the driver isn't in any linux packages. So the developer helped me download the parts of the driver that when compiled made the driver I needed. And all I had to do was take the tar.gz, untar it, add the files to the drivers folder, put it back and compile.

  13. People always say they hate the compiling and while I admit it gets annoying at times Gentoo also makes me think a lot and have to research and I enjoy that.

     

    Here's what I've had to do this past week. It started with my UPS and trying to get it working. The linux software from Belkin didn't work so I took the suggestion to try nut. Well after getting it all configured it seemed like it just couldn't find my serial port. So I checked my kernel .config and sure enough when I had compiled my kernel the last time the driver 8250 for serial ports had errors. So I decided to upgrade my kernel and recompile. I used my old config but there were a lot of errors during make so I decided to start with a fresh .config. I am using gentoo-sources. So then I had to think of all the things I needed to compile in. No errors in make, ran lilo and booted. Oops, alsa couldn't find my sound card. Easy to fix, but then I had another error, I don't remember what it was but it was something that needed to be compiled into the kernel so I googled and found out what it was. Now the fun of finding it in make menuconfig. Ok, got that done.

     

    Still no serial port connection. This is where the nut developer came in and told me I needed a different driver which wasn't in any linux software yet because my UPS was so new. So working with him for a few days and I was able to get my UPS working. Now, not being satisfied I wanted to be able to access my UPS online via localhost. So I asked the developer and he told me how. I had to emerge nut with the cgi USE flag. But even though the ebuild didn't failed I got an error that it couldn't find libgd. So I emerged gd and it failed to build libgd. So I posted on the Gentoo board and they told me that I needed to build GD. Duh, I already told them that. So I searched the gentoo board and found out that I could put libgd in make.conf as a use flag. So I did that and it worked. Cool!

     

    But during all this time I realized I hadn't done my world updates in about a week. I do the deep world updates which not only upgrades packages but there dependencies. I had 66 programs that needed compiled including several kde ones. So I just let it run over night and I had a message that I had 5 config files that needed to be updated and to run etc-update. Well, as any Gentoo user knows you don't run etc-update until you know what it wants to overwrite. An example is when you have a new xorg and it wants to overwrite you xorg.config. So I ran my little script that I have. Looked over what needed to be upgraded and thought I was safe. Then I had to reboot. No kde, just a bunch of errors. So I did startx which takes you into the Gentoo default wm which just consist of a black screen and three terminals. Right clicking on the desktop gives you nothing. So then I had to figure out why it wasn't working. I checked my config files and somewhere along the way they changed the default config files where you set you XSession to kde. So I made sure that was ok. Them I set kdm for login. But .kderc was overwritten. I don't use the modular kde so the easiest thing to do was to emerge kdm and see what packages were blocking it and then reemerge that one. As I suspected it was kde-base. I remerged it and cool. I could now log into kde. Now you ask why do I love Gentoo because off all these problems. Well it's fun! Frustrating but fun. I spent a lot of time looking for answers. And then getting it all worked out was satisfying. So now I have to break something else so I can fix it and hopefully learn more. Yes, I am crazy!

×
×
  • Create New...