Re: sending raw packets via PPP

From: James Carlson
Date: Mon Aug 06 2007 - 19:30:45 EST


Kevin K writes:
> Is it possible to send raw packets via ppp under Linux?
>
> More specifically, in 2.4 series kernels such as RH's 2.4.21-47 kernel?
>
> I've trying to modify the DHCP 3.0.1 code provided with RH 3 so I can
> send requests via a PPP connection (standard RS-232), and it is just
> being dropped by the stack according to ifconfig and debug statements
> in ppp_generic.c.

I'm not sure what sort of "raw" packets you're talking about (IP raw
or something else), but you shouldn't need to send any raw packets to
do this. DHCP runs over UDP, and, unlike Ethernet, there's no link
layer addressing to worry about.

--
James Carlson 42.703N 71.076W <carlsonj@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/