diablo_

Napravljene poruke na forumu

Gledanje 91 članaka - 91 do 100 (od 104 ukupno)
  • Autor
    Članci
  • kao odgovor na: Hitno pomoc… [sređeno] #29227
    diablo_
    Učesnik

    To vam je kompletan reame faljl ali ove linije pod alias ne mogu da dodam jer nece da snimi fajl posle editovanja.

    Koristim mandrake(madriva)10.2 LE 2005 Linux pod 2.6.11-6 kernelom.Ne razumem pianje koje editore koristim.

    kao odgovor na: Hitno pomoc… [sređeno] #29226
    diablo_
    Učesnik

    README for 2.6 kernel series port
    of Lucent/Agere linmodem driver.

    1. Requirements

    – Linux kernel 2.6.x (up to 2.6.10 tested at the moment of writing)
    – Configured kernel headers or source (read section 6 on this)
    – serial_core enabled in kernel configuration
    (Device Drivers/Character Devices/Serial Drivers/”8250/16550…”
    in menuconfig to “Yes” or “Module”)
    (most vendor supplied kernels enable this)
    – See chapter 4 for state of SMP support

    2. HOWTO build

    You may need to create /dev/ttyLTM0 if you haven’t used 2.4 version
    of driver or if you don’t use udev. Just do:
    a. mknod –mode=0660 /dev/ttyLTM0 c 62 64
    b. Change owner and group owner to match /dev/ttyS0
    (Debian users: set group to dialout)
    c. Create symlink /dev/modem to it (‘ln -s /dev/ttyLTM0 /dev/modem’)
    If you use udev, than read docs/udev-setup and skip this step.

    NOTE: previous versions of this driver used device name /dev/ttyLT0. If you upgrade
    from previous version, than you may leave old name. But if you plan to switch to udev,
    than new name may be more preferable.

    Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir or leave Makefile intact.
    In later case driver will be compiled (or miscompiled) against
    currently running kernel. Then just run make.
    You will get ltmodem.ko & ltserial.ko.
    Copy them to /lib/modules/`uname -r`/other/ dir and
    run depmod -a.

    NOTE: installing to /lib/modules/`uname -r`/other is somewhat bad practice,
    ’cause if you recompile your kernel with different options ltmodem modules
    placed to …/other will remain there, but will likely conflict
    with new kernel configuration. If that happens you must recompile (make clean; make)
    and reinstall driver. Please, be aware of that. For more safety you
    may install modules to more apropriate place e.g. /lib/modules/`uname -r`/kernel/serial/.
    In that case new kernel modules installation will erase old ltmodem modules,
    and you will easily notice it.
    I actually prefer …/other approach, because often new config will be compatible with
    previous.

    Edit your modprobe.conf to load ltserial (not lt_serial)
    for /dev/ttyLTM0.

    My modprobe.conf contains following lines:
    alias /dev/modem ltserial
    alias char-major-62 ltserial
    alias /dev/tts/LT0 ltserial

    NOTE: there were reports that devfs (which is deprecated) creates /dev/ttyLT0, not /dev/tts/LT0.
    If this is true and you still use devfs, than you will need to change last line to
    alias /dev/ttyLT0 ltserial.

    3. Report any problems to [email protected]

    4. State of SMP support

    8.31 core which is supposed to support SMP does not work on my system,
    so default core is old one (I dont remember what).
    I have also included 8.31 core which seems to work on some (probably many)
    systems. Old core also contains some fixes for SMP, I dont remember
    if I did them (on top of 8.26 for example) or it is 8.30 core which
    should contain that fixes.

    Some code to support SMP is there since revision 6,
    but because largest part of driver is closed-source
    it is very hard to ensure that SMP support is correct. I believe that
    driver should work fine on SMP systems with both cores.

    Please, report SMP success/fail reports to me ([email protected]).

    5. How to use 8.31 core

    Just change ltmdmobj.o symlink to point to ltmdmobj-8.31.
    E.g.:
    ln -sf ltmdmobj.o-8.31 ltmdmobj.o
    Be carefull to actually rebuild driver with new ltmdmobj.o.
    ‘make clean’ followed by ‘make’ should suffice.

    6. Typical build problems

    Many novice users report build problems.
    All of them were about building kernel modules against precompiled kernels. Which is
    sometimes tricky process (depending on your distro).

    This is what FUSE project recomments
    (taken from http://fuse.sourceforge.net/):

    Building the kernel module needs a configured kernel source tree matching the running kernel.
    If you build your own kernel this is no problem.
    On the other hand if a precompiled kernel is used, the kernel headers used by the FUSE build process
    must first be prepared. There are two possibilities:

    1. A package containing the kernel headers for the kernel binary is available in the distribution
    (e.g. on Debian it’s the kernel-headers-X.Y.Z package for kernel-image-X.Y.Z)
    2. The kernel source must be prepared:

    o Extract the kernel source to some directory
    o Copy the running kernel’s config (usually found in /boot/config-X.Y.Z)
    to .config at the top of the source tree
    o Run make menuconfig, then make dep at the top of the source tree (only needed on 2.4 kernels)

    If using the 2.6 kernel, then write access is needed to some files in the kernel source tree.
    Usually it is enough if you make .tmp_versions and .__modpost.cmd writable.

    Also see docs/Example.txt section KERNEL SOURCE PREPARATION.

    kao odgovor na: Hitno pomoc… [sređeno] #29222
    diablo_
    Učesnik

    Ma nije u tome problem!problem je u tome sto ja odradim sve u tom fajlu,sve dodam ali ne mogu da ga snimim jel nemam administraciona prava!!!Logujem se kao root ali opet nece da mi da da ga snimim.Jel mogu da editujem nekako textualni fajl preko konsloe???

    kao odgovor na: Hitno pomoc… [sređeno] #29220
    diablo_
    Učesnik

    logujem se kao root ali nista

    kao odgovor na: Python #29160
    diablo_
    Učesnik

    Uspeo sam da pokrenem program.Usao sam u Start(Meni) i u razvojnim okruzenjima je stajala ikonica sa nazivom IDLE ja kliknuo i ukljucio se Python.Nemam pojma kakve je to veze imalo samo je vazno da radi.

    Upravo za to mi i treba python da isprobavam proste programe.Znam malo c++ pa samim tim i sintaksu i ostale stvari tako da sam treba malo da se prilagodim komandama u pythonu.

    kao odgovor na: IRC linux chat.. #29167
    diablo_
    Učesnik

    Evo ja sam sad pa ako nekoga ima neka dodje.

    kao odgovor na: IRC linux chat.. #29164
    diablo_
    Učesnik

    Napravio sam!

    Soba se zove #linuxo.
    Mozete pristupiti preko poznatih IRC programa kao sto su Mirc,Opera,Firefox(ChatZilla),Gento….
    Ili preko sajte krstarica.

    kao odgovor na: IRC linux chat.. #29162
    diablo_
    Učesnik

    Ne znam i ja sam se to pitao.Posto nisam nasao odgovor ja cu da napravim jedan na krstarici.

    kao odgovor na: Koji antivirus za Linux #29076
    diablo_
    Učesnik

    Klasicnih Linux virusa nema jer je za vecinu komandi i akcija potrebna sifra.Nije li to logicnije?

    kao odgovor na: Ko hoce da napravi….? #26965
    diablo_
    Učesnik

    Hehe izgleda niko 😀

Gledanje 91 članaka - 91 do 100 (od 104 ukupno)