Solved: Static IP/Router Problem
|
5th Feb, 2013, 02:03 AM
Post: #1
|
|||
|
|||
Static IP/Router Problem
Hello,
I'm having a problem when trying to set a static IP to my RPi, running Xbian A4, from my router. When I leave every option in my router blank, it uses dhcp and sets a normal IP on my Rpi. However, when I set a static IP it works the first time I boot the RPi but after rebooting it gets an IP of 0.0.0.0. I don't have this same problem with other devices in my network. My router is a D-Link DIR-600. Don't know if this would help you help me: Router's IP: 192.168.0.1 Subnet Mask: 255.255.255.0 Rpi's Desired IP: 192.168.0.105 Don't know what other information you may find useful. |
|||
5th Feb, 2013, 09:55 AM
Post: #2
|
|||
|
|||
RE: Static IP/Router Problem
Does setting a static ip help?
pilight - modular domotica solution
|
|||
5th Feb, 2013, 10:05 AM
Post: #3
|
|||
|
|||
RE: Static IP/Router Problem
@Curly that what he is trying to say is that we he sett the static IP, is vanished after reboot (if I understand it good )
~~~~>>>Please always follow rules and read before you post<<<~~~~ |
|||
6th Feb, 2013, 06:17 AM
Post: #4
|
|||
|
|||
RE: Static IP/Router Problem
Yes, but if I leave it with dhcp it gets one but random.
|
|||
6th Feb, 2013, 06:19 AM
Post: #5
|
|||
|
|||
RE: Static IP/Router Problem
When on DHCP it's your router that's the one that controls what IP address it hands out. If you don't want that you can probably set an IP address reservation for a certain MAC address. That's why i did as well.
pilight - modular domotica solution
|
|||
6th Feb, 2013, 09:22 AM
Post: #6
|
|||
|
|||
RE: Static IP/Router Problem
Hello, thanks for answering. My router is the one that hands out IP addresses, if I set and IP adress for my RPi's MAC address I loose internet connection in my RPi after I reboot several times. On the router's configuration page it says that the RPi's IP is 0.0.0.0
|
|||
6th Feb, 2013, 06:33 PM
Post: #7
|
|||
|
|||
RE: Static IP/Router Problem
Can you try if the new xbian-config fixes this? https://github.com/xbianonpi/xbian-config-bash
pilight - modular domotica solution
|
|||
9th Feb, 2013, 04:53 AM
Post: #8
|
|||
|
|||
RE: Static IP/Router Problem
I'll give it a try and post back.
|
|||
9th Feb, 2013, 09:01 AM
Post: #9
|
|||
|
|||
RE: Static IP/Router Problem
I did the xbian-config to put the IP static. It is working!
Well I hope it continues to work. I'll post if there's anything new. |
|||
« Next Oldest | Next Newest »
|