I'm sorry, I don't understand: "You will need serial"?
My result is always the same:
root@desktop: ./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz3000.bin
Traceback (most recent call last):
File "./eva_ramboot.py", line 29, in <module>
ftp = FTP(args.ip, 'adam2', 'adam2')
File "/usr/lib/python3.6/ftplib.py", line 117, in __init__
self.connect(host)
File "/usr/lib/python3.6/ftplib.py", line 152, in connect
source_address=self.source_address)
File "/usr/lib/python3.6/socket.py", line 724, in create_connection
raise err
File "/usr/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
Wrong router IP (some question whether it is .1 or .2), wrong netmask in the PC (should be 255.255.255.0 or /24) or starting the FTP script too early or too late.
Thank you for your patience.
As you may have noticed, I'm quite a novice in the field.
So the router should have a fixed IP 192.168.178.1, so ..:
./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz3000.bin
...gets to the target?
255.255.255.0 I have set.
What is the best way to start the script? I ping the router at boot time and watch out for the lights on the switch. As soon as something happens, I send the command ...
Connection refused means that there is a device at that IP address but its FTP port is not open. As I understand it the FTP server is only open for a short time during the boot.
Okay, thanks.
Of course, I tried a few "windows of opportunity" over the afternoon. Sometimes the process seems to "hang", then an error message appears again. Sometimes the error message comes immediately.
I'm beginning to doubt whether the moment is right...
It is best to open two terminal windows, ping 192.168.178.1 in one window and prepare the command "eva_ramboot.py" in the other window. The problem is that the FTP server is only available for a very short time.
So you should use a fixed network card (no usb adapter) and test with a static IP address (dhcp must be deactivated), otherwise you will miss the ftp server.
With my MacBook I didn't do it with me either, only with the Raspi and only after I set a static ip in /etc/dhcpcd.conf.
That's how I do it: two windows open.
In one, the ping command. In the other the command for the script. As soon as the ping comes through once or twice, I send the command for the script.
I have turned off DHCP as well as IPv6.
The IPv4 address is static.
Unfortunately I have no Raspi. With Linux Mint there is no /etc/dhcpcd.conf.
I make the settings via the Network Manager.
I have a normal network card with LAN cable - so no connection via USB or similar.
Hello,
I have now taken a few steps further:
I could go with you:
./eva_ramboot.py --offset 0x85000000 192.168.178.1 uboot-fritz3000.bin
... access the fritz.repeater.
The next steps of the manual:
... I followed.
Which is the problem:
After changing the IPv4 of my computer (192.168.1.70) I can also ping the fritz.repeater (192.168.1.1)
But I cannot access the fritz.repeater via ssh, so the scp commands do not work.
Can anyone else give me a hint here?
I would be grateful for it.
I could not reach the ftp server at first because I rebooted from the fritzbox. You actually have to pull the plug, then it is easy to catch the right moment.
Then I did not realize that I had to start the ftpd server manually.
Once that was clear, it also worked according to the instructions.
Thank you so much for that.
After the ordeal, this is really fun now!!
Thank you very much for the information.
Currently I use the repeater as a simple access point.
I configure the VLANs with the pfsense, for a simple guest access you don't necessarily need your own VLAN - you can configure it that way.
I need a break now, later I want to deal with the further possibilities.