Community
cancel
Showing results for 
Search instead for 
Did you mean: 
JSh
Novice
1,513 Views

Rename wlp1s0 to wlan0

Sketch "ScanNetworks" print "WiFi shield not present".

I suspect that because my wifi (Intel 135) is certain as wlp1s0, and the standard name is wlan0.

ifconfig -a

wlp1s0Link encap:Ethernet HWaddr UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 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:0 (0.0 B) TX bytes:0 (0.0 B)

connmanctl:

connmanctl> technologies

/net/connman/technology/ethernet

Name = Wired

Type = ethernet

Powered = True

Connected = True

Tethering = False

/net/connman/technology/bluetooth

Name = Bluetooth

Type = bluetooth

Powered = False

Connected = False

Tethering = False

/net/connman/technology/wifi

Name = WiFi

Type = wifi

Powered = True

Connected = False

Tethering = False

connmanctl> enable wifi

Error wifi: Already enabled

connmanctl> services

*AO Wired ethernet_************_cable

How I can rename wlp1s0 to wlan0?

5 Replies
Sergio_A_Intel
Employee
193 Views

Hi,

Are you trying to connect through Ethernet or through WiFi because your connmanctl output says connected=true for your Ethernet interface. Also, what image are you using, on the Yocto image the default name is wlan0. Is the interface not working correctly or you just want to change the interface name?

What steps or guide have you followed to set up your Galileo's internet connection?

Sergio

JSh
Novice
193 Views

Thank you for your answer.

After I downloaded the new image all worked fine.

But Linux have not commands to rename network interface?

Sergio_A_Intel
Employee
193 Views

Hi,

Yes, there are Linux commands that will help you change the interface name. Take a look at this methodhttp://www.cyberciti.biz/faq/howto-linux-rename-ethernet-devices-named-using-udev/ Linux Rename Eth0 Network Interface Card Name [ Udev ] . To change the interface name with this method you need the udev manager. You can get it for galileo in http://repo.opkg.net/galileo/ Index of /galileo following the steps from http://alextgalileo.altervista.org/package-repo-configuration-instructions.html Galileo Package Repo Configuration Instructions

Sergio

Jian_Z_Intel
Employee
193 Views

could you tell me where you download the image

Sergio_A_Intel
Employee
193 Views

You can download it here: http://www.intel.com/support/galileo/sb/CS-035101.htm Intel® Galileo Boards — Software Downloads

Sergio

Reply