Main index | Section 4 | Options |
uhso_load="YES"
Establishing a connection on the packet interface is achieved by using the proprietary AT commands "AT_OWANCALL" and "AT_OWANDATA" on any of the available serial ports.
The network interface must be configured manually using the data obtain from these calls.
Each device usually have at least two or more serial ports, their individual purpose can be identified through sysctl(8). Ports identified as "Modem" features a normal modem interface that can be used with PPP. Ports identified as "Diagnostic" uses a proprietary binary interface used for firmware upgrades, this port does not have a AT command interface and can not be used to control the device. Other ports features an AT command interface that can be used for normal device control.
The device features a mass storage device referred to as "Zero-CD" which contains drivers for Microsoft Windows; this is the default mode for the device. The uhso driver automatically switches the device from "Zero-CD" mode to modem mode. This behavior can be disabled by setting hw.usb.uhso.auto_switch to 0 using sysctl(8).
/dev/cuaU?.? | |
AT+CGDCONT=1,,"apn.provider" AT_OWANCALL=1,1,1 OK _OWANCALL=1,1AT_OWANDATA=1 _OWANDATA: 1, 10.11.12.13, 0.0.0.0, 10.2.3.4, 10.2.3.5, \ 0.0.0.0, 0.0.0.0, 72000
Configuring the interface
ifconfig uhso0 10.11.12.13 up route add default -interface uhso0 echo "nameserver 10.2.3.4" > /etc/resolv.conf echo "nameserver 10.2.3.5" >> /etc/resolv.conf
The connection can be terminated with
AT_OWANCALL=1,0,1
UHSO (4) | July 20, 2010 |
Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Computer science would have progressed much further and faster if all of the time and effort that has been spent maintaining and nurturing Unix had been spent on a sounder operating system. | ” |
— The Unix Haters' handbook |