RE: Mobile Broadband - how do I trace/debug the modem initialisation?

2008-10-22 Thread Craig Main
On Wed, 2008-10-22 at 00:38 +0100, Rick Jones wrote:

 --On Tuesday, October 21, 2008 14:08:25 -0400 Dan Williams
 [EMAIL PROTECTED] wrote:
 ¦ On Tue, 2008-10-21 at 19:16 +0200, Main, Craig wrote:
 ..
 ¦  -- Modem initialized.
 ¦  -- Sending: ATDT*99***1#
 ¦  -- Waiting for carrier.
 ¦  ATDT*99***1#
 ¦  [EMAIL PROTECTED] }9}#}%B#}%}(}}' } } } }%}mG!;J[1d]~
 ¦ 
 ¦ Holy crap, WTF is that???  I know you don't know, but wow.  That
 can't
 ¦ be a valid standards-compliant implementation.
 
 AFAIK that's the PPP negotiation. If you manually open a connection to
 any PPP wserver with minicom or equiv. that stuff comes back. Usually
 the modem returns CONNECT first, and the device is handed over to the
 PPP code so this doesn't get traced, but here CONNECT comes later, and
 then we see that PPP is correctly detected:
 

Correct, that is the ppp negotiation


 ¦  CONNECT
 ¦  -- Carrier detected.  Waiting for prompt.
 ¦  [EMAIL PROTECTED]} }9}#}%B#}%}(}}' } } } }%}mG!;[06]p~
 ¦  -- PPP negotiation detected.

To read FirstRand Bank's Disclaimer for this email click on the following 
address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Hack to allow passing Vendor=nortel in network-manager-vpnc

2008-10-22 Thread Cyril Jaquier

Hi Dan,


I do now have a Netscreen to test against, so you can expect that
additional NM-vpnc features that I implement are tested against the
Netscreen.  Thus, this bug will probably get fixed sooner rather than
later.



That's a really good news :) I'm looking forward to test it. Thanks.

Regards,

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


Re: Required libdbus-dlib-1-dev version 0.75

2008-10-22 Thread Darren Albers
For Hardy you will need to backport the newer version or use the one
in Alexander's PPA:

https://launchpad.net/~network-manager/+archive

Thanks!

On Tue, Oct 21, 2008 at 11:29 PM, Patrik Dufresne [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to setup my environment to develop a bit on Network-Manager. I'm
 motivated to improve the VPN pptp module.
 When executing ./autogen.sh, it's required  libdbus-dlib-1-dev = 0.75. I
 have Ubuntu hardy and got version 0.74. Where can I get the newer version ?

 Regards,

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

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


Re: Network-Manager applet r953 fails to compile.

2008-10-22 Thread Pramod Dematagoda

 On Tue, 2008-10-21 at 09:52 -0400, Dan Williams wrote:
  On Tue, 2008-10-21 at 19:07 +0530, Pramod Dematagoda wrote:
  Ah, I didn't know that. And I tried it out and it went past that problem
  properly. But now another headache :(.
  
  As it happens, I had to set the UUID_LIBS and UUID_CFLAGS variables
  manually as well because for some weird and unknown reason, they don't
  get set automatically. I have installed the uuid-devel package through
  the normal fedora repos. The new make error I get is:-
  
  nm-utils.c:38:23: error: uuid/uuid.h: No such file or directory
 Then, it'll complain about packages that haven't been installed.  yum
 install all of those.  Then you should have all the required
 dependencies like e2fsprogs-devel, in which libuuid dev files live.
 
 Dan
 

I finished installing the packages thrown up by rpmbuild and now both
NM-Core and NM-Applet(after installing NM-Core and changing the
environment variables ofcourse) build properly. Thanks a lot for your
help Dan!

Regards,
Pramod Dematagoda

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


RE: Mobile Broadband - how do I trace/debug the modem initialisation?

2008-10-22 Thread Dan Williams
On Wed, 2008-10-22 at 08:39 +0200, Craig Main wrote:
 On Wed, 2008-10-22 at 00:38 +0100, Rick Jones wrote:
  --On Tuesday, October 21, 2008 14:08:25 -0400 Dan Williams
  [EMAIL PROTECTED] wrote:
  ¦ On Tue, 2008-10-21 at 19:16 +0200, Main, Craig wrote:
  ..
  ¦  -- Modem initialized.
  ¦  -- Sending: ATDT*99***1#
  ¦  -- Waiting for carrier.
  ¦  ATDT*99***1#
  ¦  [EMAIL PROTECTED] }9}#}%B#}%}(}}' } } } }%}mG!;J[1d]~
  ¦ 
  ¦ Holy crap, WTF is that???  I know you don't know, but wow.  That
  can't
  ¦ be a valid standards-compliant implementation.
  
  AFAIK that's the PPP negotiation. If you manually open a connection
  to any PPP wserver with minicom or equiv. that stuff comes back.
  Usually the modem returns CONNECT first, and the device is handed
  over to the PPP code so this doesn't get traced, but here CONNECT
  comes later, and then we see that PPP is correctly detected:
  
 Correct, that is the ppp negotiation

Cute, so pppd will now miss the first part of the negotiation, simply
because the card is too damn slow with CONNECT?  That's a great
experience for fast, reliable connections :)

Dan


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


Re: stupid question - duplicated list ?

2008-10-22 Thread Dan Williams
On Tue, 2008-10-21 at 19:43 -0400, Andrew wrote:
 this may have been addressed before, but my googling has been fruitless.
 
 Why does the dropdown list from nm-applet have all the available networks 
 duplicated? (first the list, then its copy?)  

What NM RPM version?

If you have multiple access points with the same SSID, but with
different bands, security options, or modes, you'll get duplicate
entries because they are separate APs.  So for example, if you have
'foobar' in the b/g band and foobar in the a-band, you'll see both
APs.  In the future we should actually show what's different about them
in the menu.

What's your network situation like?

Dan

 I have installed/upgraded to about 10 diffent Fedora 9 systems, and in every 
 one I had the duplication phenomenon.
 
 How does one get rid of the duplicate?
 
 thanks
 andrew
 ___
 NetworkManager-list mailing list
 NetworkManager-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/networkmanager-list

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


Re: Mobile Broadband - how do I trace/debug the modem initialisation?

2008-10-22 Thread Per Hallsmark

Dan Williams wrote:

On Wed, 2008-10-22 at 08:39 +0200, Craig Main wrote:
  

On Wed, 2008-10-22 at 00:38 +0100, Rick Jones wrote:


--On Tuesday, October 21, 2008 14:08:25 -0400 Dan Williams
[EMAIL PROTECTED] wrote:
¦ On Tue, 2008-10-21 at 19:16 +0200, Main, Craig wrote:
..
¦  -- Modem initialized.
¦  -- Sending: ATDT*99***1#
¦  -- Waiting for carrier.
¦  ATDT*99***1#
¦  [EMAIL PROTECTED] }9}#}%B#}%}(}}' } } } }%}mG!;J[1d]~
¦ 
¦ Holy crap, WTF is that???  I know you don't know, but wow.  That

can't
¦ be a valid standards-compliant implementation.

AFAIK that's the PPP negotiation. If you manually open a connection
to any PPP wserver with minicom or equiv. that stuff comes back.
Usually the modem returns CONNECT first, and the device is handed
over to the PPP code so this doesn't get traced, but here CONNECT
comes later, and then we see that PPP is correctly detected:

  

Correct, that is the ppp negotiation



Cute, so pppd will now miss the first part of the negotiation, simply
because the card is too damn slow with CONNECT?  That's a great
experience for fast, reliable connections :)
  
Well it really has a fast and reliable connection, but only if people 
will stop using
it with PPP and do a cdc-ether bringup instead and run usb/ethernet 
connection directly

to the module. ;-)

But ok, that can't happen until next week or so when we've been able to 
publish

all stuff... ;-)

So, I strongly suggest to hold off playing with PPP and instead wait for 
some

shiny glittering features coming out soon...


Dan


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



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


network manager making me crazy

2008-10-22 Thread K M Nur
Hi I'm having exactly the same others having in the post below -

http://linux.derkeiler.com/Mailing-Lists/Fedora/2008-03/msg02076.html

please help! SCREAMING.

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


Re: stupid question - duplicated list ?

2008-10-22 Thread Andrew
On Tue, 2008-10-21 at 19:43 -0400, Andrew wrote:
 this may have been addressed before, but my googling has been fruitless.
 
 Why does the dropdown list from nm-applet have all the available networks 
duplicated? (first the list, then its copy?)  

What NM RPM version?

If you have multiple access points with the same SSID, but with
different bands, security options, or modes, you'll get duplicate
entries because they are separate APs.  So for example, if you have
'foobar' in the b/g band and foobar in the a-band, you'll see both
APs.  In the future we should actually show what's different about them
in the menu.

In my case it is unequivocal duplication of EVERYTHING, always.  Two identical 
lists. And I don't think i've ever been in the midst of multiple distinct AP's 
whose names coincide.

But EVERY single time i've used NM, on many distinct hardware systems 
((although with the same exact OS, thus far: Fedora 9 -- i've installed lots of 
F9's lately), I got/get the duplication.  I almost started thinking it was the 
intended norm.

Most of the systems have the out-of-the-box F9 NM version ; i have yum-updated 
a few.  One I am looking at at the moment has 
0.7.0-14.svn3675, with the *-glib and *gnome packages the same version, 
exceping the *-openvpn, which is *svn3632

On a different system, as you know, I've built NM and nm-applet from source 
(with your latest alterations).  Same exact manifestation with this home-built, 
hacked version. I see Two identical lists, one below the other. Each has the 
grayed header Wireless Networks (Belkin AR2413 802.11bg NIC)

BTW, is there a command-line option for NM to print its version? The svn 
snapshot i compiled was from around September 28.

Could the duplication be a Fedora thing, i wonder?
I *did* search the Fedoraforum.org site but didn't find any solutions (and 
googled all around, for that matter)

thanks again.

What's your network situation like?

Dan

 I have installed/upgraded to about 10 diffent Fedora 9 systems, and in every 
one I had the duplication phenomenon.
 
 How does one get rid of the duplicate?
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: stupid question - duplicated list ?

2008-10-22 Thread Dan Williams
On Wed, 2008-10-22 at 12:14 -0400, Andrew wrote:
 On Tue, 2008-10-21 at 19:43 -0400, Andrew wrote:
  this may have been addressed before, but my googling has been fruitless.
  
  Why does the dropdown list from nm-applet have all the available networks 
 duplicated? (first the list, then its copy?)  
 
 What NM RPM version?
 
 If you have multiple access points with the same SSID, but with
 different bands, security options, or modes, you'll get duplicate
 entries because they are separate APs.  So for example, if you have
 'foobar' in the b/g band and foobar in the a-band, you'll see both
 APs.  In the future we should actually show what's different about them
 in the menu.
 
 In my case it is unequivocal duplication of EVERYTHING, always.  Two 
 identical lists. And I don't think i've ever been in the midst of multiple 
 distinct AP's whose names coincide.
 
 But EVERY single time i've used NM, on many distinct hardware systems 
 ((although with the same exact OS, thus far: Fedora 9 -- i've installed lots 
 of F9's lately), I got/get the duplication.  I almost started thinking it was 
 the intended norm.
 
 Most of the systems have the out-of-the-box F9 NM version ; i have 
 yum-updated a few.  One I am looking at at the moment has 
 0.7.0-14.svn3675, with the *-glib and *gnome packages the same version, 
 exceping the *-openvpn, which is *svn3632

These aren't the latest updates, you probably want the newest bits and
the newest kernel at least.  But they won't help your problem.

 On a different system, as you know, I've built NM and nm-applet from source 
 (with your latest alterations).  Same exact manifestation with this 
 home-built, hacked version. I see Two identical lists, one below the other. 
 Each has the grayed header Wireless Networks (Belkin AR2413 802.11bg NIC)

So this is the problem, NM thinks you have two wireless cards in your
machine.  That's most definitely a HAL/kernel issue.  What kernel
version do you have installed?

Can you mail me the output of 'lshal' and 'iwconfig' from the command
line?

Dan


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


Re: Mobile Broadband - disconnect after 2 mins.

2008-10-22 Thread Gilbert Mendoza
I just submitted this bug, which was noted as resolved... but I can
confirm that the problem still exists.

http://bugzilla.gnome.org/show_bug.cgi?id=556781

I had been testing NM from PPA for Ubuntu Hardy... and now I'm testing
NM 0.7.0 included in Ubuntu Intrepid, and I still see the same
behavior.  The CDMA connection does not have the Send ppp echo
packets checked... which was explained to me as LCP echo.

In the bug report, I also noted a work around, which is to disable LCP
echo requests and interval setting in the global PPP options file:

/etc/ppp/options:

lcp-echo-interval 0
lcp-echo-failure 0

This resolves the issue for me.  Perhaps you can also comment on the bug report.

--
Gilbert Mendoza
PGP: 0x075DBCA9
Email: gmendoza at gmail.com
http://www.savvyadmin.com
https://launchpad.net/~gmendoza
https://wiki.ubuntu.com/GilbertMendoza



On Wed, Oct 22, 2008 at 10:18 AM, Rick Jones [EMAIL PROTECTED] wrote:
 Having hacked a binary patch into NM (just for the init string) so my Palm
 modem will connect, I now find that it systematically disconnects after
 exactly 2 minutes.

 In the log, the modem state suddenly goes from 8 - 7, and then everything
 unwinds. It makes no difference whether the connection is idle or busy,
 after 2 mins. it's gone

 I know this modem has a problem with LCP echo - when testing it with pppd I
 had to explicitly turn LCP echo off otherwise it complained that it received
 its own echo requests. However, with echo off it will stay connected
 indefinitely using pppd.

 What does NM do with LCP echo? I notice there is an option in the config
 dialog for PPP echo (is that the same thing?), but that it won't stick so I
 guess it's unimplemented.

 Any ideas on the timeout disconnect?

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


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


Re: Mobile Broadband - disconnect after 2 mins.

2008-10-22 Thread Rick Jones
--On Wednesday, October 22, 2008 13:48:21 -0700 Gilbert Mendoza 
[EMAIL PROTECTED] wrote:

The CDMA connection does not have the Send ppp echo
¦ packets checked... which was explained to me as LCP echo.
¦
¦ In the bug report, I also noted a work around, which is to disable LCP
¦ echo requests and interval setting in the global PPP options file:
¦
¦ /etc/ppp/options:
¦
¦ lcp-echo-interval 0
¦ lcp-echo-failure 0

Yes, well spotted! Thanks, I'd forgotten about default ppp options, that 
tweak works for me too. So the problem is 2-fold:


1. The PPP echo option in the UI is not implemented, and stays off.
2. Nothing overrides the default PPP (LCP) echo options, so even though the 
UI says off, if the default is on, echos are still sent.


Is it a common feature of broadband modems not to handle LCP echo properly? 
I guess it's not really needed anyway.


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