Re: Problem with Simple.Connect

2009-10-21 Thread Peter Holik
As reported at ubuntu:

https://bugs.launchpad.net/ubuntu/+source/plasma-widget-networkmanagement/+bug/334122/comments/44

network-manager-0.8~a~git.20091013t193206.679d548

did not work for me i got:

NetworkManager:  pppd_timed_out(): Looks like pppd didn't initialize our 
dbus module

i also saw no logs from pppd.

to see what happens i tried to get an strace output with

while :; do sleep .2; if pgrep pppd; then strace -s1000 -f -p $(pgrep pppd); 
fi;done

write(1, "Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.", 52) = ? 
ERESTARTSYS (To be
restarted)
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---
--- SIGTTOU (Stopped (tty output)) @ 0 (0) ---

This means that pppd writes to stdout, but networkmanager did not read anything.

With this patch my huawai E220 is working now

--- 
network-manager-0.8~a~git.20091013t193206.679d548.orig/src/ppp-manager/nm-ppp-manager.c
 +++
network-manager-0.8~a~git.20091013t193206.679d548/src/ppp-manager/nm-ppp-manager.c
 @@ -921,7
+921,7 @@

priv->pid = 0;
if (!g_spawn_async (NULL, (char **) ppp_cmd->array->pdata, NULL,
- G_SPAWN_DO_NOT_REAP_CHILD,
+ G_SPAWN_DO_NOT_REAP_CHILD || G_SPAWN_STDOUT_TO_DEV_NULL || 
G_SPAWN_STDERR_TO_DEV_NULL,
pppd_child_setup,
NULL, &priv->pid, err)) {
goto out;

Well it would be better to read from stdout / stderr and log it



___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ipw2100 & Security mode:restricted

2009-10-21 Thread Dan Williams
On Thu, 2009-10-15 at 21:14 +0400, Sergey Smirnov wrote:
> dpkg -l network-manager-gnome
> Desired=Unknown/Install/Remove/Purge/Hold
> | 
> Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Имя   Версия Описание
> +++---
> ii  network-manager- 0.8~a~git.200910 network management framework 
> (GNOME frontend)

How exactly are you getting to that front-end?  nm-connection-editor
upstream has an "Authentication" dropdown with both Open System and
Shared Key modes, as seen in the attached screenshot.  This shoudl also
be what Ubuntu Karmic shows as well.  Does yours not look like this?

Dan


> Dan Williams wrote:
> > On Wed, 2009-10-14 at 23:07 +0400, Sergey Smirnov wrote:
> >> Thank you Dan for your answer.
> >> I can set "Shared Key" auth mode in KDE NM editor.
> >> And I did this on other notebook with KDE.
> >> But Gmone nm-manager-editor doesn't show me this field (auth mode)
> >> It has only "Type of auth" and "Value of key"
> > 
> > Can you take a screenshot of the "Gnome nm-manager-editor" for me?  I'm
> > not quite clear on what specific program it is, but sounds like the
> > 0.6.x editor perhaps.  Thanks!
> > 
> > Dan
> > 
> >> Dan Williams wrote:
> >>> On Tue, 2009-10-13 at 08:07 +0400, Sergey Smirnov wrote:
>  Hello
>  I use ad-hoc wi-fi with wep to connect few divice in home network.
>  One notebook (IBM ThinkPad R40) has Intel Corporation PRO/Wireless LAN 
>  2100 wi-fi adapter.
>  When I joint the ad-hoc using networkmanager it set:
>  Security mode:open instead of Security mode:resticted
>  and network doesn't work.
>  If I manually set
>  iwconfig wlan0 key s:X resticted
>  network work fine.
>  After some time NM again reset key mode to open and network down.
> >>> Try choosing "Shared Key" auth mode in the connection editor.
> >>> Right-click on the wifi icon in the menu bar, choose "Edit connections".
> >>> Click the "Wireless" tab, adn double-click your adhoc connection.  On
> >>> the wireless security page, choose "Shared Key" auth method, then hit OK
> >>> everywhere and try the connection again.
> >>>
> >>> I'm somewhat dubious that Shared Key is actually legal with adhoc, so it
> >>> may just be driver problems too.
> >>>
> >>> Dan
> >>>
> >>>
> > 
<>___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Custom settings for wlan interfaces

2009-10-21 Thread Sven Nielsen
Hi everybody,

What is the preferred way / .conf file to set custom parameters for a
wlan interface when it is brought up by NetworkManager?

I want to set txrate, rts and frag to fixed values on a specific wlan
interface when it comes up.

cheers,
Sven


-- 
Sven Nielsen
Brookweg 30b
24568 Kaltenkirchen

email: p...@svennielsen.de

tel: +49 (0)4191 6532
mobil: +49 (0)157 716 889 13

.System- und Netzwerkadministration
.Softwarelokalisierung und technische Übersetzungen

- Öffentlicher PGP-Schlüssel:
  https://home.svennielsen.de/public/pk.asc -

___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Custom settings for wlan interfaces

2009-10-21 Thread Sven Nielsen
Hi everybody,

What is the preferred way / .conf file to set custom parameters for a
wlan interface when it is brought up by NetworkManager?

I want to set txrate, rts and frag to fixed values on a specific wlan
interface when it comes up.

cheers,
Sven
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list