Jump to content

Steve Scrimpshire

OTW
  • Posts

    3587
  • Joined

  • Last visited

Everything posted by Steve Scrimpshire

  1. For a newbie, installing from RPMs is the way to go rather than the bleeding-edge pkgs from the website. Use the EasyUrpmi link in the upper right to configure your sources...you need contrib and plf, too. Then you can use the Software Manager to install just about everything your little heart desires. RPMs do great things like automatically create menu items and things. Anyway....wherever you installed it, the executable is more than likely called mozilla-firefox ... no extension. HTH Any further clarification, just ask. To add it to your menu, if you are using KDE, there is kmenuedit, which I believe is somewhere in KDE Control Center if you prefer launching it from GUI. To create a launcher on the desktop in KDE, just right-click the desktop and add the launcher and point the executable path to the full path where you installed firefox.
  2. Gaim can also do IRC, but Xchat is better IMHO.
  3. I worked around it like this: #!/bin/bash E_BADARGS=65 if [ ! -n "$1" ] then echo "Usage: `basename $0` file1 file2 etc." exit $E_BADARGS fi echo "spawn scp -P 23 $* omar@192.168.1.101:/home/omar match_max 100000 expect -exact \"omar@192.168.1.101's password: \" send -- \"<<my password>>\\r\" expect eof" > scp2.exp /usr/bin/expect scp2.exp rm -f scp2.exp but that seems like a horribly innefficient way of doing it. A little different, so I can pass my password as the first parameter and not have it stored in a file anywhere: #!/bin/bash E_BADARGS=65 if [ ! -n "$2" ] then echo "Usage: `basename $0` password file1 file2 etc." exit $E_BADARGS fi blech=$1 shift echo "spawn scp -P 23 $* omar@192.168.1.101:/home/omar match_max 100000 expect -exact \"omar@192.168.1.101's password: \" send -- \"$blech\\r\" expect eof" > scp2.exp /usr/bin/expect scp2.exp rm -f scp2.exp (If anyone is wondering, yes, I intentionally have ssh running on port 23)
  4. copy the rpms to whatever directory, cd to that directory and run genhdlist in there.
  5. P.S. Yes, I have tried using key-based authentication so I don't have to use an expect script, but I can't seem to get it to work: debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/omar/.ssh/id_rsa.pub debug3: send_pubkey_test debug2: we sent a publickey packet, wait for reply debug1: Authentications that can continue: publickey,password,keyboard-interactive debug2: we did not send a packet, disable method debug3: authmethod_lookup keyboard-interactive debug3: remaining preferred: password
  6. I have this expect script that I generated with autoexpect and then modified. I'd like to be able to pass as many files as I want to it and have it still work right. It is supposed to scp each file in the argument list to my desktop server. I really don't want to have to make a new scp connection for each file, but here's the weird behavior. If I write it like this: #!/usr/bin/expect -f set num [expr $argc-1] set timeout -1 spawn scp -P 23 [lindex $argv 0] [lindex $argv 1] omar@192.168.1.101:/home/omar match_max 100000 expect -exact "omar@192.168.1.101's password: " send -- "<<my password>>\r" expect eof It works as expected and I can pass two files to it like this myscript.exp file1 file2 But what if I want to pass any number of files? #!/usr/bin/expect -f set num [expr $argc-1] set timeout -1 spawn scp -P 23 [lrange $argv 0 $num] omar@192.168.1.101:/home/omar match_max 100000 expect -exact "omar@192.168.1.101's password: " send -- "<<my password>>\r" expect eof And try to call it like this: myscript.exp file1 file2 file3 I get an error file1 file2 file3: No such file or directory So it's still treating as a list or one long string. Is there a way I can pass an unlimited number of files on the commandline and do this? I hope this makes sense. TIA
  7. I think you are misunderstanding. You are changing the permissions of the group of the file/directory [root@desktop cgi-bin]# ls -l seti.pl -rwxr-xr-x 1 apache apache 15652 Mar 21 01:26 seti.pl This is not really a good example, cuz even this confuses me. omar is in group apache, so he actually has rwx permissions since apache is designated as both owner and group, I guess. So, to be safe, I guess you would: chown <<your user>>:accounting your-file chmod 0775 your-file Then you and all members of the accounting have rwx permissions, but everyone else just has r-x permissions.
  8. http://mandrakeusers.org/index.php?showtop...ndpost&p=176138 Extract it with wine Setup.exe And that should get you going using the above link as an example.
  9. d4x It's in contribs. If you have your urpmi sources set up correctly (you can use the EasyUrpmi link upper right), you can just urpmi d4x To change an icon, right click the desktop icon and then click the icon there.
  10. And don't forget, urpmi kernel often changes the /boot/vmlinuz symlink that the default linux boot often uses. :P
  11. http://mandrakeusers.org/index.php?showtopic=23154
  12. That looks like a kernel panic. Can you tell us what normal messages are before that? Also try hitting Esc at the OS selection screen and typing lilo noapic and see if you can get further.
  13. Right. CD4 is one of the mysterious Commercial Apps CDs that come with PowerPack, I believe.
  14. I actually downloaded this very driver and extracted it using wine to give more detailed help. After extracting, you'll see in ~/.wine/drive_c/Linksys Driver/WUSB54Gv4_20040703/Drivers The directories that contain the drivers depending on the version number of the adapter. They don't seem to be Windows-version specific. Pointing ndiswrapper to the *.inf file in whichever directory you need should work fine.
  15. Sendmail should work with apache with no problems. Maybe you can try editing /etc/php.ini (or php5.ini if you are using php5) and look for thi line ;sendmail_path = uncomment it by removing the ; from the front of it and put the real path to sendmail there and then restart httpd.
  16. Don't really know, actually. illogic-al helped, mostly. But after several install attempts with the inability to get X set up it finally worked. I think at one point, from this topic, she had a syntax error in her xorg.conf and then on the next one or two install attempts did not actually format /, so the syntax error was still there.
  17. lol @ VeeDubb Go to Mandrake Control Center -> Software Management -> Media Manager and highlight each source and click 'Edit' Check your path If you see /mnt/cdrom, change it to /mnt/cdrom2 (or the correct mountpoint). I hope this helps...I'm not used to doing things the gui way, let me know if you need clarification or if I pointed you in the wrong direction.
  18. afaik that's the only x86-64 iso that mdk has put out.
  19. Well, that file is right there ^ attached to your post. :P
  20. As you may notice, my sig is back to the way it was with the original script.
  21. I've formatted several DVDs using K3B....no problems.
  22. Well, it doesn't seem to be the cpu hog that it was at all. I was getting spikes while testing it for you, but was watching top and it didn't seem to be the browser or acroread, so I think that might've been something else causing it. Smoother, yes. Quicker, yes. Don't like the little banner ad up in the upper right now. Gives me an error when I try to open a link if I have mozffremote set as the browser. If there's already a running firefox window, I get the error, but the page still opens. If I have no running window, it errors and I never get the page.
  23. IceWM and WindowMaker are not the same thing. I prefer Fluxbox myself. Don't really like XFCE. I went from KDE to IceWM to Fluxbox, where I've stayed. The mention of a desktop environment called looking glass is appealing. Is this the same fabled one?
×
×
  • Create New...