Re: Additional network interfaces in OpenSUSE?
>> However, no it looks in OpenSUSE I cannot even run "ifup br0" >> when network manager is running. Thanks for your answer. On 6 September 2011 06:59, Bin Li wrote: >The best way is to use ifup mode in openSUSE, Yes, I've already managed to use my WLAN connections with ifup. However, I could not find out how to use my USB 3G stick with ifup/netconfig. I tried to configure it as a modem in yast, but there wasn't even a UI to enter the PIN code. Probably I could put extra AT commands to some config file, but I didn't want to back that far. It's year 2011 ;) Is there real support for USB 3G modems in the the traditonal OpenSUSE networking? (sorry, that might be a bit off topic to ask on the network-manager list how not to use nm...) > and if you wanna use the NM, > you could try to use 'unmanaged-devices=mac:;" in NetworkManager. > conf. you can find more with 'man NetworkManager.conf Ahh, good point. I had read that before, but I erroneosly assumed that the plugin in question is not in use in OpenSUSE. But it is. So from network manager part this should be OK. But ifup script does still not work. I've just tested it, and no surprise, the piece of code I copied in my original posting decides that network manager is running so ifup exits immediately. Yes, I could patch the ifup script so it does not exit, but is that really the way to go? Regards, Uwe ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Additional network interfaces in OpenSUSE?
On Sun, Sep 4, 2011 at 3:41 PM, Uwe Geuder wrote: > If I understood it correctly in Debian/Ubuntu network manager will leave > additional interfaces defined in /etc/interfaces unmanaged. > > So you can combine your "main" internet access managed by networkmanager > (eth0, wlan0, ppp0 depending on where you are) with "additional" manual > network setting you might need insided you machine (e.g. for various > virtual machines you might be running) > > Did I understand that corrcectly? > > However, in OpenSUSE I cannot see how to achieve anything similar. As > soon as network manager is enabled, ifup does not work any longer. > > From what I see in the source code this is pretty unconditional: > > from /usr/src/packages/BUILD/sysconfig-0.74.5/scripts/ifup: (OpenSUSE 11.4) > > ---clip--- > > ## > # Check if NetworkManager is running, inform the user and exit > # > if [ "$NETWORKMANAGER" = yes ] && ! netcontrol_running ; then > if [ "$SCRIPTNAME" != ifdown -a "$INTERFACE" != lo ] ; then > mesg "Network interface is managed by the NetworkManager -> > skipping" > exit $R_NOTIMPL > fi > elif nm_running && [ "$INTERFACE" != lo ] ; then > mesg "Network interface is managed by the NetworkManager -> skipping" > exit $R_NOTIMPL > fi > > --- clip --- > > Hopefully I'm just missing something here. > > Often it helps to know what one really wants to achieve, so here it > goes: > > I need a bridge device for Xen. I let network manager take care of the > internet access (this is a laptop) The straight forward approach putting > the current "internet" interface chosen by network manager on the bridge > would require to set the network address & routing to the bridge device > instead of eth0/wlan0/ppp0. I don't think network manager can handle > that. > > So my idea was to leave the bridge unmanaged from network manager, give > it a static internal IP address and use ipforward together with NAT to > connect the bridge with network manager's current "internet" > interface. However, no it looks in OpenSUSE I cannot even run "ifup br0" > when network manager is running. The best way is to use ifup mode in openSUSE, and if you wanna use the NM, you could try to use 'unmanaged-devices=mac:;" in NetworkManager.conf. you can find more with 'man NetworkManager.conf' > Regards, > > Uwe > > ___ > networkmanager-list mailing list > networkmanager-list@gnome.org > http://mail.gnome.org/mailman/listinfo/networkmanager-list > Sincerely Yours, Bin Li http://zh.opensuse.org ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Additional network interfaces in OpenSUSE?
If I understood it correctly in Debian/Ubuntu network manager will leave additional interfaces defined in /etc/interfaces unmanaged. So you can combine your "main" internet access managed by networkmanager (eth0, wlan0, ppp0 depending on where you are) with "additional" manual network setting you might need insided you machine (e.g. for various virtual machines you might be running) Did I understand that corrcectly? However, in OpenSUSE I cannot see how to achieve anything similar. As soon as network manager is enabled, ifup does not work any longer. >From what I see in the source code this is pretty unconditional: from /usr/src/packages/BUILD/sysconfig-0.74.5/scripts/ifup: (OpenSUSE 11.4) ---clip--- ## # Check if NetworkManager is running, inform the user and exit # if [ "$NETWORKMANAGER" = yes ] && ! netcontrol_running ; then if [ "$SCRIPTNAME" != ifdown -a "$INTERFACE" != lo ] ; then mesg "Network interface is managed by the NetworkManager -> skipping" exit $R_NOTIMPL fi elif nm_running && [ "$INTERFACE" != lo ] ; then mesg "Network interface is managed by the NetworkManager -> skipping" exit $R_NOTIMPL fi --- clip --- Hopefully I'm just missing something here. Often it helps to know what one really wants to achieve, so here it goes: I need a bridge device for Xen. I let network manager take care of the internet access (this is a laptop) The straight forward approach putting the current "internet" interface chosen by network manager on the bridge would require to set the network address & routing to the bridge device instead of eth0/wlan0/ppp0. I don't think network manager can handle that. So my idea was to leave the bridge unmanaged from network manager, give it a static internal IP address and use ipforward together with NAT to connect the bridge with network manager's current "internet" interface. However, no it looks in OpenSUSE I cannot even run "ifup br0" when network manager is running. Regards, Uwe ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list