Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Static IP/Router Problem
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Static IP/Router Problem
5th Feb, 2013, 02:03 AM
Post: #1
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
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.
Find all posts by this user
Quote this message in a reply
5th Feb, 2013, 09:55 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Static IP/Router Problem
Does setting a static ip help?

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
5th Feb, 2013, 10:05 AM
Post: #3
rikardo1979 Offline
Management
******
Posts: 3,545
Joined: Dec 2012
Reputation: 190
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<<<~~~~
Find all posts by this user
Quote this message in a reply
6th Feb, 2013, 06:17 AM
Post: #4
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
RE: Static IP/Router Problem
Yes, but if I leave it with dhcp it gets one but random.
Find all posts by this user
Quote this message in a reply
6th Feb, 2013, 06:19 AM
Post: #5
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
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
Visit this user's website Find all posts by this user
Quote this message in a reply
6th Feb, 2013, 09:22 AM
Post: #6
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
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
Find all posts by this user
Quote this message in a reply
6th Feb, 2013, 06:33 PM
Post: #7
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
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
Visit this user's website Find all posts by this user
Quote this message in a reply
9th Feb, 2013, 04:53 AM
Post: #8
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
RE: Static IP/Router Problem
I'll give it a try and post back.
Find all posts by this user
Quote this message in a reply
9th Feb, 2013, 09:01 AM
Post: #9
fuchini Offline
Registered
Posts: 13
Joined: Feb 2013
Reputation: 0
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.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th May, 2025, 06:49 AM Powered By MyBB, © 2002-2025 MyBB Group.