Author Topic: Issues in WiFi activation on Khepera IV robot  (Read 2091 times)

EJ

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Issues in WiFi activation on Khepera IV robot
« on: April 20, 2017, 05:02:10 AM »
Hi,

I am having issues in activating WiFi on the robot. I was following the instruction manual to set up WiFi connection. I have edited the /etc/network/interfaces file to the following:

auto lo
iface lo inet loopback

auto wlan3
iface wlan3 inet static
      wireless_mode managed
      wireless_essid NO-INTERNET-ACCESS
      address 192.168.153.2
      netmask 255.255.128.0
      gateway 192.168.128.1


However, I am having "No such device" messages as shown below after calling /etc/init.d/networking restart:

Reconfiguring network interfaces... Error for wireless request "Set Mode" (8B06:
    SET failed on device wlan3 ; No such device.                               
Error for wireless request "Set ESSID" (8B1A) :                                 
    SET failed on device wlan3 ; No such device.                               
SIOCSIFADDR: No such device                                                     
wlan3: unknown interface: No such device                                       
SIOCSIFNETMASK: No such device                                                 
SIOCGIFADDR: No such device                                                     
SIOCSIFBROADCAST: No such device                                               
wlan3: unknown interface: No such device                                       
Failed to bring up wlan3.


The ifconfig command shows:

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


The iwconfig command shows:

lo        no wireless extensions.                                               
                                                                               
wlan0     IEEE 802.11b/g  ESSID:""                                             
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated       
          Bit Rate:0 kb/s   Tx-Power=16 dBm                                     
          Retry short limit:8   RTS thr=2347 B   Fragment thr=2346 B           
          Encryption key:off                                                   
          Power Management:off                                                 
          Link Quality:0  Signal level:0  Noise level:0                         
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0             
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Please advice. Thank you.




kteam

  • Administrator
  • Hero Member
  • *****
  • Posts: 378
  • Karma: +7/-1
Re: Issues in WiFi activation on Khepera IV robot
« Reply #1 on: April 26, 2017, 11:48:23 AM »
Hi,

the number of the wlan can vary depend on the installation.

In the manual we have indicated the wlan3 as example, but in your case (look at your iwconfig), it seems that you have a wlan0.

Then you must adapt the file with wlan0.

best regards

EJ

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Issues in WiFi activation on Khepera IV robot
« Reply #2 on: April 27, 2017, 06:12:14 AM »
Hi,

I managed to establish WiFi connection after changing to wlan0 in the file.

Thanks for the advice!