@Sandbird, it is all getting a little confusing, isn’t it? As I understand it (@apsikus, please correct me if I’m wrong):
His PC is on 104.
His OSMC box was on 105, and is now on 110.
The default router (his DSL router) is on 1.
What concerns me is the “Host docelowy jest nieosiągalny” (destination host unreachable). That suggests there may be a problem with the PC IP configuration (not the OSMC box).
@apsikus (and sorry here if I’m treading on any OSMC support toes by chipping in here), I would suggest you try the following:
Your DSL router will almost certainly have some diagnostics, at the very least the ability to “ping”. Try that - see whether your router can ping your OSMC box.
Then, on the PC, open a command window ([Start], [Run], “cmd.exe” or [Windows]R “cmd.exe”) and type: ipconfig -all
then route print
and paste the results in here please.
My PC. My router is under .1.1 and i got a static ip on all computers (including the pi) in the house.
I’ve set up my DHCP on the router to start from 192.168.1.10 and all my devices are under that range…so if a friend comes to house and joins the wifi he’ll get an ip above 192.168.1.10 and it wont affect my other devices.
For example my pc is 192.168.1.2 the pi is 192.168.1.3 and so on.
It might be your power supply…How much power does it give ? 1Amp ? 2 Amps? Are you using a wall socket or a powered USB to power up the pi ? You might not have enough ‘juice’ to power up the wifi stick.
Choose a different password on your wifi router…Something simple for starters without weird symbols.
Try a different encryption (wep, wpa2…) and see if it connects then. Try WPA-Personal (PSK) instead. WPA2 isnt so compatible with every device.
Skip the wifi and try with cable. Disable the wifi on osmc settings and put a static ip on the wired
IP address: 192.168.0.111
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1
Then run the ipscan program again from your pc, and see if it can find it…or just try to putty to 192.168.0.111
IF it connects with the wired then definitely its either your pi doesnt have enough power to power up the wifi properly, or the wifi stick/router cant communicate properly with the encryption/passwords/TKIP/AES protocols you have set…try simpler and go up from there.
I really would like to see some communication (ping) being tried from OSMC to the router .1 and PC .104
I just read thru the logfile and there are a couple of undefined disconnects. So maybe as @Sandbird said it could be a power issue.
Suggest to add max_usb_current=1 to /boot/config.txt and ensure that your powersupply is strong enough
But, don’t you think that problem can be rather with driver for dongle instead of power adapter?
Maybe I’m stupid, but according to your suggestion there can be not enough power for WiFi dongle. In that case how it will get enough power for wired connection?
Well I have not said that it couldn’t be a driver problem. But the question is if it is easier for you to troubleshoot a power supply or a Linux Kernel Driver?
And the power usage of the Ethernet adapter is different from an wifi adapter
Regarding RPi forum, if there is under-voltage issue, color (rainbow) square is displayed on the screen in right up corner.
Is this feature available in OSMC? If yes, when and how should I check for this square? Edit: According to this topic it should be above clock on main screen of KODI - [solved] Flashing squares on the screen
I will check in details by changing screen resolution to make sure that it’s not there.
I heave read how to create own driver. Looks easier then investigate if power supply is powerful enough for RPi and WiFi adapter
max_usb_current=1 is the command. But either do it from the osmc config panel or power down your pi and edit the config.txt via a card reader. Yesterday i edited my config.txt via winscp while the pi was running and i bricked my sd card…
I have executed command max_usb_current=1 and nothing has happend on the screen.
As I understand it should be added to config.txt file, but how to edit file in Linux?
RPi rebooted. Still not available via SSH or via ping.
I am not able to ping from one laptop to another, so it must be some kind network issue.