You are not logged in.

#51 2014-07-26 05:36:08

gothmog123
Member
Registered: 2012-10-31
Posts: 80

Re: CMST - A Connman GUI front end with system tray icon

off topic:

Any chance you could do a connman gnome shell extension?

Offline

#52 2014-07-26 15:20:28

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

I'm up to date.  I just tried wpa on my machine and it finally took.  I never could seem to get it to work on i686.  I guess I'll just have to keep trying on the i686 and use the previous version.  Connman is seemingly quicker than wicd when it works.  Disabling all the netctl profiles may have helped (even though they're kinda not working anyhow).


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#53 2014-07-26 23:55:27

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

nomorewindows:
Glad you got it working.  I was not entirely sure on the up-to-date thing, but parts of what you are seeing seemed awful familiar to me so though it worth mentioning.  I'm not clear exactly what problems you are having with i686.  If you want to open up an issue for it over at the Github page feel free, but I''ll need to know exactly what errors or behavior you are seeing.

gothmog123:
Probably not since I don't even know what a Gnome shell extension is.  Years ago I used and knew a bit about KDE, but for the past couple of years I've not used any packaged DE. On the Connman Wiki page there is a GTK Connman client applet.  I assume that is not what you need?

Offline

#54 2014-07-27 04:56:48

gothmog123
Member
Registered: 2012-10-31
Posts: 80

Re: CMST - A Connman GUI front end with system tray icon

ajbibb wrote:

gothmog123:
Probably not since I don't even know what a Gnome shell extension is.  Years ago I used and knew a bit about KDE, but for the past couple of years I've not used any packaged DE. On the Connman Wiki page there is a GTK Connman client applet.  I assume that is not what you need?

A gnome shell extension is an applet for gnome shell. It's written in javascript (GS is writen in both C and javascript). I'm guessing it would be really easy to access the dbus API via javascript (for someone who already hacked through it), display a tray icon and notifications. There's this but it's outdated https://github.com/connectivity/gnome-extension-connman

Last edited by gothmog123 (2014-07-27 04:57:55)

Offline

#55 2014-08-01 17:25:11

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

Haven't tried it on all i686, but the wireless card doesn't want to work I think.  It has trouble even with wicd.  My guess is a weak embedded antenna.  Doesn't really do a whole lot with immediate past package, and results in the exec format error as if it is compiling the cmst in x86_64 on i686 with the newest package.  How to file bug on github?

Last edited by nomorewindows (2014-08-01 17:25:44)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#56 2014-08-01 18:23:26

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

Just go onto the github page and on the right find "issues", click on it and create a new issue.  Provide as much information as you can on platform and exactly what error messages you are getting and when.

I'm not going to be around at all this weekend so I'll not be able to respond until next week.  I will though look into it when I get back.

Offline

#57 2014-08-01 18:54:59

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

There's my answer:  The i686 is a x86_64 binary executable for /usr/bin/cmst:

/usr/bin/cmst: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=xxxxxxxxxxxxxxxxxxxxxxxx, not stripped

Probably just a problem with the PKGBUILD.

Last edited by nomorewindows (2014-08-01 18:56:33)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#58 2014-08-05 00:27:39

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

I've been looking at this and I'm at a loss.  I'm hardly an expert at making AUR packages so if anybody else who is has an idea please feel free to chime in.

I did a download of the AUR package and built it on an i686 version of Arch, but the build machine itself is x86_64.  It ran perfectly fine in that i686 partition.  I then dusted off an old i686 laptop (verified the CPU is not x86_64) and copied the binary over to that laptop.  It also ran fine on that machine. 

After you do the build is the package named: cmst-2014.07.19-1-i686.pkg.tar.xz?

Offline

#59 2014-08-05 00:54:37

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

ajbibb wrote:

I've been looking at this and I'm at a loss.  I'm hardly an expert at making AUR packages so if anybody else who is has an idea please feel free to chime in.

I did a download of the AUR package and built it on an i686 version of Arch, but the build machine itself is x86_64.  It ran perfectly fine in that i686 partition.  I then dusted off an old i686 laptop (verified the CPU is not x86_64) and copied the binary over to that laptop.  It also ran fine on that machine. 

After you do the build is the package named: cmst-2014.07.19-1-i686.pkg.tar.xz?

Yep, I have both architectures on the files.  When I do file on my cmst binary that's what it gives me.  Usually a PKGBUILD will have an architecture condition $CARCH to tell it which i386, amd64 architecture to build or download.  The first time I did it it built correctly.  The next build didn't build it correctly.

Last edited by nomorewindows (2014-08-05 00:58:44)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#60 2014-08-06 19:24:58

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

I rebuilt the cmst package again and was able to get it to work as an i686 package.  But I'm still having trouble getting it to connect with the ipw2x00 wireless card.  Just keeps giving me a problem with invalid-key.  Could be something with connman itself.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#61 2014-08-06 23:47:27

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

Well that is the best news I've read all day.  Been doing research on $CARCH and was not finding anything I should do with it.  I've only got one version of the code, the "makepkg" command decides which platform to build for.

On the connection item my standard first answer is to try it with the Connman built in connmanctl CLI.  If it works there but not CMST definitely something I'd need to fix.  Should that be the case there is a command line switch that will allow us enable the creation of some debugging output so I can figure out what Connman is asking for and what I'm not answering.  If it does not work in connmanctl then there little I can do.

Offline

#62 2014-08-31 22:12:45

Lockheed
Member
Registered: 2010-03-16
Posts: 1,437

Re: CMST - A Connman GUI front end with system tray icon

Is there a way to set a Static ip in connman using CMST? I can't find anything like that in the menus.


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#63 2014-08-31 22:43:21

progandy
Member
Registered: 2012-05-17
Posts: 2,151

Re: CMST - A Connman GUI front end with system tray icon

Lockheed wrote:

Is there a way to set a Static ip in connman using CMST? I can't find anything like that in the menus.

If you want a static IP for ethernet, then you could try the git version. Use the "Configuration" button on the "Details" tab.

Offline

#64 2014-08-31 22:45:51

Lockheed
Member
Registered: 2010-03-16
Posts: 1,437

Re: CMST - A Connman GUI front end with system tray icon

progandy wrote:
Lockheed wrote:

Is there a way to set a Static ip in connman using CMST? I can't find anything like that in the menus.

If you want a static IP for ethernet, then you could try the git version. Use the "Configuration" button on the "Details" tab.

Actually, I need it for a WiFi network, but thanks for pointing out that tiny Configuration button. I have never spotted it before smile


Laptop: ThinkPad W500, C2D P9500, 8GB, Radeon RV635 (HD3650), Arch | Server/fw: Zotac AQ01, A4-5000 Kabini, 4GB, Arch/pfSense VM

Offline

#65 2014-08-31 23:34:07

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

Don't feel bad, the button was just added into the official version this past week (been in git for a while). 

Version 14.08.23-1 in the AUR has it, and at the moment the Git version and the official release are completely in sync.

Offline

#66 2014-09-07 00:11:53

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

It looks like CMST/connman has a tendency to hang if I have NFS mounts upon shutdown.  Connman needs to stay running until the mounts are unmounted and then it can disconnect from the network.

Looks like adding to nfs-client.target

Wants=connman.target

is a possibility, but not sure.

Last edited by nomorewindows (2014-09-07 00:20:30)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#67 2014-09-08 00:43:40

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

For a while I've been mulling the idea of creating a systemd unit for this program.  If (or when) I do I'll have CMST stay up until nfs-client is down. 

When your system was hanging were you getting any specific CMST errors, that is something I need to fix?  From the description is sounds more like something that the Connman guys might need to deal with.

Offline

#68 2014-09-08 12:37:19

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

It's more likely a connman thing, but since they work together.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#69 2014-09-08 12:58:10

progandy
Member
Registered: 2012-05-17
Posts: 2,151

Re: CMST - A Connman GUI front end with system tray icon

ajbibb wrote:

When your system was hanging were you getting any specific CMST errors, that is something I need to fix?  From the description is sounds more like something that the Connman guys might need to deal with.

I believe connman should support network.target and network-online.target. I just don't know how to accomplish that in the best way. Maybe issue a start/stop network-online.target via dbus in the connman code and use Wants/Before=network.target, Wants/After=network-pre.target in the systemd unit.

Offline

#70 2014-09-08 13:11:50

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

I just noticed that connman points my /etc/resolv.conf to localhost.  It just so happens I have a pdnsd on there.  It gets the dns server from the dhcp server normally.  I was doing drill and found that it was coming from my local pdnsd instead of the one issued by the dhcp server.  Not really any harm done, but it does say in /etc/resolv.conf that it was generated by connection manager.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#71 2014-09-08 17:08:14

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

I just opened an issue over on GitHub about the systemd unit and the network-online.target.  I'm not sure how to implement that, does not mean I can't, just means I'll need to do some research first.

Offline

#72 2014-09-13 01:55:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

Looks like connman got an update.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#73 2014-09-13 11:02:06

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

I saw that yesterday.  I looks like major additions to the peer-to-peer connection features.  Kind of suspected they were coming as I lurk on the connman developer mailing list.

It will probably entail a new tab in the UI.  Haven't read the docs yet, but in the change log it looks like these new features are marked experimental.  If that is the case I may let it settle a bit first.  I've had a few exceptions, but generally I try to avoid implementing features that are marked experimental.

Offline

#74 2014-09-28 21:38:23

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,004

Re: CMST - A Connman GUI front end with system tray icon

Looks like connman still does get tied up with shutdown.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#75 2014-10-03 00:48:23

ajbibb
Member
Registered: 2012-02-12
Posts: 118

Re: CMST - A Connman GUI front end with system tray icon

I just uploaded some code to complete issue #32. Next up on the hit parade is issue #31 which is the systemd unit. I'm going to key the CMST systemd unit to connman, and possibly the  Wants/Before=network.target.  If connman is choking on shutdown you really should post a bug report, either to the Arch packager or to Connman.  When I write the unit I will not add anything that shuts down connman as connman does not require CMST.  The relationship between comman and CMST is a completely one way relationship.

As far as the new version of connman: yesterday there were 2 or 3 patches submitted to the Peer to Peer API, so I'm definitely waiting for this to settle some before I work on the interface.  I have read through the new API documentation on the P2P interface so I have a good idea as to what I'll need to do once it does settle down a bit.

Offline

Board footer

Powered by FluxBB