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

(Solved) Setting a Static IP
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
(Solved) Setting a Static IP
16th Dec, 2014, 10:25 AM
Post: #22
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Setting a Static IP
router with IP ending .0 is not correct (anything would be ok but .0 and .255) . xbian-config (specially triggered by XBMC eth0 setup) was unable to set static addr, I can confirm that.

but the important:
looking at the dmesg - network jobs are failing for you and because both (lo + eth0), the problem is most likely not configuration but some system binaries or scripts. with RC3 there was a combinations of factors leading to this kind of issues.

two options - update or grab newer image. for instance http://sourceforge.net/projects/xbian/files/release/XBian_2014.12.15-1.0_RC_3_Raspberry_Pi.img.gz/download

I can put the few commands for you to get network (if you can attach RPI to ANY router/pc/anything providing internet access for a while). (all assumes you have root privileges) (192.168.42.1 is router address, change accordingly)

Code:
ipconfig 192.168.42.42::192.168.42.1:255.255.255.0:xbian:eth0:none
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "deb http://apt.xbian.org stable main" > /etc/apt/sources.list.d/xbian.list
apt-get update
apt-get install inetutils-tools ifupdown xbian-update xbian-package-initramfs-tools xbian-package-config-shell xbian-package-config-xbmc xbian-package-repo

then just recheck that /etc/network/interfaces looks like this:
Code:
auto eth0 lo

iface lo inet loopback
iface eth0 inet static
    address 192.168.42.42
    netmask 255.255.255.0
    gateway 192.168.42.1

(gateway is not mandatory argument).

after reboot sshd should be available on .42.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
(Solved) Setting a Static IP - Mailstorm - 17th Nov, 2014, 09:03 AM
RE: Setting a Static IP - mk01 - 18th Nov, 2014, 03:58 AM
RE: Setting a Static IP - Skywatch - 18th Nov, 2014, 05:51 AM
RE: Setting a Static IP - Darth.Severus - 24th Nov, 2014, 10:59 PM
Re: Setting a Static IP - f1vefour - 12th Dec, 2014, 04:37 AM
RE: Setting a Static IP - Darth.Severus - 12th Dec, 2014, 05:13 AM
RE: Setting a Static IP - f1vefour - 12th Dec, 2014, 05:16 AM
RE: Setting a Static IP - Darth.Severus - 12th Dec, 2014, 07:24 AM
RE: Setting a Static IP - f1vefour - 12th Dec, 2014, 07:27 AM
RE: Setting a Static IP - Darth.Severus - 13th Dec, 2014, 12:18 AM
RE: Setting a Static IP - f1vefour - 13th Dec, 2014, 01:22 AM
RE: Setting a Static IP - Darth.Severus - 13th Dec, 2014, 04:50 AM
RE: Setting a Static IP - f1vefour - 13th Dec, 2014, 08:02 AM
RE: Setting a Static IP - Darth.Severus - 13th Dec, 2014, 09:43 PM
RE: Setting a Static IP - f1vefour - 14th Dec, 2014, 09:44 AM
RE: Setting a Static IP - Darth.Severus - 14th Dec, 2014, 10:21 AM
RE: Setting a Static IP - f1vefour - 14th Dec, 2014, 11:08 AM
RE: Setting a Static IP - f1vefour - 14th Dec, 2014, 02:27 PM
RE: Setting a Static IP - Darth.Severus - 14th Dec, 2014, 11:09 PM
RE: Setting a Static IP - Darth.Severus - 16th Dec, 2014, 05:28 AM
RE: Setting a Static IP - f1vefour - 15th Dec, 2014, 01:49 AM
RE: Setting a Static IP - mk01 - 16th Dec, 2014 10:25 AM

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

Current time: 22nd May, 2025, 11:33 AM Powered By MyBB, © 2002-2025 MyBB Group.