With iwconfig you can see that the mode of my wireless interface is in Managed mode. So connected to the access point.
The mode you are talking about is
wlan0 IEEE 802.11bg ESSID:"zyxel"
Mode:Managed Frequency:2.462 GHz Access Point: 00:02:CF:84:86:1C
- "Ad-Hoc" (network composed of only one cell and without Access Point)
Other options are
- Master (as accesspoint)
- Monitor (not associated but passively monitoring)
you can try to set the wireless card in adhoc mode, but this is dependent on the drivers for the card.
ubunutu desktop and ubuntu server are basically the same, but with different default packages installed and services running. So in this case it doesn't matter which one you are using.
sudo iwconfig eth0 mode Ad-Hoc