Jump to content

Lando

Members
  • Posts

    150
  • Joined

  • Last visited

Posts posted by Lando

  1. I've an old Firefox in /usr/bin that start typing "firefox" on a terminal . Now I've installed the last firefox version and I'd wish to start it

    from the terminal . What have I to change to do that ? ( I want to keep also the old version...) .

    Thanks.

  2. After the command below , port 60353 is in Iptable ( "chain input" means that it works ? ) .

    After a boot it disappears from chain input ... How can I do to have this port permanently assigned to Iptable ?

    Thanks a lot. :wall:

     

    [root@localhost lando]# /sbin/iptables -I INPUT 1 -i eth0 -p tcp --tcp-flags SYN,RST,ACK SYN --dport 60353 -m state --state NEW -j ACCEPT
    
    [root@localhost lando]# iptables -L
    
    Chain INPUT (policy DROP)
    target	 prot opt source			   destination
    ACCEPT	 tcp  --  anywhere			 anywhere			tcp dpt:60353 flags:SYN,RST,ACK/SYN state NEW

     

     

    [moved from Software by spinynorman]

  3. I've installed TB 1.5 and WebMail Extensions both in MDK 10 and Mandriva 2006 offical . In MDV works fine .

    In MDK 10 I get the msg "could not connect to localhost,the connection was refused" when i try to read the mail .

    This Msg is sent when the PORT of the localhost server is already used by the system . I've assigned the port 2010 in both the systems (the first I' ve found free...empirically ) . How can I see which port is free ,usable ...?

    Thanks a lot. :wall:

  4. In kde you can also hit Ctrl-Esc to bring up the process table which lists all running processes. From there you can select and kill whatever process you want. It's similar to Ctrl-Alt-Del in windows but the process table window has a lot more options and displays a lot more info. I find it more convenient than running the console commands as the info is consolidated in a nice window display.

     

    THANKS alot !

  5. I' ve just installed Anjuta IDE but it seems documentation is not part of the package....

    Can someone tell me how can I set compiler flags ( -lm....and so on...)?

    Many thanks. :help:

     

    PS- GTK project ......not Gnome.

  6. Giving phisical path ( mnt/hdb5/vmlinuz-2.6.3-7mdk ) everything works......Do you see possible problem ?

     

    [root@localhost lando]# cat /etc/lilo.conf

    boot=/dev/fd0

    map=/boot/map

    keytable=/boot/it-latin1.klt

    menu-scheme=wb:bw:wb:bw

    prompt

    nowarn

    timeout=100

    message=/boot/message

    image=/boot/vmlinuz

    label="MANDRIVA"

    root=/dev/hdb12

    initrd=/boot/initrd.img

    append=" acpi=ht resume=/dev/hdb11"

    other=/dev/hda1

    label="windows"

    table=/dev/hda

    image=/mnt/hdb9//boot/vmlinuz-2.4.27

    label="KNOPPIX"

    root=/dev/hdb9

    initrd=/mnt/hdb9//boot/initrd.img-2.4.27

    append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lan

    g=it"

    read-only

    image=/mnt/hdb5/vmlinuz-2.6.3-7mdk

    label="MANDRAKE"

    root=/dev/hdb7

    initrd=/mnt/hdb5/initrd-2.6.3-7mdk.img

    append="devfs=mount acpi=ht resume=/dev/hdb6"

     

     

    [root@localhost lando]# lilo -v

     

    LILO version 22.6.1, Copyright © 1992-1998 Werner Almesberger

    Development beyond version 21 Copyright © 1999-2004 John Coffman

    Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

     

    Reading boot sector from /dev/fd0

    Using GRAPHIC secondary loader

    Calling map_insert_data

    Mapping message file /boot/message -> message-graphic

    Calling map_insert_file

     

    Boot image: /boot/vmlinuz -> vmlinuz-2.6.12-12mdk

    Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

    Added MANDRIVA *

     

    Boot other: /dev/hda1, on /dev/hda, loader CHAIN

    Added windows

     

    Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

    Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

    Added KNOPPIX

     

    Boot image: /mnt/hdb5/vmlinuz-2.6.3-7mdk

    Mapping RAM disk /mnt/hdb5/initrd-2.6.3-7mdk.img

    Added MANDRAKE

     

    Writing boot sector.

    /boot/boot.0200 exists - no boot sector backup copy made.

  7. Thanks for your reply. It still doesn't work also after your advices....

    The log below shows the link to Knoppix working (no matter extra slash...) and Mandrake link not. SORRY if it is a bit long..

     

    [root@localhost lando]# cat /etc/lilo.conf

     

    boot=/dev/fd0

    map=/boot/map

    keytable=/boot/it-latin1.klt

    menu-scheme=wb:bw:wb:bw

    prompt

    nowarn

    timeout=100

    message=/boot/message

    image=/boot/vmlinuz

    label="MANDRIVA"

    root=/dev/hdb12

    initrd=/boot/initrd.img

    append=" acpi=ht resume=/dev/hdb11"

    other=/dev/hda1

    label="windows"

    table=/dev/hda

    image=/mnt/hdb9//boot/vmlinuz-2.4.27

    label="KNOPPIX"

    root=/dev/hdb9

    initrd=/mnt/hdb9//boot/initrd.img-2.4.27

    append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lang=it"

    read-only

    image=/mnt/hdb7/boot/vmlinuz-2.6.3-7mdk

    label="MANDRAKE"

    root=/dev/hdb7

    initrd=/mnt/hdb7/boot/initrd-2.6.3-7mdk.img

    append="devfs=mount acpi=ht resume=/dev/hdb6"

    read-only

     

    [root@localhost lando]# lilo -t -v

     

    LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

    Development beyond version 21 Copyright © 1999-2004 John Coffman

    Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

     

    Reading boot sector from /dev/fd0

    Using GRAPHIC secondary loader

    Calling map_insert_data

    Mapping message file /boot/message -> message-graphic

    Calling map_insert_file

     

    Boot image: /boot/vmlinuz -> vmlinuz-2.6.12-12mdk

    Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

    Added MANDRIVA

     

    Boot other: /dev/hda1, on /dev/hda, loader CHAIN

    Added windows

     

    Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

    Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

    Added KNOPPIX

     

    Boot image: /mnt/hdb7/boot/vmlinuz-2.6.3-7mdk

    Fatal: open /mnt/hdb7/boot/vmlinuz-2.6.3-7mdk: No such file or directory

     

    BELOW I TRY TO SEE IF /BOOT HAS ENTRIES........hdb7 is MANDRAKE root partition

     

    [lando@localhost hdb7]$ ls -l
    totale 160
    drwxr-xr-x   2 root root  4096 giu  3  2004 bin/
    drwxr-xr-x   2 root root  4096 giu  3  2004 boot/
    drwxr-xr-x  25 root root 94208 dic 24 18:12 dev/
    drwxr-xr-x  71 root root  4096 feb  3 05:05 etc/
    -rw-r--r--   1 root root     0 feb  3 05:05 halt
    drwxr-xr-x   3 root root  4096 gen 25 13:32 home/
    drwxr-xr-x   2 root root  4096 giu  3  2004 initrd/
    drwxr-xr-x  13 root root  4096 feb  3 04:59 lib/
    drwxr-xr-x   2 root root  4096 lug  8  2004 merda/
    drwxr-xr-x  11 root root  4096 gen  7 20:52 mnt/
    drwxr-xr-x   2 root root  4096 gen  5  2004 opt/
    drwxr-xr-x   2 root root  4096 giu  3  2004 proc/
    drwx------  21 root root  4096 feb  3 05:05 root/
    drwxr-xr-x   2 root root  4096 ago 23  2004 sbin/
    drwxr-xr-x   2 root root  4096 gen  5  2004 sys/
    drwxrwxrwt  28 root root  4096 feb  3 05:05 tmp/
    drwxr-xr-x  15 root root  4096 dic 28 19:56 usr/
    drwxr-xr-x  18 root root  4096 ago 23  2004 var/
    
    [lando@localhost hdb7]$ cd /mnt/hdb7/boot
    [lando@localhost boot]$ ls -l
    total  0

     

    The BOOT ENTRIES CAN BE SEEN....IN THE BOOT PARTITION hdb5 .....

     

    [lando@localhost boot]$ cd /mnt/hdb5
    [lando@localhost hdb5]$ ls -l
    total  7928
    -rw-r--r--  1 root root     512 lug 29  2004 boot.0200
    -rw-r--r--  1 root root     512 giu  3  2004 boot.0300
    lrwxrwxrwx  1 root root      17 feb  3 04:58 config -> config-2.6.3-7mdk
    -rw-r--r--  1 root root   54087 mar 17  2004 config-2.6.3-7mdk
    drwxr-xr-x  2 root root    4096 giu  2  2004 dev/
    -rw-r--r--  1 root root    5032 feb 19  2004 diag1.img
    -rw-r--r--  1 root root   16796 feb 19  2004 diag2.img
    drwxr-xr-x  5 root root    4096 giu  2  2004 etc/
    drwxr-xr-x  2 root root    4096 giu  3  2004 grub/
    drwxr-xr-x  2 root root    4096 giu  2  2004 home/
    -rw-r--r--  1 root root  104776 giu  3  2004 initrd-2.6.3-7mdk.img
    -rw-r--r--  1 root root  104117 ago  4  2004 initrd-2.6.3-patch2.img
    lrwxrwxrwx  1 root root      21 giu  3  2004 initrd.img -> initrd-2.6.3-7mdk.img
    lrwxrwxrwx  1 root root      25 feb  3 04:59 kernel.h -> /boot/kernel.h-2.6.3-7mdk
    -rw-r--r--  1 root root     537 giu  3  2004 kernel.h-2.6.3-7mdk
    -rw-r--r--  1 root root     537 lug 31  2004 kernel.h-2.6.3-patch1
    -rw-r--r--  1 root root     537 ago  4  2004 kernel.h-2.6.3-patch2
    -rw-------  1 root root   75264 feb  1 04:26 map
    lrwxrwxrwx  1 root root      15 giu  3  2004 message -> message-graphic
    -rw-r--r--  1 root root  442273 feb 19  2004 message-graphic
    -rw-r--r--  1 root root     116 giu  3  2004 message-text
    drwxr-xr-x  4 root root    4096 giu  2  2004 mnt/
    drwx------  4 root root    4096 giu  2  2004 root/
    lrwxrwxrwx  1 root root      21 ott 30 01:49 System.map -> System.map-2.6.3-7mdk
    -rw-r--r--  1 root root  898908 mar 17  2004 System.map-2.6.3-7mdk
    -rw-r--r--  1 root root  910504 lug 30  2004 System.map.2.6.3-patch1
    -rw-r--r--  1 root root  910504 ago  4  2004 System.map-2.6.3-patch2
    drwxr-xr-x  2 root root    4096 giu  2  2004 tmp/
    -rw-r--r--  1 root root     256 giu  3  2004 us.klt
    drwxr-xr-x  4 root root    4096 giu  2  2004 var/
    lrwxrwxrwx  1 root root      18 giu  3  2004 vmlinuz -> vmlinuz-2.6.3-7mdk
    -rw-r--r--  1 root root 1440198 mar 17  2004 vmlinuz-2.6.3-7mdk
    -rw-r--r--  1 root root 1507665 lug 30  2004 vmlinuz-2.6.3-patch1
    -rw-r--r--  1 root root 1507663 ago  4  2004 vmlinuz-2.6.3-patch2

     

    THEN I TRY TO MAKE LILO WORKING WITH hdb5 (boot partition)......

    BUT STILL FAILS.........

     

    [root@localhost lando]# cat /etc/lilo.conf

     

    boot=/dev/fd0

    map=/boot/map

    keytable=/boot/it-latin1.klt

    menu-scheme=wb:bw:wb:bw

    prompt

    nowarn

    timeout=100

    message=/boot/message

    image=/boot/vmlinuz

    label="MANDRIVA"

    root=/dev/hdb12

    initrd=/boot/initrd.img

    append=" acpi=ht resume=/dev/hdb11"

    other=/dev/hda1

    label="windows"

    table=/dev/hda

    image=/mnt/hdb9//boot/vmlinuz-2.4.27

    label="KNOPPIX"

    root=/dev/hdb9

    initrd=/mnt/hdb9//boot/initrd.img-2.4.27

    append="ramdisk_size=100000 init=/etc/init apm=power-off nomce quiet lang=it"

    read-only

    image=/mnt/hdb5/boot/vmlinuz-2.6.3-7mdk

    label="MANDRAKE"

    root=/dev/hdb7

    initrd=/mnt/hdb5/boot/initrd-2.6.3-7mdk.img

    append="devfs=mount acpi=ht resume=/dev/hdb6"

    read-only

     

     

    [root@localhost lando]# lilo -t -v

     

    LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

    Development beyond version 21 Copyright © 1999-2004 John Coffman

    Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

     

    Reading boot sector from /dev/fd0

    Using GRAPHIC secondary loader

    Calling map_insert_data

    Mapping message file /boot/message -> message-graphic

    Calling map_insert_file

     

    Boot image: /boot/vmlinuz -> vmlinuz-2.6.12-12mdk

    Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

    Added MANDRIVA

     

    Boot other: /dev/hda1, on /dev/hda, loader CHAIN

    Added windows

     

    Boot image: /mnt/hdb9//boot/vmlinuz-2.4.27

    Mapping RAM disk /mnt/hdb9//boot/initrd.img-2.4.27

    Added KNOPPIX

     

    Boot image: /mnt/hdb5/boot/vmlinuz-2.6.3-7mdk

    Fatal: open /mnt/hdb5/boot/vmlinuz-2.6.3-7mdk: No such file or directory

  8.  

    Unless, of course, I misunderstood your statement.

     

    You have get right . Below my attempt....

     

    [root@localhost lando]# cat /etc/lilo.conf

    default="linux"

    boot=/dev/fd0

    map=/boot/map

    keytable=/boot/it-latin1.klt

    menu-scheme=wb:bw:wb:bw

    prompt

    nowarn

    timeout=100

    message=/boot/message

    image=/boot/vmlinuz

    label="MANDRIVA"

    root=/dev/hdb12

    initrd=/boot/initrd.img

    append=" acpi=ht resume=/dev/hdb11"

    other=/dev/hda1

    label="windows"

    table=/dev/hda

    image=/mnt/hdb7//boot/vmlinuz-2.6.3-7mdk

    label="MANDRAKE"

    root=/dev/hdb7

    initrd=/mnt/hdb7//boot/initrd-2.6.3-7mdk.img

    append="devfs=mount acpi=ht resume=/dev/hdb6"

    read-only

     

    [root@localhost lando]# lilo -t -v

     

    LILO version 22.6.1 (test mode), Copyright © 1992-1998 Werner Almesberger

    Development beyond version 21 Copyright © 1999-2004 John Coffman

    Released 17-Nov-2004, and compiled at 14:16:24 on Sep 12 2005

     

    Reading boot sector from /dev/fd0

    Using GRAPHIC secondary loader

    Calling map_insert_data

    Mapping message file /boot/message -> message-graphic

    Calling map_insert_file

     

    Boot image: /boot/vmlinuz -> vmlinuz-2.6.12-12mdk

    Mapping RAM disk /boot/initrd.img -> initrd-2.6.12-12mdk.img

    Added MANDRIVA

     

    Boot other: /dev/hda1, on /dev/hda, loader CHAIN

    Added windows

     

    Boot image: /mnt/hdb7//boot/vmlinuz-2.6.3-7mdk

    Fatal: open /mnt/hdb7//boot/vmlinuz-2.6.3-7mdk: No such file or directory

    >>>>> OF Course there is this Kernel .... my doubts are on the directory.....

    An attempt done to link Knoppix that have only the root partition was OK... :oops::oops::oops::oops:

     

    PS- Of course /mnt/hdb7 is mounted ...........

  9. OK, but what can I do to use adsl-start and adsl-stop? When I type these commands in console, bash says me "command not found". Have I to install something? 

     

    Before you have to remove the config in Control Center then do adsl-setup (in root..)...Now you can do adsl-start and so on.

  10. I've get what I wanted using "adsl-setup" procedure instead of Control Center procedure !

    Now with adsl-start and adsl-stop the connection can be started and stopped ....... and the bring up of PPP0 is never done at boot !

    ...and the link is up and running if it is working !!!! >>>>>

    [root@localhost lando]# service -s

    adsl-status: Link is up and running on interface ppp0

     

    Though I don't know the differences beetwen these two procedures...I' m ok ! :juggle:

    :thanks::thanks::thanks:

  11. I have a modem...(not a router , I think so ) ....and on MDK 10.0 I have configured ADSL ,PPPOE,and so on....and it works.

    Moreover Mandriva "service -s"

    shows >>>>>>>>

    adsl-status: Link is down (can't read pppoe PID file /var/run/pppoe.conf-adsl.pid.pppoe)

    though it is working !

    and >>>>>>>>>>>>>

     

    [root@localhost lando]# adsl-stop

    adsl-stop: No ADSL connection appears to be running

     

    ---and route is OK ! >>>>>>>>>>>

     

    [root@localhost lando]# route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.100.1   0.0.0.0         255.255.255.255 UH    20     0        0 ppp0
    127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
    0.0.0.0         192.168.100.1   0.0.0.0         UG    20     0        0 ppp0

     

    :oops::thanks::oops:

     

     

    [

  12. After 15 minutes the system has restarted ....

    Below the directory and there isn't that module .....

     

    drwxr-xr-x  2 root root  4096 gen  5 17:01 hostname.d/
    -rwxr-xr-x  1 root root   142 gen 22 17:31 ifcfg-eth0*
    lrwxrwxrwx  1 root root    22 gen  5 16:55 ifcfg-lo -> ../networking/ifcfg-lo
    -rwxr-xr-x  1 root root   214 gen 22 17:31 ifcfg-sit0*
    lrwxrwxrwx  1 root root    20 gen  5 16:55 ifdown -> ../../../sbin/ifdown*
    -rwxr-xr-x  1 root root  1063 set 19 17:34 ifdown-aliases*
    drwxr-xr-x  2 root root  4096 gen 11 17:31 ifdown.d/
    -rwxr-xr-x  1 root root  4133 set 19 17:34 ifdown-ipv6*
    -rwxr-xr-x  1 root root  1318 set 19 17:34 ifdown-post*
    -rwxr-xr-x  1 root root  1153 set 19 17:34 ifdown-ppp*
    -rwxr-xr-x  1 root root  1863 set 19 17:34 ifdown-sit*
    -rwxr-xr-x  1 root root   902 giu 26  2002 ifdown-sl*
    lrwxrwxrwx  1 root root    18 gen  5 16:55 ifup -> ../../../sbin/ifup*
    -rwxr-xr-x  1 root root 12867 set 19 17:34 ifup-aliases*
    drwxr-xr-x  2 root root  4096 gen 11 17:31 ifup.d/
    -rwxr-xr-x  1 root root  9667 set 19 17:34 ifup-ipv6*
    -rwxr-xr-x  1 root root   821 giu 26  2002 ifup-ipx*
    -rwxr-xr-x  1 root root   689 giu 26  2002 ifup-plip*
    -rwxr-xr-x  1 root root   926 giu 26  2002 ifup-plusb*
    -rwxr-xr-x  1 root root  2695 set 19 17:34 ifup-post*
    -rwxr-xr-x  1 root root  4083 set 19 17:34 ifup-ppp*
    -rwxr-xr-x  1 root root  1197 ago 22  2003 ifup-routes*
    -rwxr-xr-x  1 root root  3545 set 19 17:34 ifup-sit*
    -rwxr-xr-x  1 root root  1646 giu 26  2002 ifup-sl*
    -rwxr-xr-x  1 root root  5767 set 19 17:34 ifup-wireless*
    -rwxr-xr-x  1 root root  5512 set 19 17:34 init.ipv6-global*
    -rw-r--r--  1 root root  9401 set 19 17:34 network-functions
    -rw-r--r--  1 root root 42332 set 19 17:34 network-functions-ipv6
    drwxr-xr-x  2 root root  4096 set 19 17:34 wireless.d/

     

     

    :thanks:

  13. I've done Internet settings through Control Center .

    At the question "do you want to start the connection at boot ? "

    one can only answer "yes" otherwise the connection fails !

    Then I reply YES ! .... and Internet works.

    The second problem is that sometimes at boot time when appear

    on the log "bringing up PPP0" the system stops !

    Sometimes continues if I hit enter and some characters.....!

    Is there a bug about it ?

    Thanks a lot . :thanks::thanks:

×
×
  • Create New...