Re: Getting MAC address?

2004-06-25 Thread Dmitry Morozovsky
On Sat, 26 Jun 2004, Ivan Voras wrote: IV> How to get the MAC address for an (ethernet) interface? The linux code IV> does this: IV> retval = ioctl(thisint->sockInt, SIOCGIFHWADDR, &ifr); IV> IV> After some searching, I found SIOCSIFLLADDR ioctl, but it appears there IV> isn't a "GET" counterp

Re: /bin/ls sorting bug?

2004-06-25 Thread Tim Kientzle
At 10:48 AM +1000 6/22/04, Greg Black wrote: The output of ls has never been good for reproduceable output for identical data. It frequently leads to gigantic "diffs" in periodic reports ... man 1 diff: -b Ignore changes in amount of white space. _

RE: amd/autofs on BSD (was Re: waiting on sbwait)

2004-06-25 Thread jhanna
On 25-Jun-2004 Brandon D. Valentine wrote: > On Fri, Jun 25, 2004 at 02:43:03PM +0300, Danny Braniss wrote: >> I understand, but the problem is that all access via amd are now stalled, till >> the one process failes/times-out. I guess it's because the single thread amd. > > This is an excellent o

Getting MAC address?

2004-06-25 Thread Ivan Voras
How to get the MAC address for an (ethernet) interface? The linux code does this: retval = ioctl(thisint->sockInt, SIOCGIFHWADDR, &ifr); After some searching, I found SIOCSIFLLADDR ioctl, but it appears there isn't a "GET" counterpart. (I've got interface name & index available...) -- What par

Re: amd/autofs on BSD (was Re: waiting on sbwait)

2004-06-25 Thread Don Lewis
On 25 Jun, Brandon D. Valentine wrote: > On Fri, Jun 25, 2004 at 02:43:03PM +0300, Danny Braniss wrote: >> I understand, but the problem is that all access via amd are now stalled, till >> the one process failes/times-out. I guess it's because the single thread amd. > > This is an excellent opport

Re: Setting Standby Mode for ATA Disks

2004-06-25 Thread Ion-Mihai Tetcu
On Fri, 25 Jun 2004 23:07:21 +0200 Arne Schwabe <[EMAIL PROTECTED]> wrote: > Ion-Mihai Tetcu <[EMAIL PROTECTED]> writes: > > > On Fri, 25 Jun 2004 18:51:06 +0200 > > Arne Schwabe <[EMAIL PROTECTED]> wrote: > > > >> Hi, > >> > >> is there a way to set the standby mode for ATA Disks > > > > [ ...

Re: PF_PACKET

2004-06-25 Thread Julian Elischer
check out netgraph and the ng_etf node man ng_etf On Fri, 25 Jun 2004, Ivan Voras wrote: > I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get > relevant packets (of appropriate ethernet type). I looked around in > /usr/include and can't find the support, at least not unde

amd/autofs on BSD (was Re: waiting on sbwait)

2004-06-25 Thread Brandon D. Valentine
On Fri, Jun 25, 2004 at 02:43:03PM +0300, Danny Braniss wrote: > I understand, but the problem is that all access via amd are now stalled, till > the one process failes/times-out. I guess it's because the single thread amd. This is an excellent opportunity to ask: Is anyone working on or does any

Re: PF_PACKET

2004-06-25 Thread Lev Walkin
Ivan Voras wrote: Lev Walkin wrote: Ivan Voras wrote: I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get relevant packets (of appropriate ethernet type). I looked around in /usr/include and can't find the support, at least not under that and similar names. Is there support for i

Re: PF_PACKET

2004-06-25 Thread Ivan Voras
Lev Walkin wrote: Ivan Voras wrote: I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get relevant packets (of appropriate ethernet type). I looked around in /usr/include and can't find the support, at least not under that and similar names. Is there support for it in FreeBSD? (I

Re: PF_PACKET

2004-06-25 Thread Lev Walkin
Ivan Voras wrote: I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get relevant packets (of appropriate ethernet type). I looked around in /usr/include and can't find the support, at least not under that and similar names. Is there support for it in FreeBSD? (I only need to catch

Re: Setting Standby Mode for ATA Disks

2004-06-25 Thread Ion-Mihai Tetcu
On Fri, 25 Jun 2004 18:51:06 +0200 Arne Schwabe <[EMAIL PROTECTED]> wrote: > Hi, > > is there a way to set the standby mode for ATA Disks [ ... ] > I googled but I did not found anything like this for FreeBSD :/ I think sysutils/ataide -- IOnut Unregistered ;) FreeBSD "user" ___

PF_PACKET

2004-06-25 Thread Ivan Voras
I'm trying to port open1x xsupplicant, and it uses PF_PACKET to get relevant packets (of appropriate ethernet type). I looked around in /usr/include and can't find the support, at least not under that and similar names. Is there support for it in FreeBSD? (I only need to catch & send a few pack

Re: waiting on sbwait

2004-06-25 Thread Don Lewis
On 24 Jun, Danny Braniss wrote: > found the cause: NFS/amd > a user had several symlinks to /net/host/xyz, and host was down. > doing ls -F /net/host/xyz does the trick, the machine becomes > unresponsive. /net is evil. A fun trick is to attempt to access /net/nonexistenthost and watch amd wedge

Re: Setting Standby Mode for ATA Disks

2004-06-25 Thread Markie
- Original Message - From: "Arne Schwabe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 5:51 PM Subject: Setting Standby Mode for ATA Disks | Hi, | | is there a way to set the standby mode for ATA Disks | | Under linux hdparm -S seems to work: | |-S

Setting Standby Mode for ATA Disks

2004-06-25 Thread Arne Schwabe
Hi, is there a way to set the standby mode for ATA Disks Under linux hdparm -S seems to work: -S Set the standby (spindown) timeout for the drive. This value is used by the drive to determine how long to wait (with no disk activity) before turning of

Re: using netgraph to connect 2 physical interfaces into one virtual interface

2004-06-25 Thread Sven Willenberger
On Thu, 2004-06-24 at 09:33 -0500, Dan Nelson wrote: > In the last episode (Jun 23), Sven Willenberger said: > > I am having a lot of trouble trying to make the following work (after > > some exhaustive googling etc) > > > > Goal: 2 interfaces (em0 and em1) to be "combined" or bonded into one > >

Re: waiting on sbwait

2004-06-25 Thread Danny Braniss
> On Fri, Jun 25, 2004 at 09:17:01AM +0300, Danny Braniss wrote: > > it's definetly NFS related, i/you can cause this to happen at will, > > ie: ls /net/host where host is down. the /net is a amd trigger which will > > try and mount via nfs all of host's exports. > > In that case, the "sbwait" is

Re: waiting on sbwait

2004-06-25 Thread David Malone
On Fri, Jun 25, 2004 at 09:17:01AM +0300, Danny Braniss wrote: > it's definetly NFS related, i/you can cause this to happen at will, > ie: ls /net/host where host is down. the /net is a amd trigger which will > try and mount via nfs all of host's exports. In that case, the "sbwait" is the kernel w

Re: keyboard for a blade

2004-06-25 Thread Danny Braniss
> > On Fri, Jun 11, 2004 at 12:04:45PM +0300, Danny Braniss wrote: > > > > > Somehow the keyboard (USB/PS2) is rerouted, but gets lost to freebsd, > > > btw, im running current, since on stable the bge doesn't work. with the latest -current the keyboard now works!!! now if only the bge worked