Today I developed a new patch:
Description:
In some cases, the tethering via WiFi stops to deliver the DHCP service, and the reason is related to the
/etc/udhcpd.conf
file, which is replaced by usb-moded with a link pointing to a file in the temporary folder/run/usb-moded/udhcpd.conf
. The quickest solution is to create a proper file with another name and instruct theudhcpd
daemon to load the new/etc/udhcpd.tether
instead of the default one.
At the moment, I am not aware if the lack of DHCP service on the tether interface happens because I am constantly in developer mode and I do reboot in that mode or because of my attitude to change some part of the system by command line.
Because the usb-moded
is supposed to deal with the USB tethering and this is not affected by the problem but the WiFi tethering, because the USB tethering is not the only one but also the WiFi tethering uses 172.28.172.x, it seems to me a reasonable way to go about fixing the udhcpd
service to fulfill its duty on the tether
interface.
Moreover, I am quite surprised that I am the only one who is affected by this kind of problem because I suppose that many people use WiFi tethering with and without the developer mode. Possibly, I have overlooked something that is probably the root cause of the problem.
Every technical feedback is welcome.