Thanks for your email.
Here's the output from lshw -C network:

*-network UNCLAIMED
       description: Ethernet controller
       product: AR5212 802.11abg NIC
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: p...@0000:13:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:a7f00000-a7f0ffff
As you can see there are no drivers for the wireless card. When I downloaded
madwifi and unpacked it and copied it to /usr/src to build it, I get the
following error on make:

ri...@richa-laptop:/usr/src/madwifi-0.9.4$ sudo make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.31-14-generic/build SUBDIRS=/usr/src/madwifi-0.9.4
modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
  CC [M]  /usr/src/madwifi-0.9.4/ath/if_ath.o
In file included from
/usr/src/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45,
                 from /usr/src/madwifi-0.9.4/ath/if_ath.c:71:
/usr/src/madwifi-0.9.4/ath/../ath/if_athvar.h:98: error: conflicting types
for 'irqreturn_t'
include/linux/irqreturn.h:16: note: previous declaration of 'irqreturn_t'
was here
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_attach':
/usr/src/madwifi-0.9.4/ath/if_ath.c:402: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c:678: error: 'struct net_device' has no
member named 'open'
/usr/src/madwifi-0.9.4/ath/if_ath.c:679: error: 'struct net_device' has no
member named 'stop'
/usr/src/madwifi-0.9.4/ath/if_ath.c:680: error: 'struct net_device' has no
member named 'hard_start_xmit'
/usr/src/madwifi-0.9.4/ath/if_ath.c:681: error: 'struct net_device' has no
member named 'tx_timeout'
/usr/src/madwifi-0.9.4/ath/if_ath.c:683: error: 'struct net_device' has no
member named 'set_multicast_list'
/usr/src/madwifi-0.9.4/ath/if_ath.c:684: error: 'struct net_device' has no
member named 'do_ioctl'
/usr/src/madwifi-0.9.4/ath/if_ath.c:685: error: 'struct net_device' has no
member named 'get_stats'
/usr/src/madwifi-0.9.4/ath/if_ath.c:686: error: 'struct net_device' has no
member named 'set_mac_address'
/usr/src/madwifi-0.9.4/ath/if_ath.c:687: error: 'struct net_device' has no
member named 'change_mtu'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_detach':
/usr/src/madwifi-0.9.4/ath/if_ath.c:958: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c:1005: error: 'struct net_device' has no
member named 'stop'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_create':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1014: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c:1084: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_delete':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1248: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_suspend':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1350: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_resume':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1359: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_intr':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1652: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bmiss_tasklet':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1843: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_init':
/usr/src/madwifi-0.9.4/ath/if_ath.c:1886: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop_locked':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2014: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2078: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_reset':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2182: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_startraw':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2343: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_hardstart':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2558: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mgtstart':
/usr/src/madwifi-0.9.4/ath/if_ath.c:2875: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_alloc':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3237: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_delete':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3304: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_set':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3380: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_begin':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3395: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_end':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3416: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mode_init':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3504: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_updateslot':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3555: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_config':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3585: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_update':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3633: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_turbo_switch_mode':
/usr/src/madwifi-0.9.4/ath/if_ath.c:3776: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/usr/src/madwifi-0.9.4/ath/if_ath.c:4368: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_alloc':
/usr/src/madwifi-0.9.4/ath/if_ath.c:4820: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_cleanup':
/usr/src/madwifi-0.9.4/ath/if_ath.c:4855: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_free':
/usr/src/madwifi-0.9.4/ath/if_ath.c:4909: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_capture':
/usr/src/madwifi-0.9.4/ath/if_ath.c:5404: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_capture':
/usr/src/madwifi-0.9.4/ath/if_ath.c:5437: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_recv_mgmt':
/usr/src/madwifi-0.9.4/ath/if_ath.c:5502: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_tasklet':
/usr/src/madwifi-0.9.4/ath/if_ath.c:5574: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_start':
/usr/src/madwifi-0.9.4/ath/if_ath.c:6013: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_stop':
/usr/src/madwifi-0.9.4/ath/if_ath.c:6226: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_wme_update':
/usr/src/madwifi-0.9.4/ath/if_ath.c:6441: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_uapsd_flush':
/usr/src/madwifi-0.9.4/ath/if_ath.c:6460: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_start':
/usr/src/madwifi-0.9.4/ath/if_ath.c:6655: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/usr/src/madwifi-0.9.4/ath/if_ath.c:7495: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/usr/src/madwifi-0.9.4/ath/if_ath.c:7516: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet':
/usr/src/madwifi-0.9.4/ath/if_ath.c:7551: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_timeout':
/usr/src/madwifi-0.9.4/ath/if_ath.c:7574: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_calibrate':
/usr/src/madwifi-0.9.4/ath/if_ath.c:7937: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_start':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8003: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_end':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8023: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_channel':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8041: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_coverageclass':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8057: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mhz2ieee':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8067: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newstate':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8082: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_stationkey':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8471: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newassoc':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8631: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getchannels':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8662: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_xr_rate_setup':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8832: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_subrates':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8861: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rate_setup':
/usr/src/madwifi-0.9.4/ath/if_ath.c:8904: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getstats':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9141: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_mac_address':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9164: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_change_mtu':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9196: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_ioctl':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9283: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
/usr/src/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct net_device' has no
member named 'priv'
/usr/src/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct net_device' has no
member named 'open'
make[3]: *** [/usr/src/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/usr/src/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/usr/src/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [modules] Error 2

Is this error due to the linux kernel?
Anyhow, I am not able to install the driver and that I think is the first
problem I need to solve to enable wifi once again on my laptop? Can you
suggest a solution to this or would I have to go back to Jaunty to get back
my wireless connection?

Best,
Richa


On Thu, Nov 5, 2009 at 11:26 PM, dgoodman <[email protected]>
wrote:

> Having same problem, but here is more information that may help to solve
> this issue.
>
> The Atheros AR5212 wireless chipset worked fine up through 8.10; did not
> seem to work for me in 9.04.  Located at the bottom of this comment is
> the output from the lshw command.
>
> After much searching and experimenting, I found drpjkurian's post on the
> Ubuntu forums to be a solution to the problem:
> http://ubuntuforums.org/showthread.php?p=8255018#post8255018
> However, neither the network-manager or Wicd allow me to access wireless
> networks.  I have to use the command line to scan for networks as well as
> select the network.
>
> Please please please fix this so that the AR5212 works normally again
> upon regular installation.  Thank you!  Below is the lshw output.
>
> ---------------------------------------------------------------
> id:
> network
> description:    Wireless interface
> product:        AR5212 802.11abg NIC
> vendor:         Atheros Communications Inc.
> physical id:
> 0
> bus info:
> p...@0000:03:00.0
> logical name:
> wmaster0
> version:        01
> serial:         00:19:7e:0b:94:eb
> width:  64 bits
> clock:  33MHz
> capabilities:   pm msi pciexpress msix bus_master cap_list logical ethernet
> physical wireless
> configuration:
> broadcast       =       yes
> driver  =       ath5k
> latency =       0
> multicast       =       yes
> wireless        =       IEEE 802.11abg
> resources:
> irq     :       17
> memory  :       edf00000-edf0ffff
>
> --
> Wireless network not working after upgrade from 9.04 to 9.10 though wired
> network great. Wifi card is AR5212 802.11abg NIC.
> https://bugs.launchpad.net/bugs/471649
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: New
>
> Bug description:
> The laptop does not detect any wireless network though wired network works
> fine.
> I upgraded to 9.10 from 9.04. Can't find the Atheros driver in the list of
> hardware drivers though its there is /usr/src/"uname -r"/drivers/wireless.
>


-- 
Richa Khandelwal


University Of California,
Santa Cruz.
Ph:425-241-7763

-- 
Wireless network not working after upgrade from 9.04 to 9.10 though wired 
network great. Wifi card is AR5212 802.11abg NIC.
https://bugs.launchpad.net/bugs/471649
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to