hsolinkcontrol - application helper to manage the Option hso interface
hsolinkcontrol [down port_num
port_num dns1 dns2 ip ]
manages the hso IP link on behalf of connection manager programs; handling the low level tasks of bringing up the link and tearing it down again.
hsolinkcontrol controls the update of the routing table, resolv.conf and calls ifconfig for hso?.
is installed it will use that program instead of directly manipulating /etc/resolv.conf.
Bring down hso[port_num] link. If resolvconf was used then also delete hso[port_num] from routing table.
E.g. hsolinkcontrol down 0
Which brings down the hso[port_num] link if it exists.
up port_num dns1 dns2 ip
Start up hso[port_num] link, calling ifconfig then updating the routing table and /etc/resolv.conf.
By the time hsolinkcontrol is called by a connection manager application the network PDP context has already been defined and started.
E.g. hsolinkcontrol up 1
unbind driver end-point
Where driver is typically the directory "/sys/bus/usb/drivers/hso/" and end-point is one of those listed in the directory. The purpose is to disconnect the driver from the end point. This may help unblock the driver (not sure if this is required).
bind driver end-point
Where driver is typically the directory "/sys/bus/usb/drivers/hso/" and end-point is one of those listed in the directory. The purpose is to re-assign the driver to the end point following a corresponding unbind.
directly manages the
file then it will create
to hold the old copy of /etc/resolv.conf which is restored when the link is brought down.
Calling the program without parameters makes it report if resolvconf is present.