* [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
@ 2010-05-20 1:22 Mu Qiao
2010-05-20 11:59 ` Антонов Николай
0 siblings, 1 reply; 10+ messages in thread
From: Mu Qiao @ 2010-05-20 1:22 UTC (permalink / raw
To: gentoo-soc; +Cc: Robert Piasek, Nirbheek Chauhan, Arun Raghavan
[-- Attachment #1: Type: text/plain, Size: 2562 bytes --]
This is the weekly report for NetworkManager Plug-in.
I'm glad to see that many people are interested in this project. Hope
the progress could make you more pleased :-)
Since I started coding even before the acceptance of my proposal, the
plug-in is almost implemented. It could already be used out of box right
now. Welcome you to join and test. The following is some details.
#Project Information
====================
Home page: http://gitorious.org/gentoo-networkmanager-plugin
Wiki page: http://gitorious.org/gentoo-networkmanager-plugin/pages/Home
Robert helped me push the plug-in to his layman, it's very easy for you
to join and test now. Use "layman -a dagger" and you will see
networkmanager-0.8-r100
Although the plug-in could be used out of box, you may find some further
configuration helpful:
http://gitorious.org/gentoo-networkmanager-plugin/pages/Configuration
I've created an sample configuration. It doesn't include everything but
just an example of further configuration.
http://gitorious.org/gentoo-networkmanager-plugin/pages/Sample
# Features Implemented
======================
## Wired Network and Wireless Network
1. DHCP network configuration
2. Static network configuration
3. DNS servers configuration
4. DNS search configuration
5. Routes configuration
6. Wireless adhoc network
## Wireless Network Security (both in /etc/conf.d/net and
wpa_supplicant.conf)
1. LEAP
2. WEP
3. WPA/WPA2 Personal
4. WPA/WPA2 Enterprise (TTLS and PEAP have been tested)
## PPPoE Network
## IPv4 and IPv6 Configuration
## Monitoring
Changes made to /etc/conf.d/net, /etc/conf.d/hostname,
/etc/wpa_supplicant/wpa_supplicant.conf will be monitored and reported
to NetworkManager. That means your changes to configuration file will
immediately change your network settings without restarting anything! :–)
To sum up, all the required features mentioned in my proposal have been
implemented. Besides that, You will also find some new features that
makes this plug-in easier to use and control.
# Known Issues
==============
The WPA-EAP methods - LEAP and TLS haven't been fully tested.
Wireless adhoc network hasn't been fully tested.
# Future Plan
=============
Since the plug-in has almost been finished, I'll consider supporting the
writing option which is the optional feature mentioned in my proposal.
Before that, testing of current features is more important in my opinion.
--
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-05-20 1:22 [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20 Mu Qiao
@ 2010-05-20 11:59 ` Антонов Николай
2010-05-20 12:03 ` Arun Raghavan
2010-05-20 12:33 ` Mu Qiao
0 siblings, 2 replies; 10+ messages in thread
From: Антонов Николай @ 2010-05-20 11:59 UTC (permalink / raw
To: gentoo-soc
Hello!
I can't install networkmanager-0.8-r100:
Missing digest for
'/var/lib/layman/dagger/net-misc/networkmanager/networkmanager-0.8-r100.ebuild'
and,
Have PPTP implemented yet?
============ LOGS ============
localhost ostin # cat /etc/portage/package.keywords
<cut>
=net-misc/networkmanager-0.8-r100 ~x86
net-misc/networkmanager-pptp ~x86 # required if you use it
gnome-extra/nm-applet ~x86
net-misc/mobile-broadband-provider-info ~x86
sys-auth/polkit ~x86
net-misc/modemmanager ~x86
dev-util/gtk-doc-am ~x86
dev-util/gtk-doc ~x86
dev-libs/eggdbus ~x86
sys-auth/consolekit ~x86
gnome-extra/polkit-gnome ~x86
<cut>
localhost ostin # layman -s dagger
* Running command "cd "/var/lib/layman/dagger" && /usr/bin/git pull"...
Already up-to-date.
*
* Success:
* ------
*
* Successfully synchronized overlay "dagger".
localhost ostin # emerge -pv networkmanager
These are the packages that would be merged, in order:
Calculating dependencies / * Missing digest for
'/var/lib/layman/dagger/net-misc/networkmanager/networkmanager-0.8-r100.ebuild'
... done!
[ebuild N ] dev-libs/libnl-1.1-r1 283 kB
[ebuild N ] net-dns/openresolv-3.3.2 10 kB
[ebuild N ] sys-auth/policykit-0.9-r1 USE="pam -bash-completion
-doc (-selinux) -zsh-completion" 1,225 kB
[ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 288 kB
[ebuild N ] net-dns/dnsmasq-2.52 USE="dbus dhcp nls -ipv6 -tftp" 298 kB
[ebuild N ] net-wireless/wpa_supplicant-0.6.9 USE="dbus gnutls qt4
readline ssl -debug -eap-sim -fasteap -madwifi (-ps3) -wps" 1,151 kB
[ebuild N ] net-misc/networkmanager-0.7.2 USE="connection-sharing
dhcpcd doc gnutls nss resolvconf -avahi -dhclient" 1,285 kB
Total: 7 packages (7 new), Size of downloads: 4,537 kB
20.05.2010 05:22, Mu Qiao пишет:
> This is the weekly report for NetworkManager Plug-in.
>
> I'm glad to see that many people are interested in this project. Hope
> the progress could make you more pleased :-)
>
> Since I started coding even before the acceptance of my proposal, the
> plug-in is almost implemented. It could already be used out of box right
> now. Welcome you to join and test. The following is some details.
>
> #Project Information
> ====================
> Home page: http://gitorious.org/gentoo-networkmanager-plugin
> Wiki page: http://gitorious.org/gentoo-networkmanager-plugin/pages/Home
>
> Robert helped me push the plug-in to his layman, it's very easy for you
> to join and test now. Use "layman -a dagger" and you will see
> networkmanager-0.8-r100
>
> Although the plug-in could be used out of box, you may find some further
> configuration helpful:
> http://gitorious.org/gentoo-networkmanager-plugin/pages/Configuration
>
> I've created an sample configuration. It doesn't include everything but
> just an example of further configuration.
> http://gitorious.org/gentoo-networkmanager-plugin/pages/Sample
>
> # Features Implemented
> ======================
> ## Wired Network and Wireless Network
> 1. DHCP network configuration
> 2. Static network configuration
> 3. DNS servers configuration
> 4. DNS search configuration
> 5. Routes configuration
> 6. Wireless adhoc network
>
> ## Wireless Network Security (both in /etc/conf.d/net and
> wpa_supplicant.conf)
> 1. LEAP
> 2. WEP
> 3. WPA/WPA2 Personal
> 4. WPA/WPA2 Enterprise (TTLS and PEAP have been tested)
>
> ## PPPoE Network
>
> ## IPv4 and IPv6 Configuration
>
> ## Monitoring
> Changes made to /etc/conf.d/net, /etc/conf.d/hostname,
> /etc/wpa_supplicant/wpa_supplicant.conf will be monitored and reported
> to NetworkManager. That means your changes to configuration file will
> immediately change your network settings without restarting anything! :–)
>
> To sum up, all the required features mentioned in my proposal have been
> implemented. Besides that, You will also find some new features that
> makes this plug-in easier to use and control.
>
> # Known Issues
> ==============
> The WPA-EAP methods - LEAP and TLS haven't been fully tested.
> Wireless adhoc network hasn't been fully tested.
>
> # Future Plan
> =============
> Since the plug-in has almost been finished, I'll consider supporting the
> writing option which is the optional feature mentioned in my proposal.
> Before that, testing of current features is more important in my opinion.
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-05-20 11:59 ` Антонов Николай
@ 2010-05-20 12:03 ` Arun Raghavan
2010-05-20 12:33 ` Mu Qiao
1 sibling, 0 replies; 10+ messages in thread
From: Arun Raghavan @ 2010-05-20 12:03 UTC (permalink / raw
To: gentoo-soc
On 20 May 2010 17:29, Антонов Николай <ostinru@gmail.com> wrote:
> Hello!
> I can't install networkmanager-0.8-r100:
> Missing digest for
> '/var/lib/layman/dagger/net-misc/networkmanager/networkmanager-0.8-r100.ebuild'
Till Robert fixes this in his overlay, you can go to that directory
and do 'ebuild networkmanager-0.8-r100.ebuild digest' to generate the
Manifest.
Cheers,
--
Arun Raghavan
http://arunraghavan.net/
(Ford_Prefect | Gentoo) & (arunsr | GNOME)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-05-20 11:59 ` Антонов Николай
2010-05-20 12:03 ` Arun Raghavan
@ 2010-05-20 12:33 ` Mu Qiao
2010-06-25 13:08 ` Nikoli
1 sibling, 1 reply; 10+ messages in thread
From: Mu Qiao @ 2010-05-20 12:33 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
On 05/20/2010 07:59 PM, Антонов Николай wrote:
> Hello!
> I can't install networkmanager-0.8-r100:
> Missing digest for
> '/var/lib/layman/dagger/net-misc/networkmanager/networkmanager-0.8-r100.ebuild'
Yes, and please follow Arun Raghavan's advice.
> and,
> Have PPTP implemented yet?
>
PPTP is part of VPN which /etc/conf.d/net does not support to configure.
As a result, this plug-in won't care about it. But you still can set up
VPN connection by the default keyfile plug-in.
--
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-05-20 12:33 ` Mu Qiao
@ 2010-06-25 13:08 ` Nikoli
2010-06-26 4:37 ` Mu Qiao
0 siblings, 1 reply; 10+ messages in thread
From: Nikoli @ 2010-06-25 13:08 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: Text/Plain, Size: 167 bytes --]
> > Have PPTP implemented yet?
>
> PPTP is part of VPN which /etc/conf.d/net does not support to configure.
Actually it supports PPTP. Example config in attachment.
[-- Attachment #2: net.pptp --]
[-- Type: text/plain, Size: 554 bytes --]
##### DHCP #####
config_eth0=( "dhcp" )
dhcp_eth0="release nontp nonis nogateway nosendhost"
modules=(
"iproute2"
"dhcpcd"
)
##### VPN #####
config_ppp0=( "ppp" )
link_ppp0="pty 'pptp ppp.lan --nolaunchpppd --nobuffer --loglevel 0'"
username_ppp0='1234'
password_ppp0='4321'
pppd_ppp0=(
"debug"
"defaultroute"
"noauth"
"nobsdcomp"
"nodeflate"
# reconnect
"persist"
"maxfail 0"
"lcp-echo-interval 20"
"lcp-echo-failure 3"
# server supports only MSCHAPv2
"refuse-eap"
"refuse-chap"
"refuse-mschap"
)
depend_ppp0() {
need net.eth0
}
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-06-25 13:08 ` Nikoli
@ 2010-06-26 4:37 ` Mu Qiao
2010-06-26 12:01 ` Nikoli
0 siblings, 1 reply; 10+ messages in thread
From: Mu Qiao @ 2010-06-26 4:37 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 477 bytes --]
On 06/25/2010 09:08 PM, Nikoli wrote:
>>> Have PPTP implemented yet?
>>
>> PPTP is part of VPN which /etc/conf.d/net does not support to configure.
>
> Actually it supports PPTP. Example config in attachment.
I've seen your attachment and I guess it is an example to configure ppp
connection over pptp. But it's not the one configuring pptp itself. What
do you think?
--
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-06-26 4:37 ` Mu Qiao
@ 2010-06-26 12:01 ` Nikoli
2010-06-26 13:25 ` Mu Qiao
0 siblings, 1 reply; 10+ messages in thread
From: Nikoli @ 2010-06-26 12:01 UTC (permalink / raw
To: gentoo-soc
В сообщении от 26 июня 2010 08:37:35 автор Mu Qiao написал:
> On 06/25/2010 09:08 PM, Nikoli wrote:
> >>> Have PPTP implemented yet?
> >>
> >> PPTP is part of VPN which /etc/conf.d/net does not support to configure.
> >
> > Actually it supports PPTP. Example config in attachment.
>
> I've seen your attachment and I guess it is an example to configure ppp
> connection over pptp. But it's not the one configuring pptp itself. What
> do you think?
I think you did not read /usr/portage/net-dialup/pptpclient/pptpclient-1.7.2-
r2.ebuild :
"
DEPEND="net-dialup/ppp
dev-lang/perl
tk? ( dev-perl/perl-tk )"
RDEPEND="${DEPEND}
sys-apps/iproute2"
"
and 'man pptp':
"
By default, pptp establishes the PPTP call to the PPTP server, and then starts
an instance of pppd to manage the data transfer. However, pptp can also be run
as a connection manager within pppd.
"
In other words pptp works only in conjunction with pppd. My example configures
pptp:
'pptp ppp.lan --nolaunchpppd --nobuffer --loglevel 0'
http://www.gentoo-wiki.info/HOWTO_PPTP_Internet - good howto
http://en.gentoo-wiki.com/wiki/PPTP - not so good, in Gentoo we do not need to
touch anything in /etc/ppp/
P.S. Thank you for your work! Native support of Gentoo configs in NM is must-
have feature.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-06-26 12:01 ` Nikoli
@ 2010-06-26 13:25 ` Mu Qiao
2010-06-26 14:21 ` Nikoli
0 siblings, 1 reply; 10+ messages in thread
From: Mu Qiao @ 2010-06-26 13:25 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 2231 bytes --]
On 06/26/2010 08:01 PM, Nikoli wrote:
> В сообщении от 26 июня 2010 08:37:35 автор Mu Qiao написал:
>> On 06/25/2010 09:08 PM, Nikoli wrote:
>>>>> Have PPTP implemented yet?
>>>>
>>>> PPTP is part of VPN which /etc/conf.d/net does not support to configure.
>>>
>>> Actually it supports PPTP. Example config in attachment.
>>
>> I've seen your attachment and I guess it is an example to configure ppp
>> connection over pptp. But it's not the one configuring pptp itself. What
>> do you think?
>
> I think you did not read /usr/portage/net-dialup/pptpclient/pptpclient-1.7.2-
> r2.ebuild :
> "
> DEPEND="net-dialup/ppp
> dev-lang/perl
> tk? ( dev-perl/perl-tk )"
> RDEPEND="${DEPEND}
> sys-apps/iproute2"
> "
> and 'man pptp':
> "
> By default, pptp establishes the PPTP call to the PPTP server, and then starts
> an instance of pppd to manage the data transfer. However, pptp can also be run
> as a connection manager within pppd.
> "
> In other words pptp works only in conjunction with pppd. My example configures
> pptp:
> 'pptp ppp.lan --nolaunchpppd --nobuffer --loglevel 0'
>
> http://www.gentoo-wiki.info/HOWTO_PPTP_Internet - good howto
> http://en.gentoo-wiki.com/wiki/PPTP - not so good, in Gentoo we do not need to
> touch anything in /etc/ppp/
>
> P.S. Thank you for your work! Native support of Gentoo configs in NM is must-
> have feature.
>
>
Well, you're right. I've go through the links you listed and I agree
that pptp could be implemented. But as far as I know, NM supports vpnc,
openvpn and pptp by an unified way. I think it would be confusing to
users if we only supported one of them. Think about it, it's a little
mess(different configuration files, don't know which one is supported,
etc.). Meanwhile, currently it is very easy to make a VPN connection. I
don't see a strong need to support it by our plug-in especially when it
may involve the mess.
So in my opinion, If we could support vpnc, openvpn and pptp, it's worth
implementing. Certainly, if you have better idea, please tell me :-).
--
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-06-26 13:25 ` Mu Qiao
@ 2010-06-26 14:21 ` Nikoli
2010-06-28 1:17 ` Mu Qiao
0 siblings, 1 reply; 10+ messages in thread
From: Nikoli @ 2010-06-26 14:21 UTC (permalink / raw
To: gentoo-soc
В сообщении от 26 июня 2010 17:25:09 автор Mu Qiao написал:
> Well, you're right. I've go through the links you listed and I agree
> that pptp could be implemented. But as far as I know, NM supports vpnc,
> openvpn and pptp by an unified way. I think it would be confusing to
> users if we only supported one of them. Think about it, it's a little
> mess(different configuration files, don't know which one is supported,
> etc.). Meanwhile, currently it is very easy to make a VPN connection. I
> don't see a strong need to support it by our plug-in especially when it
> may involve the mess.
>
> So in my opinion, If we could support vpnc, openvpn and pptp, it's worth
> implementing. Certainly, if you have better idea, please tell me :-).
Ideally plugin should work so:
1) install gentoo
2) install NM+plugin
3) configure networks
4) after rebooting all network connections work fine even if NM failed to start
or is completely removed.
Gentoo supports vpnc and openvpn with /etc/conf.d/net and /etc/init.d/vpnc (
/etc/init.d/openvpn ) + /etc/vpnc/ (/etc/openvpn/), so you can add support for
them:
http://www.gentoo.org/doc/en/vpnc-howto.xml
http://en.gentoo-wiki.com/wiki/OpenVPN
But this may require much work and in worst case may cause some code
duplication.
Seems plugin also does not support GPRS (EDGE), do you plan to add it? Example
config (mobile phone as usb modem):
config_ppp1="ppp"
link_ppp1="ttyACM1"
pppd_ppp1="
debug
crtscts
local
lcp-echo-failure 0
lcp-echo-interval 0
:0.0.0.0
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
noauth
persist
maxfail 99999
"
chat_ppp1="
'TIMEOUT' '15'
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATE1'
'OK' 'AT+CGDCONT=1,\"IP\",\"internet\"'
'OK' 'ATD*99***1#'
'CONNECT' 'c'
"
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20
2010-06-26 14:21 ` Nikoli
@ 2010-06-28 1:17 ` Mu Qiao
0 siblings, 0 replies; 10+ messages in thread
From: Mu Qiao @ 2010-06-28 1:17 UTC (permalink / raw
To: gentoo-soc
[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]
On 06/26/2010 10:21 PM, Nikoli wrote:
> В сообщении от 26 июня 2010 17:25:09 автор Mu Qiao написал:
>> Well, you're right. I've go through the links you listed and I agree
>> that pptp could be implemented. But as far as I know, NM supports vpnc,
>> openvpn and pptp by an unified way. I think it would be confusing to
>> users if we only supported one of them. Think about it, it's a little
>> mess(different configuration files, don't know which one is supported,
>> etc.). Meanwhile, currently it is very easy to make a VPN connection. I
>> don't see a strong need to support it by our plug-in especially when it
>> may involve the mess.
>>
>> So in my opinion, If we could support vpnc, openvpn and pptp, it's worth
>> implementing. Certainly, if you have better idea, please tell me :-).
>
> Ideally plugin should work so:
> 1) install gentoo
> 2) install NM+plugin
> 3) configure networks
> 4) after rebooting all network connections work fine even if NM failed to start
> or is completely removed.
>
> Gentoo supports vpnc and openvpn with /etc/conf.d/net and /etc/init.d/vpnc (
> /etc/init.d/openvpn ) + /etc/vpnc/ (/etc/openvpn/), so you can add support for
> them:
> http://www.gentoo.org/doc/en/vpnc-howto.xml
> http://en.gentoo-wiki.com/wiki/OpenVPN
>
> But this may require much work and in worst case may cause some code
> duplication.
Yes, that's right. This plug-in has already involved several unplanned
configuration files such as dhcpcd. It will become too complicated if we
deal with too many files. But if it's worth implementing, I'll still do
it. So I'll think about it after midterm evaluation.
> Seems plugin also does not support GPRS (EDGE), do you plan to add it?
I'm not sure whether I can do it since I think GPRS is supported in a
totally different way. As far as I know, the plug-in can not handle
this. This is where the modem manager kicks in.
--
Cheers,
Mu Qiao
GnuPG fingerprint: 92B1 B0C4 8D14 F8C4 EFA5 3ACC 30B3 0DE4 17B1 57E9
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 554 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-06-28 1:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 1:22 [gentoo-soc] Progress of NetworkManager Plug-in 2010.05.20 Mu Qiao
2010-05-20 11:59 ` Антонов Николай
2010-05-20 12:03 ` Arun Raghavan
2010-05-20 12:33 ` Mu Qiao
2010-06-25 13:08 ` Nikoli
2010-06-26 4:37 ` Mu Qiao
2010-06-26 12:01 ` Nikoli
2010-06-26 13:25 ` Mu Qiao
2010-06-26 14:21 ` Nikoli
2010-06-28 1:17 ` Mu Qiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox