Skip to contentSkip to conversation

carl9170: Problems setting up Virtual Interface

DISCUSSION Christian Lamparter 1 participant 1 message Jul 4, 2011

lore
Share & tools
lore
#0 lore raw
Quoted 24 lines · Alex

I am using the carl9170 interface from the 2.6.39.2 kernel with the newest carl9170 firmware. I have set-up an AP with hostapd. Everything is working so far:

root@box:~# ifconfig
mon.wlan0 Link encap:UNSPEC  HWaddr <deleted>
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:27070 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:4583087 (4.3 MiB)  TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr <deleted>
inet addr:192.168.80.1 Bcast:192.168.80.255 Mask:255.255.255.0 inet6 addr: fe80::76ea:3aff:fe8f:130c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:320 errors:0 dropped:1 overruns:0 frame:0 TX packets:231 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000
RX bytes:28815 (28.1 KiB) TX bytes:26887 (26.2 KiB)

I am now trying to create an additional virtual intereface to connect wireless to my router as described on:

Quoted 6 lines

http://linuxwireless.org/en/users/Documentation/iw/vif/

with
iw dev wlan0 interface add wlan1 type station

However, ifconfig does not list the additional wlan1 interface.

The virtual interface might not be listed because it can't be brought up since it shares the same mac with the main interface.

so try "ifconfig -a" ?

Regards,
Chr