How to Connect Internet in Zedboard using Linux via SDCard












0














I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. Linux is not detecting any wireless network as well. I plugged the one end of LAN cable into Zedboard and other into PC.



I tried to write ifconfig into the terminal of linux and I get this message :



root@localhost:˜# ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link


Here I cannot see this sort of thing:



"inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0"


As it is essential for detecting the ip address of PC.

Please guide and suggest me the solution.

Thanks










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
    – Xion345
    May 15 '14 at 9:00
















0














I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. Linux is not detecting any wireless network as well. I plugged the one end of LAN cable into Zedboard and other into PC.



I tried to write ifconfig into the terminal of linux and I get this message :



root@localhost:˜# ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link


Here I cannot see this sort of thing:



"inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0"


As it is essential for detecting the ip address of PC.

Please guide and suggest me the solution.

Thanks










share|improve this question
















bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
    – Xion345
    May 15 '14 at 9:00














0












0








0


1





I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. Linux is not detecting any wireless network as well. I plugged the one end of LAN cable into Zedboard and other into PC.



I tried to write ifconfig into the terminal of linux and I get this message :



root@localhost:˜# ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link


Here I cannot see this sort of thing:



"inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0"


As it is essential for detecting the ip address of PC.

Please guide and suggest me the solution.

Thanks










share|improve this question















I am working on Zedboard Zynq 7020. I have booted the Linux via SD card through Zedboard. The linux display can be shown onto the monitor via VGA cable. But I cannot connect that linux to internet. Linux is not detecting any wireless network as well. I plugged the one end of LAN cable into Zedboard and other into PC.



I tried to write ifconfig into the terminal of linux and I get this message :



root@localhost:˜# ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet6 addr: fe80::211:22ff:fe33:4455/64 Scope:Link


Here I cannot see this sort of thing:



"inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0"


As it is essential for detecting the ip address of PC.

Please guide and suggest me the solution.

Thanks







boot linux-kernel sd-card fpga






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 14 '14 at 19:20









Tejas

1,80121839




1,80121839










asked May 14 '14 at 18:56









NabeelNabeel

13




13





bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 2 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
    – Xion345
    May 15 '14 at 9:00


















  • Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
    – Xion345
    May 15 '14 at 9:00
















Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
– Xion345
May 15 '14 at 9:00




Please add information about which Linux distribution you are using (or where you downloaded your Linux image to put on the SD Card).
– Xion345
May 15 '14 at 9:00










1 Answer
1






active

oldest

votes


















0














If your network is using IPv4 (which is very likely), the absence of an IPv4 address (like inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0) in ifconfig output reveals that your system was unable to acquire an IP address.



On most networks, IP addresses are acquired using DHCP. While usually Linux distributions try to acquire IP addresses automatically via DHCP, this process may have failed (maybe because the Linux distribution is expecting your Ethernet adapter to be named eth0). You can try to acquire an IP adress via DHCP manually.



Depending on the Linux distribution installed, one of the following commands may work :



   # Debian, Ubuntu, Fedora etc.
dhclient -v eth1
# Busybox
udhcpc -i eth1





share|improve this answer





















  • I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
    – Nabeel
    May 15 '14 at 17:17










  • Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
    – Xion345
    May 15 '14 at 19:14










  • OKH. so now i should configure PC as a router and then follow those instructions.
    – Nabeel
    May 15 '14 at 21:34











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f129397%2fhow-to-connect-internet-in-zedboard-using-linux-via-sdcard%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If your network is using IPv4 (which is very likely), the absence of an IPv4 address (like inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0) in ifconfig output reveals that your system was unable to acquire an IP address.



On most networks, IP addresses are acquired using DHCP. While usually Linux distributions try to acquire IP addresses automatically via DHCP, this process may have failed (maybe because the Linux distribution is expecting your Ethernet adapter to be named eth0). You can try to acquire an IP adress via DHCP manually.



Depending on the Linux distribution installed, one of the following commands may work :



   # Debian, Ubuntu, Fedora etc.
dhclient -v eth1
# Busybox
udhcpc -i eth1





share|improve this answer





















  • I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
    – Nabeel
    May 15 '14 at 17:17










  • Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
    – Xion345
    May 15 '14 at 19:14










  • OKH. so now i should configure PC as a router and then follow those instructions.
    – Nabeel
    May 15 '14 at 21:34
















0














If your network is using IPv4 (which is very likely), the absence of an IPv4 address (like inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0) in ifconfig output reveals that your system was unable to acquire an IP address.



On most networks, IP addresses are acquired using DHCP. While usually Linux distributions try to acquire IP addresses automatically via DHCP, this process may have failed (maybe because the Linux distribution is expecting your Ethernet adapter to be named eth0). You can try to acquire an IP adress via DHCP manually.



Depending on the Linux distribution installed, one of the following commands may work :



   # Debian, Ubuntu, Fedora etc.
dhclient -v eth1
# Busybox
udhcpc -i eth1





share|improve this answer





















  • I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
    – Nabeel
    May 15 '14 at 17:17










  • Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
    – Xion345
    May 15 '14 at 19:14










  • OKH. so now i should configure PC as a router and then follow those instructions.
    – Nabeel
    May 15 '14 at 21:34














0












0








0






If your network is using IPv4 (which is very likely), the absence of an IPv4 address (like inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0) in ifconfig output reveals that your system was unable to acquire an IP address.



On most networks, IP addresses are acquired using DHCP. While usually Linux distributions try to acquire IP addresses automatically via DHCP, this process may have failed (maybe because the Linux distribution is expecting your Ethernet adapter to be named eth0). You can try to acquire an IP adress via DHCP manually.



Depending on the Linux distribution installed, one of the following commands may work :



   # Debian, Ubuntu, Fedora etc.
dhclient -v eth1
# Busybox
udhcpc -i eth1





share|improve this answer












If your network is using IPv4 (which is very likely), the absence of an IPv4 address (like inet addr:10.1.1.164 Bcast:10.1.1.255 Mask:255.255.255.0) in ifconfig output reveals that your system was unable to acquire an IP address.



On most networks, IP addresses are acquired using DHCP. While usually Linux distributions try to acquire IP addresses automatically via DHCP, this process may have failed (maybe because the Linux distribution is expecting your Ethernet adapter to be named eth0). You can try to acquire an IP adress via DHCP manually.



Depending on the Linux distribution installed, one of the following commands may work :



   # Debian, Ubuntu, Fedora etc.
dhclient -v eth1
# Busybox
udhcpc -i eth1






share|improve this answer












share|improve this answer



share|improve this answer










answered May 15 '14 at 8:59









Xion345Xion345

354316




354316












  • I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
    – Nabeel
    May 15 '14 at 17:17










  • Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
    – Xion345
    May 15 '14 at 19:14










  • OKH. so now i should configure PC as a router and then follow those instructions.
    – Nabeel
    May 15 '14 at 21:34


















  • I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
    – Nabeel
    May 15 '14 at 17:17










  • Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
    – Xion345
    May 15 '14 at 19:14










  • OKH. so now i should configure PC as a router and then follow those instructions.
    – Nabeel
    May 15 '14 at 21:34
















I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
– Nabeel
May 15 '14 at 17:17




I tried to used this command . but nothing works. further in my PC, there are two ethernet cards. one of them is connected to internet. and on the other card, Zedboard is connected to PC. So inshort two ethernet cards cannot communicate with each other( or the internet on the second ethernet card is not working ). Dont know what to do in this case . should i configure my pc as a router ?
– Nabeel
May 15 '14 at 17:17












Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
– Xion345
May 15 '14 at 19:14




Yes, if you want the Zedboard to be able to connect to the Internet with this setup, you need to configure your PC as a router. I was assuming the Zedboard was connected to a home/enterprise network (with a DHCP server and a default gateway). I won't modify my question to add instructions to do this because this is a totally different question.
– Xion345
May 15 '14 at 19:14












OKH. so now i should configure PC as a router and then follow those instructions.
– Nabeel
May 15 '14 at 21:34




OKH. so now i should configure PC as a router and then follow those instructions.
– Nabeel
May 15 '14 at 21:34


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f129397%2fhow-to-connect-internet-in-zedboard-using-linux-via-sdcard%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

サソリ

広島県道265号伴広島線

Accessing regular linux commands in Huawei's Dopra Linux