Find the answer to your Linux question:
Page 3 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast
Results 21 to 30 of 62
Originally Posted by Actright484 yup i did i skipped all the way to the installing but then i got stuck again at loading madwifi module with comand "modprobe ath_pci" and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630

    Quote Originally Posted by Actright484 View Post
    yup i did i skipped all the way to the installing but then i got stuck again at loading madwifi module with comand "modprobe ath_pci" and got:

    FATAL: Module ath_pci not found.
    When you tried to compile the madwifi driver, are you still running into the same error about build not being linked? If so, let's see the results of:
    Code:
    ls /usr/src/kernels
    and
    Code:
    ls /lib/modules
    Also, while you're at it...
    Code:
    uname -a
    Linux Mint + IceWM Registered: #371367 New Members: click here

  2. #22
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    no i got all that fixed from what you told me to do thanks for it but "modprobe ath_pci" is giving me:
    [root@localhost ~]# modprobe ath_pci
    FATAL: Module ath_pci not found.

    thats my main problem now

  3. #23
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    I think i might have found out what my problem is after searching for ath_pci:

    [root@localhost modules]# cd /lib/modules
    [root@localhost modules]# find . -type f -name ath_pci
    [root@localhost modules]#

    you can see nothing came up so i must have some kind of driver problem? if anyone can see whats going on here please inlighten me. Thanks

  4. #24
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    Chances are your system does not yet know it is installed until it does and update. Let's do that...
    Code:
    updatedb
    When it finishes...
    Code:
    locate ath_pci
    I'm unclear as to whether you compiled the driver or simply installed it with yum. If with yum, it should be there. If you compiled it and it's not there, did you do:
    Code:
    /sbin/depmod -a
    ...after building the driver and before doing modprobe? Seems that part often gets left out. That would explain why you are getting the error when trying to modprobe.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  5. #25
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    i have not bin installing from yum because it has not bin working i've bin installing from the source but i believe that is just installing into my desktop madwifi-0.9.3.2 source file (whats up with that?) heres what it looks like:

    [root@localhost madwifi-0.9.3.2]# make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    make -C /lib/modules/2.6.20-2931.fc7xen/build SUBDIRS=/root/Desktop/madwifi-0.9.3.2 modules
    make[1]: Entering directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64'
    Building modules, stage 2.
    MODPOST 13 modules
    CC /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.mod.o
    LD [M] /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.22.4-65.fc7-x86_64'
    make -C ./tools all || exit 1
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/tools'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/tools'
    [root@localhost madwifi-0.9.3.2]# make install
    sh scripts/find-madwifi-modules.sh 2.6.22.4-65.fc7

    WARNING:
    It seems that there are modules left from previous MadWifi installations.
    If you are unistalling the MadWifi modules please press "r" to remove them.
    If you are installing new MadWifi modules, you should consider removing those
    already installed, or else you may experience problems during operation.
    Remove old modules?

    [l]ist, [r]emove, [i]gnore or e[x]it (l,r,i,[x]) ?
    i
    for i in ./ath ./ath_hal ./ath_rate ./net80211; do \
    make -C $i install || exit 1; \
    done
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    install ath_pci.ko //lib/modules/2.6.22.4-65.fc7/net
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath'
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    install ath_hal.ko //lib/modules/2.6.22.4-65.fc7/net
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_hal'
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
    for i in amrr/ onoe/ sample/; do \
    make -C $i install || exit 1; \
    done
    make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    install ath_rate_amrr.ko //lib/modules/2.6.22.4-65.fc7/net
    make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/amrr'
    make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    install ath_rate_onoe.ko //lib/modules/2.6.22.4-65.fc7/net
    make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/onoe'
    make[2]: Entering directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    install ath_rate_sample.ko //lib/modules/2.6.22.4-65.fc7/net
    make[2]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate/sample'
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/ath_rate'
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/net80211'
    test -d //lib/modules/2.6.22.4-65.fc7/net || mkdir -p //lib/modules/2.6.22.4-65.fc7/net
    for i in wlan.o wlan_wep.o wlan_tkip.o wlan_ccmp.o wlan_acl.o wlan_xauth.o wlan_scan_sta.o wlan_scan_ap.o; do \
    f=`basename $i .o`; \
    install $f.ko //lib/modules/2.6.22.4-65.fc7/net; \
    done
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/net80211'
    (export KMODPATH=/lib/modules/2.6.22.4-65.fc7/net; /sbin/depmod -ae 2.6.22.4-65.fc7)
    make -C ./tools install || exit 1
    make[1]: Entering directory `/root/Desktop/madwifi-0.9.3.2/tools'
    install -d /usr/local/bin
    for i in athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig; do \
    install $i /usr/local/bin/$i; \
    strip /usr/local/bin/$i; \
    done
    install -d /usr/local/man/man8
    install -m 0644 man/*.8 /usr/local/man/man8
    make[1]: Leaving directory `/root/Desktop/madwifi-0.9.3.2/tools'

  6. #26
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    when i trired to do yum install the first few times i just got a message like nothing to do or something but this time i got this:

    [root@localhost madwifi-0.9.3.2]# yum install madwifi
    Loading "installonlyn" plugin
    Setting up Install Process
    Parsing package install arguments
    fedora 100% |=========================| 2.1 kB 00:00
    primary.sqlite.bz2 100% |=========================| 4.7 MB 04:55
    updates 100% |=========================| 1.9 kB 00:00
    Nothing to do

    you can see theres still noting to do (theres alot to do!) when i searched for "modprobe ath_pci" this came up:
    [root@localhost madwifi-0.9.3.2]# locate ath_pci
    /lib/modules/2.6.22.4-65.fc7/net/ath_pci.ko
    /root/Desktop/madwifi-0.9.3.2/.tmp_versions/ath_pci.mod
    /root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.ko.cmd
    /root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.mod.o.cmd
    /root/Desktop/madwifi-0.9.3.2/ath/.ath_pci.o.cmd
    /root/Desktop/madwifi-0.9.3.2/ath/.if_ath_pci.o.cmd
    /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.ko
    /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.mod.c
    /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.mod.o
    /root/Desktop/madwifi-0.9.3.2/ath/ath_pci.o
    /root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.c
    /root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.h
    /root/Desktop/madwifi-0.9.3.2/ath/if_ath_pci.o

    i believe this means that in fact i have bin stalling to the desktop i don't know how that happened or how to change it but where do i go from here i'm still looking around for other i ideas as well. Thanks for the help y'all

  7. #27
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    i believe this means that in fact i have bin stalling to the desktop i don't know how that happened or how to change it but where do i go from here i'm still looking around for other i ideas as well. Thanks for the help y'all
    Compile again, this time answer "r" when it asks if you want to remove previous installs, otherwise there might be a conflict between the yum install and what you've compiled. After you do make and make install, and there are no errors... do:
    Code:
    /sbin/depmod -a
    Then:
    Code:
    /sbin/modprobe ath_pci
    If there are no errors, do:
    Code:
    /sbin/lsmod
    And see if you see it listed. If it is, go:
    Code:
    /sbin/ifconfig
    ...and see if ath0 is listed there. If you got this far, all is well and you can configure your device via:
    Code:
    system-config-network
    Linux Mint + IceWM Registered: #371367 New Members: click here

  8. #28
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    i do remove the old modules or w/e it says and i still get the same yum install problem saying theres nothing to do. by the way thanks for the quick response time it really makes this alot less frustrating

  9. #29
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,630
    If you are compiling, go ahead and remove the yum repository version of madwifi via yum if you've read there are problems there...
    Code:
    yum remove (whatever the package was called)
    Then compile the madwifi driver.
    Linux Mint + IceWM Registered: #371367 New Members: click here

  10. #30
    Just Joined!
    Join Date
    Sep 2007
    Location
    Canada
    Posts
    38
    ok i did yum remove:
    [root@localhost madwifi-0.9.3.2]# yum remove madwifi
    Loading "installonlyn" plugin
    Setting up Remove Process
    No Match for argument: madwifi
    No Packages marked for removal

    i'm all out of ideas but from what i can get theres a problem loading the drivers i go to /lib/modules/2.6.22.4-64.fc7/net and there seems to be some kind of wireless files like they say wlan and ath i don't know for sure cuz i don't know what they should look like anyone know whats wrong again the problem is this:

    [root@localhost madwifi-0.9.3.2]# modprobe ath_pci
    FATAL: Module ath_pci not found.

    HELP PLEASE

Page 3 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •