Find the answer to your Linux question:
Results 1 to 4 of 4
Hello! I am about to setup my WLAN which sadly isn' that easy. I have followed some instructions which use the wpa_supplicant for the WPA setup and router connecting. In ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10

    [SOLVED] Get Drivername

    Hello!

    I am about to setup my WLAN which sadly isn' that easy. I have followed some instructions which use the wpa_supplicant for the WPA setup and router connecting.

    In this example the tutor uses a -Dmadwifi flag. Well, I am sure this works for many users, but obviously that madwifi is not MY wlan driver. So, actually my quite simple question: how can I find out my driver's name?

    btw: wlan works, I succesfully connected to a non wpa/unsecure wlan router (I can't use it for surfing though...)

    Trying -Dwext made the wpa_supplicant at least try to connect but without success. Well, maybe that isn't my driver either? Grepping for wext in /etc or dmesg to see if it actually IS didn't show me anything.

    Also, I do not have hwinfo installed which is said to yield drivernames. Certainly, I cannot install it without internet access. So what can I do?


    Best regards,
    Christian

  2. #2
    Just Joined! Leppie's Avatar
    Join Date
    Feb 2010
    Posts
    72
    you can check your wireless card with this command:
    Code:
    lshw -c network
    you should be able to check the driver with this command:
    Code:
    lsmod | grep 80211

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I believe that should be a capital C as so
    Code:
    lshw -C network
    lshw(1): hardware - Linux man page

    Though I could be wrong as I don't use it.

    Not all distros have that program available by default (though Ubuntu does and it's handy). More generically, you can do
    Code:
    lspci -vnn
    And look for the wireless network adapter in the output. That will also give the driver module in use.

    For example, my laptop's wireless card looks like this
    Code:
    04:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection [8086:4222] (rev 02)
    	Subsystem: Intel Corporation PRO/Wireless 3945ABG Network Connection [8086:1000]
    	Flags: bus master, fast devsel, latency 0, IRQ 30
    	Memory at f1000000 (32-bit, non-prefetchable) [size=4K]
    	Capabilities: <access denied>
    	Kernel driver in use: iwl3945
    	Kernel modules: iwl3945

  4. #4
    Just Joined!
    Join Date
    Mar 2010
    Posts
    10
    That helped, thank you!

Posting Permissions

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