Em 25-11-2013 13:27, Dan McGhee escreveu:
> Please excuse the "top post."  I've done it for a reason.
> 
> Alan, you have gotten a number of great suggestions from some really 
> helpful people.  I think, however, that the waters are very muddy right 
> now.  The main problem is that your system can't find your ethernet 
> card--eth0.  That's the first goal.  After your system sees and 
> acknowledges it's existence, then troubleshoot connecting if any 
> problems persist.

It can find the interface.

Replying to Ken, Alan wrote:

Em 24-11-2013 14:04, Alan Feuerbacher escreveu:
> On 11/24/2013 10:48 AM, Ken Moffat wrote:
>> >   I think Alan needs the r8169, this is what I use :
>> >
>> > CONFIG_NET_VENDOR_REALTEK=y
>> >   and
>> > CONFIG_R8169=m (actually 'y' would be better, i.e. faster to come
>> > up)
> Ok, I set that and recompiled the kernel. No luck; the eth0 interface
> will not come up.
>
> Alan

Then more recently he sent a post to which I replied, in which the
interface was there:

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 :

>>>> Per Ken's suggestion, I added the ethernet driver for my Realtek
>>>> ethernet device, recompiled the kernel, reinstalled systemd/udev from
>>>> scratch. Still no luck.
>>>>
>>>> When linux starts, I see a message:
>>>> "Bringing up the eth0 interface... skipped"
>>>>
>>>> When I try to bring up the network with ifup I get this:
>>>>
>>>> ifup eth0
>>>> #######
>>>>       Bringing up the eth0 interface...
>>>>       Adding IPv4 address 10.0.1.1 to the eth0 interface...Cannot find
>>>> device "eth0"
>>>> *****
>>>>
>>>> *****face eth0 doesn't exist.
>>>> #######

This because the name is different, which you find in the same post:

>> Before that and if you are still on LFS:
>> ip link list
>
> #######


> 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
> #######

Interface name is p4p1. Only problem is probably he was not aware that
crazy name are given to interfaces, now. William suggested how he could
fix that. I just use what I get.

This is also what says William, Bruce and myself, in other posts.

Then other parts of the post confirm that. Finally, I suggested to use:

> 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

William suggested:

> Your link name is p4p1.
> 
> You can always look in /sys/class/net, too and see what is there for  
> your system to use.
> 
> If you want eth0, then follow this thread:
> http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg18294.html
> 
> It'll help you get back to eth0. Otherwise, use whatever name the  
> kernel gives the device.

and Bruce:

> You should have a file /etc/sysconfig/ifconfig.eth0
> 
> ONBOOT=yes
> IFACE=p4p1
> SERVICE=ipv4-static
> IP=10.0.1.2   # Change to 10.0.1.x to not conflict with other systems
> GATEWAY=10.0.1.1
> PREFIX=24
> BROADCAST=10.0.1.255

which is similar to mine, only he suggests

> IP=10.0.1.2   # Change to 10.0.1.x to not conflict with other systems

and I suggest:

> IP=10.0.1.31

My suggestion was based on what dhcp gave to the machine, when running
Fedora. It is in Alan's post.


-- 
[]s,
Fernando
-- 
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