Hello list,

I'm trying to give a roach a static IP since dhcp is not allowed. There is http://gmrt.ncra.tifr.res.in/gmrt_hpage/sub_system/corr/Iru/Roach_BOOT_proc1_V3.pdf which says bootargs can have ip=<ownip>:<gatewayip>:<netmask>. So I'm trying this:

setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=10.0.2.101:10.0.2.1:255.255.255.0 root=/dev/nfs nfsroot=10.0.2.94:/rdbe/rdbe_image,nolock

saveenv

Is that ip=... really the proper syntax?

Because as a result of the above, the roach uses wrong netmask and probably a wrong gateway too:

  IP-Config: Guessing netmask 255.0.0.0
  IP-Config: Gateway not on directly connected network.
  Looking up port of RPC 100003/2 on 10.0.2.94
  rpcbind: server 10.0.2.94 not responding, timed out
  Root-NFS: Unable to get nfsd port number from server, using default
  Looking up port of RPC 100005/1 on 10.0.2.94

Any ideas?

 - Jan

Reply via email to