that would be kmod and friends...
Dave.
On Mon, 20 Nov 2000, Paul Jakma wrote:
> On Mon, 20 Nov 2000, Mark McLoughlin wrote:
>> > But in the code I posted from set_sockopt ( where you would actually
> > bind the socket to the interface specfied by the ping -I ) it doesn't
> > try to configure the device if it's not there. It just returns EINVAL..
> >
>> i saw that.. but nevertheless it can happen. Eg, ifconfig ethx xyz etc
> up will bring up that interface if you have an alias in modules.conf.
> Looking at strace i can't see how (with eth1 aliased to dummy) i
> can't even get this case to work, but it does work - RH network init
> script depends on it iirc. And i think it's similar to ping.
>> very curious as how it works...
>> > I appreciate that, it's just that I can't see using ping to do it
> > working.....
> >
>> don't know how, but apparently ping -I /can/ cause the kernel to try
> configure the interface. And even if it can't, that's just an
> illustration of a problem in modutils - not ping.
>> > > --paulj
> >
> > Mark
>> --paulj
>>>
--
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!