Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dniswrapper and link is not ready
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GuidoDirkes
n00b
n00b


Joined: 02 Feb 2006
Posts: 45

PostPosted: Sat Jan 05, 2008 2:01 pm    Post subject: dniswrapper and link is not ready Reply with quote

hi all,

I am figthing with getting a wireless card working using ndiswrapper. I am using

Quote:
Alex ~ # uname -r
2.6.23-gentoo-r5
Alex ~ # ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename: /lib/modules/2.6.23-gentoo-r5/misc/ndiswrapper.ko
version: 1.50
vermagic: 2.6.23-gentoo-r5 SMP mod_unload K8
Alex ~ # wpa_supplicant -v
wpa_supplicant v0.5.7
Copyright (c) 2003-2006, Jouni Malinen <jkmaline@cc.hut.fi> and contributors


I my kernel has the IEEE80211 as modules:
Quote:
#
# Wireless
#
# CONFIG_CFG80211 is not set
CONFIG_WIRELESS_EXT=y
# CONFIG_MAC80211 is not set
CONFIG_IEEE80211=m
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
# CONFIG_IEEE80211_SOFTMAC is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

and loading the ndiswrapper module, after having loaded the ieee80211 stuff, gives
Quote:
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'TKIP'
ndiswrapper version 1.50 loaded (smp=yes, preempt=no)
ndiswrapper: driver net8185 (Realtek,01/29/2007,5.1096.0129.2007) loaded
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 20 (level, low) -> IRQ 19
ndiswrapper: using IRQ 19
wlan0: ethernet device 00:14:d1:3b:03:24 using NDIS driver: net8185, version: 0x50448, NDIS version: 0x500, vendor: 'Realtek RTL8185 Wireless LAN (Mini-)PCI NIC ', 10EC:8185.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK; AES/CCMP with WPA, WPA2, WPA2PSK
wlan0: no IPv6 routers present
ADDRCONF(NETDEV_UP): wlan0: link is not ready


And here I am stuck. How do I get the link up ?

Any help is highly welcome ;-)
Back to top
View user's profile Send private message
cyrius
n00b
n00b


Joined: 27 Jan 2007
Posts: 70
Location: France

PostPosted: Mon Jan 07, 2008 2:12 pm    Post subject: Reply with quote

As i understood, you tried to create your interface with modprobe ieee80211 but ndiswraper have some latency before giving the interface.
Did you try this ? :

1 - rmmod ndiswrapper
2 - rmmod ieee80211
3 - modprobe ndiswrapper
4 - iwconfig to see your network interface, dmesg to see the status
5 - modprobe ieee80211

If it doesn't solve : Try to activate softmac and mac80211 in your kernel.
If it doesn't solve : what are the parameters in your '/etc/conf.d/net ' ?
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Feb 21, 2008 12:05 pm    Post subject: Reply with quote

And you will keep on fighting until you downgrade to 2.6.22-gentoo-r10 (or any other 2.6.22.x iteration). 2.6.23.x and 2.6.24.x kernels give spotty (or no) support to ndiswrapper, especially if you are using a broadcom wireless adapter. This is even truer if you are also using wpa_supplicant.

I have an open bug report on 2.6.24.2 and ndiswrapper not working. It has had minimal action so far, and is most likely going to have to be passed upstream to the ndiswrapper developers.

If ndiswrapper is what you want, you need to use 2.6.22.x kernels.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
twam
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 189
Location: Ammerbuch, Germany

PostPosted: Thu Feb 21, 2008 12:51 pm    Post subject: Reply with quote

pappy_mcfae wrote:
And you will keep on fighting until you downgrade to 2.6.22-gentoo-r10 (or any other 2.6.22.x iteration). 2.6.23.x and 2.6.24.x kernels give spotty (or no) support to ndiswrapper, especially if you are using a broadcom wireless adapter. This is even truer if you are also using wpa_supplicant.


I've got no problems with ndiswrapper kernel 2.6.23 and 2.6.24 with my broadcom 4328 wlan device. Everything is working fine with wpa_supplicant.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Feb 21, 2008 9:38 pm    Post subject: Reply with quote

twam wrote:
pappy_mcfae wrote:
And you will keep on fighting until you downgrade to 2.6.22-gentoo-r10 (or any other 2.6.22.x iteration). 2.6.23.x and 2.6.24.x kernels give spotty (or no) support to ndiswrapper, especially if you are using a broadcom wireless adapter. This is even truer if you are also using wpa_supplicant.


I've got no problems with ndiswrapper kernel 2.6.23 and 2.6.24 with my broadcom 4328 wlan device. Everything is working fine with wpa_supplicant.


Ah, but I don't have a 4328 device, I have a 4311 and a 4318, and neither will work under either kernel. Perhaps you could write a howto for this case. I know I have tried 2.6.23 with Slackware and Gentoo, and .24 with Gentoo, and they simply don't work.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Fri Feb 22, 2008 1:17 am    Post subject: Reply with quote

ndiswrapper doesn't work for me either in 2.6.24. There is definitely something wrong here. I have a 4311. It does work in 2.6.23 though. The only "major" change I have made in the config was using slub in 2.6.24 instead of slab like I did in all me previous kernels. Who knows though.

Well, just got the b43 driver working and was able to connect to an access point with it so bye-bye ndiswrapper for me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum