OpenWrt Forum Archive

Topic: OPKG questions

The content of this topic has been archived on 4 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone,
I own a NETGEAR WNDR3800 router with the backfire/10.03.1/ar71xx firmware.The fs is squash.
I want to install on the router a daemon which in its installation guide states : Just open "/etc/opkg.conf" and add an additional line like this : scr/gz http://www.ibr.cs.tu-bs.de/projects/ibr … .1/ar71xx/
Then call "opkg update" and "opkg install ibrdtnd" and the daemon gets installed on your host
Overall all it seems very easy.The problem is that i cannot find the /etc/opkg.conf destination.
This is the first time I am trying such things so I'm quite newbie.
Any suggestions.

(Last edited by dimigiotas on 4 Nov 2012, 19:40)

Do you have any experience on Linux? It might help, specially on console mode.

The file is here:

root@router:~# cat /etc/opkg.conf

And you can edit it with vi (look for tutorials and play a little before editing real things)

I have a small experience in Linux.Only a couple of months.
Still adjusting to it.
So if i get this right, I ssh to my router and then I edit the directory using vi?
Could I go with gedit, or another text editor;or vi is strictly the way to go?
Anyway, thank you for taking the time to answer my question.I really appreciate it.
I was stuck here for days.

*Edit*
I assume an internet connection is mandatory right?

(Last edited by dimigiotas on 1 Nov 2012, 17:44)

You can edit with whatever editor you like but in your computer. Inside de router, there is, by defaul, only vi. You can also use scp to copy the file, edit in your computer and upload afterwards. However, make sure to keep text files in UNIX format and not DOS format (good editors does this by default).

In order to use remote repositories, yes, you might need internet. You can also download the .okg files, upload to the router and install manually, without internet in your router.

I guess anywhere. Under the first src/gz might be good.

Thanks man.
I'll get back to you on that.
Hopefully that was my last question.

Worked like a charm.
Thanks.

The discussion might have continued from here.