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!
PPP and Red Pitaya
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: PPP and Red Pitaya
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:
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
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
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
-
- Posts: 799
- Joined: Sat May 23, 2015 5:22 pm
Re: PPP and Red Pitaya
Looks like the Alpine Linux instructions aren't very up-to-date.
I think that should be replaced with .
I think that
Code: Select all
modprobe ppp
Code: Select all
modprobe ppp_async
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 23 guests