You are not logged in.
# diff connman_dmenu.old connman_dmenu.new
1a2,4
>
> umask 0077
>
149a153
> ;;
152a157
> ;;
155a161
> ;;
165a172
> ;;
172a180
> ;;
174d181
< chmod 600 "$config_file"
(or the new code http://codepad.org/XCq33YTs )
Your current version has some syntax errors, those missing ;; in case. My idea with umask works very well, so I'd suggest to use it. Still have to test the wpa enterprise network, more on that tomorrow.
Offline
Ok, now it works with wpa enterprise as well. I had to do one additional change, pap needs to be in capitals.
1a2,4
>
> umask 0077
>
149a153
> ;;
152c156,157
< phase2=pap
---
> phase2=PAP
> ;;
155a161
> ;;
165a172
> ;;
172a180
> ;;
174d181
< chmod 600 "$config_file"
Offline
Hey, how do I actually use the VPN options? I've got connman-vpn enabled and running, connmand enabled and running, and I've run the pptp vpn setup from connman_dmenu which generated a file /var/lib/connman-vpn/pia_us_west.config:
[provider_pia_us_west]
Type = PPTP
Name = pia_us_west
Host = xx.xx.xx.xx
198.xx.xx.xxx
198.xx.xxx.xx
198.xx.xxx.xxx
Domain = us-west.privateinternetaccess.com
PPTP.User = username
PPTP.Password = password
Only the visible wifi networks appear in the dmenu list when I run connman_dmenu.
Ideas? Thanks!
Scott
Offline
it is fixed now. please update and try again.
"After you do enough distro research, you will choose Arch."
Offline
That worked, thanks...too bad I just keep getting an 'input/output error' when trying to connect to a vpn. Even just using connmanctl it still doesn't work. Journalctl output here:
connman-vpn:
Apr 03 13:07:23 scotty pppd[11569]: Plugin /usr/lib/connman/scripts/libppp-plugin.so loaded.
Apr 03 13:07:23 scotty pppd[11569]: pppd 2.4.6 started by root, uid 0
Apr 03 13:07:23 scotty pppd[11569]: Using interface ppp0
Apr 03 13:07:23 scotty connman-vpnd[7238]: ppp0 {newlink} index 28 operstate 2 <DOWN>
Apr 03 13:07:23 scotty pppd[11569]: Connect: ppp0 <--> /dev/pts/1
Apr 03 13:07:23 scotty pppd[11569]: Modem hangup
Apr 03 13:07:23 scotty pppd[11569]: Connection terminated.
Apr 03 13:07:23 scotty connman-vpnd[7238]: ppp0 {dellink} index 28 operstate 2 <DOWN>
Apr 03 13:07:23 scotty pppd[11569]: Exit.
connman:
Apr 03 13:07:23 scotty connmand[7223]: ppp0 {create} index 28 type 512 <PPP>
Apr 03 13:07:23 scotty connmand[7223]: ppp0 {update} flags 4240 <DOWN>
Apr 03 13:07:23 scotty connmand[7223]: ppp0 {newlink} index 28 operstate 2 <DOWN>
Apr 03 13:07:23 scotty connmand[7223]: ppp0 {dellink} index 28 operstate 2 <DOWN>
dbus:
Apr 03 13:07:23 scotty dbus[1158]: [system] Rejected send message, 2 matched rules; type="error", sender=":1.350" (uid=0 pid=7238 comm="/usr/bin/connman-vpnd -n ") interface="(unset)" member="(unset)" error name="net.connman.Error.InProgress" requested_reply="0" destination=":1.349" (uid=0 pid=7223 comm="/usr/bin/connmand -n ")
Any ideas? Thanks,
Scott
Last edited by firecat53 (2014-04-03 20:11:56)
Offline
are you sure that this host runs pptp?
the log shows it doesn't. (there are many "flavors" of vpn. pptp is just one of them.)
"After you do enough distro research, you will choose Arch."
Offline
It's supposed to... https://www.privateinternetaccess.com/p … untu_10_10 . I went in and added 'PPPD.RequireMPPE = 1' to the configuration file to try and meet the MPPE requirement, but it still doesn't work. Ugh, the connman documentation is terrible...that's why I started using your script!!
Scott
Offline
I think your user/pass is wrong.
or you did not post the entire error message
"After you do enough distro research, you will choose Arch."
Offline
A few years later and I've returned to using connman-dmenu. That delay in showing does not happen with this laptop. Now I'm enjoying what you guys were enjoying all along. Damn this is good. Thank you TaylorChu if you are still around.
Offline