Page 1 of 1
Lan/ethernet port not working
Posted: Wed Jan 06, 2016 8:17 am
by redanb
I changed a file last time called start.elf and rebooted my pi but the ethernet port not started,the ethernet leds are not blinking ,the router is not showing lan port connected.I checked the cable it is working , i also restarted everything but it does not work. I am using it through ssh so i need lan to work,i dont have usb keyboard. Please help.
Re: Lan/ethernet port not working
Posted: Wed Jan 06, 2016 8:21 am
by DirkS
redanb wrote:I changed a file last time called start.elf
Why

Re: Lan/ethernet port not working
Posted: Wed Jan 06, 2016 1:35 pm
by DougieLawson
Start with a completely blank, fresh SDCard. Download NOOBS 1.5 (or the 2015-11-21 plain Raspbian). Boot that and see how it goes.
If that works you then need a USB SDCard reader to rescue your data & locally written programs from your knackered SDCard.
Re: Lan/ethernet port not working
Posted: Wed Jan 06, 2016 1:37 pm
by redanb
I was using text to speech festival, it was working good with small sentences but not with larger texts, there was a glitch, i found something on the forum and made the change ,i dont remember it ,the command was to download something and change start.elf file
Re: Lan/ethernet port not working
Posted: Thu Jan 07, 2016 1:24 pm
by redanb
Starting with a fresh sd card fixed the problem.
Also I am trying to pass the output of a .py file to a text file.I tried filename.py | text.txt and filename.py > text.txt but I am not able to do it with the limited knowledge i have now. I am afraid if i should have started a new post.
Re: Lan/ethernet port not working
Posted: Thu Jan 07, 2016 1:36 pm
by DougieLawson
Use
Code: Select all
output = open("textfile.txt","wb")
output.write('static stuff you want to write goes here\r\n')
output.write(variable.to.write)
output.close()
in your python code.