We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
andres-h:
My 3g modem goes "unavailable" shortly after being plugged in. Even though the device /dev/ttyUSB* exists, "ifup" has no effect and "ifstatus" shows:
{ "up": false, "pending": false, "available": false, "autostart": true, "dynamic": false, "proto": "3g", "data": {
}, "errors": [ { "subsystem": "interface", "code": "NO_DEVICE" } ]
}
I found that this is caused by incorrect logic at
openwrt/package/network/utils/comgt/files/3g.usb
Line 17 in 7ec092e
Namely, the "add" event is followed by "bind" event, which causes:
proto_set_available "$cfg" 0
And BTW, isn't there a race condition with hotplug at
openwrt/package/network/utils/comgt/files/3g.sh
Line 38 in 7ec092e
The text was updated successfully, but these errors were encountered:
stefanct:
I just stumbled upon this report... the main problem might have been fixed by 4821ff0.
No idea about the other invocation of proto_set_available ("race"). It's still there in master but I don't know if that's a problem at all.
proto_set_available
Sorry, something went wrong.
No branches or pull requests
andres-h:
My 3g modem goes "unavailable" shortly after being plugged in. Even though the device /dev/ttyUSB* exists, "ifup" has no effect and "ifstatus" shows:
{
"up": false,
"pending": false,
"available": false,
"autostart": true,
"dynamic": false,
"proto": "3g",
"data": {
}
I found that this is caused by incorrect logic at
openwrt/package/network/utils/comgt/files/3g.usb
Line 17 in 7ec092e
Namely, the "add" event is followed by "bind" event, which causes:
proto_set_available "$cfg" 0
And BTW, isn't there a race condition with hotplug at
openwrt/package/network/utils/comgt/files/3g.sh
Line 38 in 7ec092e
The text was updated successfully, but these errors were encountered: