Re: [leaf-devel] wpasupplicant
Hi Erich; Am Mittwoch, 28. Oktober 2015, 14:40:50 schrieb Erich Titl: > Hi KP > > You lifted wpasupplicant to 2.5 now it does not appear to compile. > > Could you tell me the rationale for > > .source: > - zcat $(SOURCE_TARBALL) | tar -xvf - > + $(BT_SETUP_BUILDDIR) -v $(SOURCE_TARBALL) > touch .source Standardization. > This does not work in my environment s Ok, if it doesn't work for wpasupplicnat, I'll revert this change. sorry kp -- ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
[leaf-devel] wpasupplicant
Hi KP You lifted wpasupplicant to 2.5 now it does not appear to compile. Could you tell me the rationale for .source: - zcat $(SOURCE_TARBALL) | tar -xvf - + $(BT_SETUP_BUILDDIR) -v $(SOURCE_TARBALL) touch .source This does not work in my environment s cheers ET -- ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
> Le 8 janv. 2015 à 11:53, Erich Titl a écrit : > > Am 08.01.2015 um 10:57 schrieb Yves Blusseau: >> >>> Le 8 janv. 2015 à 09:53, Erich Titl a écrit : >>> >>> Salut Yves >>> >>> Am 08.01.2015 um 08:46 schrieb Yves Blusseau: One more thing, was is the branch ‘config’ for ? If it’s a feature branch it need to be more descriptive. If it’s a branch that is own by someone else it’s better to name it name-branch. >>> >>> I don't like the fact that leaf has only this old fashoned way of being >>> configured. I created the config branch to to adress a few things not >>> everybody saw necessary to be tackled. Like for any project some small >>> profit always emerges as a side effect. >>> >>> Renaming config IMHO is about as meaningful as renaming master or maint, >>> both these names are as arbitrary as any other, but again, opinions may >>> differ. If there is a way to give config a meaningful name without too >>> much trouble I could not care less. >> >> Ok erich, no problem about the name of the ‘config’ branch. So now what is >> your problem with git ? > > Not really a problem, we are looking for the easiest way to port two > changes to maint, namely > > commit 3ab39e8b8c7fc5635563010f29dd7b9e9ef9cbde > Author: Erich Titl > Date: Tue Dec 9 12:24:44 2014 +0100 > >added libnl3 to wpasuppicant dependencies > > commit f65c46f40394e23fc00c8d36d6cb37831706efc0 > Author: Erich Titl > Date: Mon Dec 8 20:59:28 2014 +0100 > >Added NL80211 driver to wpasupplicant > > I don't know how to move these from the commit branch to maint branch > without messing it up. I could, of course, just redo them in maint. > The best is to create another (temporary) branch that is a copy of the ‘config’ branch: git checkout -b tmp config Then do a rebase and trash all the commits that you doesn’t want to merge: git rebase -i maint Then merge the commit into ‘maint’: git checkout maint git pull —rebase git merge tmp You can then trash the tmp branch: git branch -d tmp You can then rebase the ‘config’ branch from maint so the commits that has been merge into maint will be automatically remove: git checkout config git rebase maint > BTW. what is the best practice to keep a branch in sync, rebase locally > first, then push? Yes, for a topic branch a rebase is often better. So a git pull —rebase is often the right command. Regards, Yves -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
Salut Yves Am 08.01.2015 um 08:46 schrieb Yves Blusseau: > One more thing, was is the branch ‘config’ for ? > If it’s a feature branch it need to be more descriptive. If it’s a branch > that is own by someone else it’s better to name it name-branch. I don't like the fact that leaf has only this old fashoned way of being configured. I created the config branch to to adress a few things not everybody saw necessary to be tackled. Like for any project some small profit always emerges as a side effect. Renaming config IMHO is about as meaningful as renaming master or maint, both these names are as arbitrary as any other, but again, opinions may differ. If there is a way to give config a meaningful name without too much trouble I could not care less. cheers Erich smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
One more thing, was is the branch ‘config’ for ? If it’s a feature branch it need to be more descriptive. If it’s a branch that is own by someone else it’s better to name it name-branch. Regards, Yves -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
Hello all, and happy new year. Cherry picking is not a good solution. If you want to commit only some changes from one branch to another you can use git add -p for example to select the portion of « code » you want to add. You can alse use rebase -i to create specific commits in a branch and only merges that ones into another branch. If you describe exactly the problem i can think about what can be the « best solution ». Regards, Yves > Le 6 janv. 2015 à 18:05, kp kirchdoerfer a > écrit : > > Am Sonntag, 4. Januar 2015, 00:00:57 schrieb Erich Titl: >> Hi >> >> I made a commit to include the nl80211 in the config branch. I don't >> really want to merga all that stuff there into maint as it is not yet >> ready, but having nl80211 instead of wext only in wpasupplicant would be >> fine. >> >> Should I just apply the same to maint or is there a way to include this >> commit >> >> commit f65c46f40394e23fc00c8d36d6cb37831706efc0 >> Author: Erich Titl >> Date: Mon Dec 8 20:59:28 2014 +0100 >> >>Added NL80211 driver to wpasupplicant >> >> into maint? >> >> cheers >> >> Erich > > Hi Erich; > > I hoped Yves will respond with much more experience about git than I have. > > Don't know if it breaks git history etc, but IMHO just commit the change to > maint. > > Looking at your git commits in config branch I'm curious if works as > expected. > AFAIK it's wrong to merge from maint to config and to merge back into maint. > So > we may see problems when merging config as a whole... > > > kp > > -- > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
Hi Erich; Am Dienstag, 6. Januar 2015, 18:39:28 schrieb Erich Titl: > Hi KP > > Am 06.01.2015 um 18:05 schrieb kp kirchdoerfer: > > I hoped Yves will respond with much more experience about git than I have. > > ... > > > Looking at your git commits in config branch I'm curious if works as > > expected. AFAIK it's wrong to merge from maint to config and to merge > > back into maint. So we may see problems when merging config as a > > whole... > > I am surprised, I never even tried to merge maint into config, just > (tried to) rebase config as maint moved on and apparently my local > repository somehow got out of sync with origin. It should be no major problem if maint moves on - merging your commits to config into maint would have been easy without rebasing. I've done that a few times as adviced here: http://bering-uclibc.zetam.org/wiki/Bering-uClibc_5.x_-_Developer_Guide_-_Appendices_-_Git_Workflows esp.: http://bering-uclibc.zetam.org/wiki/Developer_Guide_-_Git_Workflows#Topic_branches > Hopefully there will be no problems, else as Andrew remarked, > cherrypicking might be the right way, but it appears to be tedious. I > have yet to see a comprehensive tool to compare and merge two branches. Hopefully Yves will help if that causes issues :) Anyway, since you've asked for single commit for next release, I'd say just commit this one and we'll see how we can solve other possible issues later. kp -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
Hi KP Am 06.01.2015 um 18:05 schrieb kp kirchdoerfer: > > I hoped Yves will respond with much more experience about git than I have. ... > Looking at your git commits in config branch I'm curious if works as > expected. > AFAIK it's wrong to merge from maint to config and to merge back into maint. > So > we may see problems when merging config as a whole... I am surprised, I never even tried to merge maint into config, just (tried to) rebase config as maint moved on and apparently my local repository somehow got out of sync with origin. Hopefully there will be no problems, else as Andrew remarked, cherrypicking might be the right way, but it appears to be tedious. I have yet to see a comprehensive tool to compare and merge two branches. cheers Erich smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
There's a 'git cherrypick' tool to copy commit to another branch. But I don't know how good is this solution. 06.01.2015 19:05, kp kirchdoerfer пишет: > Am Sonntag, 4. Januar 2015, 00:00:57 schrieb Erich Titl: >> Hi >> >> I made a commit to include the nl80211 in the config branch. I don't >> really want to merga all that stuff there into maint as it is not yet >> ready, but having nl80211 instead of wext only in wpasupplicant would be >> fine. >> >> Should I just apply the same to maint or is there a way to include this >> commit >> >> commit f65c46f40394e23fc00c8d36d6cb37831706efc0 >> Author: Erich Titl >> Date: Mon Dec 8 20:59:28 2014 +0100 >> >> Added NL80211 driver to wpasupplicant >> >> into maint? >> >> cheers >> >> Erich > Hi Erich; > > I hoped Yves will respond with much more experience about git than I have. > > Don't know if it breaks git history etc, but IMHO just commit the change to > maint. > > Looking at your git commits in config branch I'm curious if works as > expected. > AFAIK it's wrong to merge from maint to config and to merge back into maint. > So > we may see problems when merging config as a whole... > > > kp > > -- > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > > ___ > leaf-devel mailing list > leaf-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/leaf-devel -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant
Am Sonntag, 4. Januar 2015, 00:00:57 schrieb Erich Titl: > Hi > > I made a commit to include the nl80211 in the config branch. I don't > really want to merga all that stuff there into maint as it is not yet > ready, but having nl80211 instead of wext only in wpasupplicant would be > fine. > > Should I just apply the same to maint or is there a way to include this > commit > > commit f65c46f40394e23fc00c8d36d6cb37831706efc0 > Author: Erich Titl > Date: Mon Dec 8 20:59:28 2014 +0100 > > Added NL80211 driver to wpasupplicant > > into maint? > > cheers > > Erich Hi Erich; I hoped Yves will respond with much more experience about git than I have. Don't know if it breaks git history etc, but IMHO just commit the change to maint. Looking at your git commits in config branch I'm curious if works as expected. AFAIK it's wrong to merge from maint to config and to merge back into maint. So we may see problems when merging config as a whole... kp -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
[leaf-devel] wpasupplicant
Hi I made a commit to include the nl80211 in the config branch. I don't really want to merga all that stuff there into maint as it is not yet ready, but having nl80211 instead of wext only in wpasupplicant would be fine. Should I just apply the same to maint or is there a way to include this commit commit f65c46f40394e23fc00c8d36d6cb37831706efc0 Author: Erich Titl Date: Mon Dec 8 20:59:28 2014 +0100 Added NL80211 driver to wpasupplicant into maint? cheers Erich smime.p7s Description: S/MIME Cryptographic Signature -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant with nl80211
Hi KP Am 08.12.2014 um 18:07 schrieb kp kirchdoerfer: .. > > libnl-3 is the successor to libnl and all our packages now use libnl-3 > instead > libnl. > You'll to massage wpa-supplicant to use libnl-3. It wasn't easy for the > packages we moved in the past and we've various ways. > > Grep for libnl3 in conf/sources.d and look for packages using libnl-3 to see > what we've done so far. Great, that was easy cheers Erich smime.p7s Description: S/MIME Cryptographic Signature -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
Re: [leaf-devel] wpasupplicant with nl80211
Am Montag, 8. Dezember 2014, 17:33:14 schrieb Erich Titl: > Hi Folks > > I would like to add the nl80211 driver to wpasupplicant but apparently > libnl is missing. I faintly recall there used to be a problem with -lnl > in the past ans was wonderin what solution was taken. > > Here is the error showing in the log > > CC ../src/drivers/driver_nl80211.c > /home/mega/leaf/devel/bering-uclibc/toolchain/i486-unknown-linux-uclibc/lib/ > gcc/i486- > unknown-linux-uclibc/4.8.3/../../../../i486-unknown-linux-uclibc/bin/ld: > cannot find -lnl > > So libnl is missing in the buildtool environment. I found libnl-3 which > might do the job. Can anyone confirm this? libnl-3 is the successor to libnl and all our packages now use libnl-3 instead libnl. You'll to massage wpa-supplicant to use libnl-3. It wasn't easy for the packages we moved in the past and we've various ways. Grep for libnl3 in conf/sources.d and look for packages using libnl-3 to see what we've done so far. hth kp -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
[leaf-devel] wpasupplicant with nl80211
Hi Folks I would like to add the nl80211 driver to wpasupplicant but apparently libnl is missing. I faintly recall there used to be a problem with -lnl in the past ans was wonderin what solution was taken. Here is the error showing in the log CC ../src/drivers/driver_nl80211.c /home/mega/leaf/devel/bering-uclibc/toolchain/i486-unknown-linux-uclibc/lib/gcc/i486- unknown-linux-uclibc/4.8.3/../../../../i486-unknown-linux-uclibc/bin/ld: cannot find -lnl So libnl is missing in the buildtool environment. I found libnl-3 which might do the job. Can anyone confirm this? Thanks Erich smime.p7s Description: S/MIME Cryptographic Signature -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel
[leaf-devel] wpasupplicant fixes and enhancements
Hi Folks In my work to create an all wireless router I have found a few problems with the way wpasupplicant is implemented. 1) the init sequence appears to be broken, as wpasupplicant must be started before an attempt to set the interface up 2) the wpasupplicant start script has an option bug I created two invocation scripts in /etc/network/if-pre-up.d and if-post-down.d which take care of the wpasupplicant start and stop sequence. The invocation can be controlled from /etc/network/interfaces like # uplink WiFi connection auto wlan0 iface wlan0 inet dhcp wpa_supplicant_control 1 There is a new parameter in /etc/default/wpasupplicant which controls the wait parameter for /etc/init.d/wpasupplicant instead of a fixed parameter in the startup file. This way we can fix the bug and make it even more flexible. # uncomment to make wpasupplicant wait for the control client #WPA_CLIENT_WAIT=-W So far it works for me. SALT# ifup wlan0 Starting wpa_supplicant. Successfully initialized wpa_supplicant Selected interface 'wlan0' wpa_state=SCANNING address=00:0b:6b:36:bb:b6 dhcpcd[11765]: version 5.2.11 starting dhcpcd[11765]: wlan0: waiting for carrier dhcpcd[11765]: wlan0: carrier acquired dhcpcd[11765]: wlan0: broadcasting for a lease dhcpcd[11765]: wlan0: offered 194.124.158.67 from 194.124.158.51 dhcpcd[11765]: wlan0: acknowledged 194.124.158.67 from 194.124.158.51 dhcpcd[11765]: wlan0: checking for 194.124.158.67 dhcpcd[11765]: wlan0: leased 194.124.158.67 for 1800 seconds dhcpcd[11765]: forked to background, child pid 11795 SALT# ifdown wlan0 dhcpcd[11807]: sending signal 1 to pid 11795 dhcpcd[11807]: waiting for pid 11795 to exit Stopping wpa_supplicant. stopped wpa_supplicant (pid 11760) I can commit these changes to maint if there is no objection. cheers Erich smime.p7s Description: S/MIME Cryptographic Signature -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel