Re: ubuntu and NetworkManager



Joe,

Its failing the info.capabilities check in HAL, NetworkManager checks
whether the device has "net.80203" or "net.80211" capabilities before
using the device.

The reason its failing that is there is no "device" link
in /sys/class/net/wifi0.  Fix your driver/ndiswrapper.  For example, my
ethernet card (onboard) has this:

/sys/class/net/eth0/device
maps to:
/sys/devices/pci0000:00/0000:00:02.0/0000:02:1d.0/0000:03:0e.0

This is an ndiswrapper problem, since it should be setting up the device
correctly.  HAL only accepts net devices that have real hardware backing
them (so that, for example, sit0 and cipsec0 software network drivers
don't show up), and that means that ndiswrapper needs to get fixed to
provide device links somehow.

Dan

On Tue, 2004-11-02 at 11:49 -0800, Joe Barnett wrote:
> output of lscpi -vv:
> 
> 0000:02:03.0 Network controller: Broadcom Corporation BCM4306
> 802.11b/g Wireless LAN Controller (rev 02)
>         Subsystem: Dell TrueMobile 1300 WLAN Mini-PCI Card
>         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR+ FastB2B-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR-
>         Latency: 32
>         Interrupt: pin A routed to IRQ 11
>         Region 0: Memory at faff6000 (32-bit, non-prefetchable) [size=8K]
>         Capabilities: [40] Power Management version 2
>                 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA 
> ME(D0+,D1+,D2+,D3hot+,D3cold+)
>                 Status: D0 PME-Enable- DSel=0 DScale=2 PME-
> 
> I'm using ndiswrapper driver with bcmwl5a.inf windows driver.  The
> only unknown devices listed in hal-device-manager are underneath my
> IEEE-1394 controller, and the wireless card shows up as "BCM4306
> 802.11b/g Wireless LAN Controller". Details panes available:
> 
> http://sweeze.ath.cx/~jbarnett/device.jpg
> http://sweeze.ath.cx/~jbarnett/pci.jpg
> http://sweeze.ath.cx/~jbarnett/advanced.jpg
> 
> 
> On Tue, 02 Nov 2004 14:34:24 -0500, Dan Williams <dcbw redhat com> wrote:
> > What driver does the card use?  Is it a PCMCIA-on-PCI wireless card at
> > all?  Is there an "unknown device" listed in hal-device-manager?
> > 
> > Dan
> > 
> > 
> > 
> > On Tue, 2004-11-02 at 11:23 -0800, Joe Barnett wrote:
> > > On Tue, 02 Nov 2004 14:18:00 -0500, Dan Williams <dcbw redhat com> wrote:
> > > > On Tue, 2004-11-02 at 11:14 -0800, Joe Barnett wrote:
> > > > > interface, just about my wireless interface).  I'm using ndiswrapper
> > > > > for the driver, do I have to do anything to make NM know about the
> > > > > interface?
> > > >
> > > > If HAL doesn't know about the interface, then NetworkManager won't.
> > > > What's the interface name, and what are the contents of:
> > > > /sys/class/net/<interface name>
> > > > /sys/class/net/<interface name>/type
> > > >
> > > > You'll need to have a /sys/class/net/<interface name> for it to work.
> > > > If you don't, your network driver is busted and should be fixed.
> > > >
> > > > DAn
> > > >
> > >
> > > it's wlan0:
> > > $ ls /sys/class/net/wlan0/
> > > address   broadcast  flags    iflink  statistics    type
> > > addr_len  features   ifindex  mtu     tx_queue_len  wireless
> > > $ cat /sys/class/net/wlan0/type
> > > 1
> > >
> > > the PCI information about the card shows up in the hal device manager
> > > thingy, for whatever that is worth.
> > >
> > > -Joe
> > >
> > >
> > > >
> > > _______________________________________________
> > > 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




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