µ±Ç°Î»ÖãºLinux½Ì³Ì - Linux - 3C905-TXÅäÖÃÏé½â

3C905-TXÅäÖÃÏé½â



        


    Q:
    ÈçºÎÔÚlinuxÏ°²×°ºÍʹÓÃ3C905C-TXÍø¿¨£¬ÎÒÓõÄÊÇTURBOLINUX3.02¡£ÄÚºË2.0.36,Çë´Í½Ì£¡

    A:
    ÎÒʹÓõĹý3c905b-TXÍø¿¨,ÄãµÄÄÇÖÖºÍ3c905¿¨,ÕâÈýÖÖÐͺÅÍø¿¨»ù±¾Ò»Ñù,±È½ÏÃ÷ÏÔµÄÇø±ðÔÚÓÚÍø
    ¿¨ÉϵĻº³å´óСÂÔÓв»Í¬,µ«ÔÚlinuxϵݲװӦ¸ÃÊÇÒ»ÑùµÄ.
    °²×°ÖÁÉÙÓÐÁ½ÖÖ·½Ê½:
    1.ÖØбàÒëÄÚºË.Ñ¡ÔñÖ§³Ö¸ÃÐͺÅÍø¿¨.
    2.ÊÖ¶¯ÔËÐÐ:
    insmode /usr/lib/module/3c509.o
    ÕâÑù,¾Í¶¯Ì¬¼ÓÈëÁ˶ԸÃÍø¿¨µÄÖ§³Ö.
    ÔËÐÐifconfig ÅäÖúÃÍøÂçºó,¼´¿É²âÊÔÍø¿¨ÊÇ·ñȷʵ¹¤×÷.
    Èç¹û,Õý³£,°Ñinsmode ºÍ ifconfig Á½ÌõÃüÁî¼ÓÈë
    /etc/rc.d/init. ÎļþÖеÄÊʵ±Î»ÖÃ.
    ÒÔÉÏĿ¼,¿ÉÄÜÓв»È·Çеĵط½.Çë×Ô¼ºÐÞÕý.Ï£Íû¶ÔÄãÓÐËù°ïÖú.
    =========================================
    Q:¶àлIdealÖ¸µã¡£
    ÎÒÊÔÁËmodprobe 3c509Õâ¸öÃüÁºÜºÃÓã¬ÏµÍ³¿ÉÒÔÈϵ½ÎÒµÄÍø¿¨¡£
    ÐÂÎÊÌâÊÇÔõôʹϵͳ¿ÉÒÔ×Ô¶¯Íê³ÉÍø¿¨µÄÅäÖá£Ð»Ð»

    A:ÕÒµ½ÒÔºó ÓÐÁ½ÖÖ·½·¨ ÆäÒ»£º ÔÚ/etc/rc.d/´´½¨
    rc.modulesÎļþ È»ºóÔÚÄÚ¼ÓÉÏmodprobe 3c509 È»ºóÔÚ rc.localÖмÓÈë £º
    ifconfig eth0 192.168.0.234 (ÄãµÄipµØÖ·)
    route add -net 192.56.0.0 netmask 255.255.255.0 dev eth0

    Æä¶þ£ºÔÚ/etc/conf.modulesÖмÓÈë
    alias eth0 3c509

    È»ºóÔÚrc.localÖмÓÈëÉÏÃæÁ½ÌõÖ¸Áî »òÕß(redhatϵͳ)ÔÚ/etc/sysconfig/network-scriptsÖд´½¨Îļþifcfg-eth0 ÄÚÈÝΪ£º
    DEVICE=eth0
    IPADDR=192.168.0.231
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    BROADCAST=192.168.0.255
    ONBOOT=yes

    ¾ßÌåÄÚÈݸù¾Ý×Ô¼ºµÄIPµØÖ·ÐÅÏ¢¸Ä¾ÍÊÇÁË
    good luck


    A:ÔÚ/etc/conf.modules Àï¼ÓÉÏ

    alias eth0 3c509

    È»ºóÔÚrc.localÖмÓÈëÉÏÃæÁ½ÌõÖ¸Áî »òÕß(redhatϵͳ)ÔÚ/etc/sysconfig/network-scriptsÖд´½¨Îļþifcfg-eth0 ÄÚÈÝΪ£º
    DEVICE=eth0
    IPADDR=192.168.0.231
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    BROADCAST=192.168.0.255
    ONBOOT=yes

    ¾ßÌåÄÚÈݸù¾Ý×Ô¼ºµÄIPµØÖ·ÐÅÏ¢¸Ä¾ÍÊÇÁË
    good luck
    ==================================
    Q:
    ÎÒµÄ3C905CÍø¿¨²ÉÓôÓ3COMÍøÕ¾ÉÏÏÂÔØÏÂÀ´µÄÇý¶¯³ÌÐò×Ô¼º±àÒë°²×°ºÃÁË£¬µ«ÊÇÎÞ·¨ÔÚLINUXÆô¶¯Ê±×Ô¶¯¼ÓÔØ£¬ÇëÎÊÈçºÎÈÃËü×Ô¶¯¼ÓÔØ£¿£¨ÎҵĻúÆ÷ÉÏ/etc/rc.d/ûÓÐrc.inet1µÈÎļþ£©Çë´Í½Ì£¬Ð»Ð»£¡

    A:
    Òª¼ÓÔØÄ£¿é£¬Ó¦¸ÃÐÞ¸Ä/etc/conf.modules£º
    alias eth0 3c905C
    options eth0 -o 3c501-0 io=0xXXX irq=X
    ×¢ÒâÓÐÏàÓ¦µÄ 3c905C Ä£¿é»òÀàËƵÄÎļþ£¬È·ÈÏÄ£¿éȷʵÓа¡£¡
    ¿´¿´Äܲ»Äܼì²âÄãµÄ¿¨£¬ÊÖ¶¯ÅäÖÃһϣ¡
    ==========================================================
    Q:ÎÒÊÇÒ»ÐÂÊÖ£¬ÎÒµÄÍø¿¨ÊÇ3c509b£¬ÎÒÒѽ«ÆÚÉèÖóÉpnp disable ״̬£¬µ«´Óа²×°redHat6¡£1»¹ÊÇϵͳÈϲ»µ½Íø¿¨£¬ËìÖØбàÒëÄںˣ¬ÎҵIJ½ÖèÈçÏ£º
    usr/src/linuxĿ¼ÏÂÖ´ÐÐ
    1¡£ make config
    ×öÁ˲¿·ÖÑ¡Ôñ£¬Ê¹Ö®Ö§³Ö3com µÄ3c509Íø¿¨¡£
    2¡£make dep
    3¡£make clean
    4¡£make zImage
    ÔÚÕâÒ»²½Ö´ÐÐÁ˱ȽϾ㬵«×îºóϵͳ³öÏÖ´íÎóÐÅÏ¢£º
    Kernel/Kernel.o(.data+0x3a10):undefined reference to proc_dointvec_bset
    make: ***[vmliux] Error 1
    È»ºóÍ£Ö¹ÔËÐУ¬ÔÚÏà¹ØĿ¼ÏÂδ·¢ÏÖеÄÄÚºËÎļþ²úÉú¡£
    ʲôԭÒò£¿Çë½Ì£¬ÇëЭÖú½â´ð¡£Ð»Ð»

    A:3comµÄ3c509bÊǷdz£ÈÝÒ×ÅäÖÃµÄ ÊÇÎÒ¼û¹ýµÄ×îÈÝÒ×ÅäÖõÄÍø¿¨ y try type :modprobe 3c509 ¿´ÏµÍ³Äܲ»ÄÜÕÒµ½
    Äã±àÒëÄں˳öÏÖµÄÎÊÌâ ÓÐÁ½¸öÔ­Òò ×î¿ÉÄܵÄÊÇ ÄãÔÚmake config ʱ ÓÐЩÏ໥ÒÀÀµµÄÑ¡ÏîûÓÐÑ¡ ÁíÍâ¿ÉÄÜÊÇÄãµÄÔ´´úÂëÓеãÎÊÌâ ÎÒÍƼöÄã ÓÃеÄÄÚºËÔ´´úÂëÖØбàÒë È»ºóÔÚmake configʱ Ò»°ã¶¼Ñ¡È´Ê¡µÃ Ö»ÐÞ¸ÄÄãÇå³þ²¢ÇÒÊDZØÐëµÄÑ¡Ï¹Ø
    good luck



    ·¢²¼ÈË:netbull À´×Ô:LinuxAid