Definitely a grain/cornmeal or chicken feed dispenser, if you're on a grainer car and you're starving you could pop off the cap with a metal bar and mix the feed with water. It's wretched but it will sustain you. Emergencies only though, don't break the railroads shit.
Also, in regards to Google searches, it's certainly a helpful resource but deductive reasoning will serve you better and exists independently of batteries.
For example: when I began traveling phones flipped and nobody had one and the internet was basically magic to an idiot like me, I was sitting on the overpass outside calwa yard just watching trains. I had no concept of the day to day railroad operations outside of what my grandfather told me about his time with katy rail back in the early 80s, but through watching the slave/goat units go back and forth pushing cars all day and the workers checking hoses, applying air tags, and doing other general maintenance I was able to get a semi general idea of the goings on and where I should go, shouldn't go and where I could flee if I got caught. The most important realization I came to though, was how etd lights work. I noticed the workers putting these little blinking yellow/red lights on the very backs of fully built strings. These string would the be pulled onto a siding where they awaited clearance to enter the main line. I came to the conclusion that this must be some final check or procedure they do before trains are sent to their destinations, this was a HUGE realization for my stupid monkey brain and the satisfaction I felt from putting 2 and 2 together and finding the answer was intoxicating to say the least, not to mention I now had very real and tangible knowledge I could share with people. Of course this was not enough and another year went by before I met my roaddog and caught a train but that's beside the point.
Again, I'm not saying don't use oogle maps and shit, they're absurdly helpful and it would be unwise to eschew them. I am only providing an example of how to cultivate a mindset conducive to surviving without the aid of technology or people if you're in a position where you need to do so.
Final also, please find someone in rl to teach you about hopping freight.
Trains are dangerous and they don't give a fuck about you and no amount of online prep will prepare you for it.
Be safe have fun and may everything you attempt instantly succeed.