This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wired ethernet link between Tinypilot and Openplotter Raspberry
#24
Wired Ethernet connection between Tinypilot v. beta  0.51 and OpenPlotter

After hours of trials and errors due to my poor knowledge of Linux and Tinycore, and with the help of Sean and Stelian, I succeed to obtain an efficient procedure to activate the wired Ethernet connection, so I wanted to share the result. I am sorry for my poor English but I hope it will be useful for someones.

I used a Windows computer for the first operations with Filezilla and Putty, but it can be achieved with the OpenPlotter Raspberry, maybe less easily. My adapter is a USB-Ethernet Glaabit but it will be OK with other brand if the driver is recognized.

Driver installation on Tinypilot:

Tinypilot is configured in Master mode (AP) with IP 192.168.14.1
Download the file “net-usb-4.9.22-piCore.tcz” at the following address:
repo.tinycorelinux.net/9.x/armv6/tcz/
Start Filezilla on the PC connected on the tinypilot by WiFi:
On Filezilla, configure:
Connection address: sftp://192.168.14.1
User name: tc
Password: pypilot
Port: 22
Local site: enter address of the folder where the file has been downloaded
Distant site: enter address: /mnt/mmcblk0p2/tce/optional/
Copy the file on Tinypilot folder
Close Filezilla.

Start Putty and connect it to Tinypilot:
Host Name (or IP address) 192.168.14.1 Port 22
SSH Telnet
login as: tc
tc@192.168.14.1's password: pypilot

# Edit the file “onboot.lst”:
cd /mnt/mmcblk0p2/tce/
sudo nano onboot.lst
# Add the line "net-usb-KERNEL.tcz"
# Save change in the file:
Ctrl O
# Quit:
Ctrl x
# Save change in Tinypilot:
filetool.sh -b
sudo reboot

Start OpenPlotter in AP mode and connect it on Tinypilot as client by Wifi.
# Open OpenPlotter LXTerminal and connect to the Tinypilot with SSH:
ssh tc@10.10.10.10
# Password:  pypilot
# Enter following command:
tce-load -i net-usb-KERNEL.tcz
# Configure Ethernet connection by editing “onbootlocal.sh”:
sudo nano /opt/bootlocal.sh
# Insert following line after networking starting line (line 137)
ifconfig eth0 10.10.10.167 up
# Save change in the file:
Ctrl O
# Quit:
Ctrl x
# Save change in Tinypilot:
filetool.sh -b

Configure OpenPlotter Network as Acces Point and tick “Add an Ethernet port to AP”.
Tinypilot may be configured as Acces Point. It will connect as client to OpenPlotter Raspi by Eth0, but can be accessed on WiFi by an other equipment.

Wired connection must be ready to operate.
# It is now possible to stop all Wifi connections using LXTerminal:
# on Tinypilot:
ssh tc@10.10.10.167
# Password: pypilot
sudo ifconfig wlan0 down
exit
# on OpenPlotter:
sudo ifconfig wlan9 down

To restore WiFi: sudo ifconfig wlan9 up, sudo ifconfig wlan0 up
Reply


Messages In This Thread
RE: Wired ethernet link between Tinypilot and Openplotter Raspberry - by Erickalon - 2024-03-16, 11:16 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)