Re: Re: [casper] ROACH Network is unreachable

2019-06-23 Thread zhang laiyu
   Thank you!

  I can not download  Linux image file from CASPER web(The requested URL 
/svn/trunk/roach/sw/binaries/linux/uImage-20110812-mmcomitfix was not found on 
this server..)  So,where can I download  Linux image file for ROACH1? 
(Several casper links were not found)


-Original Messages-
From:"Indrajit Barve" 
Sent Time:2019-06-21 16:27:32 (Friday)
To: "casper@lists.berkeley.edu" 
Cc: "casper@lists.berkeley.edu" , 
"jackhick...@gmail.com" 
Subject: Re: [casper] ROACH Network is unreachable


Hello All,


>From my experience with the similar situation format the SD card and load the 
>Linux image newly and set it for acquisition.



| |
Indrajit Barve
indra...@iiap.res.in
080-22541492
|
On Jun 21 2019, at 10:43 am, David MacMahon  wrote:
Assuming you want to use DHCP, what happens if you comment out (or remove) the 
“iface eth0 inet static” line (and the “address” and “netmask” lines)?


On Jun 20, 2019, at 18:17, zhang laiyu  wrote:


Thanks you.
the contents of /etc/network/interfaces:


auto eth0
iface eth0 inet dhcp
iface eth0 inet static
address 10.0.0.21
netmask 255.255.255.0


when I want to start the network, I got some warning:


roach:~# /etc/init.d/networking restart
Reconfiguring network interfaces...ifdown: failed to open statefile /etc/ne
ifup: failed to open statefile /etc/network/run/ifstate: Stale NFS file hae
failed.


I aslo use this:
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 10.0.0.21
netmask 255.255.255.0


But can not start the network.
if I run dhclient and can get IP address.



-Original Messages-
From: "David MacMahon" 
Sent Time: 2019-06-20 22:26:41 (Thursday)
To: casper@lists.berkeley.edu
Cc: "zhang laiyu" , jackhick...@gmail.com
Subject: Re: [casper] ROACH Network is unreachable


To further Marc’s query: when you mmcboot into the broken system, what are the 
contents of /etc/network/interfaces?


Dave


On Jun 20, 2019, at 04:06, Marc  wrote:


On 6/20/19, zhang laiyu  wrote:
Hi,Marc, Jack
I make some progress but it was not solved.
I boot the ROACH by 'run mmcboot' and did not got an IP address. And
then log in RAOCH as root and try issuing the commands:
dhclient -r
dhclient
ifconfig
Then ROACH was assigned an ip address. And can use telnet to login
ROACH.
But when I reboot the ROACH, ROACH Network is still unreachable.I have
to issuing the commands:dhclient again.
I also open two ports ( tcp port 53 and udp port 67) in the server.But
it still does not work.
I think that the DHCP connection doesn't work during boot.But I do not
the reason.


So if you boot into the broken system and connect via serial cable
what does the output of


/sbin/ifconfig eth0


say ? Is there no IP address configured, or is it set to the wrong one
? If it is set incorrectly there may be some startup script which has
some old/stale values set.
You could try to add a


set -x


to some of the startup scripts, so that they echo the commands they execute


regards


marc


--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.


--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/F2389975-B9E7-4BA6-B797-9D2421624736%40berkeley.edu.



--
Cheers!

ZHANG Laiyu
Phone(China) 010-88236415
Cellphone(China) 13681385567
E-mail: zhan...@ihep.ac.cn
Address: 19B Yuquan Road,Shijingshan District,Beijing,China
Department: Center for Particle Astrophysics
Office: Astrophysics Building 205Institute of High Energy Physics, CAS
web: 
http://www.ihep.cas.cn>


--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/308856dd.3900.16b779c8676.Coremail.zhangly%40ihep.ac.cn.


--
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkele

Re: [casper] ROACH Network is unreachable

2019-06-21 Thread Indrajit Barve
Hello All,

>From my experience with the similar situation format the SD card and load the 
>Linux image newly and set it for acquisition.

Indrajit Barve
indra...@iiap.res.in (mailto:indra...@iiap.res.in)
080-22541492 (tel:080-22541492)

On Jun 21 2019, at 10:43 am, David MacMahon  wrote:
> Assuming you want to use DHCP, what happens if you comment out (or remove) 
> the “iface eth0 inet static” line (and the “address” and “netmask” lines)?
>
> > On Jun 20, 2019, at 18:17, zhang laiyu  wrote:
> > Thanks you.
> > the contents of /etc/network/interfaces:
> >
> > auto eth0
> > iface eth0 inet dhcp
> > iface eth0 inet static
> > address 10.0.0.21
> > netmask 255.255.255.0
> >
> > when I want to start the network, I got some warning:
> > roach:~# /etc/init.d/networking restart
> > Reconfiguring network interfaces...ifdown: failed to open statefile /etc/ne
> > ifup: failed to open statefile /etc/network/run/ifstate: Stale NFS file hae
> > failed.
> >
> > I aslo use this:
> > auto eth0
> > #iface eth0 inet dhcp
> > iface eth0 inet static
> > address 10.0.0.21
> > netmask 255.255.255.0
> >
> > But can not start the network.
> > if I run dhclient and can get IP address.
> >
> >
> > > -Original Messages-----
> > > From: "David MacMahon" 
> > > Sent Time: 2019-06-20 22:26:41 (Thursday)
> > > To: casper@lists.berkeley.edu
> > > Cc: "zhang laiyu" , jackhick...@gmail.com
> > > Subject: Re: [casper] ROACH Network is unreachable
> > >
> > > To further Marc’s query: when you mmcboot into the broken system, what 
> > > are the contents of /etc/network/interfaces?
> > > Dave
> > > > > On Jun 20, 2019, at 04:06, Marc  wrote:
> > > > > On 6/20/19, zhang laiyu  wrote:
> > > > > Hi,Marc, Jack
> > > > > I make some progress but it was not solved.
> > > > > I boot the ROACH by 'run mmcboot' and did not got an IP address. And
> > > > > then log in RAOCH as root and try issuing the commands:
> > > > > dhclient -r
> > > > > dhclient
> > > > > ifconfig
> > > > > Then ROACH was assigned an ip address. And can use telnet to login
> > > > > ROACH.
> > > > > But when I reboot the ROACH, ROACH Network is still unreachable.I have
> > > > > to issuing the commands:dhclient again.
> > > > > I also open two ports ( tcp port 53 and udp port 67) in the server.But
> > > > > it still does not work.
> > > > > I think that the DHCP connection doesn't work during boot.But I do not
> > > > > the reason.
> > > >
> > > >
> > > > So if you boot into the broken system and connect via serial cable
> > > > what does the output of
> > > >
> > > > /sbin/ifconfig eth0
> > > > say ? Is there no IP address configured, or is it set to the wrong one
> > > > ? If it is set incorrectly there may be some startup script which has
> > > > some old/stale values set.
> > > > You could try to add a
> > > >
> > > > set -x
> > > > to some of the startup scripts, so that they echo the commands they 
> > > > execute
> > > > regards
> > > > marc
> > > > --
> > > > You received this message because you are subscribed to the Google 
> > > > Groups "casper@lists.berkeley.edu" group.
> > > > To unsubscribe from this group and stop receiving emails from it, send 
> > > > an email to casper+unsubscr...@lists.berkeley.edu.
> > > > To view this discussion on the web visit 
> > > > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.
> > >
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "casper@lists.berkeley.edu" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to casper+unsubscr...@lists.berkeley.edu.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/F2389975-B9E7-4BA6-B797-9D2421624736%40berkeley.edu.
> >
> >
> >
> > --
> > Cheers!
> > > 
> >
> > ZHANG Laiyu
> > Phone(China) 010-8823641

Re: Re: [casper] ROACH Network is unreachable

2019-06-21 Thread zhang laiyu
   Thanks for your reply.
   I had comment out iface eth0 inet static” line (and the “address” and 
“netmask” lines) . And I reboot the ROACH  the result is same:"SIOCADDRT: 
Network is unreachable ".
   


> -Original Messages-
> From: "David MacMahon" 
> Sent Time: 2019-06-21 13:13:53 (Friday)
> To: casper@lists.berkeley.edu
> Cc: jackhick...@gmail.com
> Subject: Re: [casper] ROACH Network is unreachable
> 
> Assuming you want to use DHCP, what happens if you comment out (or remove) 
> the “iface eth0 inet static” line (and the “address” and “netmask” lines)?
> 
> > On Jun 20, 2019, at 18:17, zhang laiyu  wrote:
> > 
> >   Thanks you.
> >   the contents of /etc/network/interfaces:
> > 
> >   auto eth0
> >   iface eth0 inet dhcp
> >   iface eth0 inet static
> >   address 10.0.0.21
> >   netmask 255.255.255.0
> > 
> >   when I want to start the network, I got some warning:
> > 
> > roach:~# /etc/init.d/networking restart
> > Reconfiguring network interfaces...ifdown: failed to open statefile /etc/ne
> > ifup: failed to open statefile /etc/network/run/ifstate: Stale NFS file hae
> > failed. 
> > 
> >   I aslo use this:
> >auto eth0
> >   #iface eth0 inet dhcp
> >   iface eth0 inet static
> >   address 10.0.0.21
> >   netmask 255.255.255.0
> > 
> >   But can not start the network.
> >   if I run dhclient and can get IP address.
> > 
> > 
> >> -Original Messages-
> >> From: "David MacMahon" 
> >> Sent Time: 2019-06-20 22:26:41 (Thursday)
> >> To: casper@lists.berkeley.edu
> >> Cc: "zhang laiyu" , jackhick...@gmail.com
> >> Subject: Re: [casper] ROACH Network is unreachable
> >> 
> >> To further Marc’s query: when you mmcboot into the broken system, what are 
> >> the contents of /etc/network/interfaces?
> >> 
> >> Dave
> >> 
> >>>> On Jun 20, 2019, at 04:06, Marc  wrote:
> >>>> 
> >>>> On 6/20/19, zhang laiyu  wrote:
> >>>> Hi,Marc, Jack
> >>>>   I make some progress but it was not solved.
> >>>>   I boot the ROACH by 'run mmcboot' and did not got an IP address. And
> >>>> then log in  RAOCH as root and try issuing the commands:
> >>>>   dhclient -r
> >>>>   dhclient
> >>>>   ifconfig
> >>>>   Then ROACH was assigned an ip address. And can use telnet to login
> >>>> ROACH.
> >>>>   But when I reboot the ROACH, ROACH Network is still unreachable.I have
> >>>> to issuing the commands:dhclient again.
> >>>>   I also open two ports (  tcp port 53 and udp port 67) in the server.But
> >>>> it still does not work.
> >>>>   I think that the DHCP connection doesn't work during boot.But I do not
> >>>> the reason.
> >>> 
> >>> So if you boot into the broken system and connect via serial cable
> >>> what does the output of
> >>> 
> >>> /sbin/ifconfig eth0
> >>> 
> >>> say ? Is there no IP address configured, or is it set to the wrong one
> >>> ? If it is set incorrectly there may be some startup script which has
> >>> some old/stale values set.
> >>> You could try to add a
> >>> 
> >>> set -x
> >>> 
> >>> to some of the startup scripts, so that they echo the commands they 
> >>> execute
> >>> 
> >>> regards
> >>> 
> >>> marc
> >>> 
> >>> -- 
> >>> You received this message because you are subscribed to the Google Groups 
> >>> "casper@lists.berkeley.edu" group.
> >>> To unsubscribe from this group and stop receiving emails from it, send an 
> >>> email to casper+unsubscr...@lists.berkeley.edu.
> >>> To view this discussion on the web visit 
> >>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.
> >> 
> >> -- 
> >> You received this message because you are subscribed to the Google Groups 
> >> "casper@lists.berkeley.edu" group.
> >> To unsubscribe from this group and stop receiving emails from it, send an 
> >> email to casper+unsubscr...@lists.berkeley.edu.
> >> To view this discussion on the web visit 
> >> https://groups.google.com/a/lists.ber

Re: [casper] ROACH Network is unreachable

2019-06-20 Thread David MacMahon
Assuming you want to use DHCP, what happens if you comment out (or remove) the 
“iface eth0 inet static” line (and the “address” and “netmask” lines)?

> On Jun 20, 2019, at 18:17, zhang laiyu  wrote:
> 
>   Thanks you.
>   the contents of /etc/network/interfaces:
> 
>   auto eth0
>   iface eth0 inet dhcp
>   iface eth0 inet static
>   address 10.0.0.21
>   netmask 255.255.255.0
> 
>   when I want to start the network, I got some warning:
> 
> roach:~# /etc/init.d/networking restart
> Reconfiguring network interfaces...ifdown: failed to open statefile /etc/ne
> ifup: failed to open statefile /etc/network/run/ifstate: Stale NFS file hae
> failed. 
> 
>   I aslo use this:
>auto eth0
>   #iface eth0 inet dhcp
>   iface eth0 inet static
>   address 10.0.0.21
>   netmask 255.255.255.0
> 
>   But can not start the network.
>   if I run dhclient and can get IP address.
> 
> 
>> -Original Messages-
>> From: "David MacMahon" 
>> Sent Time: 2019-06-20 22:26:41 (Thursday)
>> To: casper@lists.berkeley.edu
>> Cc: "zhang laiyu" , jackhick...@gmail.com
>> Subject: Re: [casper] ROACH Network is unreachable
>> 
>> To further Marc’s query: when you mmcboot into the broken system, what are 
>> the contents of /etc/network/interfaces?
>> 
>> Dave
>> 
>>>> On Jun 20, 2019, at 04:06, Marc  wrote:
>>>> 
>>>> On 6/20/19, zhang laiyu  wrote:
>>>> Hi,Marc, Jack
>>>>   I make some progress but it was not solved.
>>>>   I boot the ROACH by 'run mmcboot' and did not got an IP address. And
>>>> then log in  RAOCH as root and try issuing the commands:
>>>>   dhclient -r
>>>>   dhclient
>>>>   ifconfig
>>>>   Then ROACH was assigned an ip address. And can use telnet to login
>>>> ROACH.
>>>>   But when I reboot the ROACH, ROACH Network is still unreachable.I have
>>>> to issuing the commands:dhclient again.
>>>>   I also open two ports (  tcp port 53 and udp port 67) in the server.But
>>>> it still does not work.
>>>>   I think that the DHCP connection doesn't work during boot.But I do not
>>>> the reason.
>>> 
>>> So if you boot into the broken system and connect via serial cable
>>> what does the output of
>>> 
>>> /sbin/ifconfig eth0
>>> 
>>> say ? Is there no IP address configured, or is it set to the wrong one
>>> ? If it is set incorrectly there may be some startup script which has
>>> some old/stale values set.
>>> You could try to add a
>>> 
>>> set -x
>>> 
>>> to some of the startup scripts, so that they echo the commands they execute
>>> 
>>> regards
>>> 
>>> marc
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "casper@lists.berkeley.edu" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to casper+unsubscr...@lists.berkeley.edu.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/F2389975-B9E7-4BA6-B797-9D2421624736%40berkeley.edu.
> 
> 
> --
> Cheers!
>> 
> ZHANG Laiyu   
> Phone(China)   010-88236415   
> Cellphone(China)   13681385567
> E-mail:zhan...@ihep.ac.cn
> Address:   19B Yuquan Road,Shijingshan District,Beijing,China
> Department:Center for Particle Astrophysics 
> Office:Astrophysics Building 205Institute of High Energy Physics, 
> CAS  
> web: 
> http://www.ihep.cas.cn>
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/308856dd.3900.16b779c8676.Coremail.zhangly%40ihep.ac.cn.

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/98E2F9D7-40C1-4823-822A-D8D0C253%40berkeley.edu.


Re: Re: [casper] ROACH Network is unreachable

2019-06-20 Thread zhang laiyu
   Thanks you.
   the contents of /etc/network/interfaces:

   auto eth0
   iface eth0 inet dhcp
   iface eth0 inet static
   address 10.0.0.21
   netmask 255.255.255.0

   when I want to start the network, I got some warning:

 roach:~# /etc/init.d/networking restart
Reconfiguring network interfaces...ifdown: failed to open statefile /etc/ne
ifup: failed to open statefile /etc/network/run/ifstate: Stale NFS file hae
failed. 
  
   I aslo use this:
auto eth0
   #iface eth0 inet dhcp
   iface eth0 inet static
   address 10.0.0.21
   netmask 255.255.255.0
 
   But can not start the network.
   if I run dhclient and can get IP address.


> -Original Messages-
> From: "David MacMahon" 
> Sent Time: 2019-06-20 22:26:41 (Thursday)
> To: casper@lists.berkeley.edu
> Cc: "zhang laiyu" , jackhick...@gmail.com
> Subject: Re: [casper] ROACH Network is unreachable
> 
> To further Marc’s query: when you mmcboot into the broken system, what are 
> the contents of /etc/network/interfaces?
> 
> Dave
> 
> > On Jun 20, 2019, at 04:06, Marc  wrote:
> > 
> >> On 6/20/19, zhang laiyu  wrote:
> >> Hi,Marc, Jack
> >>I make some progress but it was not solved.
> >>I boot the ROACH by 'run mmcboot' and did not got an IP address. And
> >> then log in  RAOCH as root and try issuing the commands:
> >>dhclient -r
> >>dhclient
> >>ifconfig
> >>Then ROACH was assigned an ip address. And can use telnet to login
> >> ROACH.
> >>But when I reboot the ROACH, ROACH Network is still unreachable.I have
> >> to issuing the commands:dhclient again.
> >>I also open two ports (  tcp port 53 and udp port 67) in the server.But
> >> it still does not work.
> >>I think that the DHCP connection doesn't work during boot.But I do not
> >> the reason.
> > 
> > So if you boot into the broken system and connect via serial cable
> > what does the output of
> > 
> > /sbin/ifconfig eth0
> > 
> > say ? Is there no IP address configured, or is it set to the wrong one
> > ? If it is set incorrectly there may be some startup script which has
> > some old/stale values set.
> > You could try to add a
> > 
> > set -x
> > 
> > to some of the startup scripts, so that they echo the commands they execute
> > 
> > regards
> > 
> > marc
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "casper@lists.berkeley.edu" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to casper+unsubscr...@lists.berkeley.edu.
> > To view this discussion on the web visit 
> > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/F2389975-B9E7-4BA6-B797-9D2421624736%40berkeley.edu.


--
Cheers!
>
ZHANG Laiyu   
Phone(China)   010-88236415   
Cellphone(China)   13681385567
E-mail:zhan...@ihep.ac.cn
Address:   19B Yuquan Road,Shijingshan District,Beijing,China
Department:Center for Particle Astrophysics 
Office:Astrophysics Building 205Institute of High Energy Physics, 
CAS  
web: 
http://www.ihep.cas.cn>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/308856dd.3900.16b779c8676.Coremail.zhangly%40ihep.ac.cn.


Re: [casper] ROACH Network is unreachable

2019-06-20 Thread David MacMahon
To further Marc’s query: when you mmcboot into the broken system, what are the 
contents of /etc/network/interfaces?

Dave

> On Jun 20, 2019, at 04:06, Marc  wrote:
> 
>> On 6/20/19, zhang laiyu  wrote:
>> Hi,Marc, Jack
>>I make some progress but it was not solved.
>>I boot the ROACH by 'run mmcboot' and did not got an IP address. And
>> then log in  RAOCH as root and try issuing the commands:
>>dhclient -r
>>dhclient
>>ifconfig
>>Then ROACH was assigned an ip address. And can use telnet to login
>> ROACH.
>>But when I reboot the ROACH, ROACH Network is still unreachable.I have
>> to issuing the commands:dhclient again.
>>I also open two ports (  tcp port 53 and udp port 67) in the server.But
>> it still does not work.
>>I think that the DHCP connection doesn't work during boot.But I do not
>> the reason.
> 
> So if you boot into the broken system and connect via serial cable
> what does the output of
> 
> /sbin/ifconfig eth0
> 
> say ? Is there no IP address configured, or is it set to the wrong one
> ? If it is set incorrectly there may be some startup script which has
> some old/stale values set.
> You could try to add a
> 
> set -x
> 
> to some of the startup scripts, so that they echo the commands they execute
> 
> regards
> 
> marc
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/F2389975-B9E7-4BA6-B797-9D2421624736%40berkeley.edu.


Re: Re: Re: [casper] ROACH Network is unreachable

2019-06-20 Thread Marc
On 6/20/19, zhang laiyu  wrote:
> Hi,Marc, Jack
> I make some progress but it was not solved.
> I boot the ROACH by 'run mmcboot' and did not got an IP address. And
> then log in  RAOCH as root and try issuing the commands:
> dhclient -r
> dhclient
> ifconfig
> Then ROACH was assigned an ip address. And can use telnet to login
> ROACH.
> But when I reboot the ROACH, ROACH Network is still unreachable.I have
> to issuing the commands:dhclient again.
> I also open two ports (  tcp port 53 and udp port 67) in the server.But
> it still does not work.
> I think that the DHCP connection doesn't work during boot.But I do not
> the reason.

So if you boot into the broken system and connect via serial cable
what does the output of

/sbin/ifconfig eth0

say ? Is there no IP address configured, or is it set to the wrong one
? If it is set incorrectly there may be some startup script which has
some old/stale values set.
You could try to add a

set -x

to some of the startup scripts, so that they echo the commands they execute

regards

marc

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQPV8NBHcrvV8rQaUGdyQZJTFcW5aG1Vyujrn0HcBr7xg%40mail.gmail.com.


Re: Re: Re: [casper] ROACH Network is unreachable

2019-06-19 Thread Indrajit Vittal Barve
Hi,Since you are using mmcboot, Using serial terminal / other way you set the ethernet port to a fixed IP address and disable DHCP. You can easily connect to the ROACH with the fixed IP address. Even after every reboot. RegardsIndrajitOn 20 Jun 2019 07:17, zhang laiyu  wrote:Hi,Marc, Jack

    I make some progress but it was not solved.

    I boot the ROACH by 'run mmcboot' and did not got an IP address. And then log in  RAOCH as root and try issuing the commands:

    dhclient -r

    dhclient

    ifconfig

    Then ROACH was assigned an ip address. And can use telnet to login ROACH.

    But when I reboot the ROACH, ROACH Network is still unreachable.I have to issuing the commands:dhclient again.   

    I also open two ports (  tcp port 53 and udp port 67) in the server.But it still does not work.

    I think that the DHCP connection doesn't work during boot.But I do not the reason. 

    Could you give me some help?

    



> -Original Messages-

> From: "zhang laiyu" 

> Sent Time: 2019-06-19 18:28:07 (Wednesday)

> To: m...@ska.ac.za, jackhick...@gmail.com

> Cc: casper@lists.berkeley.edu

> Subject: Re: Re: [casper] ROACH Network is unreachable

> 

>    Thanks Mars.

> I had checked the file: /etc/network/interfaces. It is the same configuration as what I set before and operated very well several days before.

> I found some warning  information such as: find: ./sshd.pid: Stale NFS file handle

> I had resort to internet but not solved it.  

> 

> JACK: can you give me some suggestion?

> 

> > -Original Messages-

> > From: Marc 

> > Sent Time: 2019-06-19 16:03:51 (Wednesday)

> > To: casper@lists.berkeley.edu

> > Cc: jackhick...@gmail.com

> > Subject: Re: [casper] ROACH Network is unreachable

> > 

> > On 6/18/19, zhang laiyu  wrote:

> > ...

> > > Starting NTP server: ntpdstart-stop-daemon: open pidfile /var/run/ntpd.pid:

> > > Stale NFS file handle (Stale)

> > >  failed!

> > >

> > > tcpborphserver: starting

> > >

> > > SIOCADDRT: Network is unreachable

> > >

> > 

> > Could it be that something in /etc/network/interfaces isn't

> > configured, or that a route is being initialised that doesn't make

> > sense on the current network ?

> > 

> > regards

> > 

> > marc

> > 

> > -- 

> > You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group.

> > To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu.

> > To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com.

> 

> 

> --

> Cheers!

> >

> ZHANG Laiyu   

> Phone(China)   010-88236415   

> Cellphone(China)   13681385567

> E-mail:    zhan...@ihep.ac.cn

> Address:   19B Yuquan Road,Shijingshan District,Beijing,China

> Department:    Center for Particle Astrophysics 

> Office:    Astrophysics Building 205Institute of High Energy Physics, CAS  

> web: http://www.ihep.cas.cn>

> 





--

Cheers!

>

ZHANG Laiyu   

Phone(China)   010-88236415   

Cellphone(China)   13681385567

E-mail:    zhan...@ihep.ac.cn

Address:   19B Yuquan Road,Shijingshan District,Beijing,China

Department:    Center for Particle Astrophysics 

Office:    Astrophysics Building 205Institute of High Energy Physics, CAS  

web: http://www.ihep.cas.cn>



-- 

You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group.

To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu.

To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/5a9fcade.2b1e.16b72910100.Coremail.zhangly%40ihep.ac.cn.






-- 
You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/a356669e-91cc-4262-a66a-0ca9ef194a3b%40email.android.com.


Re: Re: Re: [casper] ROACH Network is unreachable

2019-06-19 Thread zhang laiyu
Hi,Marc, Jack
I make some progress but it was not solved.
I boot the ROACH by 'run mmcboot' and did not got an IP address. And then 
log in  RAOCH as root and try issuing the commands:
dhclient -r
dhclient
ifconfig
Then ROACH was assigned an ip address. And can use telnet to login ROACH.
But when I reboot the ROACH, ROACH Network is still unreachable.I have to 
issuing the commands:dhclient again.   
I also open two ports (  tcp port 53 and udp port 67) in the server.But it 
still does not work.
I think that the DHCP connection doesn't work during boot.But I do not the 
reason. 
Could you give me some help?


> -Original Messages-
> From: "zhang laiyu" 
> Sent Time: 2019-06-19 18:28:07 (Wednesday)
> To: m...@ska.ac.za, jackhick...@gmail.com
> Cc: casper@lists.berkeley.edu
> Subject: Re: Re: [casper] ROACH Network is unreachable
> 
>Thanks Mars.
> I had checked the file: /etc/network/interfaces. It is the same 
> configuration as what I set before and operated very well several days before.
> I found some warning  information such as: find: ./sshd.pid: Stale NFS 
> file handle
> I had resort to internet but not solved it.  
> 
> JACK: can you give me some suggestion?
> 
> > -Original Messages-
> > From: Marc 
> > Sent Time: 2019-06-19 16:03:51 (Wednesday)
> > To: casper@lists.berkeley.edu
> > Cc: jackhick...@gmail.com
> > Subject: Re: [casper] ROACH Network is unreachable
> > 
> > On 6/18/19, zhang laiyu  wrote:
> > ...
> > > Starting NTP server: ntpdstart-stop-daemon: open pidfile 
> > > /var/run/ntpd.pid:
> > > Stale NFS file handle (Stale)
> > >  failed!
> > >
> > > tcpborphserver: starting
> > >
> > > SIOCADDRT: Network is unreachable
> > >
> > 
> > Could it be that something in /etc/network/interfaces isn't
> > configured, or that a route is being initialised that doesn't make
> > sense on the current network ?
> > 
> > regards
> > 
> > marc
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "casper@lists.berkeley.edu" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to casper+unsubscr...@lists.berkeley.edu.
> > To view this discussion on the web visit 
> > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com.
> 
> 
> --
> Cheers!
> >
> ZHANG Laiyu   
> Phone(China)   010-88236415   
> Cellphone(China)   13681385567
> E-mail:zhan...@ihep.ac.cn
> Address:   19B Yuquan Road,Shijingshan District,Beijing,China
> Department:Center for Particle Astrophysics 
> Office:Astrophysics Building 205Institute of High Energy Physics, 
> CAS  
> web: 
> http://www.ihep.cas.cn>
> 


--
Cheers!
>
ZHANG Laiyu   
Phone(China)   010-88236415   
Cellphone(China)   13681385567
E-mail:zhan...@ihep.ac.cn
Address:   19B Yuquan Road,Shijingshan District,Beijing,China
Department:Center for Particle Astrophysics 
Office:Astrophysics Building 205Institute of High Energy Physics, 
CAS  
web: 
http://www.ihep.cas.cn>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/5a9fcade.2b1e.16b72910100.Coremail.zhangly%40ihep.ac.cn.


Re: Re: [casper] ROACH Network is unreachable

2019-06-19 Thread Jack Hickish
Just to add -- these are pretty generic Linux problems rather than
anything too casper specific, so if you have a sys admin you can ask
for help in your department, they're likely to be able to provide some
assistance.

Cheers
Jack

On Wed, 19 Jun 2019 at 08:34, Jonathon Kocz  wrote:
>
> I know you had this running earlier, but looking at the printenv, I'm 
> wondering if you're actually doing an mmcboot rather than netboot. (rather 
> than typing "boot", perhaps try "run netboot" specifically).
>
> The stale nfs filehandle is something a few people have encountered when 
> using mmcboot.
>
> One potential solution might be:
>
> https://www.mail-archive.com/casper@lists.berkeley.edu/msg03241.html
>
> Cheers,
> Jonathon
>
>
> On Wed, 19 Jun 2019 at 03:28, zhang laiyu  wrote:
>>
>>Thanks Mars.
>> I had checked the file: /etc/network/interfaces. It is the same 
>> configuration as what I set before and operated very well several days 
>> before.
>> I found some warning  information such as: find: ./sshd.pid: Stale NFS 
>> file handle
>> I had resort to internet but not solved it.
>>
>> JACK: can you give me some suggestion?
>>
>> > -Original Messages-----
>> > From: Marc 
>> > Sent Time: 2019-06-19 16:03:51 (Wednesday)
>> > To: casper@lists.berkeley.edu
>> > Cc: jackhick...@gmail.com
>> > Subject: Re: [casper] ROACH Network is unreachable
>> >
>> > On 6/18/19, zhang laiyu  wrote:
>> > ...
>> > > Starting NTP server: ntpdstart-stop-daemon: open pidfile 
>> > > /var/run/ntpd.pid:
>> > > Stale NFS file handle (Stale)
>> > >  failed!
>> > >
>> > > tcpborphserver: starting
>> > >
>> > > SIOCADDRT: Network is unreachable
>> > >
>> >
>> > Could it be that something in /etc/network/interfaces isn't
>> > configured, or that a route is being initialised that doesn't make
>> > sense on the current network ?
>> >
>> > regards
>> >
>> > marc
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "casper@lists.berkeley.edu" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to casper+unsubscr...@lists.berkeley.edu.
>> > To view this discussion on the web visit 
>> > https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com.
>>
>>
>> --
>> Cheers!
>> >
>> ZHANG Laiyu
>> Phone(China)   010-88236415
>> Cellphone(China)   13681385567
>> E-mail:zhan...@ihep.ac.cn
>> Address:   19B Yuquan Road,Shijingshan District,Beijing,China
>> Department:Center for Particle Astrophysics
>> Office:Astrophysics Building 205Institute of High Energy 
>> Physics, CAS
>> web: 
>> http://www.ihep.cas.cn>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "casper@lists.berkeley.edu" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to casper+unsubscr...@lists.berkeley.edu.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/38288890.260b.16b6f4786ea.Coremail.zhangly%40ihep.ac.cn.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P9v5df-owWJJ02rHwv7vDd6Z%2Bwc1805SdEoKigw50b9Ew%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSmFNcYgYZ35TZ5EaP1GrXsL%3Dyt-Ak_%2B8dbeaN-SjZUOzA%40mail.gmail.com.


Re: Re: [casper] ROACH Network is unreachable

2019-06-19 Thread Jonathon Kocz
I know you had this running earlier, but looking at the printenv, I'm
wondering if you're actually doing an mmcboot rather than netboot. (rather
than typing "boot", perhaps try "run netboot" specifically).

The stale nfs filehandle is something a few people have encountered when
using mmcboot.

One potential solution might be:

https://www.mail-archive.com/casper@lists.berkeley.edu/msg03241.html

Cheers,
Jonathon


On Wed, 19 Jun 2019 at 03:28, zhang laiyu  wrote:

>Thanks Mars.
> I had checked the file: /etc/network/interfaces. It is the same
> configuration as what I set before and operated very well several days
> before.
> I found some warning  information such as: find: ./sshd.pid: Stale NFS
> file handle
> I had resort to internet but not solved it.
>
> JACK: can you give me some suggestion?
>
> > -Original Messages-
> > From: Marc 
> > Sent Time: 2019-06-19 16:03:51 (Wednesday)
> > To: casper@lists.berkeley.edu
> > Cc: jackhick...@gmail.com
> > Subject: Re: [casper] ROACH Network is unreachable
> >
> > On 6/18/19, zhang laiyu  wrote:
> > ...
> > > Starting NTP server: ntpdstart-stop-daemon: open pidfile
> /var/run/ntpd.pid:
> > > Stale NFS file handle (Stale)
> > >  failed!
> > >
> > > tcpborphserver: starting
> > >
> > > SIOCADDRT: Network is unreachable
> > >
> >
> > Could it be that something in /etc/network/interfaces isn't
> > configured, or that a route is being initialised that doesn't make
> > sense on the current network ?
> >
> > regards
> >
> > marc
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "casper@lists.berkeley.edu" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to casper+unsubscr...@lists.berkeley.edu.
> > To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com
> .
>
>
> --
> Cheers!
> >
> ZHANG Laiyu
> Phone(China)   010-88236415
> Cellphone(China)   13681385567
> E-mail:zhan...@ihep.ac.cn
> Address:   19B Yuquan Road,Shijingshan District,Beijing,China
> Department:Center for Particle Astrophysics
> Office:Astrophysics Building 205Institute of High Energy
> Physics, CAS
> web: http://www.ihep.cas.cn
> >
>
> --
> You received this message because you are subscribed to the Google Groups "
> casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/38288890.260b.16b6f4786ea.Coremail.zhangly%40ihep.ac.cn
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAPU71P9v5df-owWJJ02rHwv7vDd6Z%2Bwc1805SdEoKigw50b9Ew%40mail.gmail.com.


Re: Re: [casper] ROACH Network is unreachable

2019-06-19 Thread zhang laiyu
   Thanks Mars.
I had checked the file: /etc/network/interfaces. It is the same 
configuration as what I set before and operated very well several days before.
I found some warning  information such as: find: ./sshd.pid: Stale NFS file 
handle
I had resort to internet but not solved it.  

JACK: can you give me some suggestion?

> -Original Messages-
> From: Marc 
> Sent Time: 2019-06-19 16:03:51 (Wednesday)
> To: casper@lists.berkeley.edu
> Cc: jackhick...@gmail.com
> Subject: Re: [casper] ROACH Network is unreachable
> 
> On 6/18/19, zhang laiyu  wrote:
> ...
> > Starting NTP server: ntpdstart-stop-daemon: open pidfile /var/run/ntpd.pid:
> > Stale NFS file handle (Stale)
> >  failed!
> >
> > tcpborphserver: starting
> >
> > SIOCADDRT: Network is unreachable
> >
> 
> Could it be that something in /etc/network/interfaces isn't
> configured, or that a route is being initialised that doesn't make
> sense on the current network ?
> 
> regards
> 
> marc
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com.


--
Cheers!
>
ZHANG Laiyu   
Phone(China)   010-88236415   
Cellphone(China)   13681385567
E-mail:zhan...@ihep.ac.cn
Address:   19B Yuquan Road,Shijingshan District,Beijing,China
Department:Center for Particle Astrophysics 
Office:Astrophysics Building 205Institute of High Energy Physics, 
CAS  
web: 
http://www.ihep.cas.cn>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/38288890.260b.16b6f4786ea.Coremail.zhangly%40ihep.ac.cn.


Re: [casper] ROACH Network is unreachable

2019-06-19 Thread Marc
On 6/18/19, zhang laiyu  wrote:
...
> Starting NTP server: ntpdstart-stop-daemon: open pidfile /var/run/ntpd.pid:
> Stale NFS file handle (Stale)
>  failed!
>
> tcpborphserver: starting
>
> SIOCADDRT: Network is unreachable
>

Could it be that something in /etc/network/interfaces isn't
configured, or that a route is being initialised that doesn't make
sense on the current network ?

regards

marc

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAGrhWaQ%3DF_%3DEzUSK8Ru%3Dfm%2Bx9PmV68wbQS0yyvjjK-K-v31WYA%40mail.gmail.com.