• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Network Sharing Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](errorcode-universal.md).
6
7## 2200001 Invalid Parameter Value
8
9**Error Message**
10
11Invalid parameter value.
12
13**Description**
14
15This error code is reported if the parameter value is invalid.
16
17**Cause**
18
19The input parameter value is not within the valid value range.
20
21**Procedure**
22
23Check whether the input parameter value is within the valid value range.
24
25## 2200002 Service Connection Failure
26
27**Error Message**
28
29Operation failed. Cannot connect to service.
30
31**Description**
32
33This error code is reported if a service connection failure occurs.
34
35**Cause**
36
37The service is abnormal.
38
39**Procedure**
40
41Check whether system services are running properly.
42
43## 2200003 System Internal Error
44
45**Error Message**
46
47System internal error.
48
49**Description**
50
51This error code is reported if a system internal error occurs.
52
53**Cause**
54
551. The memory is abnormal.
56
572. A null pointer is present.
58
59**Procedure**
60
611. Check whether the memory space is sufficient. If not, clear the memory and try again.
62
632. Check whether the system is normal. If not, try again later or restart the device.
64
65## 2202004 Shared Iface Unavailable
66
67**Error Message**
68
69Try to share an unavailable iface.
70
71**Description**
72
73This error code is reported if an Iface is used.
74
75**Cause**
76
77The specified Iface does not exist or the Iface name is incorrect.
78
79**Procedure**
80
811. Check whether the shared Iface is available.
82
83    ```bash
84    > ifconfig -a
85    ```
86
872. Check whether the Iface name is correct.
88
89## 2202005 Wi-Fi Sharing Failure
90
91**Error Message**
92
93WiFi sharing failed.
94
95**Description**
96
97This error code is reported if Wi-Fi sharing fails.
98
99**Cause**
100
101No connected network is available and therefore the attempt to obtain the default network fails.
102
103**Procedure**
104
105Check whether the network connection is normal.
106
107## 2202006 Bluetooth Sharing Failure
108
109**Error Message**
110
111Bluetooth sharing failed.
112
113**Description**
114
115This error code is reported if Bluetooth sharing fails.
116
117**Cause**
118
1191. Bluetooth is disabled.
120
1212. No connected network is available and therefore the attempt to obtain the default network fails.
122
123**Procedure**
124
1251. Touch the Bluetooth icon to turn on Bluetooth mode.
126
1272. Check whether the network connection is normal.
128
129## 2202009 Failed to Enable Forwarding for Network Sharing
130
131**Error Message**
132
133Network share enable forwarding error.
134
135**Description**
136
137This error code is reported if an error occurs while enabling forwarding for network sharing.
138
139**Cause**
140
141The Iptables rule setting fails and therefore an error occurs while combining Iptables commands fails.
142
143**Procedure**
144
145Enable the debug log function, and check whether Iptables commands are correctly combined.
146
147## 2202011 Failed to Obtain the Network Sharing Configuration
148
149**Error Message**
150
151Cannot get network sharing configuration.
152
153**Description**
154
155This error code is reported if an error occurs while obtaining the network sharing configuration.
156
157**Cause**
158
159The configuration file directory is incorrect.
160
161**Procedure**
162
163Specify a correct configuration file directory.
164