No lan at boot

Re: No lan at boot

Postby Jocko » Sun Sep 20, 2015 7:31 pm

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)
Jocko
Site Admin - expert
 
Posts: 11362
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: No lan at boot

Postby ljoets » Sun Sep 20, 2015 7:51 pm

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 :-\
ljoets
 
Posts: 14
Joined: Sun Dec 22, 2013 6:16 pm

Re: No lan at boot

Postby Jocko » Sun Sep 20, 2015 7:54 pm

Yes, that means that your Ethernet port is dead.

I am sorry about this but there is an end to everything. ;)
Jocko
Site Admin - expert
 
Posts: 11362
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: No lan at boot

Postby ljoets » Sun Sep 20, 2015 7:56 pm

Perhaps not, I have a plan for a used one ;-)
ljoets
 
Posts: 14
Joined: Sun Dec 22, 2013 6:16 pm

Previous

Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 1 guest