* Virtual Interfaces; using hostapd AND wpa_supplicant on the same physical device
@ 2012-01-30 10:29 Lars Duesing
2012-02-01 3:19 ` Pat Erley
0 siblings, 1 reply; 2+ messages in thread
From: Lars Duesing @ 2012-01-30 10:29 UTC (permalink / raw)
To: linux-wireless
Hi List,
I'd like to create a temporary hotspot using an other wireless network
which is already there.
My kids have some devices (like Nintendo DS) which are only capable
using WEP.
So I want to create a temporary hotspot which I can filter on my own.
Years ago I was able to do such a configuration, but this was before
mac80211 (I was then often on trade fairs, with very costly
wlan-tariffs...).
Problem is: I get an error about a network name already exist - either
on hostapd and wpa_supplicant - everytime the last program started.
> iw phy phy0 interface add net0 type managed
> hostapd -dd hostapd.conf
> wpa_supplicant -dd -Dwext -inet0 -cwpa_supplicant.conf
hostapd.conf:
> interface=wlan0
> driver=nl80211
> bridge=br0
> ssid=TEST
> wme_enabled=0
> channel=9
> hw_mode=g
wpa_supplicant.conf
> ctrl_interface=DIR=/var/run/wpa_supplicant
> network={
> ssid="CRYPT_WLAN"
> scan_ssid=1
> key_mgmt=WPA-PSK
> psk="PSKpskPSK"
> }
lsmod|grep 80211
> mac80211 393459 1 ath5k
> cfg80211 172427 3 ath5k,ath,mac80211
lspci -v
> 0a:03.0 Ethernet controller: Atheros Communications Inc. AR2413
802.11bg NIC (rev 01)
> Subsystem: AMBIT Microsystem Corp. Device 0418
> Flags: bus master, medium devsel, latency 168, IRQ 18
> Memory at d0000000 (32-bit, non-prefetchable) [size=64K]
> Capabilities: [44] Power Management version 2
> Kernel driver in use: ath5k
> Kernel modules: ath5k
/proc/version:
> Linux version 3.0.0-15-generic (buildd@zirconium) (gcc version 4.6.1
(Ubuntu/Linaro 4.6.1-9ubuntu3) ) #26-Ubuntu SMP Fri Jan 20 15:59:53 UTC 2012
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Virtual Interfaces; using hostapd AND wpa_supplicant on the same physical device
2012-01-30 10:29 Virtual Interfaces; using hostapd AND wpa_supplicant on the same physical device Lars Duesing
@ 2012-02-01 3:19 ` Pat Erley
0 siblings, 0 replies; 2+ messages in thread
From: Pat Erley @ 2012-02-01 3:19 UTC (permalink / raw)
To: Lars Duesing; +Cc: linux-wireless
On 01/30/2012 05:29 AM, Lars Duesing wrote:
> Hi List,
>
> I'd like to create a temporary hotspot using an other wireless network which is already there.
> My kids have some devices (like Nintendo DS) which are only capable using WEP.
> So I want to create a temporary hotspot which I can filter on my own.
>
> Years ago I was able to do such a configuration, but this was before mac80211 (I was then often on trade fairs, with very costly wlan-tariffs...).
>
> Problem is: I get an error about a network name already exist - either on hostapd and wpa_supplicant - everytime the last program started.
>
You need to change the mac address of the second device once you create it.
Pat Erley
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-01 3:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-30 10:29 Virtual Interfaces; using hostapd AND wpa_supplicant on the same physical device Lars Duesing
2012-02-01 3:19 ` Pat Erley
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).