John Black wrote:

> I got command not found
> -----------
> root:/# ipconfig -a
> bash: ipconfig: command not found
> root:/# ifconfig eth0 up
> bash: ifconfig: command not found
> root:/# ifconfig eth0 192.168.1.1 netmask 255.255.255.0
> bash: ifconfig: command not found
> -------

ipconfig is a windows command, not Linux.  There is a ifconfig, but that 
is a part of not-tools in BLFS.

> I used the following
>
> ip addr add 192.168.1.1 dev eth0
> ip addr add 192.168.1.1/24 dev eth0
>
> still error, result.
> Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find device 
> "eth0"

What are the results of 'ls /sys/class/net'

> --------
> I think I have to skip it for now, and continue to BLFS,

You really should get networking up before proceeding.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to