-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
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
pktplsmobil: init location #1113
base: main
Are you sure you want to change the base?
Conversation
This integrated LTE modem is a little different from usual LTE modems on a USB stick. It needs to be configured over CDC-WDM, including the provider-specific APN and PDPType options. In addition it can't have a macvlan bridge around it, which is why we use tunspace's |
Nice one 💯 |
# assignments: | ||
# pktplsmobil-core: 1 | ||
|
||
- vid: 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean 41
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I think this is on purpose, the switch is a little weird. I'll check to make sure what I was doing there
location__wireless_profiles__to_merge: | ||
- name: pktplsmobil | ||
devices: | ||
- radio: 11g_standard | ||
legacy_rates: false | ||
country: DE | ||
ifaces: | ||
- mode: ap | ||
ssid: berlin.freifunk.net | ||
encryption: none | ||
network: dhcp | ||
radio: [11g_standard] | ||
ifname_hint: ff | ||
owe_transition_ifname_hint: ffowe | ||
- mode: ap | ||
ssid: berlin.freifunk.net OWE | ||
hidden: true | ||
encryption: owe | ||
network: dhcp | ||
radio: [11g_standard] | ||
ifname_hint: ffowe | ||
owe_transition_ifname_hint: ff | ||
ieee80211w: 2 | ||
- mode: mesh | ||
mesh_id: Mesh-Freifunk-Berlin | ||
radio: [11g_standard] | ||
mcast_rate: 12000 | ||
mesh_fwding: 0 | ||
ifname_hint: mesh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the difference to the normal profile? Or do you just want to have this to change options for testing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 11a_standard radio doesn't exist, this device is 2.4 GHz only. But I think the templates should actually handle that fine...
{% if 'wwan' in network %} | ||
config interface 'wwan' | ||
{% set wwan = network['wwan'] %} | ||
option proto '{{ wwan['proto'] }}' | ||
option device '{{ wwan['device'] }}' | ||
option apn '{{ wwan['apn'] }}' | ||
option pdptype '{{ wwan['pdptype'] }}' | ||
{% endif %} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be nice to document this in the DEVELOPER.md
as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
No description provided.