Jump to content

klemm

Members
  • Posts

    56
  • Joined

  • Last visited

Posts posted by klemm

  1. How old your kids are.

    Mine is 5 and other is 3

    older likes to surf sometimes, but she still knows how to take the sites from the bookmarks and does not know howto google.

     

    You can not do this in mozilla I havent found any of those settings there.

     

    But probably you can do the filtering in proxy.

    I have also heared of some content filtering solutions that work together with proxy and are dynamic. every page that is sent to the user is first analyzed and if it finds some content criterias based on some elements or words the content is denied.

    I think one of them was NetNanny and there should be more.

     

    I think there are also some application in the web available that do it you could try google for "Parental control"

     

    Kristjan

  2. Hi there,

     

    When I connect ppp0 to the internet, it always prompts for the root's password, to run:

     

    /sbin/ifup ppp0

     

     

    Are you running the box as for server or as a desktop to surf and mail and im ... ?

     

    By default mandrake allowes only root to establis the ppp0 connection even for low security level. If you use it as a desctop you can easily set up the connection to connect at boot and to stay up always.... There is no reall needs to connect and disconnect all the time. . You can also install and activate shorewall (default firewall) and make some restrictions there regarding inbound and outbound traffic. (I think by default that permits all outgoing traffic and stops all incomming).

     

    If you are not running any publick services in internet (like webservers and so) there is no need to go for high security levels, standard is more than enogh.

  3. I havent really been using any filesharings on the local computer, but now I have one box (running mandrake 10.1) that are used by 3 users.

    They want to have one common directory (under /home) that would be shared between them

     

    I made the directory /home/public but it gets a horrible mess with file permissions. and when one of them writes some files, they always have to schange the permissions so that the others can read the files.

     

    Can a shared directory be made so that it automatically enables everyone to read/write to it without always mesing with the permissions set?

     

    Should I use some special group options or some server soft to enable that common directory to those users ?

     

    [moved from Software by spinynorman]

  4. I thought I deserve them all

    :beer::beer::beer::beer::beer:

     

     

    I never believed that a desparate screwup can have an easy solution.

    I read about a tool named "testdisk".. I booted up knoppix and it was boundled there

    So I started it, it scanned the hd and showed me my home and two other partitions.

    I accepted the proposed layout to recover and restarted....

    All my data I thougt to have lost is back again. I am now coying the files to my new box

     

    So testdisk is worth fireing in case any of you get into similar mess.. I hope none of you do

    Recovering has never been so easy

     

    :headbang:

     

    edit:

    the name of the tool was actually testdisk

    see http://www.cgsecurity.org/index.html?testdisk.html

  5. You need to know what the layout of the partition tables was, _precisely_.

     

    Gpart gives the following information and it has found some start points for me also the swap at offset of 9091mb

    just after that there should have been my /home partition (ext3) that I am looking for.

    Possible partition(Linux swap), size(321mb), offset(0mb)
    Possible partition(Linux ext2), size(39mb), offset(321mb)
    Possible extended partition at offset(9091mb)
    Possible partition(Linux swap), size(517mb), offset(9091mb)
    End scan.

    is that something that can be used for guessing the partitions.

    I know how the disk partitions layout was. but not exactly.

     

    Also I can loose everything else except the area that was the home before.

    "Possible partition(Linux swap), size(517mb), offset(9091mb)" = hda5 in my previous schema

    starting with 9091mb + 517 Mb should be my hda6 that used to be /home area that I need

    I do not understand why gpart did not find anything regarding the partition that came after the swap.

     

    Can that data be used someway to recreate the partition?

     

    If I have used command dd if=/dev/hda of=/my/file ... then can I use that backup to write the data back in case I screw up and start over ?

  6. what might be a chance to restore my data files from a hard drive where the MBR and partition tables are messed up.

    What there can be done.

     

    I thought to use the fsck utilities but have no luck as the existing partitions do not point to the places where the partitions actually were.

    My /home also located on an extended not a primary partition if that makes any difference.

     

    Only thing I have managed to do is doing a backup of the disk using "dd"

     

    Is there possibilities to use some undelete programs or by reading the data from/to some sectors

    I have tried to google and read some man pages and topics but I am still clueless.

    I don't know how to restore data when the partitions are changed already. hda6 where my home was, does not even exist.

     

    :help: Can anybody help me please with this !!!!!!!

  7. Tried alsamix

    there is <line-in> that can not be tuned ?

     

    My modprobe.conf looks like that

    # This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command
    
    alias eth0 8139too
    remove snd-intel8x0 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-intel8x0
    install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /bin/true; }
    install usb-interface /sbin/modprobe uhci-hcd; /sbin/modprobe ehci-hcd; /bin/true
    # --- BEGIN: Generated by ALSACONF, do not edit. ---
    # --- ALSACONF verion 1.0.6 ---
    options snd  device_mode=0666
    alias snd-card-0 snd-intel8x0
    alias sound-slot-0 snd-intel8x0
    # --- END: Generated by ALSACONF, do not edit. ---

  8. Hello

     

    H just bought my new box and have problem with onboard sound

    I do have the sound output from my computer, but it does not accept the inputs Line-In and Mic. They are dead silent. Did run the alsaconfig just in any case but no luck.

     

    Any hint where to troubleshoot it ?

     

    Mobo

            EPOX 4PLA3i

    alsaconfig says this regarding the sound chips

            Card Intel ICH5

            Chip Realtek ALC655

    and Mandrake 10.1 Official

     

    Thanks

    Kristjan

  9. The other day I inserted the ARK disk in my and thought that I can fire it to my spare partition to see that distro. Only the system did hang with error and just after I notices that it had taken all my live system with it. It destroyed the partition set I had on the disk and replaced it with something.

     

     

    How do I see it ?

     

    HD is Maxtor Diamond Max Plus 8

    OS was Mandrake 10.1 Official.

     

    Previously I had partitions as following

    hda1 = / (ext3) (~8,5Mb)

    hda5 = swap (517mb)

    hda6 = /home (ext3)

    hda7 = /home/__username__/archive (~6Mb) (ext3)

     

     

    Now I have them

    hda1 - 321mb swap

    hda2 - 39mb (ext2)

    hda3 - the rest of disc

     

     

    I scanned the harddrive using gpart and it told the following

     

    Possible partition(Linux swap), size(321mb), offset(0mb)

    Possible partition(Linux ext2), size(39mb), offset(321mb)

    Possible extended partition at offset(9091mb)

    Possible partition(Linux swap), size(517mb), offset(9091mb)

    End scan.

     

     

    From that I read that an offset of 9091mb + 517mb the previous home should start.

    I don't care about the system area I had. its no problem to reinstall, but I care of the area that used to be my /home and I really want to get the data out that was there...

    Only question to me is still how to restore the data ?

     

    I feel sort of dumb in this area, it is complicated thing, have not had anything to deal with restoring systems, but I'd like to learn it and do it until I have some hope to restore the data files

     

    I ask your help here, I am afraid of doing any false things that can destroy my data forever....

     

    Where to start, what needs to be done and how I can try to restore it?

     

    Kristjan

  10. Hi

    One of my friend asked me other day what linux he should install

    He has a P200 and 72K od ram & 3G hdd.

    He uses the computer as a desktop, Surf the net and write emails, Sometimes some textediting and bookkeeping.

    I just wonder what to suggest to him. Would be a good chance to get one "turned into Linux".

  11. A bit of dumb question

     

    I just made a fresh install of SUSE 9.1 personal, but get a problem with my old soundcard

     

    My computer is an old 400 Celeron ....

    and soundcard is some sort of Creative Labs 16 bit soundblaster.

    Just Suse Yast is unable to detect it and when I select from the list Creative Labs and SB16, it returns an error claiming about bad parameters.

     

    new to suse and maybe you can point some directions hot to get this thing done.

     

    Many thanks

     

    [moved from Hardware by spinynorman]

  12. Thank you a lot for your help, I wouldnt got it done without your support.

     

    By the way

    The key in my case seems to be the device name not the fact of supermount or magicdev.

    half true as only one (CDRW) device started to work (I mean mout automatically) with magicdev and supermount disabled.

     

    I did rerun the harddrake and looked what was proposed. Saved the entries to fstab and enabled supermount.

    the CD part of my fstab looks now that

    none /mnt/cdrom supermount dev=/dev/sr0,fs=udf:iso9660,ro,exec,--,codepage=850,iocharset=iso8859-15,nosuid,umask=0,nodev 0 0
    none /mnt/cdrom2 supermount dev=/dev/sr1,fs=udf:iso9660,ro,exec,--,codepage=850,iocharset=iso8859-15,nosuid,umask=0,nodev 0 0

    Dont ask, but it works with this.

     

    So thanks again pmpatrick

     

    Kristjan

    :headbang:

  13. That could be that I have screwed some settings switching wetbeen 2.4 and 2.6 kernel after I installed the system. I recall that then I was asked several questions about CD devices where I accepted all what was offered without knowing what.

     

    1. The output of:

    $ uname -a

    Linux plaza 2.6.3-13mdk #1 Tue May 18 18:49:17 EDT 2004 i686 unknown unknown GNU/Linux

    2. Your /etc/lilo.conf file. That's where scsi emulation is setup.

    # File generated by DrakX/drakboot
    # WARNING: do not forget to run lilo after modifying this file
    
    boot=/dev/hda
    map=/boot/map
    default="linux"
    keytable=/boot/ee-latin9.klt
    prompt
    nowarn
    timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    
    image=/boot/vmlinuz-2.6.3-13mdk
    label="linux"
    root=/dev/hda1
    read-only
    optional
    vga=788
    append="noisapnp devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
    initrd=/boot/initrd-2.6.3-13mdk.img
    
    image=/boot/vmlinuz
    label="linux-nonfb"
    root=/dev/hda1
    initrd=/boot/initrd.img
    append="devfs=mount acpi=ht resume=/dev/hda5"
    read-only
    
    image=/boot/vmlinuz
    label="failsafe"
    root=/dev/hda1
    initrd=/boot/initrd.img
    append="failsafe acpi=ht resume=/dev/hda5 devfs=nomount"
    read-only
    
    other=/dev/fd0
    label="floppy"
    unsafe
    
    image=/boot/vmlinuz-2.4.25-5mdk
    label=2425-5
    root=/dev/hda1
    read-only
    optional
    vga=788
    append="noisapnp devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
    initrd=/boot/initrd-2.4.25-5mdk.img

    3. Your ide configuration, i.e. where your cd drives are at on the ide bus.

    In linux, drives on the ide bus are named as follows:

     

    hda - ide1 master / primary HD 40G

    hdb - ide1 slave / old secondary HD with 6G

    hdc - ide2 master / CDRW device

    hdd - ide2 slave / CDR device

     

    Kristjan

  14. after inserting the cds to both devices the directories /mnt/cdrom/ & /mnt/cdrom2/ remain empty.

     

    /etc/fstab :

    /dev/hda1 / ext3 defaults 1 1
    none /dev/pts devpts mode=0620 0 0
    /dev/hda6 /home ext3 defaults 1 2
    /dev/hda7 /home/xxxl/arhiiv/ ext3 defaults 1 2
    /dev/sr1	/mnt/cdrom	auto codepage=850,iocharset=iso8859-15,noauto,nosuid,ro,umask=0,user,nodev,exec	0 0
    /dev/fd0	/mnt/floppy	auto codepage=850,sync,unhide,iocharset=iso8859-15,noauto,nosuid,umask=0,user,nodev	0 0
    none /proc proc defaults 0 0
    /dev/hda5 swap swap defaults 0 0

  15. On the half way,

     

    running $ ps aux | grep magicdev

    results:

    kkl      4044  0.1  3.1 14488 6024 ?        S    20:07  0:00 magicdev

    root      4255  0.0  0.3  1940  652 pts2    S    20:12  0:00 grep magicdev

     

    Also enabled the supermount, and it now mounts automatically one CR-R device

    Nothing happnes when CD is inserted into the othe CD-RW (burner) device

     

    Kristjan

  16. Just if anyone else gets into the same question again.

    That small script would go through all the directory and convert the images to smaller ones, Also rotates them when needed, so that the result would be all images with right orjentation, ready to FTP to web.

     

     

    #!/bin/bash
    for FILE in $( ls *.jpg ); do
    if [ $( identify $FILE -format %[EXIF:Orientation] ) = 6 ]
     then
    nice mogrify -rotate 90 -resize 640x480 $FILE
     else
    nice mogrify -resize 640x480 $FILE
    fi
    done  
    exit

     

    Kristjan

  17. Hi

    A quick question

     

    I am running Mandrake 10 Official

    Now suddely it does not any more mount automatically the CD-s while they are inserted in.

    It was working perfectly before.

     

    Where to look at, what settings or what can influence it. I even dont recall my memory when it stopped working. My wife just claimed that "Hei it is still not working" ?

     

    Any advise, where to dig ?

     

    Kristjan

  18. there's really no way to do this as determining "up" from "down" and "left" from "right" is a purely human vision thing.  a program can't determine from the code what the orientation of the image should be, AFAIK.

     

    Images are made with a digicamera (canon G5) that does determin it in the image data.

    And Kuickshow can determine that correctly. I dont have to do any rotating when I browse the images with Kuickshow while IrfanView (in windows) does not understand it and the images need to be rotated to view properly

    Based on that I did assume that it is possible to determine it automatically and do the rotation also.

     

    Kristjan

  19. Hi

    I have around 400 images I want to put up to the web. That requires the conversion of the images to smaller images and thumbnails.

     

    I have used 'mogrify' to do the conversion, but have an issue where I need help.

    Is there a command or option that would read the exif data from the image and understand the orjentation of the image (like vertical or horisontal)

    Half of the images were shot vertically and I need to have the thmbnails and images with right orjentation after the conversion (verical images rotated by 90 deg.)

     

    I'v made a small script that would dig through the directories and make the conversion so I also need to have the rotation made automatically where it is needed

     

    Any advise here ?

     

     

    Kristjan

  20. Thanks Gowator

     

    The shorewall doc was really great... I still feel myselt a bit shy editingf the conf files manually and most of the confs I try to do with some gui or wizards... But I got my firewall conf rihgt and got rid of some useless services that were required by the MandrakeWiz.

     

    Klemm

  21. Hi

     

    I tried to enable the internet connetcion sharing and used the mandrake wizard for that.

    I't works fine, but I dont like that it also installed Squid and transfers the traffic through a Squid proxy.

     

    My conf on the Mandrake 10Official:

    ppp+ to internet

    eth0 connected to the adsl modem

    eth1 connected to LAN.

    Shorewall firewall is also installed...

     

    I have just one other computer and dont find the proxy is needed.

    I tried to change some firewall settings, but I only managed to brake the conf.

     

    Anybody can give some good advise howTo get the connection sharing work wthout Squid between. ?

     

    Kristjan

     

    [moved from Software by spinynorman]

×
×
  • Create New...