Em 25-11-2013 11:59, Alan Feuerbacher escreveu: > On 11/24/2013 2:33 PM, Pierre Labastie wrote: >> Le 24/11/2013 19:24, David Kredba a écrit :
>> Before that and if you are still on LFS: >> ip link list > > ####### > 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode > DEFAULT group default > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > state UP mode DEFAULT group default qlen 1000 > link/ether 30:85:a9:8f:31:09 brd ff:ff:ff:ff:ff:ff > ####### > >> Also, I see: >> Adding IPv4 address 10.0.1.1 to the eth0 interface >> >> Are you sure you want 10.0.1.1? Usually, the .1 address is that of the >> ethernet hub which connects your local network to the outside world. I'd try >> 10.0.1.9 (unless you have many computers on your local network, that address >> should be free...) This is not right, in it is giving 10.0.1.31 > Using ifconfig on the Fedora host system: > ######## > p4p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet 10.0.1.31 netmask 255.255.255.0 broadcast 10.0.1.255 > inet6 fe80::3285:a9ff:fe8f:3109 prefixlen 64 scopeid 0x20<link> > ether 30:85:a9:8f:31:09 txqueuelen 1000 (Ethernet) > RX packets 397 bytes 68874 (67.2 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 163 bytes 17889 (17.4 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > ######## > > Using ip addr on the LFS system from the LFS chroot environment: > 2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > state UP group default qlen 1000 > link/ether 30:85:a9:8f:31:09 brd ff:ff:ff:ff:ff:ff > inet 10.0.1.31/24 brd 10.0.1.255 scope global p4p1 > valid_lft forever preferred_lft forever > inet6 fe80::3285:a9ff:fe8f:3109/64 scope link > valid_lft forever preferred_lft forever > ####### > > Using ip link list on the Fedora host: > ####### > 2: p4p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > state UP mode DEFAULT group default qlen 1000 > link/ether 30:85:a9:8f:31:09 brd ff:ff:ff:ff:ff:ff > ####### > > Using route -n on the Fedora host: > ####### > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 0.0.0.0 10.0.1.1 0.0.0.0 UG 0 0 0 p4p1 > 10.0.1.0 0.0.0.0 255.255.255.0 U 1 0 0 p4p1 > ####### > > BTW, I got the X Windows system running. The expected 3 xterm windows > pop up, but the mouse does not work. The one window that has focus > responds to linux commands. I'm certain that there's something wrong > with how I set up the mouse stuff in the LFS book, but that's for > another thread. > > Alan > I think that if you s/etho0/p4p1/ in the /etc/sysconfig/ifconfig.etho filename and in the file itself, so you would have: cat /etc/sysconfig/ifconfig.p4p1 ONBOOT=yes IFACE=p4p1 SERVICE=ipv4-static IP=10.0.1.31 GATEWAY=10.0.1.1 PREFIX=24 BROADCAST=192.168.0.255 the problem, perhaps, would be solved. Hope that helps. Remember that you will need a resolv.conf. All I wrote is for manual ip, not dhcp, but could help you, there, too, perhaps. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
