Home > wrt ipkg > dd-wrt ipkg update error

Dd-wrt Ipkg Update Error

Contents

base of DD-WRT with the OpenWRT firmware. This means that, for the most part, OpenWRT's package management system, ipkg, is available for DD-WRT. This allows for an easy way to add features not dd wrt ipkg update does nothing already in the DD-WRT firmware. Since ipkg is a command line program, you will

Dd Wrt Ipkg Read Only File System

need to either Telnet or SSH into your router to run this utility. You also need Jffs enabled. Contents 1 Commandline

Ipkg Commands

Structure 1.1 Usage 1.2 Options 1.3 Sub Commands 2 Finding Packages 3 Installing ipkg Packages 4 Required uClibc installation 4.1 Setting LD_LIBRARY_PATH 5 Starting Programs/Daemons 6 What if your jffs partition is full (routers

Ddwrt Ipkg

with NO JFFS space avail) 7 Use ipkg on DD-WRT 24 8 Ipkg on Startup 9 Mipsel versus other hardware 10 External Links [edit] Commandline Structure [edit] Usage usage: ipkg [options...] sub-command [arguments...] [edit] Options -d or Install, upgrade, or remove package from -dest where is '''either''' a folder path '''or''' a pre-defined path in /etc/ipkg.conf by default, ipkg on DD-WRT supports these pre-defined names: dd-wrt install optware root /jffs ram /tmp -o Use as the root for offline installation. -offline where is a path -force-depends Make dependency checks warnings instead of errors -force-defaults Use default options for questions asked by ipkg. (no prompts). Note that this will not prevent package installation scripts from prompting. [edit] Sub Commands update Update list of available packages from defined in /etc/ipkg.conf upgrade Upgrade all installed packages to latest version install Download and install (and dependencies) remove Remove package list List available packages and descriptions files List all files belonging to search Search for a packaging providing info [pkg []] Display all/some info fields for or all status [pkg []] Display all/some status fields for or all depends Print uninstalled package dependencies for - may be a package name, or a URI to the *.ipk or *.deb file - arguments displayed in [ ] are optional [edit] Finding Packages OpenWRT.org hosts a list of Official Packages, as well as a Package Tracker and openwrt.alphacore.net listing all known packages. Packages from the tracker will usually have to be installed by using as a URI rather than a package name, u

its loaded hardware specifications: 400MHz processor, 32MB flash ROM, 64MB RAM and most important of all, a USB port. All these make the router a very versatile little Linux box with tons of capabilities. However, dd-wrt opkg a confusing thing that inexperienced users may not know, the CPU in the router enable jffs dd-wrt is MIPS (MIPS in big-endian), while the popular Broadcom routers(such as Linksys WRT54G) are MIPSEL (MIPS in little-endian). I don't want to how to install opkg go into technical detail here, but just remember, even though both are MIPS, they're totally different and software compiled for Broadcom routers WILL NOT work on this and other Atheros based devices. Thanks to the OpenWrt guys, http://www.dd-wrt.com/wiki/index.php/Ipkg with some effort, we can now use the OpenWRT's optware software installer. Here we come to another downfall of DD-WRT. OpenWRT will allow you to edit the on-board flash ROM and thus install anything you want directly to your router. DD-WRT doesn't provide this type of access, so we have to install programs to an external USB device. The previous blog poster claims that the USB is faster than the internal flash. This may http://arouter.blogspot.com/2011/07/software-installation-on-dd-wrt.html be true for very high-speed drives, but I'd like to see numbers before also making that claim. Let's get started & keep in mind that this set of instructions is for DD-WRT ONLY as it is not needed for OpenWRT. Prepare the USB disk You must format your USB device to ext2 or ext3 (recommended) before plugging into the router. Any Linux live CD should do the trick and I personally recommend GParted, which can be installed in CD or USB disk, and is also available on Ubuntu live CDs. Set up DD-WRT accordingly A. Enable SSH access. Under Services > Service > Secure Shell. * Enable SSHd. * Click "Apply Settings". B. Set USB Support Under Services > USB. * Enable Core USB Support * Disable USB 1.1 Support (UHCI) * Disable USB 1.1 Support (OHCI) * Enable USB 2.0 Support * Disable USB Printer Support (you can enable it if you want) * Enable USB Storage Support * Enable Automatic Drive Mount * Set Disk Mount Point to /mnt * Click "Apply Settings". C. Disable the jffs partition Under Administration > Management * Disable "JFFS2 Support". * Click "Apply Settings". Now plug in the USB drive and reboot the router. After re

a GitHub account Sign in Create a gist now Instantly share code, notes, and snippets. Star 5 Fork 1 Thinkscape/gist:3426581 Created Aug 22, 2012 Embed What would you like to do? Embed Embed https://gist.github.com/Thinkscape/3426581 this gist in your website. Embed Share Copy sharable URL for this gist. http://marguspala.com/fixing-ipkg-in-dd-wrt/ Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code Revisions 2 Stars 5 Forks 1 Optware on DD-WRT with TL-WR1043ND Raw gistfile1.sh # From: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=86912 # 1. Prepare the USB disk # Create an ext3 partition using GParted wrt ipkg for instance #2. Configure DD-WRT #Under Services->Services->Secure Shell: #* Enable SSHd #* Click Apply Settings # #Under Services->USB: #* Enable Core USB Support #* Disable USB Printer Support (enable it if you need printing support) #* Enable USB Storage Support #* Enable Automatic Drive Mount #* Set Disk Mount Point to /mnt #* Click Apply Settings #3. Plug the USB drive into the router and reboot it #* dd wrt ipkg SSH into your box using user root and make sure, using mount, that your USB stick was mounted correctly (you can also check this on the web #interface under Services->USB). #4. Create and prepare necessary structure #* SSH into your box using user root if not already done at previous step: cd /mnt mkdir etc opt root touch optware.enable chmod 755 etc opt root mkdir opt/lib chmod 755 opt/lib cp -a /etc/* /mnt/etc/ mount -o bind /mnt/etc /etc mount -o bind /mnt/opt /jffs #5. Install the required libraries for the MIPS (big-endian) architecture and OpenWRT's opkg #cd /tmp wget http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages/libc_0.9.30.1-43.32_ar71xx.ipk wget http://downloads.openwrt.org/backfire/10.03.1/ar71xx/packages/opkg_576-2_ar71xx.ipk ipkg install libc_0.9.30.1-43.32_ar71xx.ipk opkg_576-2_ar71xx.ipk #You will get the following output with error messages. You can't avoid it so don't worry about it. # #ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian #You probably want to run `ipkg update' #ERROR: File not found: //usr/local/lib/ipkg/lists/non-free #You probably want to run `ipkg update' #ERROR: File not found: //usr/local/lib/ipkg/lists/backports #You probably want to run `ipkg update' #/bin/ipkg: line 1184: sort: not found #Unpacking libc...Done. #Configuring libc...Done. #ERROR: File not found: //usr/local/lib/ipkg/lists/whiterussian #You probably want to run `ipkg update' #ERROR: File not found: //usr/local/lib/ipkg/lists/non-free #You probably want to run `ipkg update' #ERROR: File not found: //usr/local/lib/ipkg/lists/backports #You probab

to install some packages but updateing package lists you get : root@DD-WRT:/jffs# ipkg update Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ... Connecting to downloads.openwrt.org (78.24.191.177:80) ipkg_download: ERROR: Failed to retrieve http://downloads.openwrt.org/whiterussian/packages/Packages, returning ipkg_update: Error downloading http://downloads.openwrt.org/whiterussian/packages/Packages to /jffs/usr/lib/ipkg/lists/whiterussian To fix this you neet to enable JFFS2 which gives you some rw space, which you already did i guess. Now select Enable "Clean JFFS2" Save, Apply settings and reboot router which formats this filesystem and you can use it properly. Written by smartman. More posts ... , + Posted in: networking One Comment earago at g mail dot com August 20, 2012 at 02:38 Hi Guy! I tried, but it does not work. What can I do now? Thanks! Enric Leave a Reply Cancel reply Your email address will not be published.Comment Name Email Website CAPTCHA Code * Find the solution Trending right now Margus Pala is fixing IT!“Everbody matters” book reviewLaravel 5 unit testing Form and TokenMismatchException in MiddlewareNever Eat Alone and Other Secrets to Success, One Relationship at a TimeLaravel 5 Seeder not foundNamespaces and Laravel 5 with Eloquent Model-sApps for programmers to keep you healthy and fitSmartcuts: How Hackers, Innovators, and Icons Accelerate SuccessStartup CEO life is hard, experiences of Ben HorowitzTeaching my 9 year old kid about money – Why A students work for C studentsCrucial Conversations: Tools for Talking When Stakes are High Copyright © 2016 Margus Pala is fixing IT!. Omega WordPress Theme by ThemeHall.

 

Related content

No related pages.