knetworkmanager in Mageia

knetworkmanager in Mageia

Postby ferri » Jan 14th, '12, 10:00

I have mobile usb modem huawei E1750.
It is known that mageia network center has problem with this modem.

But knetworkmanager manages to connect my modem into internet because I see it on modem signalization.
However firefox refers me that there is not network available, the same updates, software center, ...

It seems although I am connected via knetworkmanager, other parts of mageia system do not know it.

This is problem in Mageia 1 and also prepared Mageia 2. And the only reason for what I do not use mageia although I like it.

For example Kubuntu, openSuse, Fedora, Debian Kde do not have this problem.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby ozky » Jan 14th, '12, 13:55

You need to edit networkmanager file /etc/NetworkManager/NetworkManager.conf and remove line mdv-plugin from that file looking this plugins=keyfile and add another line.
[keyfile]
hostname=localhost
But if you have mageia 2 alpha 3 there is no mdv-plugin file in networkmanager.conf so you dont need to remove it.
Then go to configure your computer and services and remove network + network-auth + network-up from boot.
Then rm /etc/xdg/autostart/net_applet.desktop.
Now there is no mageia default draknet used because you cannot use them at same time.
And about that fedora and those are not having this problem it is they just use all the time networkmanager they do not use mageia/mandirva draknet and they have configured knetworkmanager.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: knetworkmanager in Mageia

Postby ferri » Jan 14th, '12, 14:21

This time thanks a lot.
I am going to download mageia 2 alpha 3 dvd.
Then I will give you reply.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby ferri » Jan 15th, '12, 20:26

ozky wrote:You need to edit networkmanager file /etc/NetworkManager/NetworkManager.conf and remove line mdv-plugin from that file looking this plugins=keyfile and add another line.
[keyfile]
hostname=localhost
But if you have mageia 2 alpha 3 there is no mdv-plugin file in networkmanager.conf so you dont need to remove it.
Then go to configure your computer and services and remove network + network-auth + network-up from boot.
Then rm /etc/xdg/autostart/net_applet.desktop.
Now there is no mageia default draknet used because you cannot use them at same time.


I downloaded and installed Mageia 1 KDE LiveCD.
After it I used above instructions. But without success.
Knetworkmanager was working well. Mobile modem was connected. But firefox reported no connection. The same as before.
When I tried wired connection everything was OK. So in my case it is problematic mobile internet.

But I mentioned that mageia has problem with alone knetworkmanager in contrast with other distributions.
When I was using knetworkmanager, KDE sometimes stopped working correctly. Most of menu items had no response. Only shutdown and logout were working.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby ozky » Jan 16th, '12, 15:16

Only choise is left that you install wvdial and configure it with wvdialconf as root from konsole.
then edit that conf file /etc/wvdial.conf.
looking like this, you need to remove ; from every line and set phone *99# and username " " and password " ".
here is example from wvdial config file you don't need to use this example this is just how to do it easy way.
Code: Select all
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = <Target Phone Number>
Username = <Your Login Name>
Password = <Your Password>
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: knetworkmanager in Mageia

Postby doktor5000 » Jan 16th, '12, 20:11

@ozky: No, that is not the only choice left. What would be needed is the reason why this huawei E1750 does not work with network center, so we can fix this properly, and not some workarounds. They may help short-term, but in the long term they're quite bad because it leads to the problem that the underlying problem is not fixed.

@ferri: Would you mind to tell where it is known that mageia network center has problems with this modem? And maybe what the reason for that is?
And please show the output of
Code: Select all
rpm -qa | grep networkmanager
on your Mageia 1 installation
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: knetworkmanager in Mageia

Postby ferri » Jan 17th, '12, 11:06

doktor5000 wrote:@ferri: Would you mind to tell where it is known that mageia network center has problems with this modem?

For example here:
viewtopic.php?f=25&t=137
But it was not finished.

It is strange because Mandriva 2011 does not have problem with this mobile modem. According me Mandriva team managed to resolve cooperation between network center and knetworkmanager. Solution maybe is somewhere there. But this is above my knowledge.
Another mandrake/mandriva derivate PCLinuxOS has problem with this mobile modem too. Again due to network center.

From my side I can only help somebody to resolve this problem. I am prepared.

doktor5000 wrote:And please show the output of
Code: Select all
rpm -qa | grep networkmanager
on your Mageia 1 installation

Today I am going to download Mageia 1 DVD to make standard installation and I give you that output.
Thanks a lot for your attention.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby ferri » Jan 17th, '12, 19:34

doktor5000 wrote:And please show the output of
Code: Select all
rpm -qa | grep networkmanager
on your Mageia 1 installation

Output:
knetworkmanager-common-0.9-1.20110810.1.1.mga1
knetworkmanager-0.9-1.20110810.1.1.mga1
networkmanager-0.8.4.0-5.mga1

According network center I am connected, but connection is not working in reality.
Attachments
NetworkCenter.png
NetworkCenter.png (24.06 KiB) Viewed 5584 times
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby doktor5000 » Jan 17th, '12, 20:36

Please show the output of
Code: Select all
ifconfig
as root and the output of
Code: Select all
cat /etc/sysconfig/network-scripts/ifcfg-ppp0


EDIT: Our KDE maintainer told me, that knetworkmanager itself is an empty package. If you want to use networkmanager
with KDE you should use the package plasma-applet-networkmanagement to be able to configure networkmanager with a graphical interface.
Your problem comes from the fact that you wanted to explicitly use knetworkmanager, which is of no use.

You should add the plasmoid anywhere you want and use that, it should already be installed.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: knetworkmanager in Mageia

Postby ferri » Jan 18th, '12, 18:35

doktor5000 wrote:Our KDE maintainer told me, that knetworkmanager itself is an empty package. If you want to use networkmanager
with KDE you should use the package plasma-applet-networkmanagement to be able to configure networkmanager with a graphical interface.
Your problem comes from the fact that you wanted to explicitly use knetworkmanager, which is of no use.

You should add the plasmoid anywhere you want and use that, it should already be installed.


Yes. I know it. And I this applet use. Because when knetworkmanager package is installed, there is plasma-applet-networkmanagement between dependecies.

doktor5000 wrote:Please show the output of
Code: Select all
ifconfig
as root

Here it is:
Code: Select all
eth0      Link encap:Ethernet  HWaddr 00:0C:29:83:FC:D6
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:174 errors:0 dropped:0 overruns:0 frame:0
          TX packets:174 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12614 (12.3 KiB)  TX bytes:12614 (12.3 KiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:10.254.4.23  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:102 (102.0 b)  TX bytes:147 (147.0 b)


doktor5000 wrote:and the output of
Code: Select all
cat /etc/sysconfig/network-scripts/ifcfg-ppp0


Problem. :!:
There is not any /etc/sysconfig/network-scripts/ifcfg-ppp0. This file is missing.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby doktor5000 » Jan 18th, '12, 18:59

ferri wrote:Problem. :!:
There is not any /etc/sysconfig/network-scripts/ifcfg-ppp0. This file is missing.

Yeah, should have thought of that, because networkmanager saves somewhere else.

Anyways, have you tried to setup a connection before installing networkmanager at all?
Maybe take a look at the second and third paragraph in viewtopic.php?p=12843#p12843
(the first three lines are not interesting in your case) but please don't comment there.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18052
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: knetworkmanager in Mageia

Postby ferri » Jan 18th, '12, 21:30

doktor5000 wrote:Yeah, should have thought of that, because networkmanager saves somewhere else.

I was searching through the whole system, but there is not any ifcfg-ppp0.

doktor5000 wrote:Anyways, have you tried to setup a connection before installing networkmanager at all?
Maybe take a look at the second and third paragraph in viewtopic.php?p=12843#p12843
(the first three lines are not interesting in your case) but please don't comment there.


If my mobile modem was working via mageia network center, I would not install other tools like plasma-applet-networkmanagement. :)
I easy know if connection is on or off. When it is off, modem LED is blinking. When connection is on, the LED is lighting still.
Attachments
MCC_Huawei.png
MCC_Huawei.png (28.5 KiB) Viewed 5550 times
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby ferri » Jan 19th, '12, 18:17

Today I finally have resolved my problem.
For two hours I have new WLAN connection. :D
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia

Re: knetworkmanager in Mageia

Postby isadora » Jan 28th, '12, 11:00

Very nice ferri you got it solved.
But can you please tell us what finally did the trick?
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: knetworkmanager in Mageia

Postby ferri » Jan 28th, '12, 16:58

isadora wrote:Very nice ferri you got it solved.
But can you please tell us what finally did the trick?


Maybe you did not understand. ;)
I do not have mobile internet. But I have a new microvawe connection and so currently I do not use usb mobile modem. :D

If somebody wants I can resume searching for way how to make that modem working under Mageia.
But this time it is not my priority.
ferri
 
Posts: 79
Joined: May 15th, '11, 14:53
Location: Slovakia


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest

cron