LoginSignup
1
0

More than 5 years have passed since last update.

petalinux / microzed > L. デフォルトIPアドレスの設定方法

Last updated at Posted at 2016-01-10

自分の過去メモ(2014年ころ)より

http://zedboard.org/content/change-default-ipaddr-microzed
以下のいずれかの方法が可能

  • /mnt/init.sh スクリプトファイルを新規作成して 以下のコマンドを記載
ifconfig eth0 192.168.1.31  netmask 255.255.255.0
  • /etc/init.d/rcS の中に上記のifconfig...を追記

上記の方法ではlinuxを一度ブートする必要がある。 kernel build時に設定ファイルが追加できればいいのだが。。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0