You are not logged in.

#1 2011-03-14 08:59:35

speedyx
Member
From: Italy
Registered: 2008-09-05
Posts: 100
Website

KDE networkmanager and sharing mobile internet connection to wlan

I'm not so expert in networking only a user.
I use KDE 4.6.1. I have a netbook with Atheros AR5001 Wireless Network Adapter driver ath5k. I have installed networkmanagement 20110226-1 and networkmanager 0.8.2-3.
I connect to the internet with a mobile broadband connection CDMA/EDVO that is well recognized and connect well.
I used to share the connection with other notebook.
But I can't create an ad-hoc shared connection.
After installing dnsmasq and follow the instruction finded here: https://wiki.archlinux.org/index.php/Sh … _interface

Configure dnsmasq. Make the following changes to /etc/dnsmasq.conf (uncomment if necessary):

domain-needed
bogus-priv
interface=wlan0
dhcp-range=10.42.43.1,10.42.43.100,12h

Start dnsmasq as root:

/etc/rc.d/dnsmasq start

Finally, set firewall to forward connections to and from the Internet for clients connecting to your wlan. This is done by issuing (you guessed it right, as root again):

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

Now it reply this error from the log

Mar 14 07:09:05 netbook-pc NetworkManager[2084]: <error> [1300082945.419707] [nm-device-wifi.c:1544] nm_device_wifi_set_mode(): (wlan0): error setting mode 2

The NetworkManager enter in a loop of trying to connect.
Can anyone help me?


I love archlinux: the last STABLE kernel release + the last STABLE DE release + the last STABLE apps releases. The upstream developers decide what is STABLE.

Offline

#2 2011-03-24 22:14:49

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: KDE networkmanager and sharing mobile internet connection to wlan

I also wonder about this. I was using Gnome a couple of months and nm-applet let me share internet to wlan without any modifications such as dnsmasq and stuff. I tried using the same method in the KDE applet but did not succeed. It works with cable though. Did you get it working yet, speedyx?

Offline

#3 2011-04-01 07:02:30

speedyx
Member
From: Italy
Registered: 2008-09-05
Posts: 100
Website

Re: KDE networkmanager and sharing mobile internet connection to wlan

Installing dnsmasq without configurations seems solved the problem. But works only with version before the 2.57


I love archlinux: the last STABLE kernel release + the last STABLE DE release + the last STABLE apps releases. The upstream developers decide what is STABLE.

Offline

#4 2011-04-06 07:42:02

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: KDE networkmanager and sharing mobile internet connection to wlan

I found some relevant stuff:

https://bugs.launchpad.net/ubuntu/+sour … bug/725041
http://bugs.kde.org/212941
http://lamarque-lvs.blogspot.com/2011/0 … dging.html

It should all be fixed soon, when networkmanager 0.8.4 is available, and perhaps the plasma applet needs updating too. Maybe kde 4.6.2?

Last edited by KlavKalashj (2011-04-06 07:42:22)

Offline

#5 2011-04-20 17:36:29

aqeeliz
Member
Registered: 2007-10-13
Posts: 46

Re: KDE networkmanager and sharing mobile internet connection to wlan

According to that blogpost (mentioned in above post - http://lamarque-lvs.blogspot.com/2011/0 … ging.html), the bug has been solved and:

Plasma NM does not follow KDE SC release schedule. I tested this code yesterday with KDE 4.4.4 and it worked. It is just a matter of distributions updating their packages with this code.

And from https://bugs.launchpad.net/ubuntu/+sour … bug/725041 (same bug, reported for network-manager package in Ubuntu):

This bug was fixed in the package network-manager - 0.8.4~git.20110228t143901.5cdded6-0ubuntu1

Archlinux currently uses networkmanager 0.8.3-0.20110113, any chances of anyone including these updates anytime soon?

Offline

Board footer

Powered by FluxBB