open operstate file failed

Started by dave-at-axon, February 26, 2014, 09:38:41 AM

Previous topic - Next topic

dave-at-axon

I've created a custom build for Android and using the existing libsoftwinner-ril.so file for a GPRS connection.

Looking at the logcat output for the radio, I can see that it attempts to dial up a PPP connection but it fails with this error:

open operstate file failed

Looking into the code, this appears because there is no entry in /sys/class/net/ for ppp0 which with the default image, appears when the dial up starts.

I have PPP compiled into the kernel and I can see a CONNECT appear in the debug as I enabled PPP debugging.

Anyone else experience this issue?

dave-at-axon

Fixed. It was stupid me moment.

In configuring the system I thought that "chat" in the configuration mk files was a chat programme like WhatsApp  but was in fact the PPP chat.

Now I have PPP working with my custom build.

I'll need to get SMS working now and then I will update the files on Google drive.

codifies

if you've been keeping notes as you go - they'd go great on the wiki I bet ! ;) its valuable stuff all said and done...

dave-at-axon

Hey there.

I have a blog where I am trying to keep it all updated. It's a great place for me to look back on too! :)

http://axonjakarta.wordpress.com/