AP support

2015-03-24 Thread Michal Strnad
Hi everybody, just curious regarding AP support in nm. What’s the status, is it 
working? As it apparently doesn’t use hostapd, how should it work? 
Documentation on this seems a bit scarce and I can’t make it running, lacking 
details. 

 

[root@core ~]# cat /etc/NetworkManager/system-connections/AP5

[connection]

id=AP5

uuid=e804ced1-0ed3-44c2-9f27-8e0c0784192b

interface-name=wlp2s0

type=wifi

 

[wifi]

ssid=HsH5

mode=ap

 

[ipv6]

method=auto

 

[ipv4]

method=auto

 

[root@core ~]# nmcli con up id AP5

Error: Timeout 90 sec expired.

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Build Error on Raspberry Pi

2015-03-24 Thread Jordan Messina
I'm trying to build Network Manager 1.0 from source on a Raspberry Pi
running RASPBIAN Debian Wheezy. I'm using gcc4.8. Getting the following
error:


In file included from
ppp-manager/nm-ppp-manager.c:42:0:/usr/include/linux/if_ppp.h:103:16:
error: field 'b' has incomplete type
  struct ifreq  b;
^/usr/include/linux/if_ppp.h:108:21: error: field 'b'
has incomplete type
  struct ifreq   b;
 ^Makefile:1499: recipe for target
'nm-ppp-manager.lo' failed
make[4]: *** [nm-ppp-manager.lo] Error 1
make[4]: Leaving directory
'/home/pi/NetworkManager-1.0.0/src'Makefile:2001: recipe for target
'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
'/home/pi/NetworkManager-1.0.0/src'Makefile:1051: recipe for target
'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/pi/NetworkManager-1.0.0/src'Makefile:608: recipe for target
'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/home/pi/NetworkManager-1.0.0'Makefile:502: recipe for target 'all'
failed
make: *** [all] Error 2



Not sure why this is happening. Is it using the wrong PPP headers?
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Build Error on Raspberry Pi

2015-03-24 Thread Dan Williams
On Tue, 2015-03-24 at 13:53 -0400, Jordan Messina wrote:
 I'm trying to build Network Manager 1.0 from source on a Raspberry Pi
 running RASPBIAN Debian Wheezy. I'm using gcc4.8. Getting the following
 error:

Interesting; linux/if.h should get pulled in from the #include
nm-platform.h in nm-ppp-manager.c. Can you do something like:

 #include nm-platform.h
+#ifdef _LINUX_IF_H
+linux if has been included!
+#endif
 #include nm-core-internal.h

in nm-ppp-manager.c and see if the compiler errors on that?  If so we
know linux/if.h has been found by the preprocessor.

Also, what compiler flags are being used?  This should tell you:

grep ^CFLAGS = src/ppp-manager/Makefile

Dan

 
 In file included from
 ppp-manager/nm-ppp-manager.c:42:0:/usr/include/linux/if_ppp.h:103:16:
 error: field 'b' has incomplete type
   struct ifreq  b;
 ^/usr/include/linux/if_ppp.h:108:21: error: field 'b'
 has incomplete type
   struct ifreq   b;
  ^Makefile:1499: recipe for target
 'nm-ppp-manager.lo' failed
 make[4]: *** [nm-ppp-manager.lo] Error 1
 make[4]: Leaving directory
 '/home/pi/NetworkManager-1.0.0/src'Makefile:2001: recipe for target
 'all-recursive' failed
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 '/home/pi/NetworkManager-1.0.0/src'Makefile:1051: recipe for target
 'all' failed
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 '/home/pi/NetworkManager-1.0.0/src'Makefile:608: recipe for target
 'all-recursive' failed
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 '/home/pi/NetworkManager-1.0.0'Makefile:502: recipe for target 'all'
 failed
 make: *** [all] Error 2
 
 
 
 Not sure why this is happening. Is it using the wrong PPP headers?
 ___
 networkmanager-list mailing list
 networkmanager-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/networkmanager-list


___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list