[ILUG] (no subject)

Dave Airlie airlied at csn.ul.ie
Mon Nov 20 16:28:59 GMT 2000


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






More information about the ILUG mailing list