Assign ip address to virtual p2p interface

Johannes Berg johannes at sipsolutions.net
Wed Apr 6 03:12:14 EDT 2011


On Wed, 2011-04-06 at 12:05 +0530, hardik patel wrote:

> p2p-wlan0 Link encap:Ethernet  HWaddr 00:0A:F5:89:89:EF


> # busybox ifconfig p2p-wlan0 192.168.1.101
> busybox ifconfig p2p-wlan0 192.168.1.101
> error: SIOCSIFADDR (No such device)
> 
> How to assign IP address here. we have enable p2p Concurrency at go side.

I think the device name is truncated and really is p2p-wlan0-0 or so.
Try "ip link" rather than "ifconfig".

johannes



More information about the HostAP mailing list