Jump to content

Client mode working only via SSH commands


ptrac3

Recommended Posts

As the title , finally with the new awesome 1.4.0 upgrade i get client mode working properly but..It won't work via web interface but only issue manual commands trhough ssh. To make client mode works i've issue:

killall  -2 wpa_supplicant; wpa_supplicant -B -iwlan1 -Dnl80211 -c connect; killall -2  udhcpc; udhcpc  -t 0 -i wlan1 -b 

Any clues on why this happens? Or a quick way to modify script called via web interface to make it work? Thank you in advance!

PS: my wpa_supplicant connect config file is

network={
ssid="ESSID"
psk="ESSID_PASSWORD"
}
Edited by ptrac3
Link to comment
Share on other sites

ptrac3,

From the information given, it is hard to think of why it works via the command line but not the webinterface. Can you set up Client Mode through the webinterface and then check your /etc/config/wireless file? Does this have all the correct information? If not, let us know what is wrong.

Otherwise, if the above file is correct, please run the "wifi" command (while connected over ethernet) and make sure to note it's output.

Best Regards,

Sebkinne

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...