* PPP using char device
@ 2004-11-23 13:22 Mohan V
2004-11-23 16:10 ` James Carlson
0 siblings, 1 reply; 2+ messages in thread
From: Mohan V @ 2004-11-23 13:22 UTC (permalink / raw)
To: linux-ppp
Hello All,
Has anyone of you tried PPP over USB? I am using a usb-char device in
linux-2.4.19-rmk7-pxa1 kernel to get the PPP interface. But I am not
getting the PPP interface. The usb-char driver is closed immediately
after registering.
I use the command on the device side:
pppd passive /dev/usbchar 38400 192.168.100.1:192.168.100.2 netmask
255.255.255.0 noauth
On the host Linux(driver cdc-acm.c) I give the command:
pppd /dev/usb/acm/0 38400 192.168.100.2:192.168.100.1 netmask
255.255.255.0 noauth
Thanks in advance,
regards,
mohan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PPP using char device
2004-11-23 13:22 PPP using char device Mohan V
@ 2004-11-23 16:10 ` James Carlson
0 siblings, 0 replies; 2+ messages in thread
From: James Carlson @ 2004-11-23 16:10 UTC (permalink / raw)
To: linux-ppp
Mohan V writes:
> Has anyone of you tried PPP over USB? I am using a usb-char device in
> linux-2.4.19-rmk7-pxa1 kernel to get the PPP interface. But I am not
> getting the PPP interface. The usb-char driver is closed immediately
> after registering.
> I use the command on the device side:
> pppd passive /dev/usbchar 38400 192.168.100.1:192.168.100.2 netmask
> 255.255.255.0 noauth
>
> On the host Linux(driver cdc-acm.c) I give the command:
> pppd /dev/usb/acm/0 38400 192.168.100.2:192.168.100.1 netmask
> 255.255.255.0 noauth
Debug messages would be helpful here.
Note that 'netmask' doesn't really do much for point-to-point links.
The option is there for legacy reasons.
Also, it's not necessary to configure the IP addresses redundantly
like that. You can configure them both on one side, or one on each
side. (E.g., have "192.168.100.1:" on one system and "192.168.100.2:"
on the other.)
--
James Carlson <carlsonj@workingcode.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-23 16:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-23 13:22 PPP using char device Mohan V
2004-11-23 16:10 ` James Carlson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).