PPP and Red Pitaya

Applications, development tools, FPGA, C, WEB
Post Reply
queissman
Posts: 3
Joined: Wed Mar 15, 2017 11:07 am

PPP and Red Pitaya

Post by queissman » Mon Mar 05, 2018 9:28 pm

I need to conect to the RP via a radio transmitter which has an UART interface and use ssh. So basically I need to communicate with the RP using ssh via the UART port. To that end there is the ppp protocol. A ppp daemon is running on the RP and the host side. Once they have done their handshake one can use ssh, scp ping etc.. This is how it should be.

Now, ppp on the host PC (Ubuntu) works, the ppp deamon is running, no problem. But, I cannot get it to work on the RP side, as upon starting the ppp daemon on the RP it "cannot find the /dev/ppp" node, even though I created it and set permissions to 600. The second error message is "please load ppp_generic kernel module". To solve this I already put "alias char-major-108 ppp_generic" into the /etc/modprobe.d/modules.conf. I also created a /etc/modules.conf just in case it is looking there for the module.

Has anyone have had this issue and solved it? Thanks!

pavel
Posts: 516
Joined: Sat May 23, 2015 5:22 pm

Re: PPP and Red Pitaya

Post by pavel » Mon Mar 05, 2018 10:02 pm

If you're using the SD card image from

http://redpitaya.readthedocs.io/en/late ... Dcard.html

then the Linux kernel on this SD card image doesn't have the PPP drivers enabled.

I can think of at least two solutions:
  • enable the required drivers, rebuild Linux kernel and copy it to your SD card
  • try the SD card image based on Alpine Linux with the PPP drivers already enabled
The SD card image based on Alpine Linux can be downloaded from

http://pavel-demin.github.io/red-pitaya-notes/alpine

The Alpine Linux documentation can be found at

https://wiki.alpinelinux.org/wiki/Using_serial_modem

pavel
Posts: 516
Joined: Sat May 23, 2015 5:22 pm

Re: PPP and Red Pitaya

Post by pavel » Mon Mar 05, 2018 10:15 pm

Looks like the Alpine Linux instructions aren't very up-to-date.

I think that

Code: Select all

modprobe ppp
should be replaced with

Code: Select all

modprobe ppp_async
.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 9 guests