On 21 June 2013 21:38, Bruce Dubbs <bruce.du...@gmail.com> wrote: > 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 > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page >
Hi friends. May I bring your attention to this message. http://www.mail-archive.com/lfs-support@linuxfromscratch.org/msg20152.html Specifically the part that reads "I don't have network card, I use USB modem" Regards, Molly
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page