Forum Discussion
Ethernet on Neek running mmu linux question
Has anyone been able to get the ethernet on the Neek to work with mmu linux.
So far I've been able to assign a MAC address, but when I give the command "udhcpc" it tries to assign an ip address. Then if I ping a website, or even the router, I get "the network is unreachable". Are there some options that I have to select in the kernel build menu specifically, and if so what are those options. I'd appreciate any help. Thanks,7 Replies
- Altera_Forum
Honored Contributor
I've tried udhcpc and it seems to get an address and immediately lose it. I am currently using dhcpcd, but I did have some issues with it, see this thread: http://www.alteraforum.com/forum/showthread.php?t=18802
You should try configuring a static IP address to rule out the DHCP client as a problem. - Altera_Forum
Honored Contributor
OK new development,
I am able to ping a local ip, but I get "network unreachable" if I try to ping anything out the local domain. I also get "net eth0: RX: overrun" error after I statically declare my ip address. THoughts? - Altera_Forum
Honored Contributor
Hi leehinsz,
What board and which MAC/PHY do you use ? I think you got the same problem as me ... See my post : http://www.alteraforum.com/forum/showthread.php?t=21057 - Altera_Forum
Honored Contributor
Hi, I have the NEEK, and I'm using Hippo's most recent SOF file on the
Nios Wiki. neek_ocm_spi_mmu.zip The MAC I believe is the Marvel option, and the PHY is the default option. I found the problem, I needed to add a gateway to the Kernel ip table with the Route command. First I needed a Static Ip address assigned to the Board, then use the following route command "route default gw 'ipaddress of gateway' " And vola. However after a certain amount of time, the board seems to loose all of that information. - Altera_Forum
Honored Contributor
--- Quote Start --- Has anyone been able to get the ethernet on the Neek to work with mmu linux. So far I've been able to assign a MAC address, but when I give the command "udhcpc" it tries to assign an ip address. Then if I ping a website, or even the router, I get "the network is unreachable". Are there some options that I have to select in the kernel build menu specifically, and if so what are those options. I'd appreciate any help. Thanks, --- Quote End --- hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much! - Altera_Forum
Honored Contributor
hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much!
- Altera_Forum
Honored Contributor
--- Quote Start --- hello,I have a neek board and nios2-linux-20100621.tar , I want to make an zImage with mmu, and I use the branch "truch" and "nios2mmu",when I compile the default configuration of the kernel,there is no error,.But when I change the configuration of the kernel and choose the Neek board,there is error is the process of compilation,can you tell me why? Thank you very much! --- Quote End --- Please start a separate thread and post the errors you are getting.