* network-manager #yocto #nmcli
@ 2020-10-20 8:48 Zoltan Kerenyi Nagy
2020-10-20 8:57 ` [yocto] " Quentin Schulz
0 siblings, 1 reply; 5+ messages in thread
From: Zoltan Kerenyi Nagy @ 2020-10-20 8:48 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 778 bytes --]
Hi All,
My board is a Barix Ipam400, and I'd like to add 4G conenction to it via a USB and 4G Dongle. The dongle is a Huewei E3372 stick.
I'd spent some time with wvdial and usbmodeswitch with no success. Then I tried the stick in my laptop with network-manager, it was working like a charm
Then I've found this ( https://github.com/openembedded/meta-openembedded/tree/master/meta-networking/recipes-connectivity/networkmanager/networkmanager ) source, since the original recipe file would not compile.
Ive bitbaked network.manager loaded to the hardware however there is no nmcli and nmtoi included.
Do you have any idea how to proceed from here? There is no gui on the target hardware and I need both the eth0 and the 4G interface preferable set via command line.
[-- Attachment #2: Type: text/html, Size: 864 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [yocto] network-manager #yocto #nmcli
2020-10-20 8:48 network-manager #yocto #nmcli Zoltan Kerenyi Nagy
@ 2020-10-20 8:57 ` Quentin Schulz
[not found] ` <2995.1603187726816843811@lists.yoctoproject.org>
2020-10-20 13:51 ` Zoltan Kerenyi Nagy
0 siblings, 2 replies; 5+ messages in thread
From: Quentin Schulz @ 2020-10-20 8:57 UTC (permalink / raw)
To: Zoltan Kerenyi Nagy; +Cc: yocto
Hi,
On Tue, Oct 20, 2020 at 01:48:37AM -0700, Zoltan Kerenyi Nagy wrote:
> Hi All,
>
> My board is a Barix Ipam400, and I'd like to add 4G conenction to it via a USB and 4G Dongle. The dongle is a Huewei E3372 stick.
> I'd spent some time with wvdial and usbmodeswitch with no success. Then I tried the stick in my laptop with network-manager, it was working like a charm
> Then I've found this ( https://github.com/openembedded/meta-openembedded/tree/master/meta-networking/recipes-connectivity/networkmanager/networkmanager ) source, since the original recipe file would not compile.
>
> Ive bitbaked network.manager loaded to the hardware however there is no nmcli and nmtoi included.
>
You need to bitbake networkmanager but install networkmanager-nmcli
and/or networkmanager-nmtui, c.f.
http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.22.14.bb?h=master#n89
I'd probably triple check all the PACKAGECONFIG you need are set:
http://cgit.openembedded.org/meta-openembedded/tree/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.22.14.bb?h=master#n65
Since you want 4G, it might be a good idea to have modemmanager enabled?
I've never used networmanager so can't help much more than that.
Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Private: Re: [yocto] network-manager #yocto #nmcli
[not found] ` <2995.1603187726816843811@lists.yoctoproject.org>
@ 2020-10-20 10:03 ` Quentin Schulz
0 siblings, 0 replies; 5+ messages in thread
From: Quentin Schulz @ 2020-10-20 10:03 UTC (permalink / raw)
To: Zoltan Kerenyi Nagy; +Cc: yocto
Please keep the mailing list in copy so everyone can benefit from your
progress/the solution, thanks!
On Tue, Oct 20, 2020 at 02:55:26AM -0700, Zoltan Kerenyi Nagy wrote:
> I'll do this, thanks.
>
> Interestingly there is a line in the recipe file, which suggests that nmtui will be included.
> -with-nmtui=yes \
This is an option at build time (i.e. for the **recipe**). It just
configures the piece of SW you're trying to build.
A bitbaked recipe's outcome is **packages**. In **most** cases, the main
package is named after the recipe (which is usually a source of
confusion for people). However, to slim down the main package, most
recipes split their output into multiple packages.
In your case, networkmanager is configured to be compiled with nmtui
support. However, the recipe is asked to put the resulting
binaries/conf files/libs into a separate package (called
networkmanager-nmtui).
When you're installing networmanager, you're not installing the whole
outcome of networkmanager recipe (nor the recipe itself) but the main
package that is the outcome of said recipe. It might not contain all you
want, hence the need for installing other packages for enabling all
features you want/need.
Hope this helps,
Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: network-manager #yocto #nmcli
2020-10-20 8:57 ` [yocto] " Quentin Schulz
[not found] ` <2995.1603187726816843811@lists.yoctoproject.org>
@ 2020-10-20 13:51 ` Zoltan Kerenyi Nagy
2020-10-20 13:58 ` [yocto] " Quentin Schulz
1 sibling, 1 reply; 5+ messages in thread
From: Zoltan Kerenyi Nagy @ 2020-10-20 13:51 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
* I hope this is gona be public *
I did a diff between your recommended file, and mine, there is no diff, since it's from the same source.
I understand that I had to install network-manager-nmcli, but how? In the do_install_append() function??
[-- Attachment #2: Type: text/html, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [yocto] network-manager #yocto #nmcli
2020-10-20 13:51 ` Zoltan Kerenyi Nagy
@ 2020-10-20 13:58 ` Quentin Schulz
0 siblings, 0 replies; 5+ messages in thread
From: Quentin Schulz @ 2020-10-20 13:58 UTC (permalink / raw)
To: Zoltan Kerenyi Nagy; +Cc: yocto
On Tue, Oct 20, 2020 at 06:51:33AM -0700, Zoltan Kerenyi Nagy wrote:
> * I hope this is gona be public *
>
It is, you just answered the wrong mail so my answer isn't in the body
of this mail.
> I did a diff between your recommended file, and mine, there is no diff, since it's from the same source.
> I understand that I had to install network-manager-nmcli, but how? In the do_install_append() function??
You don't need to change anything in the networkmanager recipe. You need
to add networkmanager-nmcli to the packages installed in your image and
that is done in your image recipe by usually adding it to IMAGE_INSTALL.
I can recommend the videos from our YoctoProject Youtube channel to get
started on Yocto: https://www.youtube.com/watch?v=ThTl4FItfMI&list=PLD4M5FoHz-TxMfBFrDKfIS_GLY25Qsfyj
We also have great docs at: https://docs.yoctoproject.org.
Cheers,
Quentin
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-10-20 13:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-20 8:48 network-manager #yocto #nmcli Zoltan Kerenyi Nagy
2020-10-20 8:57 ` [yocto] " Quentin Schulz
[not found] ` <2995.1603187726816843811@lists.yoctoproject.org>
2020-10-20 10:03 ` Private: " Quentin Schulz
2020-10-20 13:51 ` Zoltan Kerenyi Nagy
2020-10-20 13:58 ` [yocto] " Quentin Schulz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox