Problems getting D-link wda-1320 card working on opensuse 11

I have been banging my head against the wireless wall.
The issue is that although I could get “iwconfig” to get my AP’s MAC address but my machine cannot get a an IP address from DHCP server. I get the infamous “no IP address yet… backgrounding” error when running “rcnetwork restart” from CLI.

Here are the details of my machine:
uname -r : 2.6.25.5-1.1-pae (opensuse 11.0)
O/p of lspci and lspci -n
05:05.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11g NIC (rev 01)
05:05.0 0200: 168c:001a (rev 01)
Driver: Tried madwifi-kmp-pae-0.9.4_2.6.25.5_2-1.i586 and ndiswrapper

As mentioned earlier, iwconfig shows MAC address of access point and “iwlist scan” shows my access point.

I have disabled all encryption on the AP in order to eliminate any doubts about configuration of the key. Used Yast2, in ifup mode, to configure network device.

What else could I try? Please help.

Thanks,
ali811

Exact same issue happens with another D-Link PCI card (DWL-G520M). BTW, my D-Link router logs does show connection from the Linux machine - although there are no logs about attempts to get IP address.

Could my router be the cause of the issue? However both cards work (one card at a time) when I dualboot into Windows XP.

Resolved.
Had to manually run “dhcpcd -n” to make dhcp client request an IP address.
Will put this in appropriate startup script.

ali811 wrote:
> Could my router be the cause of the issue? However both cards work (one
> card at a time) when I dualboot into Windows XP.

I don’t think it is your router. It seems that you are using ‘ifup’ to
configure your network cards. Have you checked the configuration in
YaST => Network Devices => Network Settings?

Larry

Yes I am using ifup to setup the network.
Should I be using the “User controlled NetworkManager” option instead?

Thanks,
ali811

ali811 wrote:
> Yes I am using ifup to setup the network.
> Should I be using the “User controlled NetworkManager” option instead?

Not necessarily; however, I find it easier to control the network with
NM. After you switch using YaST, you will need to add or edit your
connection using the kicker applet.

Larry