This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WLANx name switching

Hai 

I'm Sekra

Now i'm working on Beagleboard xm based custom board.I had a wifi.When i put my SD card in my board it shows a WLAN0 initially.But the same SD card put on my another board(same hardware based) but it shows another boards it shows up WLAN1,WLAN2,WLAN3...........

When i open 70-persistent-net.rules in /etc/udev/rules.d/ in my SD card,i had a list of WLAN names as (WLAN0,WLAN1,WLAN2.......)upto how many devices i were connected yet.

Now i already wrote one application based on WLAN0,so this name switching problem was error up that application.When i delete that 70-persistent-net.rules it shows correctly as WLAN0,but i delete that file for every boot.

How can i automate this while booting.????Could i want to write any scripts..????could anybody help me......

Thanks in advance.