Nowe posty

Autor Wątek: Atheros AR5007EG  (Przeczytany 8187 razy)

Papablask

  • Gość
Atheros AR5007EG
« dnia: 2010-05-19, 09:13:58 »
Witam

Otóż nie jestem pewien czy Ubuntu 10 wykryje moją kartę sieciową wireless.
Model : Atheros AR5007EG Wireless Network Adapter
Nie chciałbym mieć problemów po zakończeniu instalacji z dostępem do internetu i forum na którym mógłbym poczytać o problemach jakie mogą wystąpić, konfiguracji etc etc.
Po prostu nie chcę się odnaleźć w sytuacji że jestem sam na sam z Ubuntu jako świeży user bez dostępu do internetu nie wiedząc co zrobić dalej :)
Dziękuje z góry za pomoc.

EDIT : Odnalazłem coś takiego na innym forum, czy ktoś może mi to wytłumaczyć (chodzi mi czy muszę wiedzieć coś dodatkowo jako newbie)?

Cytuj
I found the quick solution from ubuntuforum.org and a document from google. here is my quick steps of getting ACER Aspire 4315 / Atheros AR5007EG Wifi to work with Xubuntu.

1. Dowload Wireless_Atheros ZIP drivers and unzip to temp directory (i.e. /Wifi
ftp://ftp.work.acer-euro.com/noteboo...XB62(WHQL).zip

2. Download latest Ndiswrapper driver:
NDISwrapper - Home

3. open terminal and untar Ndiswrapper*.gz
tar xfvz ndis*.gz

4. goto Ndiswrapper folder
cd ndis*

5. Install Ndiswrapper
sudo make
sudo make install

6. remove the module ath_pci to let ndiswrapper to use the wifi
sudo rmmod ath_pci

7. blacklist of modprobe to avoid it loading on the startup
sudo nano /etc/modprobe.d/blacklist -common
#roll to the bottom of the list and add the following line:
blacklist ath_pci
#Key: Ctrl+X to exit
#Key: Y to confirm save file

8. Reboot

9. After kenerl loaded open terminal and go to Atheros folder to install the driver
cd /wifi
sudo ndiswrapper -i net5112.inf

10. install to probe
ndiswrapper -m

11. load ndiswrapper everytime startup
sudo modprobe ndiswrapper
echo "ndiswrapper" | sudo tee -a /etc/modules

12. At this point wireless enable, press the wireless key on keyboard

flak

  • Gość
Atheros AR5007EG
« Odpowiedź #1 dnia: 2010-05-19, 10:25:00 »
Metoda przedstawiona przez ciebie jest przestarzała i niepotrzebna. Udałem się na http://ubuntuforums.org i odnalazłem oryginalną instrukcję i nad nią wisi ostrzeżenie "Przestarzałe, nie używać". Od Ubuntu 8.10 ta karta jest obsługiwana natywnie przez sterownik ath5k zawarty w dystrybucji.


P.S. Zapewne chodzi Ci o Ubuntu 10.4 LTS. Na przyszłość Ubuntu ma 2 stabilne premiery w roku - x.04 kwietniowa i x.10 październikowa. Ubuntu 10 - nie ma takiego zwierza :)

szogun_

  • Gość
Atheros AR5007EG
« Odpowiedź #2 dnia: 2010-10-12, 20:24:23 »
Witam
Trochę odgrzebie temat, ale czy ktoś próbował i skutecznie zainstalował sterownik do AR5001 według jednego z tych poradników?
http://blog.troyastle.com/2010/05/atheros-ar5212-in-ubuntu-1004-lucid.html
lub
http://ubuntuforums.org/showthread.php?t=1484242
Próbowałem próbowałem i nic. A bardzo chciałbym mieć wifi w lapku. A przepraszam jedynym "postępem" jaki udało mi się uczynić jest to:
-network UNCLAIMED     
       description: Ethernet controller
       product: AR5001 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
       resources: memory:faaf0000-faafffff
Więc jeżeli dobrze rozumiem to moje wifi robi za sieciówkę kablową. Bajer, nie? Pomocy.

flak

  • Gość
Atheros AR5007EG
« Odpowiedź #3 dnia: 2010-10-14, 22:10:50 »
Hmm... a w czym problem? Czy sieć nie działa a jeśli tak to jak nie działanie się objawia?

Wpisz w konsoli
iwconfig
a wydruk wklej na forum.

szogun_

  • Gość
Atheros AR5007EG
« Odpowiedź #4 dnia: 2010-10-15, 20:24:08 »
ok a więc postanowiłem raz jeszcze się z tym zmierzyć
i przy komendzie "make" mam takie rzeczy
root@Asusik:/home/szogun/Desktop/madwifi-0.9.4# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.32-25-generic/build SUBDIRS=/home/szogun/Desktop/madwifi-0.9.4 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-25-generic'
  CC [M]  /home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.o
In file included from /home/szogun/Desktop/madwifi-0.9.4/ath/../net80211/ieee80211_monitor.h:45,
                 from /home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:71:
/home/szogun/Desktop/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
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_attach':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:402: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:678: error: 'struct net_device' has no member named 'open'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:679: error: 'struct net_device' has no member named 'stop'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:680: error: 'struct net_device' has no member named 'hard_start_xmit'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:681: error: 'struct net_device' has no member named 'tx_timeout'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:683: error: 'struct net_device' has no member named 'set_multicast_list'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:684: error: 'struct net_device' has no member named 'do_ioctl'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:685: error: 'struct net_device' has no member named 'get_stats'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:686: error: 'struct net_device' has no member named 'set_mac_address'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:687: error: 'struct net_device' has no member named 'change_mtu'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_detach':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:958: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1005: error: 'struct net_device' has no member named 'stop'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_create':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1014: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1084: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_vap_delete':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1248: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_suspend':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1350: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_resume':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1359: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_intr':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1652: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bmiss_tasklet':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1843: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_init':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:1886: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop_locked':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2014: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_stop':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2078: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_reset':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2182: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_startraw':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2343: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_hardstart':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2558: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mgtstart':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:2875: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_alloc':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3237: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_delete':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3304: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_set':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3380: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_begin':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3395: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_key_update_end':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3416: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mode_init':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3504: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_updateslot':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3555: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_config':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3585: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_beacon_dturbo_update':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3633: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_turbo_switch_mode':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:3776: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_bstuck_tasklet':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:4368: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_alloc':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:4820: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_cleanup':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:4855: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_node_free':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:4909: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_capture':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:5404: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_capture':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:5437: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_recv_mgmt':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:5502: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rx_tasklet':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:5574: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_start':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:6013: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_grppoll_stop':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:6226: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_wme_update':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:6441: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_uapsd_flush':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:6460: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_start':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:6655: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:7495: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet_q0123':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:7516: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_tasklet':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:7551: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_tx_timeout':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:7574: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_calibrate':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:7937: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_start':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8003: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_scan_end':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8023: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_channel':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8041: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_coverageclass':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8057: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_mhz2ieee':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8067: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newstate':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8082: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_stationkey':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8471: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_newassoc':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8631: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getchannels':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8662: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_xr_rate_setup':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8832: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_setup_subrates':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8861: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rate_setup':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:8904: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_getstats':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9141: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_set_mac_address':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9164: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_change_mtu':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9196: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_ioctl':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9283: error: 'struct net_device' has no member named 'priv'
cc1: warnings being treated as errors
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_sysctl_halparam':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9370: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
include/linux/sysctl.h:985: note: expected 'loff_t *' but argument is of type 'size_t *'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9370: error: too many arguments to function 'proc_dointvec'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9562: error: passing argument 5 of 'proc_dointvec' from incompatible pointer type
include/linux/sysctl.h:985: note: expected 'loff_t *' but argument is of type 'size_t *'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9562: error: too many arguments to function 'proc_dointvec'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: At top level:
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9574: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9580: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9586: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9592: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9598: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9604: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9610: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9616: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9623: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9630: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9636: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9642: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9648: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9654: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9660: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9667: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9673: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9680: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9686: error: initialization from incompatible pointer type
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_announce':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9779: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c: In function 'ath_rcv_dev_event':
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9926: error: 'struct net_device' has no member named 'priv'
/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.c:9928: error: 'struct net_device' has no member named 'open'
make[3]: *** [/home/szogun/Desktop/madwifi-0.9.4/ath/if_ath.o] Error 1
make[2]: *** [/home/szogun/Desktop/madwifi-0.9.4/ath] Error 2
make[1]: *** [_module_/home/szogun/Desktop/madwifi-0.9.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-25-generic'
make: *** [modules] Błąd 2
więc błąd
komenda "make install"
root@Asusik:/home/szogun/Desktop/madwifi-0.9.4# make install
sh scripts/find-madwifi-modules.sh 2.6.32-25-generic
for i in ath/ ath_hal/ ath_rate/ net80211/; do \\
make -C $i install || exit 1; \\
done
make[1]: Entering directory `/home/szogun/Desktop/madwifi-0.9.4/ath'
test -d //lib/modules/2.6.32-25-generic/net || mkdir -p //lib/modules/2.6.32-25-generic/net
install ath_pci.ko //lib/modules/2.6.32-25-generic/net
install: cannot stat `ath_pci.ko': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/szogun/Desktop/madwifi-0.9.4/ath'
make: *** [install-modules] Błąd 1
iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

vboxnet0  no wireless extensions.

pan0      no wireless extensions.
lshw -c network
szogun@Asusik:~$ sudo lshw -c network
  *-network UNCLAIMED    
       description: Ethernet controller
       product: AR5001 Wireless Network Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list
       configuration: latency=0
       resources: memory:faaf0000-faafffff
  *-network
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: d
       bus info: pci@0000:00:0d.0
       logical name: eth0
       version: 10
       serial: 00:1e:8c:5d:92:5c
       size: 100MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.0.102 latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100MB/s
       resources: irq:17 ioport:d400(size=256) memory:febfcc00-febfccff
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: vboxnet0
       serial: 0a:00:27:00:00:00
       capabilities: ethernet physical
       configuration: broadcast=yes multicast=yes

flak

  • Gość
Atheros AR5007EG
« Odpowiedź #5 dnia: 2010-10-17, 13:02:27 »
Zacznijmy od początku.

Proszę podaj mi wydruk operacji:

lspci
oraz
lsmod
Żeby nie przedłużać to zakładając że jest to karta atheros bez trybu 802.11n a lsmod nie wskaże sterownika ath5k to daj w konsoli:

zaloguj się na root i:
modprobe ath5k
teraz sprawdź czy karta jest widoczna np w iwconfig.



P.S. Jeśli koniecznie zamiast ath5k, chcesz zainstalować martwy sterownik madwifi to będziesz musiał nałożyć na niego zestaw łat bo bez tego się nie skompiluje!
Bierząca wersja jest :
http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz