how to create an ad-hoc network using knetworkmanager?

HOw do i create an ad-hoc network using knetworkmanager? I am trying to connect my computer with other computer using ad-hoc network.

I got:

Error for wireless request “Set Mode” (8B06) :
SET failed on device wlan0 ; Device or resource bus

while trying iwconfig wlan0 mode ad-hoc

I want to be able to switch between ad-hoc and managed without switching back to ifup and networkmanager everytime, so is there any easy method to do so? I am using Knetworkmanager in KDE in opensuse11.0

any one please. How can i put my suse to create an adhoc network so that i can connect it with other computers.

Ok now I have set my mind to use CLI to create an adhoc network

I have tried :

ifconfig wlan0 down

iwconfig mode ad-hoc essid “myadhoc” key 12345678 channel 11

ifconfig wlan0 up

dhclient wlan0

And the other computer can see the network and connects to it.
But after some time it won’t see the network again.
When I try to ping the other computer it says network unreachable.

can anyone point me out to something useful.
Thanks in advance

everything I did was right. But the problem was in iwl3945 drivers. It does not support ad-hoc quite good. can anyone show me the way to find the ipw3945 drivers please.

It used to work flawlessly with my opensuse10.3. Now I have opensuse11, and I need that back again.
Thank you