On 05/12/2012 07:13 PM, Albert Gall wrote:
> On Sat, May 12, 2012 at 12:18:30PM -0300, Beat Meier wrote:
>> Hello
>>
>> Is it not possible to name the interface other than wlanX?
>> I want to use compatibility with cacti etc. to use either madwifi or
>> mac802011 and try
>> to use athX instead of wlanX with mac80211 drivers...
>>
>> Thanks
>>
>> Beat
>> _______________________________________________
>> ath5k-devel mailing list
>> ath5k-devel@lists.ath5k.org
>> https://lists.ath5k.org/mailman/listinfo/ath5k-devel
> Hi, you cant use # ip link set name  wlan0 dev ath0
>

Thanks with your info I have found that
   ip link set wlan0 name ath0

To auto generate ath0 you can do something like the following in 
/etc/network/interfaces

auto wlan0
iface wlan0 inet static
         address 10.99.99.1 ### not realy used but must be here for 
config reasons
         netmask 255.255.255.0
         pre-up ip link set wlan0 name ath0

auto ath0
iface ath0 inet static
         address 10.24.5.1
         netmask 255.255.255.0
         hostapd /etc/hostapd/hostapd.ath0.conf

Thanks and greetings

Beat
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to