1. Download our Official Android App: Forums for Android!

Segmentation Fault

Discussion in 'Android Rooting' started by WellHelloRussel, Jul 30, 2016.

  1. WellHelloRussel

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jul 30, 2016

    Jul 30, 2016
    2
    0
    5
    Male
    Hello all,

    I've recently rooted one of my android phones because I wanted to test out this app called WPA/WPS Tester. For the application to work it also requires an app called Terminal Emulator. The WPA/WPS Tester will copy a command to the clipboard and paste it into Terminal Emulator.

    This is the command: su -c wpa_cli IFNAME=wlan0 wps_reg (mac address) (pin number) && su -c wpa_cli

    My problem is this: when I run the code, it gives the following error

    Segmentation Fault.

    Any ideas on a fix for this?
     

    Advertisement

  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator
    Rank:
     #14
    Points:
    1,563
    Posts:
    8,804
    Joined:
    Oct 29, 2013

    Oct 29, 2013
    8,804
    10,192
    1,563
    Male
    SysAdmin
    Huntsville, AL
    Just out of curiosity, what happens if you run the commands separately? That may give a better clue as to where it's failing:

    Code (Text):
    1. $ su -c wpa_cli IFNAME=wlan0 wps_reg (MAC) (PIN)
    2. $ su -c wpa_cli
     
    scary alien likes this.
  3. WellHelloRussel

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jul 30, 2016

    Jul 30, 2016
    2
    0
    5
    Male
    Thank you for the reply!

    When I run each of the commands separately, they still both give the Segmentation Fault error.
     

Share This Page

Loading...