<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Minicom</id>
	<title>Maemo Leste Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://leste.maemo.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Minicom"/>
	<link rel="alternate" type="text/html" href="https://leste.maemo.org/Special:Contributions/Minicom"/>
	<updated>2026-06-05T12:33:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=415</id>
		<title>Status/USB Peripheral</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=415"/>
		<updated>2019-09-21T11:58:49Z</updated>

		<summary type="html">&lt;p&gt;Minicom: enable iptables note&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Currently, devices that are supported by Maemo Leste will automatically set up USB networking if you plug them into a PC.&lt;br /&gt;
Mass Storage may show as an option, but doesn&#039;t do anything useful yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Share PC network with Leste device ==&lt;br /&gt;
&lt;br /&gt;
To also have the devices use your PC network, log into the devices:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ifconfig usb0 up 192.168.42.1&lt;br /&gt;
ssh root@192.168.42.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default password is &amp;lt;code&amp;gt;toor&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
And then add the following route on the device:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip route add default via 192.168.42.1&lt;br /&gt;
# if this fails, first run ip route del default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On your PC, issue:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# (Maybe only one of these two echos is necessary)&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/conf/usb0/forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
iptables -A POSTROUTING -t nat -s 192.168.42.2/32 -j MASQUERADE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that forwarding is also allowed within iptables itself, enable it with &amp;lt;code&amp;gt;iptables --policy FORWARD ACCEPT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now your Leste device should be able to use your PC network&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* The default IP address is configured in &amp;lt;code&amp;gt;/usr/sbin/pcsuite-enable.sh&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Minicom</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=414</id>
		<title>Status/USB Peripheral</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=414"/>
		<updated>2019-09-20T23:47:08Z</updated>

		<summary type="html">&lt;p&gt;Minicom: add default config file&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Currently, devices that are supported by Maemo Leste will automatically set up USB networking if you plug them into a PC.&lt;br /&gt;
Mass Storage may show as an option, but doesn&#039;t do anything useful yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Share PC network with Leste device ==&lt;br /&gt;
&lt;br /&gt;
To also have the devices use your PC network, log into the devices:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ifconfig usb0 up 192.168.42.1&lt;br /&gt;
ssh root@192.168.42.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default password is &amp;lt;code&amp;gt;toor&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
And then add the following route on the device:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip route add default via 192.168.42.1&lt;br /&gt;
# if this fails, first run ip route del default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On your PC, issue:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# (Maybe only one of these two echos is necessary)&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/conf/usb0/forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
iptables -A POSTROUTING -t nat -s 192.168.42.2/32 -j MASQUERADE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now your Leste device should be able to use your PC network&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* The default IP address is configured in &amp;lt;code&amp;gt;/usr/sbin/pcsuite-enable.sh&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Minicom</name></author>
	</entry>
	<entry>
		<id>https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=413</id>
		<title>Status/USB Peripheral</title>
		<link rel="alternate" type="text/html" href="https://leste.maemo.org/index.php?title=Status/USB_Peripheral&amp;diff=413"/>
		<updated>2019-09-20T21:41:28Z</updated>

		<summary type="html">&lt;p&gt;Minicom: add default password&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Currently, devices that are supported by Maemo Leste will automatically set up USB networking if you plug them into a PC.&lt;br /&gt;
Mass Storage may show as an option, but doesn&#039;t do anything useful yet.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Share PC network with Leste device ==&lt;br /&gt;
&lt;br /&gt;
To also have the devices use your PC network, log into the devices:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ifconfig usb0 up 192.168.42.1&lt;br /&gt;
ssh root@192.168.42.2&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default password is &amp;lt;code&amp;gt;toor&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
And then add the following route on the device:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ip route add default via 192.168.42.1&lt;br /&gt;
# if this fails, first run ip route del default&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On your PC, issue:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# (Maybe only one of these two echos is necessary)&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/conf/usb0/forwarding&lt;br /&gt;
echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
&lt;br /&gt;
iptables -A POSTROUTING -t nat -s 192.168.42.2/32 -j MASQUERADE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now your Leste device should be able to use your PC network&lt;/div&gt;</summary>
		<author><name>Minicom</name></author>
	</entry>
</feed>