Re: Can't setup network in AD-hoc mode for ubuntu server 10.04
It's funny how a user sometimes asks a simple question that raises even more questions for which there are no easy answers.
First, you, the humble user, do not set the interface name wlan0, wlan1, wlan168, etc. Normally the driver sets the name to wlan(next_available) or eth(next_available) or wifi(next_available), etc. A mechanism called udev finds out if you have or ever in history had a wlan0 with some different MAC address. If so, it sets the next wireless instance as wlan1.
logical name: wlan 1
--- > which I find strange, since I have an entry only for wlan0 in interface file.
However, do you really care? If it connects and works as expected, could you be happy even if it were named spaghetti12? The first step I suggest you try is to change your /etc/network/interfaces to wlan1. Reboot and tell us if everything works as expected. If so, case closed and another Solved for old Chili. If not, we'll troubleshoot further.
Why do you need your server as ad hoc? That's a very unusual setup.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.