public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Knecht" <markknecht@gmail.com>
To: Stroller <stroller@stellar.eclipse.co.uk>
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)
Date: Sun, 26 Nov 2006 11:01:02 -0800	[thread overview]
Message-ID: <5bdc1c8b0611261101m61db27a4jb41640842deefb54@mail.gmail.com> (raw)
In-Reply-To: <60AEA9DD-1B78-458A-9BD9-F3F33918289B@stellar.eclipse.co.uk>

On 11/25/06, Stroller <stroller@stellar.eclipse.co.uk> wrote:
>
> On 26 Nov 2006, at 02:01, Mark Knecht wrote:
> > ...
> > I do have the ath_pci driver and I can modprobe it successfully:
> >
> > Sector9 ~ # modprobe ath_pci
> > Sector9 ~ # lsmod
> > Module                  Size  Used by
> > <SNIP>
> > ath_pci                72800  0
> > ath_rate_sample        10880  1 ath_pci
> > <SNIP>
> > ath_hal               189264  3 ath_pci,ath_rate_sample
> > <SNIP>Sector9 ~ #
> >
> > I don't see any errors in dmesg, or even any messages.
> >
> > Since I cannot get ndiswrapper working how would I go about getting
> > ath_pci to work?
>
> What card do you actually have? IMO NDISwrapper is a last resort for
> cards that have no native support & for users who cannot afford a
> supported card.

I completely agree.

> You should certainly be using madwifi or madwifi-ng
> (the driver which provides ath_pci, IIRC) if your card supports it.
>
> What does `lspic -vt` say?

I assume you meant lspci:

Sector9 ~ # lspci -vt
-[0000:00]-+-00.0  nVidia Corporation C51 Host Bridge
           +-00.1  nVidia Corporation C51 Memory Controller 0
           +-00.2  nVidia Corporation C51 Memory Controller 1
           +-00.3  nVidia Corporation C51 Memory Controller 5
           +-00.4  nVidia Corporation C51 Memory Controller 4
           +-00.5  nVidia Corporation C51 Host Bridge
           +-00.6  nVidia Corporation C51 Memory Controller 3
           +-00.7  nVidia Corporation C51 Memory Controller 2
           +-02.0-[0000:01]--
           +-04.0-[0000:02]--
           +-05.0  nVidia Corporation C51 PCI Express Bridge
           +-09.0  nVidia Corporation MCP51 Host Bridge
           +-0a.0  nVidia Corporation MCP51 LPC Bridge
           +-0a.1  nVidia Corporation MCP51 SMBus
           +-0a.2  nVidia Corporation MCP51 Memory Controller 0
           +-0b.0  nVidia Corporation MCP51 USB Controller
           +-0b.1  nVidia Corporation MCP51 USB Controller
           +-0d.0  nVidia Corporation MCP51 IDE
           +-0e.0  nVidia Corporation MCP51 Serial ATA Controller
           +-0f.0  nVidia Corporation MCP51 Serial ATA Controller
           +-10.0-[0000:03]--+-08.0  Lite-On Communications Inc LNE100TX
           |                 \-0a.0  Atheros Communications, Inc.
AR5005G 802.11abg NIC
           +-10.1  nVidia Corporation MCP51 High Definition Audio
           +-14.0  nVidia Corporation MCP51 Ethernet Controller
           +-18.0  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
           +-18.1  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
           +-18.2  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
           \-18.3  Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
Sector9 ~ #


> What does `iwconfig` say?
>

Actually, this is interesting and (so far) unexplained. I did not
intentionally ask the system to load ath_pci but it has done that. It
appears that ath_pci may have grabbed to hardware and hence stopped
ndiswrapper from using the card? No wonder I'm told that wlan0 doesn't
exist!

Sector9 ~ # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Sector9 ~ #

So, then I have two questions:

1) What is the proper way to configure this card using ath0, assuming
it actually is supported?

2) If the above data is about my card then why isn't is coming up
802.11g? I get .11g support from ndiswrapper, or did when it
worked...)

I do have madwifi installed but I'm not intentionally trying to run
it, as far as I know:

Sector9 ~ # eix -I madwifi
* net-wireless/madwifi-ng
     Available versions:  0.0.1443.20060207 0.0.1531.20060427 0.9.2
     Installed:           0.9.2
     Homepage:            http://www.madwifi.org/
     Description:         Next Generation driver for Atheros based
IEEE 802.11a/b/g wireless LAN cards

* net-wireless/madwifi-ng-tools
     Available versions:  0.0.1443.20060207 0.0.1531.20060427 ~0.9.1
~0.9.2_rc1692 0.9.2
     Installed:           0.9.2
     Homepage:            http://www.madwifi.org/
     Description:         Next Generation tools for configuration of
Atheros based IEEE 802.11a/b/g wireless LAN cards

Found 2 matches.
Sector9 ~ #

Sector9 ~ # rc-update show
           alsasound |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
               cupsd |      default
            hostname | boot
             hotplug |      default
             keymaps | boot
               local |      default nonetwork
          localmount | boot
             modules | boot
              net.lo | boot
           net.wlan0 |      default
            netmount |      default
                ntpd |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default
Sector9 ~ # cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# 3c59x
#forcedeth
ndiswrapper
agpgart
nvidia-agp
#tulip
Sector9 ~ #



Thanks,
Mark
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-11-26 19:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-25 20:29 [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot) Mark Knecht
2006-11-25 20:48 ` Mick
2006-11-25 21:42   ` Mark Knecht
2006-11-25 22:49     ` Sergio Polini
2006-11-26  2:01       ` Mark Knecht
2006-11-26  2:59         ` Stroller
2006-11-26 19:01           ` Mark Knecht [this message]
2006-11-26 19:21             ` Stroller
2006-11-26 19:50               ` Mark Knecht
2006-11-26 13:13         ` Sergio Polini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bdc1c8b0611261101m61db27a4jb41640842deefb54@mail.gmail.com \
    --to=markknecht@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    --cc=stroller@stellar.eclipse.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox