linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* carl9170: Problems setting up Virtual Interface
@ 2011-07-04 19:46 Alex
       [not found] ` <201107042202.27366.chunkeey@googlemail.com>
  0 siblings, 1 reply; 10+ messages in thread
From: Alex @ 2011-07-04 19:46 UTC (permalink / raw)
  To: linux-wireless

Dear all,

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
eth0      Link encap:Ethernet  HWaddr <deleted>
          inet addr:192.168.178.25  Bcast:192.168.178.255  Mask:255.255.255.0
          inet6 addr: fe80::210:75ff:fe1a:bc7e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18885 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10301 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25168612 (24.0 MiB)  TX bytes:829805 (810.3 KiB)
          Interrupt:11

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:71 errors:0 dropped:0 overruns:0 frame:0
          TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6694 (6.5 KiB)  TX bytes:6694 (6.5 KiB)

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:

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. According to

http://linuxwireless.org/en/users/Drivers/carl9170#Multiple_Interfaces

this should be supported. What am I doing wrong? Any additional logs
etc. required to investigate?

Thank you very much for your support.

Regards,
Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: carl9170: Problems setting up Virtual Interface
@ 2011-07-04 20:08 Christian Lamparter
  0 siblings, 0 replies; 10+ messages in thread
From: Christian Lamparter @ 2011-07-04 20:08 UTC (permalink / raw)
  To: linux-wireless

On Monday, July 04, 2011 09:46:46 PM Alex wrote:
> 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:
> 
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-14 16:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04 19:46 carl9170: Problems setting up Virtual Interface Alex
     [not found] ` <201107042202.27366.chunkeey@googlemail.com>
2011-07-04 20:11   ` Alex
2011-07-04 20:23     ` Christian Lamparter
2011-07-04 20:29       ` Alex
2011-07-04 20:42         ` Christian Lamparter
2011-07-04 20:54           ` Alex
2011-07-04 21:06             ` Christian Lamparter
     [not found]               ` <CAMJnVwnGKH7CtxuwnTTjp+747cwLpNtp=u8VE2QAahGY9Q813Q@mail.gmail.com>
2011-07-04 21:42                 ` Christian Lamparter
2013-08-14  9:32     ` moony
  -- strict thread matches above, loose matches on Subject: below --
2011-07-04 20:08 Christian Lamparter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).