[Assistance Needed] Static IP

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[Assistance Needed] Static IP

Postby apowell656 » Sat Feb 23, 2013 5:30 pm

Is there a straightforward way to apply a static IP address? I have searched the forum and Googled. The closest thing that I have found is http://www.administeria.com/raspberry-pi-arch-linux-static-ip-configuration/, but I am a little concerned about installing older scripts and the effect it may have.

Any help would be appreciated.

-Andre
apowell656
 
Posts: 41
Joined: Fri Jan 25, 2013 1:24 am

Re: [Assistance Needed] Static IP

Postby pepedog » Sat Feb 23, 2013 5:34 pm

There is a file in /etc/network.d/
I can't remember name, but it's obvious and not in examples folder.
Back it up and edit, static example is in it
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Assistance Needed] Static IP

Postby winestock » Sat Feb 23, 2013 8:16 pm

$this->bbcode_second_pass_quote('apowell656', 'I')s there a straightforward way to apply a static IP address? I have searched the forum and Googled. The closest thing that I have found is http://www.administeria.com/raspberry-pi-arch-linux-static-ip-configuration/, but I am a little concerned about installing older scripts and the effect it may have.

Any help would be appreciated.

-Andre


viewtopic.php?f=18&t=4761
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

[Solved] Static IP

Postby apowell656 » Sat Feb 23, 2013 10:12 pm

Thank you for the quick responses, the file is /etc/network.d/wired-eth0. I was able to do a quick change (nano /etc/network.d/wired-eth0) and set it up the way I needed.

$this->bbcode_second_pass_code('', 'CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.X.XXX'
#ROUTES=('192.168.0.0/24 via 192.168.1.2') # I took this out, because I have no clue on what it is
GATEWAY='192.168.X.X'
DNS=('192.168.X.X')')

Did a quick "sync" (my new friend) and then a reboot and all is good.
apowell656
 
Posts: 41
Joined: Fri Jan 25, 2013 1:24 am

Re: [Assistance Needed] Static IP

Postby pepedog » Sat Feb 23, 2013 10:22 pm

I tried to make it as easy as possible
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Assistance Needed] Static IP

Postby winestock » Sat Feb 23, 2013 10:28 pm

$this->bbcode_second_pass_quote('pepedog', 'I') tried to make it as easy as possible


It is true that a simple google search for "Arm Linux static IP address" would have found the same link that I did.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: [Assistance Needed] Static IP

Postby polskifacet » Sat Mar 23, 2013 2:59 am

Can't get mine to work after following
http://archlinuxarm.org/forum/viewtopic.php?f=18&t=4761
Always takes gateway from dhcp :?:
polskifacet
 
Posts: 37
Joined: Mon Jan 30, 2012 4:05 am

Re: [Assistance Needed] Static IP

Postby suyanlu » Sat Mar 23, 2013 3:10 am

!!using netcfg, it's simple!!
two files shouled be modified:
$this->bbcode_second_pass_code('', '
1. /etc/conf.d/netcfg
┌─[root@goflexhome]─[/etc/conf.d]
└──> cat /etc/conf.d/netcfg
NETWORKS=(wired-static-eth0)

# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"

2. /etc/network.d/wired-static-eth0
┌─[root@goflexhome]─[/etc/conf.d]
└──> cat /etc/network.d/wired-static-eth0

## Configuration of static eth0
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.1.222'
GATEWAY='192.168.1.1'
DNS=('192.168.1.1')

')
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am

Re: [Assistance Needed] Static IP

Postby polskifacet » Sat Mar 23, 2013 3:31 am

Did as specified and disabled dhcpcd@eth0.service, now i cant ping/login :(
polskifacet
 
Posts: 37
Joined: Mon Jan 30, 2012 4:05 am

Re: [Assistance Needed] Static IP

Postby suyanlu » Sat Mar 23, 2013 4:02 am

$this->bbcode_second_pass_quote('polskifacet', 'D')id as specified and disabled dhcpcd@eth0.service, now i cant ping/login :(


I think you can try boot it from usb stick.

and netconsole output is needed to find where the problem is.
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am
Top

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests

cron