Re: CVS (STABLE_0_3) works for Madwifi/Atheros, but starts too late



Quoting Dan Williams <dcbw redhat com>:

> > I guess that was my question.  Does NM need the applet in order to select
> the
> > wireless network (and WEP key)?  Or will NM have access to the list of
> > preferred networks (and WEP keys) before I login?  I would certainly prefer
> if
> > the list were "global" instead of per-user.
> 
> No, the wireless networks are per-user and until you log in to start GConf,
> they 
> are not available to NetworkManager.

Ahh, that's unfortunate.  :(

> You might want to investigate using NetworkManagerDispatcher.  You can drop a
> 
> script into /etc/NetworkManager.d that will be executed by 
> NetworkManagerDispatcher when connections go up or down.  Then you can kick
> ntpd 
> manually.

I guess...  But really what I want is a "condstart", e.g. a "start if not
already started" feature to the initscripts.  Unfortunately this doesn't exist.
 There's condrestart, but that's not quite what I want.

> I've noticed a few of these too, I've spoken with Dan Walsh (an SELinux guy
> at 
> Red Hat) and he's aware that we need more finely tuned policy for 
> NetworkManager.

Cool.  I was going to send Dan mail about it, but clearly you've already done so
:)

OH, another thing I noticed today -- I just swapped over from wireless to wired,
and I was having problems with DHCP on the wired network...  And NetworkManager
died.  I don't have a core file anywhere, so I don't know HOW it died.. But I
was able to repeat this a couple times in a row.  Here's some of the logs.

-derek

May 12 20:13:47 cliodev kernel: e1000: eth0: e1000_watchdog: NIC Link is Up 100
Mbps Full Duplex
May 12 20:13:47 cliodev NetworkManager:     SWITCH: best device changed
May 12 20:13:51 cliodev NetworkManager: Activation (eth0) started...
May 12 20:13:51 cliodev NetworkManager: nm_device_dhcp_request(): device DHCP
info exists, but it should have been cleared already.
May 12 20:13:51 cliodev NetworkManager: dhcp_interface_init: MAC address =
00:11:25:46:fb:d8
May 12 20:13:51 cliodev NetworkManager: Broadcasting DHCP_DISCOVER
May 12 20:13:51 cliodev NetworkManager: DHCP: Starting request loop, overall
start_time = {1115943231s, 925838us}
May 12 20:13:51 cliodev NetworkManager: DHCP: Request sent, waiting for
reply...May 12 20:13:52 cliodev kernel: device eth0 entered promiscuous mode
May 12 20:13:52 cliodev kernel: device ath0 entered promiscuous mode
May 12 20:13:52 cliodev kernel: device vmnet1 entered promiscuous mode
May 12 20:13:52 cliodev kernel: device vmnet8 entered promiscuous mode
May 12 20:13:52 cliodev kernel: device lo entered promiscuous mode
May 12 20:13:57 cliodev NetworkManager: DHCP: Got some data of length 58.
May 12 20:13:57 cliodev NetworkManager: DHCP: Reply message was not UDP
(ip_hdr->protocol = 6, IPPROTO_UDP = 17), won't use it.
May 12 20:13:57 cliodev NetworkManager: DHCP: Request sent, waiting for
reply...May 12 20:13:57 cliodev NetworkManager: DHCP: Got some data of length
52.
May 12 20:13:57 cliodev NetworkManager: DHCP: Reply message was not UDP
(ip_hdr->protocol = 6, IPPROTO_UDP = 17), won't use it.
May 12 20:14:07 cliodev NetworkManager: DHCP: Got some data of length 71.
May 12 20:14:07 cliodev NetworkManager: DHCP: Reply message was not UDP
(ip_hdr->protocol = 6, IPPROTO_UDP = 17), won't use it.
May 12 20:14:07 cliodev NetworkManager: DHCP: Request sent, waiting for
reply...May 12 20:14:07 cliodev NetworkManager: DHCP: Got some data of length
52.
[snip]
May 12 20:14:21 cliodev NetworkManager: DHCP: Got some data of length 1300.
May 12 20:14:21 cliodev NetworkManager: DHCP: Reply message was not UDP
(ip_hdr->protocol = 6, IPPROTO_UDP = 17), won't use it.
May 12 20:15:30 cliodev NetworkManager: starting...
May 12 20:15:30 cliodev NetworkManager: NetworkManager startup succeeded
May 12 20:15:30 cliodev NetworkManager: eth0: Driver support level for 'e1000'
is fully-supported

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord MIT EDU                        PGP key available




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