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 want to change my wireless interface eth1 to ad-hoc mode, but when I use

iwconfig eth1 mode ad-hoc

It is still unchanged (remain Mode: Managed). I am running out of time.

How can I do it?

Here is the result from terminal :

Result of root@node1-laptop:/home/node1# ifconfig :

eth0  Link encap:Ethernet  HWaddr 00:26:22:06:c4:df  
      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.0 B)  TX bytes:0 (0.0 B)
      Interrupt:17 

eth1  Link encap:Ethernet  HWaddr 00:25:56:b8:f3:52  
      inet addr:10.0.0.15  Bcast:10.0.0.255  Mask:255.255.255.0
      inet6 addr: fe80::225:56ff:feb8:f352/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:38 errors:0 dropped:0 overruns:0 frame:136
      TX packets:57 errors:6 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:5488 (5.4 KB)  TX bytes:9766 (9.7 KB)
      Interrupt:18 

lo    Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:16436  Metric:1
      RX packets:8 errors:0 dropped:0 overruns:0 frame:0
      TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)

Then:

root@node1-laptop:/home/node1# ifconfig eth1 down

Result of root@node1-laptop:/home/node1# iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bg  ESSID:""  

      **Mode:Managed**  Frequency:2.462 GHz  Access Point: Not-Associated   
      Bit Rate:54 Mb/s   Tx-Power:24 dBm   
      Retry min limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Managementmode:All packets received
      Link Quality=5/5  Signal level=0 dBm  Noise level=-91 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

pan0      no wireless extensions.

Then:

root@node1-laptop:/home/node1# iwconfig eth1 mode ad-hoc

Result of root@node1-laptop:/home/node1# iwconfig :

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11bg  ESSID:""  

      **Mode:Managed**  Frequency:2.462 GHz  Access Point: Not-Associated   
      Bit Rate:54 Mb/s   Tx-Power:24 dBm   
      Retry min limit:7   RTS thr:off   Fragment thr:off
      Encryption key:off
      Power Managementmode:All packets received
      Link Quality=5/5  Signal level=0 dBm  Noise level=-91 dBm
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

pan0      no wireless extensions.
share|improve this question
    
anybody help please.... –  An Nguyen Dec 25 '13 at 15:42

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.