Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by tek-69

  1. To be honest I'm not sure about which nvidia driver I'm using, but I would assume it's the fedora one since I never had to install any drivers to get my card or monitor working. Below is my xorg.conf as you requested. # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "single head configuration" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "DevInputMice" "AlwaysCore" EndSection Section "Files" # RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. FontPath "unix/:7100" EndSection Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection Section "InputDevice" # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # Or if you just want both to be control, use: # Option "XkbOptions" "ctrl:nocaps" # Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection Section "InputDevice" # If the normal CorePointer mouse is not a USB mouse then # this input device can be used in AlwaysCore mode to let you # also use USB mice at the same time. Identifier "DevInputMice" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "no" EndSection Section "Monitor" ### Comment all HorizSync and VertSync values to use DDC: ### Comment all HorizSync and VertSync values to use DDC: ### Comment all HorizSync and VertSync values to use DDC: ### Comment all HorizSync and VertSync values to use DDC: Identifier "Monitor0" VendorName "Daytek" ModelName "LCD Panel 1024x768" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 31.5 - 48.5 VertRefresh 40.0 - 70.0 Option "dpms" EndSection Section "Device" Identifier "Videocard0" Driver "nv" VendorName "Videocard vendor" BoardName "RIVA TNT2" VideoRam 4096 EndSection Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 16 Modes "1152x768" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection
  2. I got a new(yes thats right I actually got a piece of computer hardware that wasn't ripped from an old system) monitor for christmas and it's awesome. It' s a Samsung 204BW 20" LCD monitor. The manufacturer recommends running at 1680x1050 at 60hz. I would love to do this but it doesn't seem to want to. Anything over 1024x768 and it starts doing ugly things to fonts icons and pretty much anything else. By ugly i mean weird moving edges or ripples and waves. I noticed this originally when I edited xorg.conf by hand, but was painfully reminded when I tried using system-config-display and got the same results. Since it's a new monitor I'm thinking the problem is probably my ancient video card not being able to handle the new monitor above 1024x768, it's a Riva TNT2. Am I correct in this assumption? Or have i missed another possibility? If I'm correct I would love some recommendations for a new affordable video card. It doesn't have to be top of the line but I don't want something worse than I have. Thanks in advance guys.
  3. I'm not sure exactly why, but for some reason I don't have a lot of the system-config packages. I'm at work and installing them remotely, so I'll try it out as soon as I get home. I'll keep ya's posted. Hopefully eveything will go good.
  4. I just got a new LCD monitor and I'm having some issues with it. It's working but not quite right. I tried redhat-config-xfree86 but I don't seem to have that on my fc5 system. Is there something similar that I could use?
  5. Wow thanks for the responses guys, it's good to feel loved Hybrid already hooked me up but I appreciate the offers from everyone who responded. I knew I could count on the lnc crew in my type of need. btw I'm happy to return the favor and have 15 invites of my own now, anyone needs one let me know
  6. tek-69

    Scary pic

    I don't like uberskinnies, I need a lil' more cushin' for tha pushin', wink wink nudge nudge yowza arrooooo! Ok im done being a pig.
  7. I have an old and somewhat slow computer, and sometimes things hang like you mentioned(with heavy drive activity etc.). One thing that sometimes works for me is, instead of trying to open a graphical terminal. do a ctrl-alt-f1 to get into a real term. I don't know why but it seems to switch over to those terminals quicker than it can load a graphical term. From there you can kill processes like anyweb suggested. When your done, do ctrl-alt-f7 to go back to your desktop. It doesn't always help but it has gotten me through some rough spots.
  8. Ok so I have my own mail server and its great. Trouble is lately I've been unable to reliably keep an internet connection. I'm getting married this september and priorities being what they are, the net bill comes after catering bill, invitations, honeymoon(hurray!) and all the other stuff that goes with getting married. Since I can't realiably keep the net connect, I need a mail server I can depend on. If anybody has a spare gmail invite kickin' around I would love to take it off your hands, if not I'll have to go with someone else.
  9. I voted other, but to be fair I don't actually buy computers, I ahhh refurbish handmedowns. So far though this hp has been great. I didn't however like the compaq i had 2 boxes before the hp. With my budget I tend to go with whatevers laying around atm.
  10. I was fortunate to find this site when I first started using linux. It had only been around for a bit but the core group of people were extremely friendly and helpful. I soon logged onto the irc channel. Same great help and everyone was cool. As I got more confident in my abilities I moved to some of the other channels and was very surprised by the results. Certain channels were crazy agrressive. You ask a decent question, you know the kind where you pick out each word carefully and for a reason, and get flamed like you had said "hey haxors im so leet" blah blah. Finally I got tired of it an came back to linux-noob. This place is great because it attracts kind people and they stick around. Eventually people will get tired of dealing with dicks and this site and its irc channel will continue to grow as they leave the places of negativity and come here.
  11. I jumped the gun a bit on this and it seems this doesn't get the print function to work. Once I ran the tests I didnt really need to actually print anything so i didnt bother trying. The problem is the printer not acting on the info given. linux sent to it and thinks everything went fine but nothing actually prints. I found out because the womans monitor died and she needed to print something from my comp, and did not succeed. Scanning was my main issue and this tutorial will definately make that work for you, but printing is not working out as well. I'm sorry for any problems this may have caused anyone. As soon as I get it working 100% I'll add the details to this thread.
  12. Theres not much you can do about scanners if thats what you mean. That said, I use /etc/hosts.deny and my logs to pinpoint troublemakers and deny their ip. basically if i see someone tried more than 10 times to get in, they get added to the list and after that the connection is automatically rejected and packets are ignored. So far I'd say after about 3 or 4 months of use, I've blocked about 10 repeat offenders. Not great but it helps. I'm curious myself as to what other poeple are doing to deal with the situation since it seems to be a net wide issue.
  13. When I got my new HP PSC(printer,scanner,copier)1510 device the other day, I was not at all surprised find that the box it came in completely ignored the linux community. I don't mean it said "is not supported", just totally ignored. It was quite clear in stating no win95, no NT, no DOS. It was also happily announcing it's compatibility with XP, 98, 98se and even Mac(amazingly still not quite dead yet). Why is all this important? It's not really, but it does show something that I love about linux, which is the fact that although very few companies openly support us, noone is willing to say they DON'T support us. Setting up your hp device to work with your linux system is really quite simple compared to other setups. The trouble I had was finding the information to do so. Hopefully this document will make it easier for someone else to accomplish what took me about half a day to research and implement. The HPlip project(http://hplip.sourceforge.net) is what we'll be using to get things up and running. They have tarballs on the site if you prefer to roll your own. Usually I like compiling but with this particular project I decided to go with rpms. I will be using fedora core 5 for our example but it shouldn't be to hard to tailor this info for other distros. It's important to note that HPlip does not make or distribute the binaries available for the hplip project. HPlip grew out of the HPoj project. Unfortunately they don't play nice together. If you have the old HPoj libs, you are going to have to make sure they are not used. To do this at the line type: ptal-init setup and follow the directions. It's very easy. The first thing we need are the rpms. At this time the newest version of hplip is 9.10. I tried yum first and was surprised to find that it did not have the most recent versions. A little searching though and I found what we need. These are the most recent versions of the rpms we need: ------------------------------------------------------------------------------- hplip-0.9.10-4.i386.rpm (This is the actual project, it is required) libsane-hpaio-0.9.10-4.i386.rpm (This is to get your PSC's scanner features working with sane, xsane, etc. It is required if you want your scanner to work, and why wouldn't you want that?) hpijs-0.9.10-4.i386.rpm (might not need this one, I didn't, but it is required by some PSC's, check the chart at the hplip site.) -------------------------------------------------------------------------------- To get them: cd ~ wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/hplip-0.9.10-4.i386.rpm wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/libsane-hpaio-0.9.10-4.i386.rpm rpm -ivh hplip-0.9.10-4.i386 libsane-hpaio-0.9.10-4.i386 and optionally wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/hpijs-0.9.10-4.i386.rpm rpm -ivh hpijs-0.9.10-4.i386.rpm Ok rpms are all installed. Make sure your PSC is plugged in, turned on, and connected to your box(you'd be surprised how often this step fails). Next thing we do is simply a double check: vim /etc/hosts Make sure that in that file you have a line that says: localhost I didn't and it was a real pain in the ass. It has to have the numeric and the localhost part or it WILL NOT WORK. hpssd simply can't bind without it. Next check /etc/sane.d/dll.conf for the existence of a single line that says: hpaio If it doesn't exist add it. If it's there make sure it's uncommented(no # at the begining of the line). Once that's confirmed it's time to start up services: service hplip start This will attempt to start up the hplip and hpssd daemons. If anything fails or doesn't work check /var/log/messages. This can be tricky with hpssd because even if it fails to startup, it acts like it did. Because of this you might want to: ps aux | grep hpssd just to make sure it's running. To test out the printer type the following: /usr/lib/cups/backend/hp You should get something like: direct hp:/usb/PSC_1500_series?serial=MY61JD11NC0498 "HP PSC_1500_series" "hp:/usb/PSC_1500_series?serial=MY61JD11NC0498" "MFG:HP;MDL:PSC 1500 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES: 6543;SN:MY61JD11NC0498;S:038000C480001021002c178005ec2880059;J: ;Z:0102,0503cbe9015cc9,0600;" If it doesn't work, make sure the cups service is running: ps aux | grep cups If its not: service cups start To test out the scanner type the following: scanimage -L You should get something like: device `hpaio:/usb/PSC_1500_series?serial=MY61JD11NC0498' is a hp PSC_1500_series multi-function peripheral That's it you should be all set to use your HP PSC device. Have fun and don't forget to scan your ass and email it to all your friends!
  14. After switching to fc5 with php5 I tried to recompile and am getting the following: <root@uin turck-mmcache-2.4.6> make /bin/sh /build/turck-mmcache-2.4.6/libtool --mode=compile gcc -I. -I/build/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/build/turck-mmcache-2.4.6/include -I/build/turck-mmcache-2.4.6/main -I/build/turck-mmcache-2.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /build/turck-mmcache-2.4.6/mmcache.c -o mmcache.lo mkdir .libs gcc -I. -I/build/turck-mmcache-2.4.6 -DPHP_ATOM_INC -I/build/turck-mmcache-2.4.6/include -I/build/turck-mmcache-2.4.6/main -I/build/turck-mmcache-2.4.6 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /build/turck-mmcache-2.4.6/mmcache.c -fPIC -DPIC -o .libs/mmcache.o /build/turck-mmcache-2.4.6/mmcache.c: In function 'fixup_zval': /build/turck-mmcache-2.4.6/mmcache.c:705: error: 'empty_string' undeclared (first use in this function) /build/turck-mmcache-2.4.6/mmcache.c:705: error: (Each undeclared identifier is reported only once /build/turck-mmcache-2.4.6/mmcache.c:705: error: for each function it appears in.) /build/turck-mmcache-2.4.6/mmcache.c: In function 'calc_zval': /build/turck-mmcache-2.4.6/mmcache.c:1293: error: 'empty_string' undeclared (first use in this function) /build/turck-mmcache-2.4.6/mmcache.c: In function 'store_zval': /build/turck-mmcache-2.4.6/mmcache.c:1652: error: 'empty_string' undeclared (first use in this function) /build/turck-mmcache-2.4.6/mmcache.c: In function 'restore_zval': /build/turck-mmcache-2.4.6/mmcache.c:2159: error: 'empty_string' undeclared (first use in this function) /build/turck-mmcache-2.4.6/mmcache.c: In function 'ps_create_sid_mmcache': /build/turck-mmcache-2.4.6/mmcache.c:4004: error: 'empty_string' undeclared (first use in this function) make: *** [mmcache.lo] Error 1 Any suggestion?
  15. no i didn't, but I just did since you brought it to my attn. It seems to be working properly . Now all I gotta do is fiddle with some configuration in the mail server because it can't find it's own pages on the new vhost. thanks for the help guys.
  16. When i tried that it didn't seem to alter the servers behavior at all and i got the following when i tried to restart the server: [root@UndergroundInfection ~]service httpd restart Stopping httpd: [ OK ] Starting httpd: [Fri Oct 14 00:42:23 2005] [warn] _default_ VirtualHost overlap on port 80, the first has precedence [ OK ] This is what I have in my conf pertaining to virt hosts: <VirtualHost *:80> ServerName undergroundinfection.net ServerAlias undergroundinfection.net ServerAdmin tek@undergroundinfection.net DocumentRoot /path/to/main </VirtualHost> <VirtualHost *:80> ServerName mail.undergroundinfection.net DocumentRoot /path/to/main/uinmail </VirtualHost> It doesn't break the server it just doesn't change anything either. Am i doin something wrong or maybe not doing something at all?
  17. For some reason when i type mail.undergroundinfection.net it sends me to my main page when i want it to take me to undergroundinfection.net/uinmail how do i get it to do that and is it in the apache config or is it a dns thing?
  18. After alot of digging around in various forums and countless websites, I've come to discover that if anyone else has a similar problem to mine there is hope. So quick recap on the situation first: I have php installed via rpm. I have the gd libs also installed via rpm. gd isn't working. solution: rpm -qa php-gd if that produces nothing then apt-get php-gd I wish they were all that simple. The research and actually finding out that a php-gd rpm even exists, was the hardest part. Hope this helps someone else out.
  19. so how do i tell php where to find the gd lib ? I know it's in /usr/lib but i can't figure out how to tell php that. am i out of luck cause its rpm? I've never had to reconfig something rpm based so i don't know what im doin. is there a way to tell it where to look via php.ini maybe?
  20. I'm up to making on the fly images with php in the book im using, but something is wrong because i can't get it working. I tried using gd_info() but got the following error. [client] PHP Fatal error: Unknown function: gd_info() in /var/www/html/pathtophpfile/pathtophpfile/gdcheck.php on line 2, referer: http://undergroundinfection.net/pathtophpfile/phpjunk/ so i checked phpinfo() and it looks like gd is in there but its not acting like it. Configure Command './configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd=shared' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses=shared' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring=shared' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mime-magic=/usr/share/file/magic.mime' '--with-pic' '--with-apxs2=/usr/sbin/apxs' any ideas or thoughts on what i might be doin wrong or how to go about getting it to work properly? I'm pretty sure my php is rpm installed so if i have to recompile i'm kinda screwed.
  21. ok first the sob story: Boo hooo! I live on the worst block in the U.S. ever. power is always goin out on me at least once a month, so much for taking the uptime crown.... ok now the issue: Everytime the power goes out my box's inet addr changes, sometimes it's sometimes it's 102 sometimes 103. usually 103. I have a linksys router that sits between 3 computers and the cable modem, and it forwards the nessesary ports for me, but when the inet addr changes i have to go in and change the addy for every port on the router. This is a pain in the neck. Is there any way i can have one inet address that never changes, and if so how do i do it? Is it a router thing or something i should set up on the box itself? Any help would be greatly appreciated.
  22. mplayer works pretty well, if you dont already have it, its easy to install. then just in the fox just goto edit->preferences and in there you'll see where you can tell it where to find apps. once installed mplayer will prolly be in /usr/bin then scroll down till ya see mplayer or gmplayer theyre both the same but one is sposed to have controls the other just a display. hope this helps ya out.
  23. so i got ldap working and it was onto qmail + ldap via this how-to: http://www.zcentric.com/wiki/tiki-index.ph...8b0db05031b920f everything was goin great till the end. when i got to this part: Now lets test out to see if qmail-ldap sees that new user /var/qmail/bin/qmail-ldaplookup -m testemail@domain.com You should get something that looks like your email.ldif file i instead got the following: [root@undergroundinfection /var/qmail/control] /var/qmail/bin/qmail-ldaplookup -m j@undergroundinfection.net qmail-ldaplookup: fatal: qldap_bind: ldap server down or unreachable thoughts, ideas, possibilities, files needed to help me? I'm stumped and my head feels fried.
  24. figured it out, in case anyone else ever has this problem , this is how i fixed it. in vi /etc/ssh/sshd_config scroll down till you see # Set this to 'yes' to enable PAM keyboard-interactive authentication # Warning: enabling this may bypass the setting of 'PasswordAuthentication' #PAMAuthenticationViaKbdInt yes then right under the #PAMAuthenticationViaKbdInt yes , add UsePAM yes then service sshd restart.
  25. [root@undergroundinfection ~]cat /etc/pam.d/system-auth #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required /lib/security/$ISA/pam_env.so auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok auth sufficient /lib/security/$ISA/pam_ldap.so use_first_pass auth required /lib/security/$ISA/pam_deny.so account required /lib/security/$ISA/pam_unix.so broken_shadow account sufficient /lib/security/$ISA/pam_succeed_if.so uid < 100 quiet account [default=bad success=ok user_unknown=ignore] /lib/security/$ISA/pam_ldap.so account required /lib/security/$ISA/pam_permit.so password requisite /lib/security/$ISA/pam_cracklib.so retry=3 type= password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow password sufficient /lib/security/$ISA/pam_ldap.so use_authtok password required /lib/security/$ISA/pam_deny.so session required /lib/security/$ISA/pam_limits.so session required /lib/security/$ISA/pam_unix.so session optional /lib/security/$ISA/pam_ldap.so [root@undergroundinfection ~]
  • Create New...