Page 2 of 2

Re: No lan at boot

PostPosted: Sun Sep 20, 2015 7:31 pm
by Jocko
ljoets wrote:Gateway is 192.168.0.254
Are you sure about it.
Usually the gateway is the ip address of your router and is usual to get 192.168.0.1 as IP

I assume that the nwsp1 disk is sdc (in a previous output I saw this value)
So in a root terminal,
mount the partition sdc5 on a temporary mountpoint
Code: Select all
mkdir /tmp/sdc5
mount /dev/sdc5 /tmp/sdc5

do this sed command to edit the nas database
Code: Select all
sed -rie 's#.*dhcpenabled.*#\t\t<dhcpenabled>false</dhcpenabled>#g;s#.*dnsserver.*$##g;s#(\t</system>).*#\t\t<dnsserver>192.168.0.254</dnsserver>\n\1#g;s#.*netmask.*#\t\t\t<netmask>255.255.255.0</netmask>#g;s#.*ipaddr.*#\t\t\t<ipaddr>192.168.0.52</ipaddr>#g;s#.*gateway.*#\t\t\t<gateway>192.168.0.254</gateway>#g' /tmp/sdc5/etc/nas_conf_db.xml

(if 192.168.0.254 is not your gateway change all values by 192.168.0.1 in the command line)

Re: No lan at boot

PostPosted: Sun Sep 20, 2015 7:51 pm
by ljoets
Thanks & lovely sed :applause
That has not solved the problem :-(
I tested my DHCP and lan connexion with a raspberrypi without any problem.
So I think too that the ethernet interface is dead :-\
I'm so sad to have to quit that cool project :-\

Re: No lan at boot

PostPosted: Sun Sep 20, 2015 7:54 pm
by Jocko
Yes, that means that your Ethernet port is dead.

I am sorry about this but there is an end to everything. ;)

Re: No lan at boot

PostPosted: Sun Sep 20, 2015 7:56 pm
by ljoets
Perhaps not, I have a plan for a used one ;-)