mobilebroadband/gsm_connection test needs Access Point Name (APN)
Bug #1207179 reported by
Po-Hsu Lin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
We have to set the Access Point Name to "internet" for the
service provider Chunghwa Telecom that we used here in Taipei.
Otherwise, the connection cannot be established at all.
This could be done by modify the variable gsm_apn in plugins/
but it varies depends on different providers.
I think we could make use of the database in nm-connection-
which is: /usr/share/
affects: | checkbox → plainbox-provider-checkbox |
Changed in plainbox-provider-checkbox: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
For certification use, we can define per-satellite values for the gsm_apn, in checkbox- message/ examples/ yantok we could add:
--config= checkbox- satellite/ plugins/ preseed_ info/gsm_ apn=internet
add this to the end of CHECKBOX_OPTIONS.
Note that a few more changes would be needed for this to work, if you want to do this we can certainly work on it.
I also looked at the serviceprovider s.xml file and the information is a bit strange, for instance for Chunghwa it has this:
<apn value="emome">
<plan type="postpaid"/>
<usage type="internet"/>
<username> web</username>
<password> web</password>
</apn>
From this I infer the gsm_apn would be "emome". For example, for Bell (which is what I use in Canada), it has three different APNs (I need to use inet.bell.ca):
<apn value=" inet.bell. ca">
<plan type="postpaid"/>
<usage type="internet"/>
<name> Internet< /name>
</apn>
<apn value=" pda.bell. ca">
<plan type="postpaid"/>
<usage type="internet"/>
<name> Mobile Web</name>
</apn>
<apn value=" pda2.bell. ca">
<plan type="postpaid"/>
<usage type="internet"/>
<name> Mobile Fast Web</name>
</apn>
If we can think of a way to extract this from the gsmproviders data, it would be cool; if not, we can preconfigure this per-satellite as mentioned.
Let me know which way you prefer.
Cheers!