On 28 Jan, Robert Brockway wrote:
> Hi all.  I'm an experienced Linux user (starting in 94) and I've rtfm alot
> on this one but it really has be stumped.
> 
> I've been running diald to initate a transparent link to my isp for
> perhaps 6 months.  I've never had any problesm with it before, until I
> tried to go to a kernel past 2.2.0pre7.  Afaik, I'm using the latest
> versions of pppd (2.3.5) and diald (0.16.5).  These versions are both the
> recomended ones for running with a 2.2.0 kernel.
> 
> Anyway, when I bookup Linux using a 2.2.0pre7 kernel (and earlier) I get
> this warning in the logs:
> 
> Jan 27 03:50:59 blake kernel: diald uses obsolete (PF_INET,SOCK_PACKET)
> 
> When I bootup any kernel from 2.2.0pre8 to the new 2.2.0 release I find
> that the sl0 device that diald would normally create is not present and I
> get this in the logs:
> 
> Jan 27 04:11:03 blake modprobe: can't locate module net-pf-17
> 
> Jan 27 04:11:03 blake diald[134]: Could not get socket to do packet
> monitoring: Socket type not supported
> 
> Jan 27 04:11:03 blake diald[134]: Diald is dying with code 1
> 
> Jan 27 04:11:03 blake diald[134]: Can't set line discipline: Invalid
> argument
> 
> I've put the modprobe line in, as it does seem to be related.  I'm not
> sure what net-pf-17 is, and I didn't find it in the kernel src :(  It is
> clearly related to (PF_INET,SOCK_PACKET).
> 
> The invalid argument line never appears prior to 2.2.0pre8.
> 
> So apparently the latest version of diald is broken with a 2.2.0 kernel.
> I've visited the diald home page which doesn't mention the problem, and
> dejanews seems to indicate that no one has yet posted this same problem on
> usenet, but I find it hard to believe I am the only one experiencing this
> problem.
> 

No.  Your kernel configuration is broken with diald.  Try putting this
in /etc/conf.modules

alias net-pf-17 af_packet

And make sure you have configured the kernel to build this module.

FYI.  It is in the kernel source in include/linux/socket.h :

#define AF_PACKET       17      /* Packet family                */

-- 
----------------------
Todd J Martin
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to