Hi frank-w!
first thx for your great job,
I try to ssh the board but since there is no dhcp running on the board, my laptop never get an ip from the board, so I configured my ethernet port (laptop) to use a static ip address: 192.168.0.13. But even though, I can’ t ssh or even ping the board
I can connect the board using picocom and my TTL cable. Then I tried to connect the board directly to the modem using ethernet ports but non seems to work. When I ping 8.8.8.8 I got destination host unreachable, I can see that the ip address used by the board is 192.168.0.11. Pardon me if I look confuse, but I’ m a developer and don’ t deal with network configuration often.
so what should I do to connect my board to my laptop using ssh and to connect my board to the modem ?
also for me it’s unclear about what is compiled and what is not. My goal is to turn the pi to an access point I want to plug my internet modem to the first ethernet port of the board, then using the wifi to connect my laptop to internet trough the board. Should I have to recompile the kernel ? (things i have almost no experience)
Then lan0 is second ethernet-port. ok I was confusing with the first one. I did try yesterday to connect to the first and second one and it didn’ t work. Today I did it again and now it work…
I tried to connect the board to internet. what is the device name of the first ethernet switch (the one alone) ? is it eth1 ? I tried to connect my modem to eth1. When I do dhclient eth1 I got no ip address.
when I connect the modem to lan1@eth0 and do dhclient lan1 I got a public ip address. But when I do ping 8.8.8.8 or apt-get update the board seems to only try to connect the destination trough lan0@eth0. For example, the ping 8.8.8.8 command returns Froms 192.168.0.11 icmp_seq=1 Destination Host Unreachable
For internet access you need a default route defined (send all packets with no known network to the default route). Eth0 and eth1 are the cpu-lanes between soc and switch…they only need to be set to up…no ip config there
And you do not have a ready xx.emmc.img image that can be written down with one dd command ?
That would greatly simplify the preparation of emmc memory. And then the root file system can then be written down with a simple copy as cp -ar …
New uboot handle mmc partconf over this (have it also on my wiki):
mmc partconf 0 1 1 0
Does boot0 exist? Filename correct (i wonder about the gzip-error)? Preloader/partconfig is the probable cause if no boot on emmc happens.at least you should see preloaders output
I load mtk_pmic_keys module and install acpid package. But the power button does not work.
There is button support in this kernel 4.19.62-bpi-r2-main ?
and this kernel support uEnv.txt ? he is not in the image