File: setup-server.html

package info (click to toggle)
anyremote 6.7.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,524 kB
  • sloc: ansic: 16,504; sh: 4,469; python: 111; makefile: 56
file content (232 lines) | stat: -rw-r--r-- 10,116 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>

	<title>anyRemote &middot; Control your computer with your phone</title>

	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="anyRemote project page - Bluetooth remote control tool" />

	<link rel="stylesheet" href="data/master.css" type="text/css" media="all" title="Default Style" charset="utf-8" />
	<script src="data/effects.js" type="text/javascript" charset="utf-8"></script>

	<link rel="alternate" title="Feed" href="data/feed.xml" type="application/rss+xml" />

	<link rel="icon" href="data/logo-favicon.png" type="image/png" />
	<link rel="shortcut icon" href="data/logo-favicon.png" type="image/png" />

</head>

<body id="docs">

	<a class="skip" name="top">&nbsp;</a>
	<a class="skip" href="#content">Skip to content</a>

	<div id="head">
		<div id="logo">
			<h1><a href="index.html"><img src="data/logo-head.png" alt="logo" /> anyRemote</a></h1>
		</div>
		<div id="navigation"><div class="padding">
			<a href="index.html"><span>About</span></a>
			<a href="frontend.html"><span>Screenshots</span></a>
			<a href="dload.html"><span>Download</span></a>
			<a href="docs.html" class="active"><span>Documentation</span></a>
			<a href="faq.html"><span>FAQ</span></a>
			<a href="contacts.html"><span>Contact</span></a>
			<a href="thanks.html"><span>Special Thanks</span></a>
		</div></div>
	</div>

	<div id="sidebar"><div class="padding">
		<dl class="info">
			<dt>Information</dt>
			<dd>
				<p>Please use the two sidebar boxes below to browse through the anyRemote Documentation!</p>
			</dd>
		</dl>
		<dl class="docs">
			<dt>Documentation</dt>
			<dd>
				<ul>
					<li><a href="pre-setup.html">Before install</a></li>
					<li><a href="pre.html">Software prerequisites</a></li>
					<li><a href="install.html">Compilation and installation</a></li>
					<li><a href="mode.html">Which mode to choose ?</a></li>
					<li><strong>Setup</strong>
						<ul>
							<li><a href="setup-at.html">Setup: AT mode</a>
								<ul>
									<li><a href="event.html">Event reporting</a></li>
									<li><a href="ckpd-emulation.html">Keypad emulation events</a></li>
								</ul>
							</li>
							<li><a href="setup-server.html">Setup: Server mode</a></li>
						</ul>
					</li>
					<li><a href="use.html">How to use anyRemote</a>
						<ul>
							<li><a href="android-client.html">Android Client</a></li>
							<li><a href="use-jc.html">J2ME Client</a></li>
							<li><a href="web.html">Web Interface</a></li>
							<li><a href="cm-xml.html">XML Services Interface</a></li>
							<li><a href="cfg-howto.html">How to create simple configuration file</a></li>
							<li><a href="bemused.html">Bemused Support</a></li>
							<li><a href="iviewer.html">Command Fusion iViewer support</a></li>
						</ul>
					</li>
					<li><a href="devices.html">Tested devices</a></li>
					<li><a href="phones.html">Phone specific details</a></li>
					<li><a href="tips-tricks.html">Tips &amp; tricks</a></li>
					<li><a href="man.html">Man page</a></li>
				</ul>
			</dd>
		</dl>
		<dl class="docs-advanced">
			<dt>Advanced</dt>
			<dd>
				<ul>
					<li><a href="http://elpraga.bshellz.net/HOWTOstartanyRemoteatboottime.html">miniHOWTO: start anyRemote at boot time and create a multimedia computer</a> (externally maintained)</li>
					<li><strong>Format of configuration files</strong>
						<ul>
							<li><strong>Server mode</strong>
								<ul>
									<li><a href="conf-server.html">Configuration file format</a></li>
									<li><a href="conf-server-ex.html">Configuration file examples</a></li>

									<li><a href="set.html">Set(...) / ExecAndSet(...) commands</a></li>
									<li><a href="set-fm.html">Set(filemanager ... ) command</a></li>
									<li><a href="set-icons.html">Set(icons ...) command and available icon set</a></li>
									<li><a href="set-list.html">Set(list ... ) and Set(iconlist ... ) commands</a></li>
									<li><a href="set-menu.html">Set(menu ... ) command</a></li>
									<li><a href="set-parameter.html">Set(parameter, ... ) commands</a></li>
									<li><a href="set-text.html">Set(text ... ) command</a></li>
									<li><a href="set-window.html">Set(image ... ) command</a></li>
								</ul>
							</li>
							<li><strong>AT mode</strong>
								<ul>
									<li><a href="conf-at.html">Configurational file format</a></li>
									<li><a href="conf-at-ex.html">Configurational file examples</a></li>
								</ul>
							</li>
							<li><strong>Common</strong>
								<ul>
									<li><a href="make.html">Make(...) command</a></li>
									<li><a href="emulate.html">Emulate(...) command</a></li>
									<li><a href="dbus.html">Dbus(...) command</a></li>
									<li><a href="vars.html">Variable substitution</a></li>
									<li><a href="ev-handlers.html">Event handlers</a></li>
									<li><a href="icon-themes.html">Icon themes for J2ME client</a></li>
								</ul>
							</li>
						</ul>
					</li>
				        <li><a href="ir.html">anyRemote and InfraRed</a></li>
				</ul>
			</dd>
		</dl>
		<dl class="contact">
			<dt>Contact</dt>
			<dd>
				<p>We will be pleased for any questions, suggestions, patches and examples of configuration files!</p>
				<ul>
					<li>Post in the <a href="http://sourceforge.net/forum/?group_id=162923">Forum</a></li>
					<li>Please, send e-mails to  <a href="mailto:anyremote&#64;mail&#46;ru">anyremote&#64;mail&#46;ru</a></li>
				</ul>
			</dd>
		</dl>
		<dl class="help">
			<dt>Project needs help!</dt>
			<dd>Help us to fix any misprintings, syntax and stylistic errors in documentation. Send Your corrections to <a href="mailto:anyremote&#64;mail&#46;ru">anyremote@mail.ru</a></dd>
		</dl>
		<!--HOSTINGLOGO-->
	</div></div> <!-- sidebar -->

	<div id="content"><div class="padding">

		<a class="skip" name="content">&nbsp;</a>

	<h1>Setup anyRemote to work in Server mode</h1>

	<ul>
		<li>Be sure what bluetooth subsystem is working.</li> 
		<li>Page and inquiry scan must be enabled on bluetooth interface. This can be done by command:
		<pre>hciconfig hci0 piscan</pre></li>
		<li>It is suggested to pair Your bluetooth phone with PC before.</li>
		<li>If You plan to connect to the phone over bluetooth, verify from phone specifications is Your phone <a href="http://jcp.org/en/jsr/detail?id=82">JSR-82</a>-capabled or not.</li>
	</ul>
	<p>You need to install anyRemote client on Your phone.<p>
	<p>If You have Android phone, it needs to upload <strong>*.apk</strong> file to it.<p>
	<p>If You have J2ME phone, it is possible to use</p>
	<ul>
		<li>GUI frontend or <b>KDEbluetooth</b> or <b>gnome-obex-send</b> (be sure that <a href="dload.html">anyremote-J2ME-client</a> package is already installed) or</li>
		<li>through WAP from <a href="dload.html">download</a> area.</li>
	</ul>

	<h2>Supported hardware</h2>

	<p>Cell phones known to work:</p>
	<ul>
		<li>BenqSiemens EL71, S68</li>
		<li>Motorola  phones <a href="devices.html">(details)</a></li>
		<li>Nokia Series40 and Series60 phones <a href="devices.html">(details)</a></li>
		<li>Samsung SGH-D900,SGH-E590,SGH-L870,SGH-G600,SGH-U600</li>
		<li>Siemens S65</li>
		<li>SonyEricsson phones <a href="devices.html">(details)</a></li>
		<li>some of <a href="http://www.microsoft.com/windowsmobile/en-us/default.mspx">WinMobile</a> devices with installed Esmertec Jeodek midlet manager</li>
	</ul>
	<p>Cell phones known <strong>not</strong> to work:</p>
	<ul>
		<li>Nokia 6310i</li>
	 	<li>Philips Xenium 9@9W (at least in Server mode)</li>
		<li>Samsung S300</li>
		<li>Samsung <a href="phones.html#E780">SGH-E780</a></li>
		<li>Samsung <a href="phones.html#X820">SGH-X820</a>, SGH-E840</li>
	</ul>
	<p>Some phone-specific details described <a href="phones.html">here</a>.</p>

		<h2>Starting anyRemote</h2>
		
		<h3>Bluetooth connection</h3>
	<ul>
		<li>Run anyRemote with <code>-s bluetooth:XX</code> command line option, where <strong>XX</strong> is a channel number. 
		Default channel is 19. You could choose other bluetooth channel instead of 19.
		(<i>Alternatively it is possible to add command
		<pre>Make(var,Device,by_value,bluetooth:XX);</pre>
		to the <code>(Init)= ...</code> command sequence.</i>)
		</li>
		<li>So, run <code>anyremote -f .../some_cfg_file.cfg -s bluetooth:XX</code></li>
		<li>Run the client in the phone.</li>
		<li>Start search in the client. Then connect to anyRemote server when it found.</li>
		<li>See examples in cfg-data/Server-mode and cfg-data/Bemused-emulation directories to understand 
		how to write custom-made configuration files.</li>
	</ul>

	<h3>Network connection</h3>
	
	<p>anyRemote can accept incoming connection from network, so if You start it with <code>-s tcp:5197</code> command line option it will be 
	possible to connect to anyRemote from phone through GPRS or Wi-Fi connection.</p>
	<pre>anyremote -f .../some_cfg_file.cfg -s tcp:5197</pre>
	<p>You can choose another port then 5197.</p>
	<p>If You plan to connect to anyRemote through network, then it needs to manually specify address to connect in 
	the client. It should be in form <code>socket://_your_ip_address_:_port_</code>. Be sure You have run anyRemote with <code>-s tcp:_port_</code> in this case.</p>

	<h3>IR connection</h3>

	<p>anyRemote can work through IR connection if java realization in cell phone support access to IR port. In this case start 
	anyRemote with <code>-s local:/dev/ircommX</code> command line option, where <code>/dev/ircommX</code> is device corresponding to 
	IR adapter of PC.</p>
	<pre>anyremote -f .../some_cfg_file.cfg -s local:/dev/ircomm0</pre>
	<p>If java realization in cell phone supports access to IR port, then after search process there will be found 
	peer with name like <code>comm:IR0</code></p>

	</div></div> <!-- content -->

	<div id="foot">
		<p>Maintained by <a href="mailto:anyremote&#64;mail&#46;ru">anyRemote</a>. Website by <a href="http://www.martinlettner.info">m.lettner</a>.</p>
	</div>

</body>
</html>