-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to WiFi: Invalid Arguments #225
Comments
silentsnake14, I haven't tried wifi on my Rasplex simply because I have a wired connection readily available right at it but I can try. |
Thank for the fast reply! |
Was this an issue pre RC3 and now no longer works or you just starting out on RC3? |
Was definitely an issue before. I tried RasPlex some time ago (0.3.1 as far as I remember) and ended up with this problem. Switched back to Xbian for a while and decided to give RasPlex another try when RC1 was released. |
Why not try Powerline adapters, using WiFi can limit you to low bitrate, low res videos. Regards |
silentsnake, just trying to further isolate and get potentially helpful details for the team/devs. |
Actually it's not that bad. Since the Ethernet port is driven by Raspberry's internal USB it isn't so fast anyway. But ok, might be a bit better than WiFi, taking signal stability into account. I appreciate your help and will provide as much information as I can. For testing I did set up another access point. RasPlex connects to it as long as the passphrase is short, like 12 characters. Using a passphrase with 24-32 characters throws the invalid arguments error. I think it has something to do with the way the passphrase is provided by the configuration page to the connection configuration itself. |
Don't know if this helps, but I tried something. ^^ Connected to SSH, used su to gain root permissions and done the following: -# connmanctl (The error appears on the shell BEFORE I have completely typed my passphrase.) Nothing happens after I hit done - neither on the shell nor on the GUI. Some very strange guess, but maybe I am too slow? So for example, connmanctl puts up the agent GUI at front and says "lets wait for $interval seconds for a result before I time out and cancel the whole thing" and reaches the timeout before I can finish typing. ^^ I try to get a keyboard from somewhere and check if faster typing solves the problem. Edit: Problem is "solved". I think you should increase the timeout anyway. |
Hey silentsnake, thanks for all responding with all the details and help, glad its sorted, but how was it 'solved'? Is it related to the password length? |
Sorry that this wasn't clear. Since the time needed to enter the password corresponds to its length I was fast enough to type passwords like 123456789012 on my test setup that it didn't time out. As far as I understand this technically (and I am not very experienced with it, so it might be wrong) the connection to WiFi is established via a tool called connman. When connman is asked to connect to a network that is password protected it talks to another piece of software called "agent" - that is some GUI to bring up a password dialog for the user to enter the password. Conman than waits to hear back from this agent for a while to get the password and establish the connection. BUT after some time connman thinks that the user aborted the process (since no password came back in time) and aborts the complete process. This is whats leads to the "Invalid arguments" error in the menu. One could easily reproduce the problem. For example just try to connect to a network that is known working, wait for the password prompt to appear, leave it on screen for 5 minutes or so and then enter your password and hit done and it will fail. Do the exact same thing without waiting it works fine. At this point the password prompt will appear at the TV (the display directly connected to your Raspberry Pi). Now do nothing, just wait. After some time the following message will appear on the SSH prompt. That indicates that the timeout was reached. Hope this might help you to fix this bug or at least is helpful to the next person searching for it. ^^ |
First off, thanks so much for the detailed responsive posts. I'm sure the devs will check this out and I'll bring it up to them as possibly we can get this as an enhancement request or at least documented somewhere for others. |
Well if connman is timeouting .. i am not sure what we can do about that ... |
Manpage for connman.conf says
Maybe increasing this value to 10 min would help. |
@dalehamel : can you have a look at this ? |
@silentsnake14 Is this still an issue in 0.5.1. If not can you please close this issue. |
Still the same issue on 0.5.1 on pi2. |
Can you test on 0.7.1, if no feedback issue will be closed. |
To jump on this, I'm trying to use connman over ssh to connect to an EAP network. Perhaps if a config file could be created with VIM and connman could pull from that to prevent the timeout issue...? |
No further feedback since March, closing issue. |
Still an issue Ned, v1.6 Pi2 |
Can confirm, still had this issue. |
I can also confirm this is still an issue. My password is 36 characters long and it takes ages to type it in on a TV remote, after 4 attempts I finally managed to do it quick enough. Would it not be possible to start the connection attempt after the user has typed the password? You can take as long as you want then. |
Can confirm that this issue still exists. |
I have this now with the latest release and an edimax wifi dongle. |
Have the same problem. Raspberry Pi 3 with the latest 2017-11-29-raspbian-stretch image. |
You can try to use the console as I did. Ssh to the machine and use connman. That works! That way you also get it working remembering multiple connections which never worked for me from the UI. |
Using 0.4.0-rc3 on a Raspberry Pi 512 MB with Edimax Wireless 802.11b/g/n nano USB Adapter I can't connect to my WiFi. Only message I get is "Invalid Arguments".
Tested on two devices (Separate Raspberry Pi's, Wireless Adapters and SD cards) with a clean install on each.
Signal strength is at 100 %, network is working fine on all other devices and both Raspberry Pi's worked without problems on Xbian and Arch Linux.
Given advice in another Issue (Use shorter passphrase) is not possible for me.
The text was updated successfully, but these errors were encountered: