Re: NetworkManager vs system-config-network



I am on Fedora 8 (*after* upgrading from Fedora 7 (after upgrading from
Fedora 6)). I am using NM version 0.7.

Checking the two logs (yours and mine), it seems to me that the
beginning is pretty similar. They differ once stage 2 of 5 starts (maybe
because of encryption at your end and no encryption at mine?)

I have also checked the logs on my second laptop (fresh Fedora 8
installation) and the log is identical to the one that I have posted.  

How does the network script in init.d affect NM? 

Running 

/sbin/service network status

on both laptops resulted in the same output (which seems fine to me):

Configured devices:
lo eth0 wlan0
Currently active devices:
lo wifi0 wlan0

Cheers,
Firas.

On Sun, 2007-12-02 at 08:30 -0600, Aaron Konstam wrote:
> On Sun, 2007-12-02 at 11:36 +0200, Firas Swidan, PhD wrote:
> > Hi,
> > 
> > I have been working in peace with NetworkManager for some time, after
> > having a couple of problems with it. Today we had issues with the power
> > supply (the AP was affected by these, but not the laptop), and after
> > things settled NetworkManager does not want to connect anymore. I have
> > disabled all security on the wireless network but NetworkManager still
> > does not want to connect. Activating wlan0 through
> > system-config-network, on the other hand, gets me connected in seconds.
> > I attached some logs below.
> > 
> > I have a second laptop that was off during the power issues (both
> > laptops with Atheros, Fedora 8, and ath_pci module), and that second
> > laptop connects through NetworkManager with no problem (both with
> > security on and off on the wireless network).
> > 
> > I suspect that I need to reset something, but no clue what that is.
> > Would be thankful for any ideas / tips.
> > 
> > Thanks,
> > Firas.
> > 
> > ******************** iwlist scan *************************
> > 
> >                     Mode:Master
> >                     Frequency:2.422 GHz (Channel 3)
> >                     Quality=32/70  Signal level=-63 dBm  Noise level=-95
> > dBm
> >                     Encryption key:off
> >                     Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> >                               9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
> >                               48 Mb/s; 54 Mb/s
> >                     Extra:bcn_int=100
> > 
> > ******************** /val/log/messages ******************
> > 
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activating device
> > wlan0
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 1 of 5 (Device Prepare) scheduled...
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 1 of 5 (Device Prepare) started...
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 2 of 5 (Device Configure) scheduled...
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 1 of 5 (Device Prepare) complete.
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 2 of 5 (Device Configure) starting...
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation
> > (wlan0/wireless): connection 'Auto xxxxx' requires no security.  No
> > secrets needed.
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Config: added 'ssid'
> > value 'xxxxx'
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Config: added
> > 'key_mgmt' value 'NONE'
> > Dec  2 11:15:14 localhost NetworkManager: <info>  Activation (wlan0)
> > Stage 2 of 5 (Device Configure) complete.
> > Dec  2 11:15:14 localhost NetworkManager: <info>  (wlan0) Supplicant
> > interface state change: 0 -> 2
> > Dec  2 11:15:17 localhost NetworkManager: <info>  (wlan0) Supplicant
> > interface state change: 2 -> 3
> > Dec  2 11:15:32 localhost NetworkManager: <info>  (wlan0) Supplicant
> > interface state change: 3 -> 0
> > Dec  2 11:15:32 localhost NetworkManager: <info>  (wlan0) Supplicant
> > interface state change: 0 -> 2
> > Dec  2 11:15:35 localhost NetworkManager: <info>  (wlan0) Supplicant
> > interface state change: 2 -> 3
> > Dec  2 11:15:39 localhost NetworkManager: <info>  Activation
> > (wlan0/wireless): association took too long, failing activation.
> > Dec  2 11:15:39 localhost NetworkManager: <info>  Activation (wlan0)
> > failed for access point (xxxxx)
> > Dec  2 11:15:39 localhost NetworkManager: <info>  Marking connection
> > 'Auto xxxxx' invalid.
> > Dec  2 11:15:39 localhost NetworkManager: <info>  Activation (wlan0)
> > failed.
> > Dec  2 11:15:39 localhost NetworkManager: <info>  Deactivating device
> > wlan0.
> > ***********************
> > 
> I don't know the answeer but I am struck by the differences in the
> messages in our /var/log/messages. I suspect you have the init.d script
> network running.
> Dec  2 08:09:42 cyrus NetworkManager: <info>  Updating allowed wireless
> network lists.
> Dec  2 08:09:42 cyrus NetworkManager: <info>  SWITCH: no current
> connection, found better connection 'eth1'.
> Dec  2 08:09:43 cyrus dhcdbd: message_handler: message handler not found
> under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.reason
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Will activate connection
> 'eth1/2WIRE833'.
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Device eth1 activation
> scheduled...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1)
> started...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 1
> of 5 (Device Prepare) scheduled...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 1
> of 5 (Device Prepare) started...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 2
> of 5 (Device Configure) scheduled...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 1
> of 5 (Device Prepare) complete.
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 2
> of 5 (Device Configure) starting...
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation
> (eth1/wireless): access point '2WIRE833' is encrypted, but NO valid key
> exists.  New key needed.
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) New
> wireless user key requested for network '2WIRE833'.
> Dec  2 08:09:43 cyrus NetworkManager: <info>  Activation (eth1) Stage 2
> of 5 (Device Configure) complete.
> etc, etc,etc.
> I cna't understand why the differences exist. What version of Fedora are
> you using and what version of NM?
> 
> 
> --
> =======================================================================
> Uh-oh -- WHY am I suddenly thinking of a VENERABLE religious leader
> frolicking on a FORT LAUDERDALE weekend?
> =======================================================================
> Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam sbcglobal net
> 
-- 
Firas Swidan, PhD
Founder and CEO
Olymons: Blessing Machines with Vision (TM)
http://www.olymons.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]