Jump to content

Xnomad

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by Xnomad

  1. Yes that is the one but I thought it was also a wallpaper like this: http://static.flickr.com/31/52949384_29ebbd8785.jpg Thanks,
  2. Hi, I have an unusual request. Could someone please upload the mandriva 2006 default wallpapers please (the one with the penguin looking upwards)? I'm a 2005 user and haven't felt the need to upgrade yet but I like the look of the wallpaper. I can't find it anywhere on the web. If possible could you upload both the blue and the grey one too. I run my desktop at 1280 x 1024 Thanks in advance.
  3. Hi, I really want to be able to run a script as root as I can't be bothered doing sudo and then typing the long commands into my terminal. Here is the deal. I have encrypted containers that I need to mount quite frequently and it would be nicer to just have a script do this. My encrypted containers are in bcyrpt so I have to usually run the following line: sudo bctools mount -u xnomad -g xnomad /mnt/win/win_e/hurricane.jbc /mnt/hurricane I have tried wirting a script with the above and few more lines to mount the other containers and then get it to run as root. so I did the following: chown root:root myScript chmod 555 myScript chmod a+s myScript to set the SUID as root, I've also tried a+s and o+s ls -l myScript -r-sr-sr-x 1 root root 31 Jun 27 13:10 myScript So from what I understand I have set my script to run as root however whenever I do ./myScript it says I don't have permissions to mount or make directories in the /mnt Any ideas? Now I understand that suid root scripts can be a security loophole but surely if others can't write to it then it's safe?
  4. "%u" that's all it is In the file associations -> text -> html -> mozilla firefox -> application -> command make sure that it says /usr/local/bin/firefox/firefox %u Note the %u !!! That fixed it. :D LOL I'm making a real habit of answering my own questions on this board.
  5. It's ok I found it after playing around in Knoppix. It's in the Konqueror settings ->Behaviour -> show file tips.
  6. Is there a setting in KDE to have the same image previews that you have with Knoppix? Basically in Knoppix if you put the cursor over an image file e.g. a jpg a little window pops up with a larger preview of the image. I like that feature and would like to have the same with my LE 2005
  7. I couldn't find an answer to this on these boards last night, but I found an answer to this elsewhere. I thought I would just post it up here to improve the knowledge database for other useless newbies like me. I was messing around with installing DSL (Damn Small Linux) on a USB thumb drive and created a file in a directory in my /mnt/ directory that I couldn't delete even as root. I'm a newbie so I tried going into single user mode and other things but couldn't delete the blasted thing chmod wouldn't let me change to write permissions the permissions were as follows: -r--r--r-- 1 root root The quick answer is to do this, (replace the filename below with the name of the file you can't delete), remember to be logged in as root: lsattr filename If you see an "i" in the attributes listed then that's whats stopping you from deleting the file. so do this chattr -i filename then delete the file per usual. [moved from Terminal Shell Commands, etc by spinynorman]
  8. Thanks yes I'm using LE 2005 but the problem isn't that firefox isn't my default browser, I've already set the mime types correctly it's just that it seems to save files to /var/tmp/ and then load them in Firefox which takes longer and messes up any images or scripts. The same goes for configuring some kde applications for instance the applet Kweather, if I click on the link called "look up your ICAO code" it downloads the web page to /var/tmp/kdecache......... then loads it up in Firefox under the /var..... link.
  9. Whenever I click a link on the knewsticker applet it downloads the web page to my hard disk and then opens it up in Firefox. This is a problem because if the web page is scripted it gets all confused and doesn't know how to open it. I want to be able to click on a link in knewsticker and Firefox loads the link like a normal url and doesn't open it from a downloaded source off my hard disk. If I change the html mime to open in Konqueror and click on a link then konqueror loads the page up directly by the URL and does not download the page to disk first. Does anyone know how to fix this.
  10. yes Yes YEs YES YES YES!!!!! http://www.student.lu.se/~mat02mni/misc/setup_flgrx_ati.html Finally playing Q3A on Linux, only problem I had was the sound wasn't working but I just call up Quake 3 this way and it works artsdsp -m quake3 Now to try some newer games :D
  11. My find file window keeps getting longer and longer each time I use it yet I can't seem to resize it I can only make it taller or shorter but the length horizontally keeps getting longer each time and it won't let me make it smaller. The window is now about 7 screens long!
  12. Never mind, I've sorted it out. I ran alsamixer and pumped up the pcm values I'm on headphones at the moment so I wasn't getting the full channels coming through, now my ears are really sore as I was using AC/DC to try it out.
  13. I can't stop tinkering with my new Linux installation. :D I'm finding that my audigy sound card doesn't get as loud as it does under windows. In windows I can turn it up so that it hurts my ears in Mandriva I can't. I put full volume on whatever programme I'm running, be it Kaffeine or Amarok but it's just not loud enough. I've gone into kmix and increased the volume there too but it's not hurting my ears. Any ideas?
  14. Hi, I'm running Mandriva 10.2 and I was wondering where you can put commands so that they are executed at startup or when you login? For example I had to turn off dma support as one of my hard disks doesn't work with it. Now if I want to watch a dvd I have to use hdparm -d1 /dev/dvd to enable dma for the dvd player, I have to do this after every reboot. Where can I add the dparm -d1 /dev/dvd so that I don't have to manually do it all the time.? [moved from Software by spinynorman]
  15. Below are instructions on how to get a Lucent Winmodem to run under Mandriva Linux LE 2005/Mandriva Linux 10.2 I have just collected the information from different read me files that came with the drivers and made them a little easier for newbies, like me, to understand. Cheers, Xnomad ----------------------------------------------------------------------- KERNEL SOURCE INSTALLATION: You will need to have the kernel source installed. Go to Rpmdrake and search under "kernel" Rpmdrake can also be found under the menu as follows: System/configuration/packaging/install software For me the source came under "kernel-source-2.6-2.6.11-6mdk" Check your kernel to make sure that the source is the same version by running uname -r This will give you the kernel version If you can't find the kernel source in Rpmdrake then it is probably already installed, check /lib/modules/"yourKernelVersionHere" ---------------------------------------------------------------------- MODEM DRIVERS INSTALLATION Now download the modem drivers from here: http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ I used this driver: ltmodem-2.6-alk-7.tar.bz2 Uncompress the driver to a temporary directory open the makefile Inside the makefile change the following line KERNEL_DIR := /lib/modules/'uname -r' /build to KERNEL_DIR := /lib/modules/2.6.11-6mdk NOTE: yours might be different check /lib/modules for your folder name. Do the same for the line INSTALL_DIR := /lib/modules/'uname -r' /other replacing the 'uname -r' with the folder name you had above. now run the makefile, do this using the console make sure you are in the directory of your ltmodem-2.6-alk-7 and type make If you have the kernel source installed correctly the make file should create two files inside the modem driver folder, these being: ltmodem.ko ltserial.ko Copy these two files to the following directory if they aren't already there. /lib/modules/2.6.11-6mdk/other NOTE:replace the "2.6.11-6mdk" in the path with whatever you have for your version. Then type depmod -a _______________________________________________________________________ CONFIGURE SYSTEM TO USE DRIVERS Now we need to create the device /dev/ttyLTM0 by doing the following you need to be root so type the following to gain root privileges: su You will be prompted for the root password, once you have entered this type the below to creat the device mknod --mode=0660 /dev/ttyLTM0 c 62 64 Now go into the docs folder that came with the drivers you downloaded and copy the file called ltmodem.rules to your folder /etc/udev/rules.d if you see a file called modem.rules then delete that. The above process will create a symbolic link from the device /dev/ttyLTM0 that you created with the /dev/modem device each time you start up the computer. If you find that you don't have a /etc/udev folder then udev isn't installed on your system. In this case you will need to manually create the link by typing ln -s /dev/ttyLTM0 /dev/modem You will probably have to do this everytime you start up, remember you need to be root to do this. * See the end of this document for more info if you don't have udev now edit your /etc/modeprobe.conf file and add the following lines alias /dev/modem ltserial alias char-major-62 ltserial alias /dev/ttyLTM0 ltserial The original modem driver read me file has the last line "alias /dev/ttyLTM0 ltserial" as "alias /dev/tts/LT0 ltserial" however I didn't find that to work. ----------------------------------------------------------------------- REBOOT YOUR SYSTEM ------------------------------------------------------------------------ CONFIGURE KPPP Now open kppp (Menu Internet/Remote Access) push the "Configure" button click the "Modems" tab and add a new modem. In the Modem device setting choose "/dev/modem" and select connection speed as "57600". Now click the "Modem" tab and push the button "Query Modem" if this works then the drivers are probably doing their magic. Now configure your account to add the phone number for your ISP and your login and password. You may need to manually enter the dns server addresses if you find that when you connect you can't load a web page but you can ping internet addresses by their IP number. Get your dns server addresses from your ISP's website or phone them. ________________________________________________________________________ SIMPLE TROUBLESHOOTING If you find that your modem dials your isp however there doesn't seem to be any traffic and you can't ping IP addresses then check your firewall. Open your firewall via the menu System/Configuration/Configure your Computer. Go to the icon called "Set up a personal firewall......" Ignore the first screen unless you want to turn the firewall off completely or you plan on running servers that require ports opened. On the next screen choose "ppp+" to indicate to the firewall that you are using a modem to connect. Click OK Pleae note that I have only been using Linux for 4 days so if this doesn't work then don't flame me. I find that my modem is very tempremental and can take a few tries to get going, sometimes a shutdown and restart of the system is required to get it going. My modem was very tempremental under Win xp until I got better drivers so it might not be too bad with your system. GOOD LUCK! --------------------------------------------------------------------- * If you aren not using udev and you had to manually create a link between /dev/ttyLTM0 and /dev/modem then add the following to your /etc/modprobe.conf file: install winmodem /sbin/modprobe ltserial alias /dev/modem ltserial alias char-major-62 ltserial alias /dev/tts/LT0 ltserial If you already changed the modprobe.conf file earlier then make sure it looks like the above. Then add the following line to your /etc/modprobe.preload winmodem This should hopefully keep the link between /dev/ttyLTM0 and /dev/modem devices alive each time you reboot.
  16. Yeeeeha! Finally got it to work. The blasted firewall wasn't letting me through, so I configured PPP+ as my internet gateway and it works now. That's Xnomad =1 Winmodem = 0
  17. Well I tried the newest drivers and the modem dials up and connects to my isp but PPP isn't logging on to the network. life can be so cruel. At first I thought it was a dns issue but no.
  18. http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ You need to have the kernel source installed. It should be on your Mandrake CD. Use the rpm package manager in kde and search for "kernel" if you see the kernel source with the same version as the kernel you have then install it. I used a non mdk one from here and the makefile ran alright. However, the modem initializes and kppp can query it but I can't get it to dial. I haven't tried the newer drivers (I hadn't noticed them, so I'll try them tonight). The read me files are very helpful so check them out. If you have any luck then let me know as it's driving me mad too.
  19. Ok fixed it! The problem was a dma timeout error on my hdb (the hard disk with Mandriva installed) it's an old hard disk and I read that this can be due to bad sectors which is probably the case with the old disk. I've tried to fix these sectors before in the past but that's another story. I booted up linux using the failsafe option in lilo and the error messages came up. Under regular booting you are not able to see these messages as the splashscreen hides them and it occurs well before you can push esc for the verbose boot up. So I went into /etc/lilo.conf and added the following to the default linux section. append=" ide=nodma" this turns off dma support for all drives. If there already is an "append" line in your lilo then just add the ide=nodma inside the " " after the other arguments that follow "append=" once I saved that I ran /sbin/lilo and then rebooted and the boot process was what I would call normal. :D Only problem is that udma is turned off for all drives so playing DVD's is a problem. I used hdparm -d1 /dev/dvd (-d1 flag turns dma on and -d0 turns dma off for the respective device.) to enable dma for the dvd, I haven't checked to see if I have to do this every time after a reboot. EDIT: to get hdparm to enable dma on the dvd player at reboot type the following line into your /etc/rc.local fiel hdparm -d1 /dev/dvd or even this (stolen from another site) Tuning the Drive It may come as a surprise to learn that you can tune your DVD and CD-ROM drives as easily as you can tune your hard disks. The hdparm utility can optimize drive performance to peak efficiency, run it (as root) with at least the following parameter options: hdparm -c1 -d1 -a8 -u1 /dev/hdd where -c1 enables 32-bit I/O, -d1 enables DMA access, -a8 sets the filesystem read-ahead value and -u1 sets the drive's interrupt-unmask flag. /dev/hdd should specify your particular DVD drive device location. The parameters shown above work well with my DVD drive, but I urge you to read the hdparm manual page (man hdparm) before running the utility. Your DVD drive is a read-only device, so filesystem corruption is not an issue here. You might, however, inadvertently lower your drive's efficiency with non-optimal settings.
  20. FIXED see my last post below. This has to do with dma timeout errors. Hi I am new here and fairly new to Linux. I've just installed Mandriva LE 2005 (Download edition) My problems is after selecting Linux under Lilo, the splash screen comes up with the progress bar and nothing happens for about 2 minutes. My hard disk light is on but I can tell it isn't spinning the hard disk on which Linux is installed as that is a noisy hard disk and you can hear it spin. Then after this pause linux boots up fine and everything works normally. This happens every time I boot/reboot. I wouldn't mind if the pause weren't so very looooong. My system is as follows: Dual boot Win XP Pro and Mandrake 2005 LE AMD Athlon 3000 + 1024 MB of 333 Mhz DDR 40 GB HD (C:/ for WIN XP) 20 GB HD (the primary partion has Linux installed) GA 7VAX Gigabyte Motherboard Via KT 400 Chipset ATi Radeon 9800 Pro Creative Audigy Soundblaster (Has Firewire port on it) Now I would post a print of my dmesg from boot up but I don't think this would help as this problem seems to occur with nothing running. All I see is the splash screen and the progress bar not moving. Then when boot up starts I can go into interactive mode but there are no problems during the actual boot, once it gets going. I noticed the same kind of pause whilst installing Mandriva, after selecting the keyboard it paused for about 45 seconds before continuing with the installation. I have installed this installation successfully as a virtual machine on Win XP using VMware and there are no problems with this so I don't think the media or the downloaded data is corrupted. I have disabled my onboard network card in case this was the culprit. Lilo is installed on the MBR. I'm guessing that Linux doesn't like something on my bios or my CMOS settings, or maybe the amount of Ram I have? Thanks
×
×
  • Create New...