Jump to content

SurfahBoy808

Members
  • Posts

    78
  • Joined

  • Last visited

Everything posted by SurfahBoy808

  1. I was impressed by you guys the last time I asked for a script. I was looking for a script that can resize a whole directory of jpg's to a certain size. That was sweet. Now I have another script, or challenge, or whatever you want to call it. :D I'm looking for a script that will tar both my home and etc directories, then bzip them, then push it to my server where I have a backup hard drive that can store it. I would like to put this script as a cron job so it can backup my stuff daily. my current pc is lan ip 192.168.X.6 and my server is on 192.168.X.4 and the directory of my hard drive(on my server) I want to save to is called /WD160 thanks in advance, I wish I could code like you guys.
  2. I've just upgraded from Mandrake 10.1 powerpack to Mandriva 2005 LE. I was using VMWare 4.5.1-7568 with no problems. Since I've upgraded, I haven't been able to use VMWare due to the newer gcc version. When I tried to run "vmware-config.pl" I get the following. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/root/tmp/vmware-config5/vmmon-only' make -C /lib/modules/2.6.11-6mdksmp/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.11-6mdk' CC [M] /root/tmp/vmware-config5/vmmon-only/linux/driver.o /root/tmp/vmware-config5/vmmon-only/linux/driver.c:131: warning: initializationfrom incompatible pointer type /root/tmp/vmware-config5/vmmon-only/linux/driver.c:135: warning: initializationfrom incompatible pointer type CC [M] /root/tmp/vmware-config5/vmmon-only/linux/hostif.o In file included from /root/tmp/vmware-config5/vmmon-only/linux/hostif.c:61: /root/tmp/vmware-config5/vmmon-only/./include/pgtbl.h: In function `PgtblVa2PTELocked': /root/tmp/vmware-config5/vmmon-only/./include/pgtbl.h:81: error: request for member `pgd' in something not a structure or union make[2]: *** [/root/tmp/vmware-config5/vmmon-only/linux/hostif.o] Error 1 make[1]: *** [_module_/root/tmp/vmware-config5/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.11-6mdk' make: *** [vmmon.ko] Error 2 make: Leaving directory `/root/tmp/vmware-config5/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted.
  3. I'm not sure how it works for an old version like 9.0, but you don't even need to put the /usr/bin/program, you can just put in the name of the package or program and it'll run most times. For example, to run konqueror, type in konqueror in the command line and hit enter. "ls" will list files in the current directory. "du -h" will tell you the size of the files in the directory. "mkdir" makes directories. "su" is to sign in as root. I dunno, what are you looking for?
  4. damn, I just realized that the ISO's I had were the PPC version which I forgot are for macs. DOH!! I guess I can only net install cause I don't want to pay club fees.
  5. "top -ic" will list the active services.
  6. if you aren't familiar with the command line, you can use ark. When you have this package install, you can right click on the file and select "extract here" or "extract" and specify a location.
  7. the ISO's has just been released, but no matter what I do, I can't seem to boot off them. I've tried putting in CD's 2 and 3 first just to see if it will maybe boot off those, but no dice. I've even changed burners and media. No luck. I tried network install, but I think that my floppy drive is f-d up. I got issues.
  8. to ellaborate on more about the kernel, it is version 2.6.8.1-12mdk kernel that comes with 10.1 with 2.6.8.1-24-mdk the latest.
  9. sorry for the long reply, but I found out that the webmin cron job "start on boot" doesn't work. So as long as I put a time to start, it works. I had to put updatedb as a cron.
  10. I always wondered how to do this, thanks for the read guys.
  11. virtual PC is microsoft and this is a linux forum? err.....ok.
  12. yeah, it's pretty annoying, but I've heard that there is a script to fix it. A friend of mine has it. I'll try to get it from him.
  13. there's nothing to worry about guy. This is typical. Sign in as root, and type in "vmware-config.pl" and hit enter. You'll have to agree to the license agreement and then it'll ask you a few config questions about how you want your network setup (bridged, etc.) then after it'll tell you thank you for configuring. Then you can open up vmware by command line or by double clicking the executable file and use vmware. funny thing is, it will ask you to run vmware-config.pl everytime you restart your computer. I've heard of a script to fix this, but I don't know it.
  14. I have setup a ftp server with proftp. I have a few accounts with ftp://username@domain name and that prompts for a password which is ok. I have installed the proftpd-anonymous package so I can make a public ftp account. I noticed that it created a pub folder as when I go to ftp://domainname I see a pub folder and it doesn't prompt me for a password. I've been trying to find where this pub folder is located on my machine so I can dump files there so people can download. I've tried the "locate" command but didn't find anything.
  15. for some reason when I set up a cron job with webmin, it seems like it doesn't execute it. I have a cron job that is suppose to "updatedb" every time I boot, but it doesn't do it. Cause it'll say my database is old and I have to manually update it myself. There are other things I've set as a cron and webmin wont execute it.
  16. Thanks for your replies guys. The only one out of the 3 that worked was this code. How would I make the new images overwrite the old ones? do I just take out the -new part? find . -iname "*.jpg" -exec sh -c 'convert -size 800x600 "${1}" -resize 800x600 +profile "*" "${1//.jpg/-new.jpg}"' {} {} \;
  17. ok, I have a directory of jpg's. Instead of opening them up one by one in the gimp and resizing them, how do I resize a whole directory by file type? I know there's a way but I'm missing something in my command. I would imagine that this would be helpful if someone had a directory of more than 10. so far, the closest I got were these 2 different commands which did the same thing. They both created a set of resized images and 2 sets of duplicates of the original size. What am I missing? mogrify -size 3072x2048 -resize 800x600 +profile "*" *.jpg convert -size 3072x2048 *.jpg -resize 800x600 *.jpg [moved from Tips & Tricks by spinynorman]
  18. you need to install the kernel-source file of your particular kernel if you haven't done so already. This makes the initial /usr/src/include enter go through.
  19. SurfahBoy808

    Pen drive help

    I've had my cruzer mini 256MB for about 6 months and it hasn't worked in MDK at all ever. It works with knoppix though.
  20. were you looking for a link? http://ndiswrapper.sourceforge.net/ I've also heard of this one http://www.linuxant.com/company/ I used to have a Belkin PCI g card but returned it and got a netgear. But I can't get it to work. Are any of the major brands wireless cards supported without a 3rd party driver? D-Link? Linksys?
  21. I've seen others ask about real player. I wonder why would anyone want to use real player? all you need is a media player with the real player codec and you're set. Good media players to use are MPlayer, VLC, and Xine.
  22. mplayer has been buggy to me. While it works with a lot of formats, DVD discs still give me a problem. I use VLC and I'm very happy with it. From what I hear, VLC uses the codecs from other players such as mplayer. VLC plays anything.
  23. comp usa had a sell on these little suckers for $20. They normally go for $40 but there was an instant $20 rebate. Skeptical about compatibility I bought one anyway. Well, needless to say, it works in MDK 10.0 fine. I select "usb wheel" mouse in the config, and it runs well. Not meant for gamers but for anything else, it works well. just thought I post for anyone interested in getting this mouse.
×
×
  • Create New...