RE: My wireless card activity could not berecognizedbyNetworkManager
- From: "Jihua Cheng" <jihuac marvell com>
- To: "Dan Williams" <dcbw redhat com>
- Cc: networkmanager-list gnome org
- Subject: RE: My wireless card activity could not berecognizedbyNetworkManager
- Date: Fri, 16 Feb 2007 11:25:23 -0800
Dan,
Thanks a lot.
Please find the answer bellow.
- Do you call SET_NETDEV_DEV in your driver?
My driver does not call SET_NETDEV_DEV.
- Does it show up in /proc/net/wireless?
Yes. "cat /proc/net/wireless" shows
Inter-| sta-| Quality | Discarded packets |
Missed | WE
face | tus | link level noise | nwid crypt frag retry misc |
beacon | 20
eth1: 0001 0 0 160 0 0 6128224 27 86
0
- What is the contents of /sys/class/net/ethX ? (where ethX should be
replaced with the interface name of the wireless device that is created
when you load your driver)
"ls /sys/class/net/eth1" shows
address
addr_len
broadcast
carrier
dormant
features
flags
ifindex
iflink
link_mode
mtu
operstate
statistics
subsystem
tx_queue_len
type
uevent
weight
wireles
- What is the contents of /sys/class/net/ethX/wireless? (same as above,
replace ethX as appropriate)
"ls /sys/class/net/eth1/wireless " shows
beacon
crypt
fragment
level
link
misc
noise
nwid
retries
status
- Do you implement the get_wireless_stats function in your
iw_handler_def structure? That's what actually allows the system to
create the /sys/class/net/ethX/wireless directory for you.
get_wireless_stats is implemented.
Regards,
Charles
-----Original Message-----
From: Dan Williams [mailto:dcbw redhat com]
Sent: Friday, February 16, 2007 10:47 AM
To: Jihua Cheng
Cc: networkmanager-list gnome org
Subject: RE: My wireless card activity could not
berecognizedbyNetworkManager
On Fri, 2007-02-16 at 10:26 -0800, Jihua Cheng wrote:
/> Dan,
> Thanks a lot!
>
> The card model is SD wireless card, attached into PCI card. PCI card
> provides the bridge.
>
> I wrote this driver. I can insmod my driver and it works well with
> wireless tools(iwconfig, iwlist, etc) and network command ( for
example,
> ping). I could find my driver loaded properly, by using lsmod.
>
> You mentioned "HAL doesn't appear to know about any wireless
> interfaces". How can I make HAL know my wireless interface? Some
system
> function call?
Make sure it does the right thing with sysfs.
- Do you call SET_NETDEV_DEV in your driver?
- Does it show up in /proc/net/wireless?
- What is the contents of /sys/class/net/ethX ? (where ethX should be
replaced with the interface name of the wireless device that is created
when you load your driver)
- What is the contents of /sys/class/net/ethX/wireless? (same as above,
replace ethX as appropriate)
- Do you implement the get_wireless_stats function in your
iw_handler_def structure? That's what actually allows the system to
create the /sys/class/net/ethX/wireless directory for you.
Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]