Are you talking about this procedure? https://software.intel.com/en-us/articles/managing-devkit-libraries-intel-edison-or-intel-galileo-board, if this is the case you need to add the repo into the file /etc/opkg/intel-iotdk.conf. Or are you referring to the XDK? If that’s the case take a look at this post https://communities.intel.com/thread/56292.
At the Hackathon anbody had told me that the URL are http://iotdk.intel.com/repos/1.1/iotdk and in the i586 are a file named Package but the File is empty and opkg told me that there are no updates and i have to download the file and install it manually....
I want to develope only native....
1 of 1 people found this helpful
I see. Let me see if I’m getting this. I’d use the following command to add the repo of the i586 files into the list of packages of the opkg:
echo "src i586 http://iotdk.intel.com/repos/1.1/iotdk/i586" > /etc/opkg/base-feeds.conf
So when you are using the command opkg update you are not getting updates, right? What message are you getting? The packages available should be listed in /var/lib/oppkg/i586 can you see the ones you need?
I have a problem trying to do an update. I'm using the command: echo "src i586 http://iotdk.intel.com/repos/1.1/iotdk/i586" > /etc/opkg/base-feeds.conf
but I get this error when I try to do an 'opkg update':
* opkg_download: Failed to download http://iotdk.intel.com/repos/1.1/iotdk/i586/Packages, wget returned 4.
* opkg_download: Failed to download http://iotdk.intel.com/repos/1.1/intelgalactic/Packages, wget returned 4.
When I open that url in a browser, I can see all the ipk files, so it seems I have the right url.
After trying to do a wget to my host, I realize you are correct. I cannot do any wget's from my Edison. However, I just did some test wget's from two other Linux computers on my same home network OK, so I don't see how it can be my firewall.
Any other ideas? I do have my Edison configured for a static IP, but so was one of the other Linux computers I just tested OK.
Or should I take this issue over to the Makers/Edison forum now that I know it's not a Developer Zone issue?
Here is the line I commented out of "/etc/wpa_supplicant/wpa_cli-actions.sh" based on a post on the Edison forum to make a static IP address:
# udhcpc -i $IFNAME -p /var/run/udhcpc-$IFNAME.pid -S
And here is the line I added :
ifconfig $IFNAME 192.168.1.95 netmask 255.255.255.0
This did work OK, as far as accessing my Edison with its static IP.
Anyway, once I commented this line back out, I was able to do wget's OK. So, I'm sure you're right about needing to specify my gateway and dns addresses, too, but I'm not sure how to do it. I tried adding "gateway 192.168.1.254" to the line but that brought my router down. What is the proper way to specify my gateway and dns addresses in this file?