Find the answer to your Linux question:
Results 1 to 9 of 9
Installed Debian 2.6.18-5-486 business card. installed madwifi to test my atheros AR5005G card. lspci displays ath_pci, ath_hal ... ifconfig wifo0 has TX bytes nut no RX. iwconfig ath1 has 0 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    4

    Atheros problem with madwifi

    Installed Debian 2.6.18-5-486 business card.
    installed madwifi to test my atheros AR5005G card.

    lspci displays ath_pci, ath_hal ...

    ifconfig wifo0 has TX bytes nut no RX.
    iwconfig ath1 has 0 for Link Quality, Signal level and Noise level ?

    I followed the Madwifi instructions to the T (as I am linux greener than green)

    Wireless card just won't work.

    AnyOne have any ideas?

  2. #2
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    If doing:
    Code:
    lsmod
    shows that ath_pci is present, do:
    Code:
    ifconfig ath0 up
    Then:
    Code:
    ifconfig
    Is ath0 there?
    Linux Mint + IceWM Registered:#371367 New Members: click here

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    did you follow this? UserDocs/Distro/Debian/MadWifi - madwifi.org - Trac
    you didn't make mention of the step to create the device

    in your /etc/network/interfaces file
    under where you create ath0
    you have to have a pre-up line that creates the device before its brought up

  4. #4
    Just Joined!
    Join Date
    Dec 2007
    Posts
    4
    yes, I
    ifconfig ath1 up ....no errors BUT weird that it came up as ath1 not ath0 whereas wifi0 came up.

    ifconfig .... showed ALL ethernet connections including ath1

    .....I will post the actual listing output .....Only have command line mode,
    no printer.

    I installed madwifi with apt-get
    then m-a prepare, m-a ai madwifi then modprobe ath_pci

    I checked out UserDocs/Distro/Debian/MadWifi - madwifi.org - Trac
    Afterwards to verify IF I had missed a step.
    Yes Interfaces setup with pre-up link to script with iwconfig ap {mac address}, rate 11M, essid, channel 10. No encryption stuff.

    I was going to go thru the troubleshooting next!

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    are you using this as an AP or are you accessing a wireless connection with the computer? because in your pre-up you are setting it to be an AP

  6. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Does "dhclient ath1" give any errors?
    Or dhclient ath0?
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #7
    Just Joined!
    Join Date
    Dec 2007
    Posts
    4
    Am trying to access a wireless connection.

    Let me remove the pre-up and see if that works.
    I was not sure How the get the computer's wireless card
    to recognize the gateway /AP.
    without the pre-up - how will it? know where the gateway is?
    ....hmmm


    dhclient ath0 <----- No errors No IPs offered
    tries dhcpdiscover 7 times then
    No dhcp offers

    BTW thank you all for helping!!

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    you definitely need that pre-up, look at the documentation to figure out what to put there, it should not be ap if you are trying to access an AP

    this is what mine looks like since I'm using my card as an AP
    Code:
    auto ath0
    iface ath0 inet static
            address 192.168.1.1
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.1
            wireless_rate 54M
            wireless_channel 7
            wireless_essid xxxxxx
            wireless_key xxxxxxxxxxxxxxxxxxxxxxxxxx
            pre-up wlanconfig ath0 destroy
            pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap

  9. #9
    Just Joined!
    Join Date
    Dec 2007
    Posts
    4
    thanx coopstah13 - your interface options also got Atheros card to work as an Access Point..... now I know it works in AP mode !!

    BUT it won't access my gateway via Atheros card - weird
    in Managed mode.

    the search continues.....

Posting Permissions

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