F17-how configure system-wide mobile broadband internet connection

Franta Hanzlik franta at hanzlici.cz
Fri Sep 28 18:38:14 UTC 2012


> On Fri, Sep 28, 2012 at 03:29:10PM +0200, Franta Hanzlik wrote:
>> > On Fri, Sep 28, 2012 at 12:43:45PM +0200, Franta Hanzlik wrote:
>> >> NetworkManager is able connect to internet over USB Huawei modem, but
>> it
>> >> seems only from user session. How configure this connection as
>> >> system-wide, started when system comes up?
>> >> It seems as in Fedora's system-config-network isn't possible
>> configure
>> >> this kind of connection (s-c-n not recognize modem, although
>> >> udev/usb-modeswitch prepare it and relevant /dev/ttyUSBx exist).
>> >>
>> >> TIA, Fr. Hanzlik
>> >
>> > In the NM applet, "edit" the connection configuration, put a checkmark
>> in
>> > the
>> > checkbox "Available to all users". That should do it.
>> >
>>
>> No, this probably isn't it. After reboot PC, mobile broadband connection
>> is down and I must manually pick up it. And I want establist and drop
>> connection from console too. And this should act as system service -
>> even
>> programs (e.g. launched by cron or some system events) should establish
>> connection, even at time when no user is logged in. Some as construct
>> /etc/sysconfig/network-scripts/ifcfg-ppp0 (and perhaps some other
>> structures for pppd/?) and then use ifup and ifdown scripts. Or, when
>> NetworkManager is needed for this (I would rather avoid to him), then
>> activate/deactivate connection over some its control utility (perhaps
>> over
>> D-BUS).
>
> maybe I'm misunderstanding you, but... doing what I suggested will
> cause the network connection to be brought up at boot, which is, I
> thought, what you wanted.
>
> Fred
>

Fred, thank You for your suggestion (and sorry for my bad English).
You want say that You have mobile broadband connection up after You boot
PC (before user logs in)? And when You boot to runlevel 3
(multi-user.target) you have connection up too? How You did configure it?
Have You in /etc/sysconfig/network-scripts/ any configuration files for
this connection?

I have no connection in runlevel 3 nor 5 after boot, didn't even
connection when I log to desktop session - although I have in nm-applet
"Mobile Broadband" configured as "Connect automatically" and "Available to
all users", machine not connect (but it is maybe because initially I have
not enabled "Enable Mobile Broadband" in nm-applet /this checkbox not stay
checked after reboot and new login and i must manually enable it/).

What else I may have configure?


More information about the users mailing list