Re: Aironet 32-bit CardBus Adapter not attached

2005-07-19 Thread Grigory Klyuchnikov

Hello,

To activate Cisco Aironet 1200 32-bit CardBus Adaptor you need to load 
if_ath driver

(Atheros 5212), for this type the command:

# kldload if_ath

after this you see some messages at the console and network interface 
ath0 or ath1

into the system, then ifconfig ath0 up and yuor card works.

Thanks.

Grigory.

Grigory Klyuchnikov wrote:


Hello,

I have Cisco Aironet 32-bit CardBus Adaptor AIR-CB21AG-A-K9.
When I attach it to the notebook with FreeBSD 5.4, the following
message appears on the console:

kernel: cardbus0: network, ethernet at device 0.0 (no driver attached)

The kernel config has options:

# PCMCIA and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus
...

# Wireless NIC cards
device  wlan# 802.11 support
device  an  # Aironet 4500/4800 802.11 wireless NIC
device  awi # BayStack 660 and others
device  wi  # WaveLAN/Intersil/Symbol 802.11
Does it means, that FreeBSD has not support of Aironet 32-bit cardbus 
adapter? And what can I resolve the problem? Maybe anyone has any 
experience with such adapter... Please, tell me any points to docs or

some examples...

Thanks.

PS: But Aironet 16-bit pccard works OK.

Regards,
Grigory Klyuchnikov, System Engineer,
Institute for System Programming
Russian Academy of Sciences
[EMAIL PROTECTED]





--

Grigory Klyuchnikov, System Engineer,
Institute for System Programming
Russian Academy of Sciences


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Aironet 32-bit CardBus Adapter not attached

2005-07-11 Thread Grigory Klyuchnikov

Hello,

I have Cisco Aironet 32-bit CardBus Adaptor AIR-CB21AG-A-K9.
When I attach it to the notebook with FreeBSD 5.4, the following
message appears on the console:

kernel: cardbus0: network, ethernet at device 0.0 (no driver attached)

The kernel config has options:

# PCMCIA and cardbus bridge support
device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus
...

# Wireless NIC cards
device  wlan# 802.11 support
device  an  # Aironet 4500/4800 802.11 wireless NIC
device  awi # BayStack 660 and others
device  wi  # WaveLAN/Intersil/Symbol 802.11 


Does it means, that FreeBSD has not support of Aironet 32-bit cardbus adapter? 
And what can I resolve the problem? Maybe anyone has any experience with such 
adapter... Please, tell me any points to docs or
some examples...

Thanks.

PS: But Aironet 16-bit pccard works OK.

Regards,
Grigory Klyuchnikov, System Engineer,
Institute for System Programming
Russian Academy of Sciences
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installation of sendmail milters, security questions

2004-10-18 Thread Grigory Klyuchnikov
Gary Aitken wrote:
Hello all,
Searches on freebsd.org, google and sendmail.org didn't really resolve
this to my satisfaction; probably my lack of brain cells...
Trying to install milter-greylist.
After configuring sendmail, and without the milter-greylist daemon
running, maillog contains messages of the type:
sm-mta[59533]: i9H12H4P059533: Milter (greylist): local socket name 
/var/milter-greylist/milter-greylist.sock unsafe

From what I've been able to dig up, this is because sendmail thinks
it's unsafe to read/write that socket.
Since milter-greylist was not actually running when I did this,
(I hadn't started it manually or configured a script to auto start it)
I assumed it had something to do with directory prermissions /
ownership.
Upon checking, I discovered /var/milter-greylist was owned by smmsp,
so I changed it to root.  Unfortunately, that didn't solve the
problem.
I'm at a loss to understand what else is causing sendmail to think
that socket is unsafe.  Can someone hand me a clue?
May be http://www.milter.org/ can help you
Best regards,
Grigory Klyuchnikov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Set IPv6 address on the interface

2004-10-14 Thread Grigory Klyuchnikov
Hello,
I'd like to set an IPv6 address to the ethernet interface from a user 
process,
but I don't understand which system call may be used. For getting 
information
about interfaces and addresses there are some methods: ioctl (with 
SIOCGIFCONF),
sysctl (witch NET_RT_IFLIST), AF_ROUTE socket, getifaddrs(). I've tried 
ioctl()
and sysctl() for this purpose. For setting an IPv4 addreess to the 
interface there is
ioctl() with  SIOCSIFADDR. How set an IPv6 address? There is SIOCSIFADDR_IN6
for setting address, but it doesen't work as say the comment in in6.c. 
And there are two
commands  SIOCDIFADDR_IN6 and SIOCAIFADDR_IN6, delete/add address
accordingly, but I've got error: Invalid argument. Or I don't know how 
use them.

My questions:
1) How can I set an IPv6 on the ethernet interface?
2) How can I get IPv6 multicast addresses from each interface?
If anyone knows something about, please, give me an answer or reference 
to it.

Best regards,
Grigory Klyuchnikov.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Get multicast addresses from interface

2004-10-14 Thread Grigory Klyuchnikov
Hello,
How can a user process get IPv6 multicast addresses of ethernet
interfaces? I have FreeBSD 5.2.1 and get interface addresses
via ioctl(SIOCGIFCONF) or sysctl(witch NET_RT_IFLIST),
but all returned addresses are unicast.
In net/if.h there is a struct ifma_msghdr:
/*
 * Message format for use in obtaining information about multicast addresses
 * from the routing socket
 */
struct ifma_msghdr {
u_short ifmam_msglen;   /* to skip over non-understood messages */
u_char  ifmam_version;  /* future binary compatibility */
u_char  ifmam_type; /* message type */
int ifmam_addrs;/* like rtm_addrs */
int ifmam_flags;/* value of ifa_flags */
u_short ifmam_index;/* index for associated ifp */
};
How it may be used?
Regards,
Grigory Klyuchnikov.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]