LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   change wlan name to eth (https://www.linuxquestions.org/questions/linux-newbie-8/change-wlan-name-to-eth-4175410773/)

ocsev 06-10-2012 05:38 PM

change wlan name to eth
 
I am trying to change the name of wlan to eth

The reason is because MATLAB needs to read the eth device address, and I only have wlan.

I changed 70-persistent-net-rules to

# PCI device 0x14e4:0x4311 (b43-pci-bridge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:ce:6c:5e:cf", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="eth1"

I tried to enact this change with udevadm control --reload-rules

I also removed biosdevname

however /sbin/ifconfig still shows an entry for wlan0

Can anyone help?

Thanks.

yooy 06-11-2012 02:10 AM

You can have eth trough wlan with EasyTether, an app on Google play, however you will need to buy a cheap android phone.

allend 06-11-2012 03:38 AM

Do you have a physical eth0 device? Perhaps you could create a bridge involving the eth0 device and the wlan0 device so that MATLAB is satisfied. See 'man brctl' for further information.

jefro 06-11-2012 04:13 PM

Do a search on LQ. This has been answered before but I forgot the way it was done.


All times are GMT -5. The time now is 02:26 AM.