我正在尝试在 pfSense 中安装 3g 调制解调器,即华为 e173,但让它通过它进行通信似乎很复杂。
在接口/接口分配/PPP中安装3g调制解调器后,
我回到接口/接口分配并添加了一个新接口,
之后,我进入状态/接口并意识到我无法连接它,因此我检查状态/系统日志/PPP 日志并发现存在此错误,但无法弄清楚原因,因为该调制解调器是兼容的:
Mar 3 15:22:40 ppp [opt5_link0] Link: reconnection attempt 7 in 1 seconds
Mar 3 15:22:41 ppp [opt5_link0] Link: reconnection attempt 7
Mar 3 15:22:56 ppp [opt5_link0] CHAT: The modem is not responding to "AT" at ModemCmd: label.
Mar 3 15:22:56 ppp [opt5_link0] MODEM: chat script failed
Mar 3 15:22:56 ppp [opt5_link0] Link: DOWN event
Mar 3 15:22:56 ppp [opt5_link0] LCP: Down event
从我插入此调制解调器时显示的 3 个接口链接(cuaU0、cuaU1 和 cuaU2)来看,关于来自 cuaU0 的错误,在 cuaU0 中有这个:
Mar 3 15:27:40 ppp [opt5_link0] Link: reconnection attempt 1 in 2 seconds
Mar 3 15:27:42 ppp [opt5_link0] Link: reconnection attempt 1
Mar 3 15:27:43 ppp [opt5_link0] CHAT: +CGDCONT=1,"IP","noapn"
Mar 3 15:27:43 ppp [opt5_link0] CHAT: Detected Hayes compatible modem.
Mar 3 15:27:43 ppp [opt5_link0] CHAT: The modem responded with "ERROR" to the command "AT&F&C1&D2E0S0=0M1" at ModemCmd: label.
Mar 3 15:27:43 ppp [opt5_link0] MODEM: chat script failed
Mar 3 15:27:43 ppp [opt5_link0] Link: DOWN event
Mar 3 15:27:43 ppp [opt5_link0] LCP: Down event
在 cua01 中:
MODEM: Fail to open serial port /dev/cuaU0 on speed 115200
在控制台中我有以下设备:
<HUAWEI Mobile HUAWEI> at usbus0, cfg=0 md=HOST spd= HIGH (480Mbps) pwr=ON (500mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x1c05
bcdDevice = 0x0102
iManufacturer = 0x0002 <HUAWEI>
iProduct = 0x0001 <HUAWEI Mobile>
iSerialNumber = 0x0000 <no string>
任何人?
答案1
检查兼容列表后(https://doc.pfsense.org/index.php/Known_Working_3G-4G_Modems)我注意到这个版本不兼容。
只是想让大家知道,这个版本是华为 E173S-1与idProduct = 0x1c05
此 idProduct 是通过控制台使用以下命令行提取的:
usbconfig dump_device_desc