________________________________
 From: Bruce Dubbs <bruce.du...@gmail.com>
To: John Black <jb_...@yahoo.com>; LFS Support List 
<lfs-support@linuxfromscratch.org> 
Sent: Friday, June 21, 2013 8:38 PM
Subject: Re: [lfs-support] First LFS login/boot
 

John Black wrote:
>
> 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#

Well you do have eth0, but you may not have the driver installed.  Try:

dmesg|grep eth0

> --------------------
> I'm wondering why the commands not working
> ---------------
> root:/# ipconfig -a
> bash: ipconfig: command not found

I told you.  ipconfig is a windows command.

> 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

I also told you that this command is installed by net-tools in BLFS. Did 
you read all of my earlier response?

   -- Bruce

I'm sorry Mr. Bruce, I missed it.
here is the result
-------------
root:/sys/class/net# dmesg|grep eth0
[    2.611331] via-rhine 0000:00:12.0: eth0: VIA Rhine II at 0xfdffe000, 
00:e0:4d:56:48:0a, IRQ 23
[    2.612057] via-rhine 0000:00:12.0: eth0: MII PHY found at address 1, status 
0x7849 advertising 01e1 Link 0000
[   20.191794] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.662664] via-rhine 0000:00:12.0: eth0: link down
[   24.663638] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   24.669753] ADDRCONF(NETDEV_UP): eth0: link is not ready
root:/sys/class/net# 
-------------
My main purpose is creating Live CD with some unicodes support, should I 
consider something about USB modem?



http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
-- 
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