Re: Identifying multiple wifi cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/25/07, Aaron Konstam <akonstam@xxxxxxxxxxxxx> wrote:
> On Tue, 2007-09-25 at 15:47 -0400, Andrew Parker wrote:
> > I have two wifi cards, wlan0 and wlan1, each using different drivers.
> > How can I tell which driver wlan1 is using?
> How about system-config-network and hardware option. The hardware should
> imply which driver is being used. Also found in
> System->Administration->Network.
>
> /etc/modprobe also should have this information.

My bad, I should have said that I wanted to get this info
programmaticly.*I* know which is which, but I don't want to configure
my scripts to know.

However, as you say system-config-network lists the hardware, so
having spent some quality time with a python debugger, the following
gives me what I need:

$ python -c 'import kudzu; print kudzu.probe(kudzu.CLASS_NETWORK,
kudzu.BUS_UNSPEC,kudzu.PROBE_SAFE)'
[Desc:           Broadcom Corporation NetLink BCM5906M Fast Ethernet PCI Express
Driver:         tg3
Device:         eth0
, Desc:           Intel Corporation PRO/Wireless 3945ABG Network Connection
Driver:         iwl3945
Device:         wlan0
]

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux