Static IP Not working

This forum is for all other ARMv5 devices

Static IP Not working

Postby dinjo » Sat Jun 01, 2013 4:34 am

After the recent drop of sshd and other demons have to pull new tarball and i have applied before steps and it used to work earlier but its not working now, anything I'm missing ?

$this->bbcode_second_pass_code('', '
[root@alarm conf.d]# cat /etc/network.d/ethernet-static
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.1.104'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
GATEWAY='192.168.1.1'
DNS=('8.8.8.8' '8.8.4.4')

[root@alarm conf.d]# cat /etc/conf.d/netcfg
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(last ethernet-static)

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

# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="wlan0"

# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("profile1" "profile2")

tail -1 /etc/rc.conf
DAEMONS=(set-oxnas-mac !hwclock syslog-ng network-profiles netfs crond sshd openntpd)

')
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Static IP Not working

Postby Geoff » Tue Jun 04, 2013 2:31 am

In /etc/conf.d/netcfg you have NETWORKS=(last ethernet-static) ... Maybe you shouldn't be trying "last." Otherwise, I don't know. All I can say is do a full backup whenever you have it working, so that you can always revert to something that works.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: Static IP Not working

Postby dinjo » Tue Jun 04, 2013 11:16 am

I tried with ethernet-static too also I'm not sure what should go in rc.conf
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 7 guests