[vc_row][vc_column width=”1/1″][vc_column_text]
To General users , pcDuino access it remotely just through the network . In fact not, you can access it remotely via USB OTG port.
There are several USB ports on pcDuino, a microUSB for the power supply, and two ordinary USB ports can insert U disk usually, you will find there is a micro USB OTG’s not be used. In fact, this micro USB would be useful. Here we teach you how to use the USB connection and computer remote SSH to pcDuino, made it into a card for computer access.[/vc_column_text][vc_tour][vc_tab title=”Recompile the kernel:” tab_id=”1387791834-1-85″][vc_column_text]
The current version of the kernel does not have this feature, after version of the kernel should be provided, and now you need to compile it yourself.
https://github.com/pcduino/kernel
Specific methods of compile kernel , refer to:
http://cnlearn.linksprite.com/?p=1013[/vc_column_text][/vc_tab][vc_tab title=”Installing the driver for win7:” tab_id=”1387791834-2-100″][vc_column_text]
Now you put otg into your computer, the computer is responsive, but there is no driver. This driver does not need to use the wizard to install win7 drive itself comes.
Click Device Manager on the computer that has an exclamation point inside option. Right-click Update Driver Software.
Now that you’ve found the driver have been accord.
[/vc_column_text][/vc_tab][vc_tab title=”Configure the system:” tab_id=”1387793062014-2-9″][vc_column_text]
Now you put into otg on the computer, the computer is responsive , it can be identified, it is constantly acquiring IP. This is because ubuntu does not do dhcp server. Here we teach you how to do dhcp server.
modprode sw_usb_udc
modprode g_ether
ifconfig usb0 192.168.0.1 up
sudo apt-get install dnsmasq
sudo vim vim / etc / dnsmasq.conf
# Add at the end face
interface = usb0
dhcp-range = 192.168.0.11,192.168.0.12,12 h
ifconfig usb0 192.168.0.1 up
/ etc / init.d / dnsmasq restart
This time you will find that it is an error that port 53 is occupied.
netstat-utlnp
You will find that port 53 is 127.0.0.1 occupied, but the local IP. Or thank our friends, someone give a solution. As follows :
sudo apt-get remove dnsmasq-base
# This time the network will break , no relationship
ifconfig eth0 up
dhcp eth0
sudo apt-get install dnsmasq
sudo apt-get install network-manager network-manager-gnome
lsof-Pn + M | grep ‘: 53 (LISTEN)’
# See who use port 53 , there should be solved , or
netstat-utlnpnetstat-utlnp
This time again
/ etc / init.d / dnsmasq restart
Now you use ssh tool on windows can connect to pcDuino it.
Ip is usb0 use of IP.
But now there is a problem, when you plug in the computer’s external network OTG cut off. No network no pcDuino, this is definitely not enough. Here we teach you that how you can let the computer have the external network, and connect pcDuino.
Turn on the computer a command line, which at the beginning of the input cmd.
Enter the route PRINT -4 View the routing table, you find that there are two gateways.
192.168.2.1 is my router gateway, 192.168.0.1 is just to usb0 ip settings. Only need to delete usb0 this gateway on it. Perform the following operations.
Now the QQ on the computer should be on line .
[/vc_column_text][/vc_tab][vc_tab title=”Another way conect to the Internet:” tab_id=”1387793536384-3-9″][vc_column_text]No dhcp-server, we have to make a flexible routing on the computer.
We can download the flexible routing software soft X-router,link:
http://www.yitsoftware.com/XRouter/, recommended to download the free version.
After successful installation, the software will prompt you to open the log, you can directly log in without a password, and then enter the setup wizard, set here a wireless or wired laptop wlan card to mouth, set usb0 to lan port.
Fill in the ip you want tmanually , the same to the subnet mask.
Fill in your own computer network configuration information obtained from the routing.
Next, complete the wizard,
Here’s to start connecting pcDuino.
This is the software setup is complete page, above you can clearly see pcDuino ip is 192.168.10.2
Vnc connection with pcDuino, enter Baidu.
Use ssh remote update.
Leave a Reply
You must be logged in to post a comment.