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
This is
-----------------
root:/sys/class/net# ls -l
total 0
lrwxrwxrwx 1 root root 0 Jun 22 01:55 eth0 ->
../../devices/pci0000:00/0000:00:12.0/net/eth0
lrwxrwxrwx 1 root root 0 Jun 22 2013 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Jun 22 02:51 ppp0 -> ../../devices/virtual/net/ppp0
root:/sys/class/net#
--------------------
I'm wondering why the commands not working
---------------
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
----------------
Please give me more clue or even direct answer, thank you for your attention
Mr. bruce.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page