robotrokers / rokers-yocto-distro

A Yocto Distro for robot enabler embedded Linux!
MIT License
0 stars 1 forks source link

Add Wi-Fi Networking #21

Closed gmacario closed 7 years ago

gmacario commented 7 years ago

Should fix #19

Signed-off-by: Gianpaolo Macario gmacario@gmail.com

gmacario commented 7 years ago

Tested https://build.rokers.io/job/robotrokers/job/rokers-yocto-distro/job/PR-21/4/artifact/gdp-src-build/tmp/deploy/images/raspberrypi3/rokers-image-base-raspberrypi3-20170711130651.rootfs.rpi-sdimg on a Raspberry Pi 3.

Interface wlan0 is now properly recognized

Yocto GENIVI Baseline (Poky/meta-ivi) 12.0.0 raspberrypi3 ttyS0

raspberrypi3 login: root
Password:
Last login: Mon Jul 10 15:18:42 UTC 2017 on ttyS0
root@raspberrypi3:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr B8:27:EB:21:3F:76
          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)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1%1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:960 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:72960 (71.2 KiB)  TX bytes:72960 (71.2 KiB)

wlan0     Link encap:Ethernet  HWaddr B8:27:EB:74:6A:23
          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)

root@raspberrypi3:~#

After doing ifconfig wlan0 up and iwlist wlan0 scanning I can see the list of nearby Access Points

gmacario commented 7 years ago

@ludusrusso Please review and merge if you like it