Posts: 172
Joined: Mar 2011
Reputation:
1
My Raspberry Pi drops wi-fi connection a lot, and so i have successfully connected to my Pi via Putty to resolve this.
I want to run a script to restart wi-fi when it drops, and also assign a static ip. I have found ways of doing this by editing files.
My problem is very basic, i don't know how to edit them! When i enter nano and the file name, i'm presented with a blank screen to type in (whereas i need to see the text in the file to edit it), and when i type cd and file name, nothing opens.
So a some clear advice to get me to the next step would be great! If anyone has a link to a recommended guide to sort the ip and wi-fi issues that would be a bonus!
Posts: 478
Joined: Feb 2013
Reputation:
15
2014-10-03, 13:45
(This post was last modified: 2014-10-03, 13:47 by DBMandrake.)
You don't say which distribution you're running on your Pi (Raspbmc, OpenElec, XBian ?)
None of this is related to XBMC itself - you really need to go to the support forum for the distribution you use and ask for help there as wifi issues and configuration are part of the underlying Linux operating system and are very specific to each distribution.
Kodi 18.3 - Mid 2007 Mac Mini, 4GB, 2TB HD, Windows 7 SP1
Kodi 18.3 - Vero4k, Raspberry Pi 2. OSMC.
Posts: 172
Joined: Mar 2011
Reputation:
1
Sorry I meant to say Openelec ! I have posted there, but thought someone here might have some tips.
Posts: 611
Joined: Oct 2013
Reputation:
21
2014-10-03, 17:04
(This post was last modified: 2014-10-03, 17:05 by ActionA.)
When you "nano <filename>" and it comes up blank, that means that the file does not yet exist, at least not in the path you specified.
Posts: 17,855
Joined: Jan 2011
Reputation:
1,055
Milhouse
Retired Team-Kodi Member
Posts: 17,855
Fixing the WiFi so that it doesn't drop is surely the best option. Perhaps the OP should post details that might help explain why the WiFi is dropping - cheap and nasty dongle? Insufficient power? - or just replace WiFi entirely with a cable (eg. Powerline/Homeplug is cheap and generally reliable, and avoids the pain of dealing with WiFi drivers and interference from neighbours).
Setting a static IP address can be done via the OpenELEC Setttings addon, or configure the DHCP router with a fixed IP address for the Pi MAC address.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.