<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aramova</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Aramova"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Aramova"/>
	<updated>2026-04-15T05:57:41Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Mobilehotspot&amp;diff=8423</id>
		<title>Mobilehotspot</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Mobilehotspot&amp;diff=8423"/>
		<updated>2010-01-15T22:23:05Z</updated>

		<summary type="html">&lt;p&gt;Aramova: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== mobilehotspotd ==&lt;br /&gt;
&lt;br /&gt;
/usr/bin/mobilehotspotd is a binary service (written in c/c++ probably), introduced in 1.3.5 but undocumented.&lt;br /&gt;
&lt;br /&gt;
== logs ==&lt;br /&gt;
&lt;br /&gt;
the hotspot service seems to log to /var/log/mobilehotspotd.log&lt;br /&gt;
&lt;br /&gt;
== Service calls ==&lt;br /&gt;
&lt;br /&gt;
Watch out because the program is likely to segfault when passed bad JSON arrays.  Luna will return &amp;quot;not running&amp;quot; though a sysinfo will return valid information after a moment (upstart restarts it)&lt;br /&gt;
&lt;br /&gt;
Methods:   sysInfo clientList setDebugLevel  interfaceAdd interfaceRemove&lt;br /&gt;
&lt;br /&gt;
sysInfo&lt;br /&gt;
&lt;br /&gt;
 luna-send -n 1 palm://com.palm.mobilehotspot/sysInfo {}&lt;br /&gt;
&lt;br /&gt;
 ** Message: serviceResponse Handling: 2, { &amp;quot;returnValue&amp;quot;: true, &amp;quot;sysInfo&amp;quot;: { &amp;quot;ifbridge&amp;quot;: &amp;quot;bridge12&amp;quot;, &amp;quot;IPv4Address&amp;quot;: &amp;quot;10.1.1.11&amp;quot;, &amp;quot;IPv4Subnet&amp;quot;: &amp;quot;255.255.255.0&amp;quot;, &amp;quot;IPv4PoolStart&amp;quot;: &amp;quot;10.1.1.200&amp;quot;, &amp;quot;stateBridge&amp;quot;: &amp;quot;CREATED&amp;quot;, &amp;quot;stateIPv4&amp;quot;: &amp;quot;REMOVED&amp;quot;, &amp;quot;stateDHCPServer&amp;quot;: &amp;quot;DHCP SERVER STOPPED&amp;quot;, &amp;quot;stateBluetoothRadio&amp;quot;: &amp;quot;OFF&amp;quot;, &amp;quot;interfaces&amp;quot;: [ ] } }&lt;br /&gt;
&lt;br /&gt;
setDebugLevel&lt;br /&gt;
&lt;br /&gt;
 luna-send -n 1 palm://com.palm.mobilehotspot/setDebugLevel '{ &amp;quot;debugLevel&amp;quot;: &amp;quot;chatty&amp;quot; }'&lt;br /&gt;
&lt;br /&gt;
Options for debugLevel seem to be:&lt;br /&gt;
&lt;br /&gt;
 chatty verbose trace info notice warning assert require error critical alert emergency tragic&lt;br /&gt;
&lt;br /&gt;
interfaceAdd, interfaceRemove&lt;br /&gt;
&lt;br /&gt;
No idea!   We're probably missing very important parameters here.&lt;br /&gt;
&lt;br /&gt;
 luna-send -n 1 palm://com.palm.mobilehotspot/interfaceAdd {}&lt;br /&gt;
&lt;br /&gt;
 luna-send -n 1 palm://com.palm.mobilehotspot/interfaceRemove {}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Control of BT IP Address ==&lt;br /&gt;
&lt;br /&gt;
The mobilehotspotd binary is the source of the 10.1.1.11 IP address and subnet range used when connecting to the NAP Bluetooth Profile. This can be changed via HEX edit at address 0000a4e0 of the binary. &lt;br /&gt;
&lt;br /&gt;
Below is the Hex code for the relevant area, this sets the IP address and range. Hex in bold is the 3rd octet of the IP address, in this example 10.1.'''1'''.11 and the 2nd address shown is 10.1.'''1'''.200&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 70 61 6c 6d 2e 62 72 69 64 67 65 00 31 30 2e 31 2e '''31''' 2e 31 31 00 00 00 64 68 63 70 4f 62 6a 2d 3e 69 70 76 34 41 64 64 72 65 73 73 00 00 00 00 32 35 35 2e 32 35 35 2e 32 35 35 2e 30 00 00 00 64 68 63 70 4f 62 6a 2d 3e 69 70 76 34 53 75 62 6e 65 74 00 31 30 2e 31 2e '''31''' 2e 32 30 30 00 00 64 68 63 70 4f 62 6a 2d 3e 69 70 76 34 50 6f 6f 6c 53 74 61 72 74&lt;br /&gt;
&lt;br /&gt;
While it's not recommended adding digits to the binary, it should be moderately safe to change the highlighted digits to anywhere between 0 and 9. &lt;br /&gt;
&lt;br /&gt;
The results of changing the highlighted digits to a hex value of 39 (decimal of 9) is as follows, and any connecting clients end up with a 10.1.9.200 address.&lt;br /&gt;
&lt;br /&gt;
 palm-webos-device ~ # ifconfig&lt;br /&gt;
 bridge0   Link encap:Ethernet  HWaddr Removed&lt;br /&gt;
          inet addr:10.1.9.11  Bcast:10.1.9.255  Mask:255.255.255.0&lt;br /&gt;
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
          RX packets:118932 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
          TX packets:168603 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
          collisions:0 txqueuelen:0&lt;br /&gt;
          RX bytes:13127749 (12.5 MiB)  TX bytes:133881439 (127.6 MiB)&lt;/div&gt;</summary>
		<author><name>Aramova</name></author>
	</entry>
</feed>