Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently upgraded to 12.04 and was delighted to find a simple button to start a wireless hotspot in Settings > Networks.

This is all well and good, however when I try and connect my android device (Samsung Galaxy Tab rooted with Ad-hoc support) the tablet gets stuck obtaining an IP address. It times out and then tries again to reconnect ad infinitum. I don't have this problem with Windows XP/Vista/7 (tried on all three) using ad hoc or connectify. I would use my windows 7 starter netbook to create my wireless hotspot, but unfortunately it died a terrible death.

Why is the android unable to obtain an IP address? How can I fix this? Any help would be great!

share|improve this question

closed as too localized by jrg Nov 3 '12 at 1:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Do you have a DHCP server set up? Or can you try using a manual IP on Android? –  hexafraction May 29 '12 at 15:07
    
I thought that Ubuntu would autoomatically act as a DHCP server and assign an IP address? –  Fayaaz May 30 '12 at 13:16
    
Update: Once a windows machine is connected the Android connects, but none of them are able to access the internet. I live in student accommodation which only allows 1 computer to be registered to the network. The ubuntu laptop is the one registered. –  Fayaaz May 30 '12 at 13:22
    
You may want to manually install a DHCP server set to listening on your ad-hoc connection. –  hexafraction May 31 '12 at 11:53
    
hostapd/firestater/how do I go about this? –  Fayaaz May 31 '12 at 17:31