nexpay

مشکل در نصب مودم Intel536EP در لینوکس

شروع موضوع توسط pouyan_afshin ‏17 آگوست 2005 در انجمن لینوکس و سیستم عاملهای OpenSource

  1. pouyan_afshin

    pouyan_afshin کاربر تازه وارد

    تاریخ عضویت:
    ‏7 نوامبر 2004
    نوشته ها:
    22
    تشکر شده:
    0
    --------------------------------------------------------------------------------

    i have redhat linux 9.0 with kernel 2.4.20-8 i am very new to linux now i have a problem in installing my 'Intel 536ep Modem' i downloaded driver from intel site and view the read me file of driver and try to install driver
    myself here is the shell on which i try to install



    [[email protected] omeryasin]$ su
    Password:
    [[email protected] omeryasin]# cd /home/omeryasin/Intel536-460-1-TLE50
    [[email protected] Intel536-460-1-TLE50]# make clean
    cd coredrv; make clean
    make[1]: Entering directory `/home/omeryasin/Intel536-460-1-TLE50/coredrv'
    rm -f *.o *~ core
    make[1]: Leaving directory `/home/omeryasin/Intel536-460-1-TLE50/coredrv'
    cd serialdrv; make clean
    make[1]: Entering directory `/home/omeryasin/Intel536-460-1-TLE50/serialdrv'
    rm -f *.o *~ core
    make[1]: Leaving directory `/home/omeryasin/Intel536-460-1-TLE50/serialdrv'
    rm -f *.o
    rm -f *.o
    [[email protected] Intel536-460-1-TLE50]# make 536ep
    Module precompile check
    Current running kernel is: 2.4.20-8
    /lib/modules... autoconf.h exists
    diff: /boot/vmlinuz.autoconf.h: No such file or directory
    autoconf.h matches running kernel
    diff: /boot/vmlinuz.version.h: No such file or directory
    version.h matches running kernel
    cd coredrv; make \
    "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
    536ep;
    make[1]: Entering directory `/home/omeryasin/Intel536-460-1-TLE50/coredrv'
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/bui
    ld/include -I../inc -c -o coredrv.o coredrv.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
    ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o
    make[1]: Leaving directory `/home/omeryasin/Intel536-460-1-TLE50/coredrv'
    cp coredrv/536epcore.o .
    cd serialdrv; make \
    "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
    536ep;
    make[1]: Entering directory `/home/omeryasin/Intel536-460-1-TLE50/serialdrv'
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial.o softserial.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial_io.o softserial_io.c
    cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o softserial_ioctl.o softserial_ioctl.c
    ld -r softserial.o softserial_io.o softserial_ioctl.o -o 536ep.o
    make[1]: Leaving directory `/home/omeryasin/Intel536-460-1-TLE50/serialdrv'
    cp serialdrv/536ep.o .
    [[email protected] Intel536-460-1-TLE50]# make install
    bash 536ep-inst
    running kernel 2.4.20-8
    installing hamregistry, used for persistant storage
    installing 536ep module
    installing 536ep core module
    redhat hamboot rc2.d and rc3.d scripts
    starting module and utilities
    done
    [[email protected] Intel536-460-1-TLE50]#


    now wht i have to do now does the modem installed or in readme file of driver there are further instruction given which are given here as:



    Please examine the 536ep-inst script if you have a different distribution.

    The driver is split in two. A serial driver and core driver.
    The core driver must be loaded first since the serial driver depends on it.
    The serial driver registers itself as character device
    major number 240, minor number 1.


    ATTENTION: if the driver compiles but the script just wont work for you.
    Here are the bare minimum steps to get your modem to work.

    0. log in as root.
    1. insmod -f 536epcore.o
    2. insmod -f 536ep.o
    2a. you can start "hamregistry" at this point if you wish.
    3. rm /dev/536ep
    4. mknod /dev/536ep c 240 1 (note "240" is the default, if it does not
    work see what /proc/devices says 536ep's major number is)
    5. ln -s /dev/536ep /dev/modem
    6. start a comm application like minicom and use the modem.
    7. see section 3 (International Users) for info on setting the correct
    country settings.


    -------------------------------------------------------------------------------
    4. FILE DESCRIPTIONS

    536ep-inst installation script to install 536ep modules and supporting files


    files copied to /lib/modules/(kernel-version)/misc
    536epcore.o driver core code module
    536ep.o pseudo serial driver for 536ep, depends on 536epcore.o

    files copied to /etc/rc.d/... (path differes per distribution)
    536ep-boot boot scrip to start and stop 536ep modules

    files copied to /usr/sbin
    hamregistry hamregistry is the "registry" like tool that the modem uses to
    get and store persistant data such as county info and profile strings.

    files copied to /etc
    hamregistry.bin file that stores the initial persistant data for modem.




    In file desreptions i found that only this path i.e

    files copied to /lib/modules/(kernel-version)/misc

    also i canot start these commands

    1. insmod -f 536epcore.o
    2. insmod -f 536ep.o
    2a. you can start "hamregistry" at this point if you wish.

    در ابتدای کامپایل گفته که چنین فایل یا فولدری وجود ندارد فکر کنم مشکل نصب همینجا باشه ولی راه حلش را نمیدونم
    تو را به خدا کمک کنید بد جوری گیر افتادم
     
  2. irgamer

    irgamer مدیر بازنشسته

    تاریخ عضویت:
    ‏23 جولای 2003
    نوشته ها:
    2,030
    تشکر شده:
    14
    در technotux.org بپرسید افرادی بودن که از این مودم داشتن شاید بتونن کمک کنن.
    موفق باشید
     
  3. pouyan_afshin

    pouyan_afshin کاربر تازه وارد

    تاریخ عضویت:
    ‏7 نوامبر 2004
    نوشته ها:
    22
    تشکر شده:
    0

    خدا باباتو بيامرزه دمت گرم
    نميدوني چقدر دعات كردم
    خدا از بزرگي كمت نكنه
    خيلي ممنون
    اجرت با علي
     
  4. irgamer

    irgamer مدیر بازنشسته

    تاریخ عضویت:
    ‏23 جولای 2003
    نوشته ها:
    2,030
    تشکر شده:
    14
    خواهش می کنم من که کاری از دستم بر نیومد :)
    موفق باشید
     
zarpopخرید بک لینک عسل طبیعی و گرده گل ایرانیfootbal