Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Was trying to set a WiFi Ad-Hoc in Ubuntu 14.04, Added the following lines in /etc/network/interface file

auto wlan0
iface wlan0 inet static
       wireless-mode Ad-Hoc
       wireless-essid  Ubuntutest
       wireless-key 12345678
       wireless-channel 3
       gateway ///My ethernet ip

My Ifconfig wlan0 output

wlan0     Link encap:Ethernet  HWaddr f4:6d:04:8b:90:0f  
          inet addr:  Bcast:  Mask:
           UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0 MB)  TX bytes:0 (0 KB)

Im am not getting an Ipv6 id and "Running Multicast is also missing". So when I remove the ethernet connection, my wifi also becomes unavailable. What should be done to keep the WiFi ad-hoc intact.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.