Re: debug tips

2009-06-01 Thread Aaron Konstam
On Sun, 2009-05-31 at 09:21 -0700, Daniel Fetchinson wrote:
  I'm trying to debug a 100% reproducable issue but don't really know
  where to look for clues.
 
  I have a Sony VAIO VGN-FZ240E, running 64bit Fedora 8.
 
  It happens with many wifi networks that when I boot everything goes
  fine, I can connect to the wifi network with nm-applet but as soon as
  I lose the connection I will never be able reconnect. The networks in
  question use pre-shared keys. If I reboot, everything will be fine
  again, I can connect using the password, but as soon as I lose
  connection the only way I can reconnect is by reboot.
 
  Instead of rebooting I tried manually restarting all network related
  services but that doesn't help. These are the services I restart in
  this order from /etc/rc3.d that I guess are relevant:
 
  service ip6tables restart
  service iptables restart
  service network restart
  NetworkManager and network are two different competitive systems to
  support networking. I don't say it would work but you should restart
  NetworkManager not network.
 
 Sure. But in /etc/rc3.d the order of the network related services is this:
 
 ip6tables
 iptables
 network
 NetworkManager
 NetworkManagerDispatcher
Not on my machine.  NetworkManager and network are not designed to run
at the same time. It is not clear what NM would do in run level 3
without X. You certainly don't have a nm-applet running at rl 3 in any
meaningful fashion.
 
 So I've tried stopping all 5 services and starting them in the above
 order, because they get started in the above order while booting. But
 already the third service, 'network', fails and wlan doesn't come up.
 If I nevertheless restart NetworkManager and NetworkManagerDispatcher
 I can see the wireless network in question in nm-applet but can not
 connect. I enter the pre-shared key password but it wouldn't connect,
 it just gives back the password window.
Look you talk about rc3.d but if you are using nm-applet you can't be at
run level 3 so what is in rc3.d is irrelevant. We are having a giant
miscommunication going on . What rl are you actually running at?
 
 If I reboot though the above 5 services are started in the above order
 and everything works, wlan comes up and nm-applet can connect using
 the same pre-shared key password.
 
 So it seems to me that I need to do some additional steps manually to
 completely reproduce what is happening at boot time. It just seems
 impossible to me that I can not reproduce everything what is happening
 at boot time, without actually rebooting but doing the same things
 manually as root.
 
 Any ideas where should I be looking for clues?
 
 Thanks a lot,
 Daniel
 
--
===
Anyone can do any amount of work provided it isn't the work he is
supposed to be doing at the moment. -- Robert Benchley
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

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


Re: debug tips

2009-06-01 Thread Daniel Fetchinson
  I'm trying to debug a 100% reproducable issue but don't really know
  where to look for clues.
 
  I have a Sony VAIO VGN-FZ240E, running 64bit Fedora 8.
 
  It happens with many wifi networks that when I boot everything goes
  fine, I can connect to the wifi network with nm-applet but as soon as
  I lose the connection I will never be able reconnect. The networks in
  question use pre-shared keys. If I reboot, everything will be fine
  again, I can connect using the password, but as soon as I lose
  connection the only way I can reconnect is by reboot.
 
  Instead of rebooting I tried manually restarting all network related
  services but that doesn't help. These are the services I restart in
  this order from /etc/rc3.d that I guess are relevant:
 
  service ip6tables restart
  service iptables restart
  service network restart
  NetworkManager and network are two different competitive systems to
  support networking. I don't say it would work but you should restart
  NetworkManager not network.

 Sure. But in /etc/rc3.d the order of the network related services is this:

 ip6tables
 iptables
 network
 NetworkManager
 NetworkManagerDispatcher
 Not on my machine.  NetworkManager and network are not designed to run
 at the same time. It is not clear what NM would do in run level 3
 without X. You certainly don't have a nm-applet running at rl 3 in any
 meaningful fashion.

I do boot in runlevel 3 and then start X manually with startx. After X
is running nm-applet gets started as well. There is absolutely no
problem here.

 So I've tried stopping all 5 services and starting them in the above
 order, because they get started in the above order while booting. But
 already the third service, 'network', fails and wlan doesn't come up.
 If I nevertheless restart NetworkManager and NetworkManagerDispatcher
 I can see the wireless network in question in nm-applet but can not
 connect. I enter the pre-shared key password but it wouldn't connect,
 it just gives back the password window.
 Look you talk about rc3.d but if you are using nm-applet you can't be at
 run level 3 so what is in rc3.d is irrelevant.

As I've said, but let me repeat it again, I do boot into run level 3.
After logging in I start X manually via startx.

 We are having a giant miscommunication going on . What rl are you actually 
 running at?

No, there is no miscommunication, simply you just have to believe that
it is possible to boot in runlevel 3 and then it is possible to start
X manually via startx :)

 If I reboot though the above 5 services are started in the above order
 and everything works, wlan comes up and nm-applet can connect using
 the same pre-shared key password.

 So it seems to me that I need to do some additional steps manually to
 completely reproduce what is happening at boot time. It just seems
 impossible to me that I can not reproduce everything what is happening
 at boot time, without actually rebooting but doing the same things
 manually as root.

 Any ideas where should I be looking for clues?



-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: debug tips

2009-06-01 Thread Aaron Konstam
On Mon, 2009-06-01 at 08:53 -0700, Daniel Fetchinson wrote:
   I'm trying to debug a 100% reproducable issue but don't really know
   where to look for clues.
  
   I have a Sony VAIO VGN-FZ240E, running 64bit Fedora 8.
  
   It happens with many wifi networks that when I boot everything goes
   fine, I can connect to the wifi network with nm-applet but as soon as
   I lose the connection I will never be able reconnect. The networks in
   question use pre-shared keys. If I reboot, everything will be fine
   again, I can connect using the password, but as soon as I lose
   connection the only way I can reconnect is by reboot.
  
   Instead of rebooting I tried manually restarting all network related
   services but that doesn't help. These are the services I restart in
   this order from /etc/rc3.d that I guess are relevant:
  
   service ip6tables restart
   service iptables restart
   service network restart
   NetworkManager and network are two different competitive systems to
   support networking. I don't say it would work but you should restart
   NetworkManager not network.
 
  Sure. But in /etc/rc3.d the order of the network related services is this:
 
  ip6tables
  iptables
  network
  NetworkManager
  NetworkManagerDispatcher
  Not on my machine.  NetworkManager and network are not designed to run
  at the same time. It is not clear what NM would do in run level 3
  without X. You certainly don't have a nm-applet running at rl 3 in any
  meaningful fashion.
 
 I do boot in runlevel 3 and then start X manually with startx. After X
 is running nm-applet gets started as well. There is absolutely no
 problem here.
 
  So I've tried stopping all 5 services and starting them in the above
  order, because they get started in the above order while booting. But
  already the third service, 'network', fails and wlan doesn't come up.
  If I nevertheless restart NetworkManager and NetworkManagerDispatcher
  I can see the wireless network in question in nm-applet but can not
  connect. I enter the pre-shared key password but it wouldn't connect,
  it just gives back the password window.
  Look you talk about rc3.d but if you are using nm-applet you can't be at
  run level 3 so what is in rc3.d is irrelevant.
 
 As I've said, but let me repeat it again, I do boot into run level 3.
 After logging in I start X manually via startx.
 
  We are having a giant miscommunication going on . What rl are you actually 
  running at?
 
 No, there is no miscommunication, simply you just have to believe that
 it is possible to boot in runlevel 3 and then it is possible to start
 X manually via startx :)
I believe it, if you will accept that running startx puts you in to rl5
not rl3. Also that network and NM should not be run at the same time.
 
  If I reboot though the above 5 services are started in the above order
  and everything works, wlan comes up and nm-applet can connect using
  the same pre-shared key password.
 
  So it seems to me that I need to do some additional steps manually to
  completely reproduce what is happening at boot time. It just seems
  impossible to me that I can not reproduce everything what is happening
  at boot time, without actually rebooting but doing the same things
  manually as root.
 
  Any ideas where should I be looking for clues?
 
 
 
--
===
The idea is to die young as late as possible. -- Ashley Montague
===
Aaron Konstam telephone: (210) 656-0355 e-mail: akons...@sbcglobal.net

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


Re: debug tips

2009-06-01 Thread Daniel Fetchinson
 I had a buggy wifi driver and rmmod and ismod on the wifi drivers would
 always fix my issue.

Thanks a lot, this sounds like potentially fitting my case.

Cheers,
Daniel

-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown
___
NetworkManager-list mailing list
NetworkManager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: debug tips

2009-06-01 Thread John Mahoney
ismod, I meant insmod or you can use modprobe, obviously.
--
John

On Mon, Jun 1, 2009 at 5:39 PM, Daniel Fetchinson fetchin...@googlemail.com
 wrote:

  I had a buggy wifi driver and rmmod and ismod on the wifi drivers would
  always fix my issue.

 Thanks a lot, this sounds like potentially fitting my case.

 Cheers,
 Daniel

 --
 Psss, psss, put it down! - http://www.cafepress.com/putitdown
 ___
 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 network type support or not?

2009-06-01 Thread 代尔欣
Hi Paul,
  Yes, the mobile broadband can work. My question is the network type
seetings for the MB. Below codes are in nm-connection-editor(version 0.7.1):

 /* Hide network type widgets; not supported yet */
gtk_widget_hide (GTK_WIDGET (priv-network_type));
widget = glade_xml_get_widget (CE_PAGE (self)-xml, type_label);
gtk_widget_hide (widget);

It seems the related UI is hidden. So user can't set those through
nm-connection-editor. If comment above codes, you will see a new combobox in
*MobileBroadband* config page. I also searched the related codes. It seems
those settings are not used.

Thank!

2009/6/1 Paul Menzel paulepan...@users.sourceforge.net

 Dear 代尔欣,


 Am Montag, den 01.06.2009, 10:06 +0800 schrieb 代尔欣:

 […]

   In NetworkManager-0.7.1, Mobile Broadband have network type
  setting(NM_GSM_NETWORK_UMTS_HSPA), but it seems not support yet.

 How come?

  I want to know whether the unstable version support this?

 As far as I know, NetworkManager 0.7.1 supports mobile broadband just
 fine.

  And better give me a description about this setting plan for what.

 Sorry, I do not understand. This setting enables you to connect to the
 Internet using UMTS/HSDPA.


 Thanks,

 Paul

 ___
 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