This forum has been archived. All content is frozen. Please use KDE Discuss instead.

problems with networkmanager applet and mobile "broadband"

Tags: None
(comma "," separated)
markum
Registered Member
Posts
165
Karma
1
Hi,

I am trying to get mobile broadband working with KDE 4.2.3 (Kubuntu). I have got it running with UMTSMON, but I would rather prefer the Networkmanager Plasmoid from KDE manage it. I am using the experimental-package from "kubuntu-
experimental PPA"

here is the daemonlog:

25 14:28:23 penguin NetworkManager: Activation (ttyUSB0) starting connection 'tchibo'
May 25 14:28:23 penguin NetworkManager: (ttyUSB0): device state change: 3 -> 4
May 25 14:28:23 penguin NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
May 25 14:28:23 penguin NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
May 25 14:28:23 penguin NetworkManager: [1243254503.129643] nm_serial_device_open(): (ttyUSB0) opening device...
May 25 14:28:23 penguin NetworkManager: Invalid baudrate '156756650'
May 25 14:28:23 penguin NetworkManager: Invalid bits (0). Valid values are 5, 6, 7, 8.
May 25 14:28:23 penguin NetworkManager: Invalid parity (
May 25 14:28:23 penguin NetworkManager: Invalid stop bits (0). Valid values are 1 and 2)
May 25 14:28:23 penguin NetworkManager: Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
May 25 14:28:23 penguin NetworkManager: (ttyUSB0): powering up...
May 25 14:28:40 penguin NetworkManager: Connected, Woo!
May 25 14:28:40 penguin NetworkManager: Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
May 25 14:28:40 penguin NetworkManager: Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
May 25 14:28:40 penguin NetworkManager: (ttyUSB0): device state change: 4 -> 5
May 25 14:28:40 penguin NetworkManager: Starting pppd connection
May 25 14:28:40 penguin NetworkManager: [1243254520.185686] nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute ttyUSB0 noipdefault 4296704 noauth refuse-eap refuse-pap refuse-mschap refuse-mschap-v2 nodeflate crtscts usepeerdns mtu 155014808 lcp-echo-failure 5 lcp-echo-interval 30 ipparam /org/freedesktop/NetworkManager/PPP/2 plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so
May 25 14:28:40 penguin NetworkManager: [1243254520.190406] nm_ppp_manager_start(): ppp started with pid 28011
May 25 14:28:40 penguin NetworkManager: Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
May 25 14:28:40 penguin NetworkManager: ppp_exit_code(): ppp pid 28011 exited with error: pppd options error
May 25 14:28:40 penguin NetworkManager: [1243254520.210529] ppp_watch_cb(): ppp pid 28011 cleaned up
May 25 14:28:40 penguin NetworkManager: (ttyUSB0): device state change: 5 -> 9
May 25 14:28:40 penguin NetworkManager: [1243254520.210938] nm_serial_device_close(): Closing device 'ttyUSB0'
May 25 14:28:40 penguin NetworkManager: Marking connection 'tchibo' invalid.
May 25 14:28:40 penguin NetworkManager: Activation (ttyUSB0) failed.
May 25 14:28:40 penguin NetworkManager: (ttyUSB0): device state change: 9 -> 3
May 25 14:28:40 penguin NetworkManager: (ttyUSB0): deactivating device (reason: 0).


My settings are quite simple. I have set the apn to "webmobil1", *99# as dialin and tried it with and without the network number . I have also tried it with blau/ eplus, but it does not seem to work, even though I use the same settings as in umtsmon and they also work with gnome networkmanager in the same installation, if I install it instead. Is this a bug or does anybody have a clue how to configure it right?

Markum


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This appears to be an incompatibility between the version of PPPD used by the Network Management plasmoid's developers and the version used by Kubuntu. It could also be a bug in the Plasmoid itself. Please file a bug report at bugs.kde.org.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
snis
Registered Member
Posts
5
Karma
0
OS
Hi,
I have the same problem running OpenSuse 11.1 with KDE4 Factory repository (to be KDE 4.3). It has been like this since KDE 4.2.

The setting for [PPP] and [Serial] doesn't make any sence, look at the baud, mru, mtu, baud, bits

Code: Select all
[connection]                                                                                                           
autoconnect=false                                                                                                       
id=3                                                                                                                   
timestamp=-4713,1,1,0,0,0                                                                                               
type=gsm                                                                                                               
uuid={20073e34-3957-407e-bc8b-7a79fba3f0da}                                                                             

[gsm]
apn=bredband.tre.se
band=5             
networkid=         
networktype=3145780
number=*99#       
username=         

[ipv4]
addresses=
ignoredhcpdns=false
method=Automatic   
routes=           

[ppp]
baud=3145776
crtscts=false
lcpechofailure=0
lcpechointerval=0
mppestateful=false
mru=3342391
mtu=3342437
noauth=true
nobsdcomp=false
nodeflate=false
novjcomp=false
refusechap=false
refuseeap=false
refusemschap=true
refusemschapv2=false
refusepap=true
requiremppe=false
requiremppe128=false

[serial]
baud=2061565008
bits=32767
parity=
senddelay=0
stopbits=0



A bug report exists: https://bugs.kde.org/show_bug.cgi?id=191658
User avatar
snis
Registered Member
Posts
5
Karma
0
OS
Markum,

I have found a working solution for me...

look in:
~/.kde4/share/apps/networkmanagement/connections/
or
~/.kde/share/apps/networkmanagement/connections/

There you will find all your connection setting files for the networkmanager applet.

Locate the right file
more {xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx}

Change both baud settings to zero and:
baud=0
mru=1440
mtu=1440
baud=0
bits=0
parity=

After that I had to reboot to force the applet to reload the configuration.
And then it worked. I have updated the bug with this information.
markum
Registered Member
Posts
165
Karma
1
Thanks for the information. Unfortunately I can not test. Since upgrade to 4.3 Beta 1, the mobile network adapter is not shown in the list. Even though it is recognised as existing in configuration and for a short moment, when I plug it in.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar
snis
Registered Member
Posts
5
Karma
0
OS
Markum,
strange, I'm running 4.3 Beta as well. Having a Huawei E169, recognized as a E620 modem, but still works.
markum
Registered Member
Posts
165
Karma
1
Hi
snis wrote:strange, I'm running 4.3 Beta as well. Having a Huawei E169, recognized as a E620 modem, but still works.

Yes that is really funny. I am trying to track it down. I just delete all configs relating network management. Now "Mobile Broadband" is greyed out. Does anyone know how device detecting is handled?
I have an "Option Geo201". When plug it in, the notification system of KDE tells my that a networking device has been plugged in. But nothing more happens. Typing dmesg also confirms it, but may be a driver is missing?
I had to install another kernel, because I have Intel graphics and that does not work well with jaunty. May be I needed to activate the driver for this card manually or active recognition of these networking cards?
Other ideas?

Markum


markum, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]