Kernel Configuration - what affect the way ethernet port functions
Hi,
Is there anything in the kernel set up apart from including the smsc911 module by default that would affect the way that the port is set up when it is a DHCP Client i.e. it receives its IP Address from a router.
I am getting the broadcast address set to 0.0.0.0.
If this is not kernel related then are there any flags that require to be set that control hos the smsc91C11 part functions?
I really need help to resolve this issue.
Cheers,
Stuart
Quoted 10 lines · Stuart Gray
Hi,
Is there anything in the kernel set up apart from including the smsc911 module by default that would affect the way that the port is set up when it is a DHCP Client i.e. it receives its IP Address from a router.
I am getting the broadcast address set to 0.0.0.0.
If this is not kernel related then are there any flags that require to be set that control hos the smsc91C11 part functions?
I don't know for sure I understand your question, but perhaps you need to set up /etc/network/interfaces to configure the ethernet port?
Cliff
Hi Cliff,
I have done this using the standard set up, but when I get my IP, netmask, network, gateway and broadcast addresses.
So my interfaces file simply sets eth0 to be set up to use DHCP.
When I check how it is configured using ifconfig eth0 I get
IP 192.168.0.11
NetMask 255.255.255.0
Gateway 192.168.0.1
Broadcast 0.0.0.0
I am expecting broadcast to be 192.168.0.255. If I set broadcast using ifconfig eth0 broadcast 192.168.0.255 it gets set correctly, but mt ethernet access does not work.
Only when I configure the eth0 interface using static and set all network configuration manually within the interfaces file does it work, btu I should not and do not want to do this for my application I need it to use DHCP.
My thinking after trying various settings was that there may be some hardware configuration of the LAN91C11 device that I am not aware of. I have no datasheet for this part.
If there is another area that can set the broadcast to 0.0.0.0 please let me know or if you know of some other setting that I can try.
Thanks,
Stuart
2009/10/2 Cliff Brake <[email protected]>
Quoted 23 lines · Stuart Gray
Quoted 4 lines
Hi,
Is there anything in the kernel set up apart from including the smsc911 module by default that would affect the way that the port is set up when
it
Quoted 6 lines
is a DHCP Client i.e. it receives its IP Address from a router.
I am getting the broadcast address set to 0.0.0.0.
If this is not kernel related then are there any flags that require to be set that control hos the smsc91C11 part functions?
I don't know for sure I understand your question, but perhaps you need to set up
/etc/network/interfacesto configure the ethernet port?Cliff
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel