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 <dav...@berkeley.edu> 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 <zhan...@ihep.ac.cn> 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" <dav...@berkeley.edu> > > > Sent Time: 2019-06-20 22:26:41 (Thursday) > > > To: casper@lists.berkeley.edu > > > Cc: "zhang laiyu" <zhan...@ihep.ac.cn>, 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 <m...@ska.ac.za> wrote: > > > > > On 6/20/19, zhang laiyu <zhan...@ihep.ac.cn> 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-DFFFF8D0C253%40berkeley.edu. > -- 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/BC16273D-853C-4B1A-A64B-5B8682CACA12%40getmailspring.com.