View Full Version : HOWTO: Atheros AR5007EG on Feisty Fawn (with ndiswrapper)
BenHobbs
December 24th, 2007, 09:17 PM
bmartin,
Thank you so very much for your guide. I followed your directions word by word and I'm now surfing on my lappy =) Thanks!!!
Acer Aspire 3680-2682
Raja Lakshminarayan
December 25th, 2007, 06:03 AM
bmartin,
Thanks a ton for the directions. I'm posting this through my wireless connection to the net.
Thanks,
Raja, INDIA
go_beep_yourself
December 27th, 2007, 04:47 PM
HELP!!!!!!!!! I HAVE NO INTERNET WITH UBUNTU
I tried using Vista x86 and x64 drivers with ndiswrapper. Neither
appeared to work.I thought I had to use ndiswrapper, but as I was
browsing around the web to find the windows driver, I found a linux
driver, so I began to follow the directions, but got stuck while
running a command didn't work. I have no experience with wireless in
Linux.
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$ ls
ifcfg-wlan0 release_note wlan0dhcp wpa_supplicant-0.4.9.tar.gz
makedrv rtl8185.tar.gz wlan0down
readme stack.tar.gz wlan0up
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$ cat readme
RTL8185 Linux Driver v1027.0823.2007 for linux kernel 2.6
- Support Client mode for either infrastructure or adhoc mode
- Support WEP and WPAPSK/WPA2PSK connection
================================================== =============================================
< Component >
The driver is composed of several parts:
(1)source code
rtl8185.tar.gz
stack.tar.gz
(2)Script ot build the modules
makedrv
(3)Script to load/unload modules
wlan0up
wlan0down
(4)Script and configuration for DHCP
wlan0dhcp
ifcfg-wlan0
(5)Supplicant source code
wpa_supplicant-0.4.9.tar.gz
(6)Example of supplicant configuration file
wpa1.conf
< Installation >
Running the scripts can finish all operations of building up modules
from source code and start the nic:
(1)Build up the driver from the source code
./makedrv
(2)Load the driver module to kernel and start up nic
./wlan0up
(if "insmod: error inserting 'r8180.ko': -File exists." met,
./wlan0rmv
./wlan0down
./wlan0up
should be OK.
)
(3)Refer to < Set wireless lan MIBs > to set Wireless LAN
specific parameters.
< Set wireless lan MIBs >
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.
Current driver supports "iwlist" to show the device status of nic
iwlist wlan0 [parameters]
where
parameter explaination [parameters]
----------------------- -------------
Show available chan and freq freq / channel
Show and Scan BSS and IBSS scan[ning]
Show supported bit-rate rate / bit[rate]
Show Power Management mode power
For example:
iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate
iwlist wlan0 power
Driver also supports "iwconfig", manipulate driver private ioctls, to set MIBs.
iwconfig wlan0 [parameters] [val]
where
parameter explaination [parameters] [val]
constraints
----------------------- -------------
------------------
Connect to AP by address ap [essid]
Set the essid, join (I)BSS essid [mac_addr]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key / enc[ryption]
{N|open|restricted|off}
For example:
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 mode essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789
< Getting IP address >
After start up the nic, the network needs to obtain an IP address
before transmit/receive data.
This can be done by setting the static IP via "ifconfig wlan0
IP_ADDRESS" command, or using DHCP.
If using DHCP, setting steps is as below:
(1)connect to an AP via "iwconfig" settings
iwconfig wlan0 essid [name] or
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
(2)run the script which run the dhclient
./wlan0dhcp
or
dhcpcd wlan0
(Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
dhcpcd -HD wlan0)
< WPAPSK >
WPA_SUPPLICANT help the network to communicate under the protection of
WPAPSK mechanism
(1)Unpack source code of WPA supplicant:
tar -zxvf wpa_supplicant-0.4.9.tar.gz
cd wpa_supplicant-0.4.9
(2)Create .config file:
cp defconfig .config
(3)Edit .config file, uncomment the following line:
#CONFIG_DRIVER_IPW=y.
(4)Build WPA supplicant:
make
If make error for lack of <include/md5.h>, install the openssl lib:
1. Install the openssl lib from corresponding installation disc:
Fedora Core 2/3/4/5/6/7(openssl-0.9.71x-xx),
Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl),
Gentoo(dev-libs/openssl), etc.
2. Download the openssl open source package from
www.openssl.org, build and install it.
(5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
For example, the following setting in "wpa1.conf" means SSID
to join is "BufAG54_Ch6"
and its passphrase is "87654321".
network={
ssid="BufAG54_Ch6"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2
}
Note: 1. proto=WPA for WPA, proto=RSN for WPA2.
2. If you want to connect an AP which works under WPA2
mixed mode, you'd better
use Realtek customed wpa_supplicant package.
(6)Execute WPA supplicant (Assume 8185 and related modules had
been loaded):
./wpa_supplicant -D ipw -c wpa1.conf -i wlan0 &
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$ ./makedrv
./ieee80211/
./ieee80211/ieee80211_module.c
./ieee80211/ieee80211_rx.c
./ieee80211/tags
./ieee80211/Makefile
./ieee80211/ieee80211_crypt_tkip.c
./ieee80211/ieee80211_softmac.c
./ieee80211/readme
./ieee80211/ieee80211_crypt_ccmp.c
./ieee80211/ieee80211.h
./ieee80211/ieee80211_tx.c
./ieee80211/ieee80211_softmac_wx.c
./ieee80211/ieee80211_crypt.h
./ieee80211/ieee80211_wx.c
./ieee80211/license
./ieee80211/ieee80211_crypt_wep.c
./ieee80211/ieee80211_crypt.c
rtl8185/
rtl8185/README.adhoc
rtl8185/r8180_sa2400.h
rtl8185/Makefile
rtl8185/copying
rtl8185/README.master
rtl8185/r8180.h
rtl8185/install
rtl8185/r8180_max2820.h
rtl8185/r8180_max2820.c
rtl8185/r8180_rtl8225.h
rtl8185/r8180_wx.h
rtl8185/authors
rtl8185/tags
rtl8185/r8180_pm.c
rtl8185/r8180_hw.h
rtl8185/r8180_gct.c
rtl8185/r8180_gct.h
rtl8185/r8180_rtl8225.c
rtl8185/readme
rtl8185/r8180_93cx6.h
rtl8185/ieee80211.h
rtl8185/license
rtl8185/r8180_pm.h
rtl8185/changes
rtl8185/r8180_rtl8225z2.c
rtl8185/r8180_wx.c
rtl8185/r8180_rtl8255.c
rtl8185/r8180_93cx6.c
rtl8185/r8180_sa2400.c
rtl8185/r8180_core.c
rtl8185/r8180_rtl8255.h
rtl8185/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko
rm -rf /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/tmp
make -C /lib/modules/2.6.22.9chris1/build
M=/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211 CC=gcc
modules
make[1]: Entering directory `/usr/src/linux-source-2.6.22'
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.o
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:
In function 'ieee80211_softmac_init':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2236:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2237:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2238:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2239:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2240:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac.c:2241:
warning: assignment from incompatible pointer type
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_rx.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_tx.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_wx.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_module.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_softmac_wx.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.o
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:
In function 'ieee80211_ccmp_aes_encrypt':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:88:
warning: passing argument 1 of 'crypto_cipher_encrypt_one' from
incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:
In function 'ieee80211_ccmp_init':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:110:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:127:
warning: passing argument 1 of 'crypto_free_cipher' from incompatible
pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:
In function 'ieee80211_ccmp_deinit':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:144:
warning: passing argument 1 of 'crypto_free_cipher' from incompatible
pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:
In function 'ieee80211_ccmp_set_key':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp.c:422:
warning: passing argument 1 of 'crypto_cipher_setkey' from
incompatible pointer type
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.o
Building modules, stage 2.
MODPOST 5 modules
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211-rtl.ko
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt-rtl.ko
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_ccmp-rtl.ko
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_tkip-rtl.ko
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/ieee80211/ieee80211_crypt_wep-rtl.ko
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/tmp
make -C /lib/modules/2.6.22.9chris1/build
M=/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185 CC=gcc
modules
make[1]: Entering directory `/usr/src/linux-source-2.6.22'
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.o
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
In function 'proc_get_stats_hw':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:375:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:376:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:379:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:380:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:383:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:384:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
In function 'check_tx_ring':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:909:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:909:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:910:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:910:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
In function 'alloc_tx_desc_ring':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1592:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1592:
warning: cast to pointer from integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
In function 'alloc_rx_desc_ring':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1770:
warning: cast from pointer to integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:1770:
warning: cast to pointer from integer of different size
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
In function 'rtl8180_init':
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3159:
warning: assignment from incompatible pointer type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522:
warning: 'deprecated_irq_flag' is deprecated (declared at
include/linux/interrupt.h:66)
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:3522:
warning: passing argument 2 of 'request_irq' from incompatible pointer
type
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:
At top level:
/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_core.c:579:
warning: 'r8180_get_wireless_stats' defined but not used
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_sa2400.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_93cx6.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_wx.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_max2820.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_gct.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8225.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8225z2.o
CC [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180_rtl8255.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "ieee80211_softmac_stop_protocol_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "free_ieee80211_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_wap_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wake_queue_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_rx_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_mode_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_is_shortslot"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_freq_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_name_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_rate_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_rate_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_ps_tx_ack"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_freq_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_is_54g"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_stop_queue_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_scan_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_essid_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_scan_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wpa_supplicant_ioctl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_mode_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_get_beacon"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_rawtx_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_encode_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_stop_protocol_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_wap_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_power_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_get_encode_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_softmac_start_protocol_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wlan_frequencies_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_power_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "alloc_ieee80211_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_reset_queue"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_wx_set_essid_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
WARNING: "ieee80211_start_protocol_rtl"
[/home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko]
undefined!
CC /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.mod.o
LD [M] /home/chris/Desktop/rtl8185_linux_26.1027.0823.2007/rtl8185/r8180.ko
make[1]: Leaving directory `/usr/src/linux-source-2.6.22'
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$ ./wlan0up
insmod: error inserting 'ieee80211_crypt-rtl.ko': -1 Operation not permitted
insmod: error inserting 'ieee80211_crypt_wep-rtl.ko': -1 Operation not permitted
insmod: error inserting 'ieee80211_crypt_tkip-rtl.ko': -1 Operation
not permitted
insmod: error inserting 'ieee80211_crypt_ccmp-rtl.ko': -1 Operation
not permitted
insmod: error inserting 'ieee80211-rtl.ko': -1 Operation not permitted
insmod: error inserting 'r8180.ko': -1 Operation not permitted
wlan0: ERROR while getting interface flags: No such device
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$ sudo ./wlan0up
[sudo] password for chris:
wlan0: ERROR while getting interface flags: No such device
chris@ubuntu:~/Desktop/rtl8185_linux_26.1027.0823.2007$
Why does it say wlan0, no such device? I appended this to my
/etc/network/interfaces
iface wlan0 inet dhcp
auto wlan0
and I restarted the networking service.
prescottp
December 31st, 2007, 05:03 AM
I keep getting this error when I try to go through step 5 of the process, as described on page 1 of this thread...
penguin@300below-laptop:~/ndiswrapper-1.5$ sudo make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
removing /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper
/bin/rm: cannot remove `/lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper': Is a directory
make: *** [uninstall] Error 1
penguin@300below-laptop:~/ndiswrapper-1.5$
Any ideas??
go_beep_yourself
December 31st, 2007, 05:09 AM
I keep getting this error when I try to go through step 5 of the process, as described on page 1 of this thread...
penguin@300below-laptop:~/ndiswrapper-1.5$ sudo make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
removing /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper
/bin/rm: cannot remove `/lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper': Is a directory
make: *** [uninstall] Error 1
penguin@300below-laptop:~/ndiswrapper-1.5$
Any ideas??
Notice this message.
Run uninstall as many times as necessary until no "removing" messages appear below.
What it is saying is to run this command several times until nothing is getting removed anymore.
sudo make uninstall
danwood76
December 31st, 2007, 05:13 AM
If you still get that error message after re running try to remove the module manually by doing:
sudo rm -R /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper
then re run the sudo make uninstall
regards,
Danny
prescottp
December 31st, 2007, 05:22 AM
GoBeep-- I tried it like 20 times... Then I tried Danny's and that worked. I'm not sure why it worked that way though-- perhaps I was leaving out the sudo before the rm command, as I tried to remove it manually with a recursive option, too. Thanks for the help. I'll let you know soon how the rest of the install goes.
prescottp
December 31st, 2007, 05:23 AM
Now I'm having this problem:
penguin@300below-laptop:~/ndiswrapper-1.5$ make
make -C driver
make[1]: Entering directory `/home/penguin/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/penguin/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/penguin/ndiswrapper-1.5/driver/hal.o
Assembler messages:
Fatal error: can't create /home/penguin/ndiswrapper-1.5/driver/.tmp_hal.o: Permission denied
make[3]: *** [/home/penguin/ndiswrapper-1.5/driver/hal.o] Error 2
make[2]: *** [_module_/home/penguin/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/penguin/ndiswrapper-1.5/driver'
make: *** [all] Error 2
penguin@300below-laptop:~/ndiswrapper-1.5$
go_beep_yourself
December 31st, 2007, 05:24 AM
If you still get that error message after re running try to remove the module manually by doing:
sudo rm -R /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper
then re run the sudo make uninstall
regards,
Danny
Would you please help me uninstall a linux wireless driver (rtl8185_linux_26.1027.0823.2007) that did not work? I posted in the big code block above. I've tried removing several different ways. I tried "sudo make uninstall", "sudo ./makedrv uninstall". Neither worked :(
prescottp
December 31st, 2007, 05:29 AM
So then I tried to continue on the #5 from the first post in the thread...
penguin@300below-laptop:~/ndiswrapper-1.5$ make
make -C driver
make[1]: Entering directory `/home/penguin/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/penguin/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/penguin/ndiswrapper-1.5/driver/hal.o
Assembler messages:
Fatal error: can't create /home/penguin/ndiswrapper-1.5/driver/.tmp_hal.o: Permission denied
make[3]: *** [/home/penguin/ndiswrapper-1.5/driver/hal.o] Error 2
make[2]: *** [_module_/home/penguin/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/penguin/ndiswrapper-1.5/driver'
make: *** [all] Error 2
penguin@300below-laptop:~/ndiswrapper-1.5$ sudo make install
make -C driver install
make[1]: Entering directory `/home/penguin/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/penguin/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/penguin/ndiswrapper-1.5/driver/loader.o
/home/penguin/ndiswrapper-1.5/driver/loader.c: In function ‘register_devices’:
/home/penguin/ndiswrapper-1.5/driver/loader.c:930: error: ‘struct usb_driver’ has no member named ‘owner’
make[3]: *** [/home/penguin/ndiswrapper-1.5/driver/loader.o] Error 1
make[2]: *** [_module_/home/penguin/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/penguin/ndiswrapper-1.5/driver'
make: *** [install] Error 2
penguin@300below-laptop:~/ndiswrapper-1.5$
All to no avail. Any ideas?
prescottp
December 31st, 2007, 05:35 AM
So then I removed EVERYTHING and re-extracted. Here's what I have now...
penguin@300below-laptop:~/ndiswrapper-1.5$ make
make -C driver
make[1]: Entering directory `/home/penguin/ndiswrapper-1.5/driver'
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/penguin/ndiswrapper-1.5/driver \
DRIVER_VERSION=1.5
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
LD /home/penguin/ndiswrapper-1.5/driver/built-in.o
CC [M] /home/penguin/ndiswrapper-1.5/driver/hal.o
CC [M] /home/penguin/ndiswrapper-1.5/driver/iw_ndis.o
CC [M] /home/penguin/ndiswrapper-1.5/driver/loader.o
/home/penguin/ndiswrapper-1.5/driver/loader.c: In function ‘register_devices’:
/home/penguin/ndiswrapper-1.5/driver/loader.c:930: error: ‘struct usb_driver’ has no member named ‘owner’
make[3]: *** [/home/penguin/ndiswrapper-1.5/driver/loader.o] Error 1
make[2]: *** [_module_/home/penguin/ndiswrapper-1.5/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/penguin/ndiswrapper-1.5/driver'
make: *** [all] Error 2
penguin@300below-laptop:~/ndiswrapper-1.5$
tdrusk
December 31st, 2007, 12:01 PM
Anyone want to update the guide so it uses ndiswrapper 1.51
go_beep_yourself
December 31st, 2007, 08:54 PM
Anyone want to update the guide so it uses ndiswrapper 1.51
Is the latest version of ndiswrapper in the ubuntu repositories?
prescottp
January 3rd, 2008, 01:14 AM
Alright I figured out how to get the wireless working. Apparently it was downloading 1.5 and not 1.51. However, now that the wireless is working, I still can't get it to finish the connection. It can see all the wireless networks in the area, but it won't get an IP address. I thought it was something to do with WPA and a TKIP key, but when I turned the security off it still wouldn't get an IP address... It wouldn't work with a manual IP either, even with all the other settings plugged in. Does anyone have any ideas as to why that's going on? I'm using Wicd... Does it have something to do with that?
bwtranch
January 3rd, 2008, 01:36 AM
Re: #264 Actually I don't. I do know that a Belkin 7050 works right out of the box and it's $35 at walmart. Don't use roaming and use WPA. You might have to re-boot and make sure you have your ESSID right. Edit: Oh yeah, no wrapper required.
aprilie
January 10th, 2008, 11:52 AM
helo I use ubuntu 7.10 and my wireless is not work I tray you advice which you post but it stil not work if do you know how to install driver for acer 5570z using ubuntu 7.10 please tell me how:confused:
xodeus
January 10th, 2008, 03:18 PM
There is a patch for the latest madwifi which allows the use of the AR5007EG so you dont have to use ndiswrapper.
http://madwifi.org/ticket/1679
Follow the directions in post 11.
When I had ndiswrapper it used to regularly crash for no reason with no recovery but a restart.
regards,
Danny
Luckily for you there is already a patched version the madwifi team have released.
http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
so you just have to untar that and follow the standard install instructions from the madwifi site. this only works on 32 bit x86 systems btw.
regards,
Danny
Could anyone post a step by step to install this one?
maybe pack it to a deb or make a script that will do the work?
Cause I'm returning to linux, but can't use my neighbours LAN cable for more than 5 minutes
Jeztastic
January 11th, 2008, 04:39 PM
Could anyone post a step by step to install this one?
maybe pack it to a deb or make a script that will do the work?
Cause I'm returning to linux, but can't use my neighbours LAN cable for more than 5 minutes
+1
The instructions on the site are incomprehensible to a n00b like myself.
fmzw
January 12th, 2008, 04:40 AM
Nice try! It works for me!
My notepad is ThinkPad R61.
I have posted my installation process here:
http://techbuffalo.blogspot.com/2008/01/try-ubuntu-wireless.html
xodeus
January 12th, 2008, 02:22 PM
+1
The instructions on the site are incomprehensible to a n00b like myself.
that's great. I can follow the instructions but I almost always get errors. So when compiling the madwifi driver I got this message. can anyone help?
mariusz@mariusz-laptop:~/Desktop/madwifi-ng-r2756+ar5007$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/mariusz/Desktop/madwifi-ng-r2756+ar5007 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath/if_ath.o
CC [M] /home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath/if_ath_pci.o
LD [M] /home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath/ath_pci.o
CC [M] /home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/ah_os.o
HOSTCC /home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: At top level:
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c: In function 'main':
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal/uudecode] Error 1
make[2]: *** [/home/mariusz/Desktop/madwifi-ng-r2756+ar5007/ath_hal] Error 2
make[1]: *** [_module_/home/mariusz/Desktop/madwifi-ng-r2756+ar5007] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
mariusz@mariusz-laptop:~/Desktop/madwifi-ng-r2756+ar5007$
I found out that I had to install build-essential package...
Now I can follow this polish howto: http://forum.ubuntu.pl/showthread.php?t=61317&highlight=5007eg
fissionmailed
January 13th, 2008, 06:54 PM
I have a problem. I have a Satellite 215 S5818, with an Atheros AR5007EG. I've tried ndiswrapper a million times and something goes wrong. I can get linux to see it just fine. It shows it has wlan0 and all. But it won't show up in Network Manager and I've tried WICD. I ONCE got it to work off and on but I had to reinstall the OS due to me screwing something up and now for the life of me I can't get it to work, When it did work, it was very iffy and some times Network Manager would just freeze, BUT it worked some times. Any ideas guys?
tad1073
January 14th, 2008, 05:48 AM
Is there any support for an AR5416 D-link Extreme G 64 bit on 32bit ubuntu, or do I need to change to 64 bit ubuntu?
00:00.0 Host bridge: Broadcom CNB20LE Host Bridge (rev 05)
00:00.1 Host bridge: Broadcom CNB20LE Host Bridge (rev 05)
00:01.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
00:03.0 Network controller: Atheros Communications, Inc. AR5416 802.11a/b/g/n Wireless PCI Adapter (rev 01)
00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 4f)
00:0f.1 IDE interface: Broadcom OSB4 IDE Controller
01:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895a (rev 01)
01:05.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 08)
01:06.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
01:07.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller
05:01.0 RAID bus controller: Digital Equipment Corporation DECchip 21554 (rev 01)
xodeus
January 14th, 2008, 06:42 AM
I have a problem. I have a Satellite 215 S5818, with an Atheros AR5007EG. I've tried ndiswrapper a million times and something goes wrong. I can get linux to see it just fine. It shows it has wlan0 and all. But it won't show up in Network Manager and I've tried WICD. I ONCE got it to work off and on but I had to reinstall the OS due to me screwing something up and now for the life of me I can't get it to work, When it did work, it was very iffy and some times Network Manager would just freeze, BUT it worked some times. Any ideas guys?
If you're running on a i386 pltform then you could maybe try compiling madwifi from source with the Atheros 5007EG patch?
Because I got it running without any problems on my Mint.
Instructions, translated from polish to english:
1. get this version of madwifi madwifi:
http://snapshots.madwifi.org/madwifi…0071018.tar.gz
2. get this patch:
http://madwifi.org/attachment/ticket…tch?format=raw
3. extract madwifi
4. Browse to the extracted folder
5. Copy/Move the patch to the extracted folder and lauch terminal and cd into the folder
6. Patch madwifi:
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
7. make
8. sudo make install
10. Now remove ath_pci in your restricted drivers manager and restart. If your wireless does not work at this point continue here:
11. sudo modprobe ath_pci
12. sudo modprobe wlan_scan_sta
13. Now you can look for aviable networks in your Network Manager.
tad1073
January 14th, 2008, 04:36 PM
What am I doing wrong I had a look at this and the drivers are the same.
Card: D-Link Rangebooster N Desktop Adapter DWA-542
Chipset: Atheros unknown device 0023 (rev 01) PCI
pciid: 168c:0023
Driver: net5416; Driver available on accompanying CD
Other: Installed on Xandros Home Desktop 4 Premium, with WPA.
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,list_c-f/
but why can't i get mine to work?
fissionmailed
January 15th, 2008, 02:55 AM
If you're running on a i386 pltform then you could maybe try compiling madwifi from source with the Atheros 5007EG patch?
Because I got it running without any problems on my Mint.
Instructions, translated from polish to english:
Nope, running a 64 bit version. I'd just wondering, even with ndiswrapper and a windows driver it won't work. But I got it to one time. :confused:
xodeus
January 15th, 2008, 03:57 AM
This can be really tricky to get it working. I tried and tried and tried with ndiswrapper and never got it working.
But madwifi and atheros are working on a solution to implent the drivers for all platform to next release of madwifi.
fissionmailed
January 15th, 2008, 02:51 PM
This can be really tricky to get it working. I tried and tried and tried with ndiswrapper and never got it working.
But madwifi and atheros are working on a solution to implent the drivers for all platform to next release of madwifi.
:\
Maybe I should just buy a cheap USB wireless card. I swear though, it's so irritating when I got it to work one time even if it was shaky and now I can't to save my life. I just hope they come out with it soon.
istredd
January 15th, 2008, 03:51 PM
Thanks alot!
Worked for me at Acer Extensa 5220 and Linux Mint Daryna (Based on Feisty), but using ndiswrapper 1.51
phidia
January 18th, 2008, 05:21 PM
I have a new HP dv6705us that has the ar5007eg chipset. I can install the driver but no network is seen. I'm using 7.10 64bit -- tried heron too but nothing there either.
It's discouraging i wanted to use this with ubuntu. I'm continuing to search and read here including connecting using cli. If anyone has suggestions i'll listen.
The more i think about it i think my best option is to return the laptop to hp ( i got a 3 week trial with it ) i just don't have the time to troubleshoot this to such extent.
xodeus
January 20th, 2008, 10:47 AM
I have a new HP dv6705us that has the ar5007eg chipset. I can install the driver but no network is seen. I'm using 7.10 64bit -- tried heron too but nothing there either.
It's discouraging i wanted to use this with ubuntu. I'm continuing to search and read here including connecting using cli. If anyone has suggestions i'll listen.
The more i think about it i think my best option is to return the laptop to hp ( i got a 3 week trial with it ) i just don't have the time to troubleshoot this to such extent.
DO not return it yet. There are several versions of the x64 driver in this post. try with all of them with ndiswrapper. You can also wait for madwifi and atheros to complete the driver; someone is talking about unleashing it in the next madwifi release. :D
robpower
January 20th, 2008, 07:00 PM
Not working on Ubuntu Gutsy 64 Bit, neither with madwifi nor ndiswrapper.
Any hope for 64bit users?:confused:
siukii
January 21st, 2008, 08:51 AM
I almost got it to work i did this (http://ubuntuforums.org/showthread.php?p=3202754#post3202754) (but i use ndiswrapper 1.51 the last one), i used i dont remember what drivers but i think they are the most common ones for 64 bits winxp, i can see the networks around but i cannot connect to any of them does anyone have something on this??
phidia
January 21st, 2008, 02:34 PM
Not working on Ubuntu Gutsy 64 Bit, neither with madwifi nor ndiswrapper.
Any hope for 64bit users?:confused:
I don't know-it is a good question though. Having really good hardware recognition for 64 bit hardware would IMO be a bragging point for linux distros since M$ doesn't-there are 64bit versions of windows out there but the laptop I have came with 32bit vista.
People in the 64 bit forum here (http://ubuntuforums.org/forumdisplay.php?f=134) have been saying this for awhile now-support 64 bit since all new hardware is 64 bit. Apple has been completely 64 bit for years now.
It seems the only way to get this atheros chipset to function is to install 32 bit linux.
siukii
January 21st, 2008, 10:10 PM
I got it to work on my ubuntu 64 bits on a acer aspire 5520 thanks to all of you
here it is what i did on a fresh installation:
1st- sudo aptitude install linux-headers-$(uname -r) build-essential (i actually didnt have internet on my ubuntu so i downloaded this (http://packages.ubuntu.com/gutsy/devel/linux-headers-2.6.22-14-generic) in amd 64, and i used the installation cd to get build-essential.
2nd- i downloaded ndiswrapper from the official page (http://ndiswrapper.sourceforge.net/joomla/)
3rd-sudo rmmod ath_pci
sudo gedit /etc/modprobe.d/blacklist-common
add the following line at the end of the file
blacklist ath_pci
Save and close
Restart computer
4th- i build ndiswrapper
make
sudo make install
4th- i downloaded this drivers that i found here (http://www.atheros.cz/download/drivers/ar5xxx/xp64-5.3.0.56-whql.zip)
5th- sudo ndiswrapper net5211.inf
6th- sudo ndiswrapper -m
7th- sudo modprobe ndiswrapper
8th - i rebooted and it didnt actually work at first but then i saw the networks around and i tried to connect to one and i got it, the wifi light doesnt turn on i dunno why, and since i got it to work i havent rebooted so i dunno if it going to work after i reboot
cya thanks to all of you
all of this i found it in this thread thanks to all of you
--
Valdivia es la ciudad mas linda del mundo!!!
siukii
January 21st, 2008, 10:31 PM
it didnt work when i rebooted i had to do
sudo modprobe ndiswrapper
and it did it does anyone know what do i have to do to make it automatic??
quinto0827
January 21st, 2008, 11:15 PM
after about an hour I got it working!!! I just followed the instructions on the first post, I used the ndiswrapper 1.51 version.
Sergio Moura
January 22nd, 2008, 08:04 PM
THANKS A LOT!
It's working fine now... But the wireless led won't turn on (works on windows).
I downloaded the driver from the 1st thread link. no other drivers (not even the one in the cd that came with my notebook) worked.
I'm using an Acer Aspire 3050-1458.
Atheros (according to lspci):
$ sudo lspci -nn -d 168c: -v
02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
Subsystem: AMBIT Microsystem Corp. Unknown device [1468:0428]
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at b0200000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint IRQ 0
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Thanks again everyone.
- Sergio
Rotarychainsaw
January 24th, 2008, 02:50 AM
I don't know-it is a good question though. Having really good hardware recognition for 64 bit hardware would IMO be a bragging point for linux distros since M$ doesn't-there are 64bit versions of windows out there but the laptop I have came with 32bit vista.
People in the 64 bit forum here (http://ubuntuforums.org/forumdisplay.php?f=134) have been saying this for awhile now-support 64 bit since all new hardware is 64 bit. Apple has been completely 64 bit for years now.
It seems the only way to get this atheros chipset to function is to install 32 bit linux.
Is this true? I just installed hardy 64bit, the 64bit driver, and ndiswrapper 1.51. I can see all my networks but can't connect. It's not a huge deal if I have to install 32 bit hardy, but I'd rather try to go true 64bit...
phidia
January 25th, 2008, 06:11 PM
Is this true? I just installed hardy 64bit, the 64bit driver, and ndiswrapper 1.51. I can see all my networks but can't connect. It's not a huge deal if I have to install 32 bit hardy, but I'd rather try to go true 64bit...
I haven't been able to get 64bit ubuntu. working with my laptop.
It would be helpful if the 64bit users, if any, who got this working would state that they are using 64bit and which method worked. I'm definately done trying to make 64 bit work specifically with the atheros chip. I do use 64 bit for my desktop which has a physical connection (not wireless) to the network-but for a notebook I can't justify the hand installing which could cause apt to complain during future updates.
TheDilettante
January 29th, 2008, 05:34 AM
[Removed, because I just needed to recompile my kernel. Never mind, and sorry for the extended log]
afterstep13
January 29th, 2008, 07:26 AM
Hi, I use an acer 4520 which has a ar5007eg card. I'm using 64 ubuntu.
right now I'm using ndiswrappper1.44 + windows drivers.
I tried using ndis-1.5* but the problem is that I kept getting compile errors.
A 2nd problem is that, sometimes the card is on and detects the network
but can't connect to it. That happens because the wifi adapter gets assigned a
incorrect MAC 00:00:00:...
I posted the fix in this thread at page 12:
http://ubuntuforums.org/showthread.php?p=4221408
hope it works for you too :)
phidia
January 30th, 2008, 12:38 AM
Hi, I use an acer 4520 which has a ar5007eg card. I'm using 64 ubuntu.
right now I'm using ndiswrappper1.44 + windows drivers.
I tried using ndis-1.5* but the problem is that I kept getting compile errors.
A 2nd problem is that, sometimes the card is on and detects the network
but can't connect to it. That happens because the wifi adapter gets assigned a
incorrect MAC 00:00:00:...
I posted the fix in this thread at page 12:
http://ubuntuforums.org/showthread.php?p=4221408
hope it works for you too :)
I followed your method + used the guide for manually establishing a connection posted here (http://ubuntuforums.org/showthread.php?t=571188&highlight=atheros)
but I have not got wireless working.I did use the 1.44 ndiswrapper and you're right the later versions do seem to mess up the MAC address, but I'm still no closer to getting this working.
I can see my network but the connection isn't useable?
output from last commands:
loki:~$ sudo iwconfig wlan0 mode Managed
loki:~$ sudo ifconfig wlan0 up
loki:~$ sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/wlan0/00:00:00:00:00:00
Sending on LPF/wlan0/00:00:00:00:00:00
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
afterstep13
January 30th, 2008, 01:56 AM
note the lines
Listening on LPF/wlan0/00:00:00:00:00:00
Sending on LPF/wlan0/00:00:00:00:00:00
wlan0 has a mac address of 00:00:....!
to change that do
sudo ifconfig wlan0 hw ether XX:XX:XX:XX:XX:XX
where XX:XX:XX... is the actual mac address of the wifi card
then try to connect.
phidia
January 30th, 2008, 02:51 AM
note the lines
wlan0 has a mac address of 00:00:....!
to change that do
sudo ifconfig wlan0 hw ether XX:XX:XX:XX:XX:XX
where XX:XX:XX... is the actual mac address of the wifi card
then try to connect.
I got the MAC address in win commandline using ipconfig /all
at first I thought it didn't work because I still got those lines
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
from sudo dhclient wlan0
But when I tried the connection i was suprised to find it working-I'm using it now!!
Thank you!!
Note: I'm using 64 bit Gutsy (7.10) and the atheros 5007eg network chip IS working!!:)
phidia
January 30th, 2008, 04:45 PM
This didn't work so well after all. On reboot I have to change the MAC address and bring up the interface all over again from CLI.
I don't think it's very usable in laptop terms.
I tried editing /etc/network/interfaces and including hwaddress ether (the correct MAC address) but the system seems to remove the edit on boot??
afterstep13
January 30th, 2008, 10:27 PM
I tried editing /etc/network/interfaces and including hwaddress ether (the correct MAC address) but the system seems to remove the edit on boot??
that's strange. How can the system remove the edit ?
Did you do :
sudo <your fav editor> /etc/network/interfaces
then add
pre-up /sbin/ifconfig wlan0 hw ether <The MAC address>
that should have worked.
Another option would be to include the command
/sbin/ifconfig wlan0 hw ether <MAC>
in a startup script. (Try searching the forums or on google)
phidia
January 30th, 2008, 11:56 PM
that's strange. How can the system remove the edit ?
Did you do :
sudo <your fav editor> /etc/network/interfaces
then add
pre-up /sbin/ifconfig wlan0 hw ether <The MAC address>
that should have worked.
Another option would be to include the command
/sbin/ifconfig wlan0 hw ether <MAC>
in a startup script. (Try searching the forums or on google)
I agree-it is strange! I hardly believe it myself, but I have added lines to the interfaces file twice now, using vim (I've been using linux for years) saved the changes, but when I reboot they're gone. The comment line I included stays but the auto wlan0 & hwaddress ether <MAC address> are removed. I just added those lines though so maybe I'll try the string you provided that calls /sbin/ifconfig and see how that works.
It's odd that the correct MAC address is in /etc/udev/rules.d/70-persistent-net.rules.
Also I can also get the connection now by doing just those two commands.
sudo ifconfig wlan0 hw ether 00:1E:4C:4D:DC:F2
sudo ifconfig wlan0 up
OK-The pre-up string you provided seemed to work on reboot!! I'll have to see how this goes over the next few days and thanks very much for your help!
Follow -up: After several reboots & trying different WAP's-it looks like it's going to work fine now-yeeeeeaaaah!
Thanks again for that string aterstep13 and you've been "thanked" too!
afterstep13
February 1st, 2008, 10:22 AM
I upgraded to Hardy Heron and almost everything is working fine :)
(some minor glitches occur but surely updates will fix 'em soon :)
I'll keep updating...
MJ Britt
February 1st, 2008, 01:28 PM
:guitar:
All I can say is THANK YOU!
I have been trying to get this stupid wireless card to work with Kubuntu since I got this laptop and I thought I was stuck with Vista.... Thank you, it works beautifully!
MJ
n0sferatu
February 1st, 2008, 09:46 PM
I was in the same situation. I have Ubuntu 7.10 64-bit on my Compaq F750US Laptop with the AR5007EG wifi chipset and I couldn't get Madwifi working, which I found out later was because it doesn't yet support 64-bit. So I used the Ndiswrapper instructions at the beginning of this thread and was able to finally view wireless networks. I wasn't able to connect to them however. I finally got it working, I had to enter the 128-bit WEP key as Hex instead of a plaintext passphrase. As soon as I did that, it connected and started working great. The wifi light on my laptop is still orange instead of blue, but wifi is working so no big deal.
davydanko
February 2nd, 2008, 09:39 PM
hey, i have a AR5006EG, followed instructions and it worked perfectly. after trying madwifi and other stuff for hours and hours, i would just like to THANK YOU for a great post:D
rbarra
February 4th, 2008, 04:03 PM
Hello bmartin,
Today it is my first time with Ubuntu. I bought an Acer Aspire 4720, then installed Windows XP, and after that I installed Ubuntu. I have an Atheros AR5600X wireless card working fine in Win XP, but I can't go wireless in Ubuntu.
It says there is no free alternatives for this Atheros card (http://rbarra.vtrbandaancha.net/atheros.jpg)... so I can't get connected.
Should I follow the same procedures described by you in the first post? I know nothing about Linux, but want to learn, so I'd appreciate detailed help.
Thank you guys. From Chile,
Ricardo
btw: I'm using Gutsy Gibbon (7.10)
Makcum
February 6th, 2008, 08:14 AM
Driver net5211 is not good at all!!!
1. Download the latest ndiswrapper
2. Download windows driver version xp32-6.0.3.85.zip
From here lets' say. http://www.atheros.cz/download.php?atheros=AR5008&system=1
It is 5416 driver
Then it will work perfectly even with the working LED. With normal MAC address and etc.
I don't know the latest version for the 64bit systems. I think it is useless to use 64bit systems if you have 4gb and less of RAM.
PS:TO EVERYBODY: DO NOT USE net5211 DRIVER ON AR5007EG CARDS, IT DOESN'T WORK AS IT SHOULD!!!
pss: I've posted a copy of this text on ndiswrapper official forum too.
rbarra
February 6th, 2008, 02:20 PM
Hi Makcum,
But after downloading, should I follow the steps described in this tutorial or is there an easier way? I'm sorry, but I'm a total newbie.
I'm getting ready to re-install Ububtu because I think I have done too many things so far. I'll start all over again.
Feedback appreciated.
Ricardo
gnicko
February 7th, 2008, 12:56 AM
Works great on Acer Extensa 5420-5687 having AR5007EG.
Just finished up about 5 minutes ago and have wireless! I love it! Haven't checked any of the "internal" stuff to see about how everything is set up...or tried to reconnect after reboot, but I'm confident that if its working once, it should work again.
I followed each step as written. Had some trouble with installing wicd/wicd-tray. The install process "wacked" my network connection (!) but after reboot all was well. I don't remember if the instructions mentioned that or not,
All in all, it was a pretty rough process. Many interruptions. Miscellaneous errors, etc. I think I did several steps more than once....almost gave up, but in the end...seems OK
Thanks to all!!
dj kraemer
February 8th, 2008, 12:01 AM
This procedure WILL NOT work with the latest version of Ndiswrapper 1.50-rc3.
If you have installed this version and are not able to operate your wireless, you will need to remove ndiswrapper 1.50-rc3 and compile version 1.49-rc4. Additionally, apt-get ndisgtk and remove the wireless driver from the list.
After all is said and done, follow the steps on page one omitting the installation of ndiswrapper.
Cheers.
link141
February 8th, 2008, 03:30 PM
Theres no 64-bit version of the latest driver :/ ? I got my wifi working perfectly after setting the mac address (using ndiswrapper 1.44). The only thing that doesn't work it the light but I don't notice any bugs, quirks or flaws with the net5211 driver.
Makcum, why do you think it is useless to use 64-bit systems on machines with less than 4GB of ram. I'm using it on a Turion64x2 with only 2GB of RAM and it blows 32-bit Vista out of the water (the difference is on Vista 6 hours to transcode a video and on 64-bit Kubuntu it only to 1 to transcode a similar video).
To Afterstep13: THANK YOU!! I took me a month before I got this working. Interesting enough, setting the mac address only works if I add the setting to /etc/networking/interfaces; it wont work with the command. No big deal though, as my wifi is working great.
robpower
February 9th, 2008, 07:39 PM
Theres no 64-bit version of the latest driver :/ ? I got my wifi working perfectly after setting the mac address (using ndiswrapper 1.44). The only thing that doesn't work it the light but I don't notice any bugs, quirks or flaws with the net5211 driver.
Makcum, why do you think it is useless to use 64-bit systems on machines with less than 4GB of ram. I'm using it on a Turion64x2 with only 2GB of RAM and it blows 32-bit Vista out of the water (the difference is on Vista 6 hours to transcode a video and on 64-bit Kubuntu it only to 1 to transcode a similar video).
To Afterstep13: THANK YOU!! I took me a month before I got this working. Interesting enough, setting the mac address only works if I add the setting to /etc/networking/interfaces; it wont work with the command. No big deal though, as my wifi is working great.
So to get it work on 64 bit Ubuntu version you have installed ndiswrapper and this ( http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz ) driver, and then manually set up the MAC address?
The version you used for ndiswrapper is the one provided by ubuntu repositories?
Without the MAC setting does it see networks but couldn't connect, right?
Please if you could answer, you'll be helpful to any 64 bit Ubuntu user, me included.
Thanks
agm1101
February 9th, 2008, 09:45 PM
Works great on Acer Extensa 5420-5687 having AR5007EG.
Just finished up about 5 minutes ago and have wireless! I love it! Haven't checked any of the "internal" stuff to see about how everything is set up...or tried to reconnect after reboot, but I'm confident that if its working once, it should work again.
I followed each step as written. Had some trouble with installing wicd/wicd-tray. The install process "wacked" my network connection (!) but after reboot all was well. I don't remember if the instructions mentioned that or not,
All in all, it was a pretty rough process. Many interruptions. Miscellaneous errors, etc. I think I did several steps more than once....almost gave up, but in the end...seems OK
Thanks to all!!
I have the same laptop... I followed the instructions as written without any problems. However, I can see the networks, but not associate with them. I tried unsecured as well as with secured settings. Any idea what might be the problem?
The only thing I can think of is I used ndiswrapper 1.51. Did you use the same or 1.44? If it works with 1.44, I will try that out too. Thanks.
afterstep13
February 10th, 2008, 04:52 AM
do an ifconfig and see the MAC address of the wireless device.
an invalid or zero mac-address is probably the reason you can't connect to networks though you can see them.
(checkout older posts to fix this issue)
MissShona
February 10th, 2008, 12:36 PM
Driver net5211 is not good at all!!!
1. Download the latest ndiswrapper
2. Download windows driver version xp32-6.0.3.85.zip
From here lets' say. http://www.atheros.cz/download.php?atheros=AR5008&system=1
It is 5416 driver
Then it will work perfectly even with the working LED. With normal MAC address and etc.
I don't know the latest version for the 64bit systems. I think it is useless to use 64bit systems if you have 4gb and less of RAM.
PS:TO EVERYBODY: DO NOT USE net5211 DRIVER ON AR5007EG CARDS, IT DOESN'T WORK AS IT SHOULD!!!
pss: I've posted a copy of this text on ndiswrapper official forum too.
OH YEAH BABY THIS WORKED! I LOVE YOU! :KS:KS:KS
Ok here's my specs:
Acer 3680-2762 with the Atheros chip AR5BXB63. Fiesty Fawn Kubuntu installed. I got ndiswrapper installed and working last night ~ via the instructions posted here (thank you, thank you). I knew there was improvement because the built in network manager at least saw my wireless card. With two reboots (and I may have toggled the switch), it would find my network. But on the initial connection it would hang up at 57% and fail to connect.
Then I decided to read a bit more this morning. I found your post and downloaded the 5416 driver. Uninstalled and re-installed ndiswrapper. Rebooted...and it worked! Now the LED light works and everything!
Now I just need to fix my screen resolution....
:guitar:
agm1101
February 10th, 2008, 11:36 PM
Doing an ifconfig gives me the following output
--------------------
wlan0 Link encap:Ethernet HWaddr 00:1E:4C:27:9A:3D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:7328 (7.1 KB)
Interrupt:17 Memory:f0200000-f0210000
wlan0:ava Link encap:Ethernet HWaddr 00:1E:4C:27:9A:3D
inet addr:169.254.4.197 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:17 Memory:f0200000-f0210000
--------------------------------------
How do I know if the MAC address is invalid? I tried with the net529 driver (64 bit) as well as the net5416 (32 bit) driver - same problem. I have 64 bit ubuntu installed. I cannot connect to any networks although I can see many more in Ubuntu, than in Vista.
Thanks for your help.
-agm
link141
February 11th, 2008, 05:34 PM
So to get it work on 64 bit Ubuntu version you have installed ndiswrapper and this ( http://blakecmartin.googlepages.com/...-64-0.2.tar.gz ) driver, and then manually set up the MAC address?
Yeah, that's basically all I did.
The version you used for ndiswrapper is the one provided by ubuntu repositories?
No, I uninstalled the version of NDiswrapper that came with Kubuntu and recompiled NDiswrapper 1.44 from source. There's been reports that NDiswrapper 1.49 will work, but I haven't tried it.
Without the MAC setting does it see networks but couldn't connect, right?
Correct. Using the sourceforge 1.44 version of NDiswrapper, and the Net5211 driver, it sets the Mac address to all 0s. They specifically mention this happening with our chipset on this page ( http://ndiswrapper.sourceforge.net/joomla/index.php?/content/view/19/2/ ). I can't tell what they meant by "set OID_802_3_PERMANENT_ADDRESS" (probably some config file) but I took Afterstep13's advice of adding that setting to /etc/network/interfaces, and it worked!
Here's a synopsis of what I did:
1. Follow the HOWTO, using version 1.44 of NDiswrapper.
2. Open up /etc/network/interfaces as root (with "kdesudo kate /etc/network/interfaces" replacing "kdesudo" with "gksudo" if your using gnome, and "kate" with the text editor of your choice)
A. Comment out "auto wlan0", if you don't, two wireless interfaces will get listed.
B. Add the line "pre-up /sbin/ifconfig wlan0 hw ether xx:xx:xx:xx:xx:xx" where "xx:xx:xx:xx:xx:xx" is the Mac address of your card. Be sure to use ":" instead of "-" to separate the numbers/letters
C. Save the file
**To determine the correct mac address of your card, either use windows or look on the back of the actual chip. In Windows go to startmenu->run...->cmd, the type "ipconfig /all". Under where it says "Wireless Lan ..." record the Mac address listed to the right of "Physical address". This is your mac address.
3. Restart networking with "sudo /etc/init.d/networking restart"
Thanks to afterstep13 for pointing out the Mac address issue.
Try this, and tell us if it works.
Hope this helps
link141
afterstep13
February 12th, 2008, 12:43 PM
@agm
note ava:wlan0
and the ip address 169.254.*.*
basically this means you were not able to bind with any network due to many possible reasons including :
(0) the essid is not set
(do an iwconfig --help and everything will become clear :)
( iwlist wlan0 scanning will giv all networks in ur area)
(1) the network uses WEP key etc
try to get the key,
(2) the network accepts only registered / specific MAC addresses.
in that case talk to the network admin.
hope this helps
agm1101
February 12th, 2008, 05:50 PM
@agm
note ava:wlan0
and the ip address 169.254.*.*
basically this means you were not able to bind with any network due to many possible reasons including :
(0) the essid is not set
(do an iwconfig --help and everything will become clear :)
( iwlist wlan0 scanning will giv all networks in ur area)
(1) the network uses WEP key etc
try to get the key,
(2) the network accepts only registered / specific MAC addresses.
in that case talk to the network admin.
hope this helps
Well, I did all that yesterday. I knew that I was not able to associate with any network even though I could see all of them. Using wicd, I just got errors where it said something to the effect that DHCP did not receive any IP address. I tried Wifi radar as well, which did not help. I also tried the built in Network tool to see what I can change. I saw 2 wlan0 devices in there. One was for the 169.... IP address which basically was invalid, and which did not let me configure it. I then configured the other wlan0 device and set my essid, key etc. That changed the /etc/network/interfaces file. But that did not work either. All of this work was done using ndiswrapper 1.43, 1.51 and 1.52. I got valid MAC addresses using all of these.
But since none of these worked, I then followed link141's method. I tried using ndiswrapper 1.44. I got the invalid MAC address (00:00:....) and thanks to link141, changed the /etc/network/interfaces file to add the line "pre-up /sbin/ifconfig wlan0 hw ether xx:...." where "xx:..." is the MAC address of my card. I put it on the 3rd line after the auto and iface line. However, nothing happened even after resetting the network - the MAC address of the card did not change. So i manually ran that command, found using iwconfig that the MAC address had indeed been changed, and restarted the networking.
SUCCESS! DHCP worked now with my WEP network. I was associated with the network specified in the interfaces file along with the essid and key settings I put in there. I tried to use wifi radar to change the network to an unsecured one, but that did not work. I uninstalled wifi radar and installed wicd, but that did not work either. I can see all networks using these tools, but cannot change networks with them. However, I am able to browse the internet using the network settings I put in the interfaces file.
Another thing to note was that when I tried to put the "pre-up /sbin/ifconfig wlan0 hw ether xx:......" line in the beginning of the interfaces file, or the 2nd line, it gave me an error while restarting the network. However, if I put it in the 3rd line, it did not give an error and restarted the network, but was unable to assign a MAC address to the wireless card. Maybe some of you Linux gurus can help me understand whats going on.
Right now, I have not restarted my computer after testing it, I may find out that it just works when I turn it on. I will let you guys know. I still need to get a good program to change wireless networks. Also, I would love to have eth0 connect directly as soon as the network cable is connected to the computer - right now, I have to use wicd to do that.
Here are some details of my configuration - Ubuntu Gutsy on Acer Extensa 5420-5687 with Atheros 5007EG wireless card. This got recognized as 5006 when I did lspci. However, after i did update-pciids, it changed the identification of the card again to something different - I don't remember it right now, and the laptop is not with me. Finally, I am using 64 bit Ubuntu, and the 64 bit 5219 driver worked for me along with ndiswrapper 1.44 with the method described by link141.
Hope that helps someone.
-agm1101
smithheart360
February 13th, 2008, 11:27 AM
Worked on my VGN-NR120E with 7.10
Thanks a million i had been pulling my hair out trying to get my wifi card to work.
ftnewton
February 14th, 2008, 09:47 AM
This worked fine for me except for the line tar xvf ndiswrapper-newest.tar.gz had to be changed to tar xvf ndiswrapper.1.57.tar.gz. All of the other artheros setups i have tried we either intermittent or would fail after an upgrade or update, I would also have to play with the system to get it to respond. So far this setup seems to work flawlessly. One thing I noticed with the acer i am using (aspire 3680 series) was that with the other setups the switch on the front of the computer would not work and the light was always on, with this setup the switch now works. For anybody out there that still does not get any wireless connections after this install with the acer, Please check and see if the light is out next to the switch and if it is turn on your wireless. It is located next to the earphone jack on front of the computer for the aspire 3680 series.:)
jpeirce
February 14th, 2008, 03:44 PM
Wow, thank you so much.
This was the easiest setup of wireless I have ever experienced in linux(or even M$ for that matter). On my last laptop it took a few hours at the terminal fooling around with options to get the wireless up.
Thanks!
lucadigioia
February 14th, 2008, 05:49 PM
thanks a lot!!!
It worked on my wife`s acer 4315-2490...
it`s a lot quicker than vista basic internet explorer as expected. :)
iggypop
February 15th, 2008, 10:08 AM
after few days of searching and trying different installations for atheros ar5007eg i finally installed it on acer 5520g running 64-bit kubuntu.only thing that didn't work is ndiswrapper-newest but i got it to work without it...
littletinman
February 17th, 2008, 06:11 PM
ok, the great news is i got it to work. that bad news is it only stayed connected for about 3 hours. Then it disconnected me and it won't connect anymore. Help please. i have an acer aspire 5520 and i'm running the 64 7.10. Any help is very aprec.
Phil
kikke
February 22nd, 2008, 08:49 AM
It works for me, but avoid from modprobe ndiswrapper. Simply reboot instead.
ivanmladek
February 25th, 2008, 04:16 PM
I got it to work on 2.6.22-14-generic #1 SMP Thu Jan 31 23:33:13 UTC 2008 x86_64 with the driver http://blakecmartin.googlepages.com/ar5007eg-64-0.2.tar.gz with ndiswrapper 1.50-rc3 compile from source.
rmayer32
February 28th, 2008, 09:56 AM
It took a bit but I got mine working.. Hopefully it stays that way.
mrfraser89
March 5th, 2008, 10:09 AM
Just a quick message from Australia, posting from my Asus Pro50RL laptop, finally got wireless working (on the AR5007EG card).
WICD seemed to fix the problem, Wifi-Radar wouldn't connect neither would the default gnome network manager.
Huge thanks to Bmartin, as I can now use internet at uni which is a big help :)
kiisu
March 5th, 2008, 07:25 PM
Little strange - this worked for me before, but i had my computer in for repairs (screen damage so shouldn't have touched the wireless) when I got it back I did a fresh install.
Now running through these steps didn't get my wireless working. Shows as network unclaimed:
*-network UNCLAIMED
description: Ethernet controller
product: AR5006EG 802.11 b/g Wireless PCI Express Adapter
vendor: Atheros Communications, Inc.
physical id: 0
bus info: pci@0000:04:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
*-network
description: Ethernet interface
product: RTL8101E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:05:00.0
logical name: eth0
version: 01
serial: 00:16:d4:fd:be:eb
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=r8169 driverversion=2.2LK ip=192.168.1.104 latency=0 module=r8169 multicast=yes
so .... What can I do to claim it?
kiisu
March 6th, 2008, 03:44 AM
Think I got it ....
I tried a mix of instructions from this thread and also this one:
http://ubuntuforums.org/showthread.php?t=574501
Hard to tell what exactly made it work but I think the version of ndiswrapper upon install was 1.45 so had to remove that and install version 1.48 as detailed in the other thread.
Anyways, happy for now!
gasparov
March 15th, 2008, 12:11 PM
anyone got it working on hardy 64?
I see all the networks but i cannot coonect,i get connected to XXXX at 0 then connected to none at 0
makkan77
April 2nd, 2008, 01:46 PM
Worked for me on Hardy amd64.
I'm using an Acer Aspire 5715Z and I have tried atleast 2-3 other drivers that didn't work atleast not with the amd64 install.
I might add that I skipped the part of compiling the latest ndiswrapper, I just used the one in the repositories.
Thanks alot for this guide.
jijitus
April 5th, 2008, 02:30 AM
Hi Ubuntu fellas, my first post here. Just to say thanks to afterstep13 for pointing how to fix the problem with ndiswrapper and the net5211 driver on my Debian "lenny" installation.
My Compaq Presario F754LA has an Atheros AR5006EG (a misidentified AR5007 ???) and it was giving me a really hard time. I could connect from XP to the router at work and to my access point at home (a dissatisfying C-NET CWA-854). I could also connect to the router at work (128-bit WEP) using Mandriva 2008.0 and Debian with kwifimanager. But at home (128-bit WEP again), it was impossible to get a connection to the access point, I can't understand why this wifi module behaves different with a router and with my access point.
I was getting LOTS of Tx excessive retries: and high numbers in Invalid misc: too, that's the output of iwconfig.
When I activated syslog from the access point to my desktop PC I began to see:
Apr 5 01:40:30 192.168.1.253 klogd: wlan0: A wireless client is associated - 00:00:00:00:00:00
Apr 5 01:40:45 192.168.1.253 klogd: wlan0: A wireless client is deauthenticated - 00:00:00:00:00:00
Apr 5 01:40:46 192.168.1.253 klogd: wlan0: A wireless client is associated - 00:00:00:00:00:00
Apr 5 01:40:48 192.168.1.253 klogd: wlan0: A wireless client is deauthenticated - 00:00:00:00:00:00
Google brought me to afterstep13's post: for some reason the card was NOT using its real MAC address but one full of zeros.
Adding a line with:
pre-up /sbin/ifconfig wlan0 hw ether 11:22:33:44:55:66
did the trick. I tried hwaddress ether 11:22:33:44:55:66 but that executes AFTER setting the essid so it was losing association right after getting it.
In fact my full "stanza" in /etc/network/interfaces is a bit paranoid:
iface wlan0 inet dhcp
wireless-mode managed
wireless-key _removedforobviousreasons_
wireless-essid MyNetwork
pre-up /sbin/iwpriv wlan0 reload_defaults
pre-up /sbin/ifconfig wlan0 hw ether 11:22:33:44:55:66
pre-up /sbin/iwconfig wlan0 key off
pre-up /sbin/iwconfig wlan0 essid off
post-down /sbin/iwpriv wlan0 deauthenticate
post-down /sbin/iwconfig wlan0 essid off
post-down /sbin/iwpriv wlan0 reload_defaults
post-down /sbin/iwconfig wlan0 key off
but it works :) - and I don't have to use kwifimanager to be the connection starter, an ifup wlan0 does the job.
I don't know why but I keep on having Tx excessive retries and Invalid misc in the output from iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"MyNetwork"
Mode:Managed Frequency:2.452 GHz Access Point: 00:11:A1:22:1F:FB
Bit Rate=54 Mb/s
Encryption key:1234-4567-789a-abcd-def0-0123-34 Security mode:restricted
Power Management:off
Link Quality:100/100 Signal level:-21 dBm Noise level:-96 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:664 Invalid misc:1696 Missed beacon:0
The access point's name and MAC address where changed to protect it's identity ;)
MuddBuddha
April 5th, 2008, 10:30 AM
Flawless. Thanks for the great walk through!
makkan77
April 5th, 2008, 02:36 PM
Worked for me on Hardy amd64.
I'm using an Acer Aspire 5715Z and I have tried atleast 2-3 other drivers that didn't work atleast not with the amd64 install.
I might add that I skipped the part of compiling the latest ndiswrapper, I just used the one in the repositories.
Thanks alot for this guide.
I guess I spoke to soon. As soon as I got the wifi working I did a system update and since then I can't connect to any network allthough I can see them.
Eraser
April 6th, 2008, 11:57 AM
This worked for me on Gutsy 64 bit, I'm on an HP Pavilion dv6810us.
I made a couple of mistakes along the way, but I finally figured them out. I figured that since the HOWTO was written for Feisty, and I'm on Gutsy, that I wouldn't have to compile NDISwrapper from source and the version of NDISwrapper included with Gutsy would work, I was wrong.
Using the version of NDISwrapper included with Gutsy, I was in a situation similar to one a few others described, my laptop could detect nearby wireless networks, but no matter what I did it didn't connect. After I downloaded the latest version of NDISwrapper (1.52 as of today), compiled it and used it, I was able to connect without a problem.
For some reason I can only use wifi-radar to connect, the Network Manager applet does not work, not a big deal, but something to be aware of.
By the way, while trying to get things to work I installed wicd as suggested, unfortunately it did a number on my laptop. After installing it the laptop wouldn't even detect the wired network. That was a predicament since because of a conflict it uninstalled Network Manager, now I had no way to connect to the internet, luckily I was able to reinstall Network manager from the Ubuntu CD.
Thanks bmartin for this excellent guide, if I hadn't been so hardheaded and followed your instructions exactly, I would have been up and running in a few minutes.
Eraser
April 6th, 2008, 03:30 PM
Turns out I , like others, spoke too soon. After rebooting the wireless stopped working again.
I'm back to being able to see wireless networks, but not being able to connect.
I have tried installing different versions of ndiswrapper (so far 1.48. 1.50rc3, and 1.52), no luck. With 1.48 I was able to get it working, but after a reboot it stopped working again.
I'm back to 1.52, but still unable to connect. I'm using the 64 bit driver listed on the first message of this post. I tried others, based on the PCI ID of the card to no avail.
If anyone has any ideas I'm all ears.
This worked for me on Gutsy 64 bit, I'm on an HP Pavilion dv6810us.
I made a couple of mistakes along the way, but I finally figured them out. I figured that since the HOWTO was written for Feisty, and I'm on Gutsy, that I wouldn't have to compile NDISwrapper from source and the version of NDISwrapper included with Gutsy would work, I was wrong.
Using the version of NDISwrapper included with Gutsy, I was in a situation similar to one a few others described, my laptop could detect nearby wireless networks, but no matter what I did it didn't connect. After I downloaded the latest version of NDISwrapper (1.52 as of today), compiled it and used it, I was able to connect without a problem.
For some reason I can only use wifi-radar to connect, the Network Manager applet does not work, not a big deal, but something to be aware of.
By the way, while trying to get things to work I installed wicd as suggested, unfortunately it did a number on my laptop. After installing it the laptop wouldn't even detect the wired network. That was a predicament since because of a conflict it uninstalled Network Manager, now I had no way to connect to the internet, luckily I was able to reinstall Network manager from the Ubuntu CD.
Thanks bmartin for this excellent guide, if I hadn't been so hardheaded and followed your instructions exactly, I would have been up and running in a few minutes.
Eraser
April 6th, 2008, 04:52 PM
Ok, got it to work and this time it has survived a few reboots, looks like it will "stick".
Essentially I followed afterstep13's instructions: http://ubuntuforums.org/showthread.php?p=4221408
I installed ndiswrapper 1.44 from source, used the 64 bit driver listed in the first post of this thread, then modified /etc/network/interfaces so that the correct MAC address is assigned to the card, as explained by afterstep13.
One more caveat is that wireless doesn't work if I specify roaming mode in Network Settings. I need to specify the essid, the password type (128bit hex in my case) and the password.
I also had the problem of the incrementing eth# interface (first it was eth0, then eth1, then eth3, so on and so forth, with every reboot the number increased by one), afterstep13's instructions solved that as well.
Thanks both afterstep13 and bmartin for their help in setting this up.
Turns out I , like others, spoke too soon. After rebooting the wireless stopped working again.
I'm back to being able to see wireless networks, but not being able to connect.
I have tried installing different versions of ndiswrapper (so far 1.48. 1.50rc3, and 1.52), no luck. With 1.48 I was able to get it working, but after a reboot it stopped working again.
I'm back to 1.52, but still unable to connect. I'm using the 64 bit driver listed on the first message of this post. I tried others, based on the PCI ID of the card to no avail.
If anyone has any ideas I'm all ears.
keypox
April 8th, 2008, 12:23 AM
yeah and then we dont even know why... this is one of the problems that keeps me away from ubuntu.
brentpas
April 10th, 2008, 03:15 PM
I'm getting so frustrated with this.
Like a lot of other people, mine works until I reboot.
Does anyone have a fix for this? :confused:
Growlor
April 12th, 2008, 10:50 PM
One thing I have been seeing with my laptop (an Acer 5420-5687) is that the WPA settings don't seem to "stick" after a reboot (I use WPA with AES at home with a pretty long SSID and encryption string) So, I end-up going into manual network config and unchecking the box next to the wireless conneciton, then close and reopen manual config, paste-back in the WPA key and check the box again which seems to force a reconnect.
Not ideal, but it gets it working.
hacienda_irrevocably
April 25th, 2008, 12:58 AM
new ubuntu version has evicerated ability for access apt-get and synaptic. recently my wreless stops and needs ndiswrapper reinstall. how i can has other access ndiswrapper?
andreip
April 26th, 2008, 02:38 AM
This worked for me on Hardy (8.04) on a Toshiba Sattelite U305
kiisu
April 26th, 2008, 07:06 PM
Anyone who has problems with this working and then being lost on reboot might try uninstalling network manager. I know that caused me a lot of headaches after following this tutorial.
I use WICD now - http://www.wicd.net/ - and havent had any problems after the initial install. Actually the install itself deleted both network-manager and wifi-radar from my system, saving me the time.
My only advice would be to make sure you have a backup plan - say, another working internet connection - just in case something goes wrong, because once you remove network-manager you may not be able to connect to the internet.
dwrs
April 28th, 2008, 08:27 PM
thank youuuu at alll i m very appriciated about that i solved the thread with your helps.thank you very much ;)
And finally all the users that have same problem
im writing to you with my 64 bit AMD turion X2 Acer AS5520G-604G25MI laptop installed kubuntu hardy 64 bit version
i m using linux for 2 days :D and like to learn every steps ;) it's an advanture i think
Best Regards from Turkiye
Lord Juan
April 28th, 2008, 10:41 PM
anyone got it working on hardy 64?
I see all the networks but i cannot coonect,i get connected to XXXX at 0 then connected to none at 0
I have the same problem in hardy, which i had in Gutsy until i installed the version 1.44 of ndiswrapper, my problem now it's, i can't compile ndiswrapper 1.44 on hardy, am i the only one with this problem (so i keep trying to find what's wrong) or someone else got this wireless problem with hardy?
I swear i won't ever buy anything labeled Atheros again, ever >.<
Edit: And btw i did test installing a different version of ndiswrapper (1.52), installed fine, but i got back to the "Connected to None" problem. I guess i will try with other ndiswrapper versions to see if any of them make it work.
nray
April 28th, 2008, 11:54 PM
However, now that the wireless is working, I still can't get it to finish the connection. It can see all the wireless networks in the area, but it won't get an IP address. I thought it was something to do with WPA and a TKIP key, but when I turned the security off it still wouldn't get an IP address... It wouldn't work with a manual IP either, even with all the other settings plugged in. Does anyone have any ideas as to why that's going on?
Describes my situation almost exactly.
I was using ndiswrapper with my AR5007EG (Abit Airpace) in 32-bit Ubuntu 7.10 without any trouble whatsoever.
Then I switched first to 64-bit Ubuntu 7.10, and what you describe is what I experienced, even with ndiswrapper 1.52 (and even experienced some *wired* networking problems while I was changing the *wireless* settings!) Then I recently installed 64-bit Ubuntu 8.04, and while my wired network connection hasn't gone down, ndiswrapper in 64-bit (the 1.50 package version shipped with 8.04) still doesn't work, same symptoms: sees wireless networks, no errors, but will not connect to my non-encrypted wireless network (RX bytes and TX bytes stay at 0 no matter what, will not pick up a dhcp address, no errors anywhere that I can find). Can't express my frustration enough.
nray
April 29th, 2008, 12:06 AM
Describes my situation almost exactly.
And here's the solution -
In at least 64-bit Ubuntu 8.04, with the ndiswrapper package (version 1.50 at the time of this writing), using the XP x64 5.3.0.56 driver, it is absolutely necessary to put this line into /etc/network/interfaces under iface wlan0 with your AR5007EG's hardware ethernet address where 00:00:00:00:00:00 is:
pre-up /sbin/ifconfig wlan0 hw ether 00:00:00:00:00:00
With that line in place, things will work they way they should in 64-bit. I didn't need that line in 32-bit Ubuntu 7.10 with ndiswrapper, but I needed it in 64-bit.
phidia
April 29th, 2008, 10:36 PM
I had wifi working very well in 64 bit Gutsy-I went back over my steps and this thread for Heron, but no way can I get a working wireless connection in my 64 bit Heron install(with an HP laptop & the atheros ar5007eg card).
I tried putting the line, from the previous poster, in my /etc/network/interfaces file too but nothing.
The connection is seen by network manager and wifi radar too but I can not use it.
I'll mess around with it a little more but I may be re-installing Gutsy.
justo_yo
April 30th, 2008, 08:27 AM
Hello, I have a similar issue with an ACER 5520 5290... this atheros driver worked fine in Kubuntu 7.10 but once I moved to Kubuntu 8.04 it doesn't. I applied the solution above about adding a line and at least I started to see the networks around me but I cannot connect to them. Activating Wireless network (Network Manager) get stuck at 57% or at 28%. Later it ask again for WEP password or declare connection failure. Any help will be very appreciated.
phidia
May 1st, 2008, 11:51 AM
This is really discouraging I followed the excellant guide on the ar5007eg card here (http://www.ubuntugeek.com/atheros-ar5007-wireless-with-madwifi-on-ubuntu-804-hardy-heron.html) and also readthrough and tried several troubleshooting methods from here (http://www.ubuntugeek.com/how-to-troubleshoot-wireless-network-connection-in-ubuntu.html) but although the network is seen I cannot connect. I'm using 64 bit 8.10 The driver is loaded see this snippet of dmesg: [ 33.419596] ndiswrapper (link_pe_images:576): fixing KI_USER_SHARED_DATA address in the driver
[ 33.421285] ndiswrapper: driver net5211 (,06/21/2007,5.3.0.56) loaded
[ 33.422435] ACPI: PCI Interrupt Link [LK4E] enabled at IRQ 19
[ 33.422450] ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [LK4E] -> GSI 19 (level, low) -> IRQ 19
[ 33.422512] ndiswrapper (ZwClose:2227): closing handle 0x0 not implemented
[ 33.422651] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 33.835792] ndiswrapper: using IRQ 19
[ 34.040712] wlan0: ethernet device 00:1e:4c:4d:dc:f2 using serialized NDIS driver: net5211, version: 0x50003, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 168C:001C.5.conf
[ 34.045010] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
At this point I'm pretty sure I will return to Gutsy-I can't spend weeks looking for the solution :(
Really excellant guides though and I reccomend them.
nray
May 1st, 2008, 03:01 PM
I had wifi working very well in 64 bit Gutsy-I went back over my steps and this thread for Heron, but no way can I get a working wireless connection in my 64 bit Heron install(with an HP laptop & the atheros ar5007eg card).
I tried putting the line, from the previous poster, in my /etc/network/interfaces file too but nothing.
The connection is seen by network manager and wifi radar too but I can not use it.
I'll mess around with it a little more but I may be re-installing Gutsy.
That's odd that you had ndiswrapper working with the AR5007EG in Ubuntu 7.10, because I never got it to work there (at least without adding the pre-up line, which I've only tried in Ubuntu 8.04, having given up on 7.10).
Besides the pre-up line in my /etc/network/interfaces I also have several other lines specifying the wireless network I want wlan0 to connect to and it's channel etc., so I'm not sure if those make a difference.
Also, my AR5007EG is not in a notebook, this is a desktop system and the wireless card with that Atheros chipset is an Abit Airpace, which I also don't know if it makes a difference.
Anyone else had success adding the pre-up line? It definitely fixed things for me.
phidia
May 1st, 2008, 04:40 PM
That's odd that you had ndiswrapper working with the AR5007EG in Ubuntu 7.10, because I never got it to work there (at least without adding the pre-up line, which I've only tried in Ubuntu 8.04, having given up on 7.10).
Besides the pre-up line in my /etc/network/interfaces I also have several other lines specifying the wireless network I want wlan0 to connect to and it's channel etc., so I'm not sure if those make a difference.
Also, my AR5007EG is not in a notebook, this is a desktop system and the wireless card with that Atheros chipset is an Abit Airpace, which I also don't know if it makes a difference.
Anyone else had success adding the pre-up line? It definitely fixed things for me.
I Saw your post in another thread on this card and yes it works, for me, in Gutsy but not Heron. I am using the pre-up line that requires the wlan0 actual hardware address ( I don't think that is clear enough ).
I notice that with either of the two releases the light that shows the card is on does not work. The light works, of course, in windows.
I don't want to be cranky but this specific atheros card is too difficult to get working (in 64 bit anyway) I have gutsy installed to an external drive and while I know I could copy the install over to the internal I tried instead to just do a fresh install-I can't get that install to use the connection :confused: I did so many little things to get it to work before and obviously didn't take profuse notes and can't (?) duplicate the previous steps ](*,)
I do think the pre-up line is important and I remember I had to try that several ways on the install that works. I'll provide my interfaces file:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
# The wlan0 interface added 1-30-08
pre-up /sbin/ifconfig wlan0 hw ether 00:1e:4c:4d:dc:f2
iface eth63 inet dhcp
auto eth63
In hopes that illustrates what to do. You need to use ifconfig in terminal to determine the hardware address for your card and insert that in /etc/network/interfaces.
Why I can't get the internal drive install working is maddening.
Rotarychainsaw
May 1st, 2008, 10:36 PM
And here's the solution -
In at least 64-bit Ubuntu 8.04, with the ndiswrapper package (version 1.50 at the time of this writing), using the XP x64 5.3.0.56 driver, it is absolutely necessary to put this line into /etc/network/interfaces under iface wlan0 with your AR5007EG's hardware ethernet address where 00:00:00:00:00:00 is:
pre-up /sbin/ifconfig wlan0 hw ether 00:00:00:00:00:00
With that line in place, things will work they way they should in 64-bit. I didn't need that line in 32-bit Ubuntu 7.10 with ndiswrapper, but I needed it in 64-bit.
HOLY CRAP I LOVE YOU! This seems to have fixed my problem where I would have to rmmod and modprobe ndiswrapper every time I rebooted. This is such a PITA.
Edit - Realtime kernel seems to make ndiswrapper constantly reset the card, so beware.
vnieto
May 4th, 2008, 01:31 PM
HOLY CRAP I LOVE YOU! This seems to have fixed my problem where I would have to rmmod and modprobe ndiswrapper every time I rebooted. This is such a PITA.
Edit - Realtime kernel seems to make ndiswrapper constantly reset the card, so beware.
I Use the same procedure but in some times is necesary rmmod and modprobe ndiswrapper only work in few times.
Some news?
I use amd64 over Ubuntu hardy
hacienda_irrevocably
May 7th, 2008, 10:22 PM
everyone knows? patched madwifi does now work for 5007eg the wiif card. no more problems!
link to patch in link
patch link (http://forums.gentoo.org/viewtopic-t-596777-highlight-atheros+5007eg.html)
vnieto
May 7th, 2008, 11:11 PM
everyone knows? patched madwifi does now work for 5007eg the wiif card. no more problems!
link to patch in link
patch link (http://forums.gentoo.org/viewtopic-t-596777-highlight-atheros+5007eg.html)
Work over amd64??
phidia
May 8th, 2008, 01:53 PM
Work over amd64??
As far as I know and from what I've read about madwifi drivers that patch is only for 32bit-so if you're running 64bit you need to use the ndiswrapper work-around and add a line to your /ect/network/interfaces file too.
zipposcott
May 9th, 2008, 05:05 AM
Thank you so much for this how to I have been working at this for hours and finally found something that actually helped me i am now on my wireless and completely away from vista for good.
Bryantos
May 9th, 2008, 02:05 PM
YES! The driver worked for my laptop (Sony VGN-NR110E). It detected that I have wireless now, but I havn't really tried it out. I will be trying it out soon. It keeps asking me for the password for my network right now, but I'm not sure if I'm putting in the right password.
I will update soon.
thebrokenbox
May 10th, 2008, 05:06 PM
This doesn't work for me :( I've tried so many different ways to do it but it just won't work.
Promaster91
May 13th, 2008, 06:22 AM
It works! Thanks.
josedb
May 13th, 2008, 10:02 AM
Swith led is not changing when switching to on/off. Any idea?
gdelta9
May 20th, 2008, 09:41 PM
first of all thnx a lot for this great how to.Great job!!!!!
After following your how to i got so close to make it work,but still have connection issues.I can see wireless networks but cannot connect to any of them(well manged to connect only once and never again).I assume that what is wrong is that my atheros card is indicated as AR242x and not as ar5007eg.Here is what i get:
Description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlan0
version: 01
serial: 00:1f:3a:66:24:32
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ndiswrapper+net5211 driverversion=1.5
Any ideas how to fix this?
SOLVED:Just added that line and everything works just perfect now!!!!!
Adridar
May 28th, 2008, 07:13 PM
Hey, I followed the How-To, and it got me to where I could see the wireless networks, but I couldn't connect to them...so I went and tried to install WICD...but during the installation process, it removes the Network Manager...leaving my laptop dead in the water, without wired networking, on top of no wireless....is there any way to reinstall the Network Manager without access to the internet on my laptop? and if so, once I do that, do you know what is causing my Atheros card to not connect to the networks?
Thanks!
Adridar
inportb
May 28th, 2008, 07:21 PM
btw, the AR5007EG wireless device has the AR242x chipset.
xaitax
June 4th, 2008, 01:54 AM
Hi,
now AR5007 works with a HAL patch from SAM and the latest SVN trunk.
Like here (http://madwifi.org/ticket/1679#comment:212) I wrote:
Hi, I just created a file which simplifies the installation of the driver. So you don't need any subversion packet (huh, anyways, why don't u have?). It ist the latest madwifi svn version (from now on) and the patch from Sam is already included (GREAT WORK SAM!). Just enter "./install.sh" and watch for the output. If something goes wrong, don't hesitate to contact me. http://primepage.de/downloads/stuff/misc/madwifi_patch.tar.bz2
So, have phun with it!
Regards,
xaitax
braveerudite
June 8th, 2008, 11:57 AM
Here is the answer to all your prayers. Finally!!! a super simple method that will works 100% with Ubuntu 8.04 “Hardy Heron” 64bit and Atheros AR2425 (AR5007EG) chipset. No more the need ndiswrapper or even Wi-Fi Radar and WICD to get secure (WPA2,WEP) connection working. You can just keep the default Ubuntu wired and wireless network manager because now it just works with no problem.
Make sure you go to System ->Administration ->Hardware Drivers and disable Atheros (HAL) & Atheros support and reboot before you follow the steps on the guide. At the end of the guide you'll see that it will ask you to re-enable them again and reboot.
http://ubuntuforums.org/showthread.php?t=816780
Thank the guy that posted the guide last night by clicking on his Gold star with a blue ribbon on the right.
dave87
June 10th, 2008, 05:05 PM
This just worked perfectly for me with Ubuntu 8.04 on a Toshiba Satellite Pro A200 where lspci says I have an Atheros AR242x but is actually an AR5007EG. Thankyou!
ruggrat
July 9th, 2008, 07:15 AM
Thanks for at least getting me off the ground! I was getting the same network UNCLAIMED and no logical name as a few other people around here, but now it looks like I actually got the card to play with the drivers by your method.
Still can't connect, but now I can see them. One step closer to surfing in bed!
slobapet
July 12th, 2008, 05:13 PM
Uh, I finally made it on MSI VR601. On Kubuntu x64... it works. I can't thank you enough... :KS
Jim2029
July 20th, 2008, 04:43 PM
I need some help.... I followed everything and still no wifi. I went to the network and only see my nic and my modem device. no wifi. I'm using a HP DV6810us.
ctijacob
July 21st, 2008, 09:34 AM
OK, having some troubles here.. fresh install..Ubuntu 8.04 64-bit, Acer Aspire 5050 w/ Atheros 5007EG Chipset. I did the walkthrough and it worked, rebooted, still worked.. rebooted again and it sees the network but cannot connect, rebooted multiple times, same issue. I'm using wicd as the network connection manager.. I tried to ifconfig wlan0 up.. scan, it still sees them, but doesn't connect.. help.. please..??
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.