Jump to content

Jasager On Other Devices?


loozr
 Share

Recommended Posts

First of all, is it even possible to install Jasager on DIR-825? It's Atheros based, and supported by OpenWRT..

If so, what should i do to get it working? All the guides I have found are based on the firmware for the fon..

All help is much appreciated.

Link to comment
Share on other sites

I have now installed OpenWRT to the device. I used http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/openwrt-ar71xx-dir-825-b1-squashfs-factory.bin.

#uname -r

Installed Linux OpenWrt 2.6.32.25 #1 Fri Nov 19 20:27:50 PST 2010 mips GNU/Linux

Set the passwd and changed networking settings to 192.168.10.1/255.255.255.0, and then rebooted.

Then i did the following:

#opkg update

#opkg install ruby

Installing ruby (1.9.1-p376-3) to root...

Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/ruby_1.9.1-p376-3_ar71xx.ipk.

Installing libruby (1.9.1-p376-3) to root...

Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/libruby_1.9.1-p376-3_ar71xx.ipk.

Installing libpthread (0.9.30.1-43.10) to root...

Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/libpthread_0.9.30.1-43.10_ar71xx.ipk.

Installing librt (0.9.30.1-43.10) to root...

Downloading http://downloads.openwrt.org/backfire/10.03.1-rc4/ar71xx/packages/librt_0.9.30.1-43.10_ar71xx.ipk.

Configuring librt.

Configuring libpthread.

Configuring libruby.

Configuring ruby.

#opkg install ruby-core

Installing ruby-core (1.9.1-p376-3) to root...

Collected errors:

* verify_pkg_installable: Only have 1916kb available on filesystem /overlay, pkg ruby-core needs 1948

* opkg_install_cmd: Cannot install package ruby-core.

So, what should I do when I'm already running out of space? Is there some software i dont need on the router? Like LUCI?

#opkg list_installed

base-files - 43.10-r24045

busybox - 1.15.3-2

crda - 1.1.0-2

dnsmasq - 2.55-5

dropbear - 0.52-4

firewall - 1-20

hotplug2 - 1.0-beta-2

iptables - 1.4.6-2

iptables-mod-conntrack - 1.4.6-2

iptables-mod-nat - 1.4.6-2

iw - 0.9.21-1

kernel - 2.6.32.25-1

kmod-ath - 2.6.32.25+2010-10-19-1

kmod-ath9k - 2.6.32.25+2010-10-19-1

kmod-button-hotplug - 2.6.32.25-1

kmod-cfg80211 - 2.6.32.25+2010-10-19-1

kmod-crc-ccitt - 2.6.32.25-1

kmod-crypto-aes - 2.6.32.25-1

kmod-crypto-arc4 - 2.6.32.25-1

kmod-crypto-core - 2.6.32.25-1

kmod-input-core - 2.6.32.25-1

kmod-input-gpio-buttons - 2.6.32.25-1

kmod-input-polldev - 2.6.32.25-1

kmod-ipt-conntrack - 2.6.32.25-1

kmod-ipt-core - 2.6.32.25-1

kmod-ipt-nat - 2.6.32.25-1

kmod-ipt-nathelper - 2.6.32.25-1

kmod-leds-gpio - 2.6.32.25-1

kmod-mac80211 - 2.6.32.25+2010-10-19-1

kmod-madwifi - 2.6.32.25+r3314-4

kmod-nls-base - 2.6.32.25-1

kmod-ppp - 2.6.32.25-1

kmod-pppoe - 2.6.32.25-1

kmod-usb-core - 2.6.32.25-1

kmod-usb-ohci - 2.6.32.25-1

kmod-usb2 - 2.6.32.25-1

libc - 0.9.30.1-43.10

libgcc - 4.3.3+cs-43.10

libiptc - 1.4.6-2

liblua - 5.1.4-7

libnl-tiny - 0.1-1

libpthread - 0.9.30.1-43.10

librt - 0.9.30.1-43.10

libruby - 1.9.1-p376-3

libuci - 12012009.6-2

libuci-lua - 12012009.6-2

libxtables - 1.4.6-2

lua - 5.1.4-7

luci - 0.9+svn6512-1

luci-admin-core - 0.9+svn6512-1

luci-admin-full - 0.9+svn6512-1

luci-admin-mini - 0.9+svn6512-1

luci-app-firewall - 0.9+svn6512-1

luci-app-initmgr - 0.9+svn6512-1

luci-cbi - 0.9+svn6512-1

luci-core - 0.9+svn6512-1

luci-http - 0.9+svn6512-1

luci-i18n-english - 0.9+svn6512-1

luci-ipkg - 0.9+svn6512-1

luci-lmo - 0.9+svn6512-1

luci-nixio - 0.9+svn6512-1

luci-sgi-cgi - 0.9+svn6512-1

luci-sys - 0.9+svn6512-1

luci-theme-base - 0.9+svn6512-1

luci-theme-openwrt - 0.9+svn6512-1

luci-uci - 0.9+svn6512-1

luci-uvl - 0.9+svn6512-1

luci-web - 0.9+svn6512-1

mtd - 13

opkg - 576-1

ppp - 2.4.4-11

ppp-mod-pppoe - 2.4.4-11

ruby - 1.9.1-p376-3

swconfig - 6

uci - 12012009.6-2

udevtrigger - 106-1

uhttpd - 19

vsc7385-ucode-ap83 - 1

vsc7385-ucode-pb44 - 1

vsc7395-ucode-ap83 - 1

vsc7395-ucode-pb44 - 1

wireless-tools - 29-4

wpad-mini - 20100705-1

Link to comment
Share on other sites

The problem you might have is the space isn't recoverable on one of the types of file systems, can't remember which one off hand, but when you delete the space isn't actually released.

Luci would be good to remove though.

Link to comment
Share on other sites

After several trial and errors I flashed the device with

root@OpenWrt:/www# uname -a

Linux OpenWrt 2.6.32.27 #11 Fri May 27 06:14:10 MST 2011 mips GNU/Linux

And added support for external rootfs. Thereafter i installed the required packages for jasager.

So everything is installed, or at least untared since the *.ipkg packages didn't have the correct architecture for my build.

copied /karma/www* to /www/ and browsed to /index.html, where i got redirected to /cgi-bin/status.rb who is showing me a white page.

/etc/init.d/jasager start gives me:

/karma/bin/create_option_list.rb:13: syntax error, unexpected ':', expecting keyword_then or ';' or '\n'

/karma/bin/create_option_list.rb:28: syntax error, unexpected keyword_end, expecting '}'

/karma/bin/create_option_list.rb:37: syntax error, unexpected $end, expecting '}'

/etc/rc.common: line 1: httpd: not found

What could be wrong? Do i have to edit /karma/bin/create_option_list?

Or should i add something to /etc/rc.common?

Link to comment
Share on other sites

Okey, to fix the syntax error above, i edited out all the ':' at the end of 'if' lines. Now when I run /etc/init.d/jasager start I get this:

root@OpenWrt:~# /etc/init.d/jasager start

/usr/lib/ruby/1.9/rexml/source.rb:169:in `initialize': uninitialized constant En coding::UTF_8 (NameError)

from /usr/lib/ruby/1.9/rexml/source.rb:17:in `new'

from /usr/lib/ruby/1.9/rexml/source.rb:17:in `create_from'

from /usr/lib/ruby/1.9/rexml/parsers/baseparser.rb:139:in `stream='

from /usr/lib/ruby/1.9/rexml/parsers/baseparser.rb:116:in `initialize'

from /usr/lib/ruby/1.9/rexml/parsers/treeparser.rb:9:in `new'

from /usr/lib/ruby/1.9/rexml/parsers/treeparser.rb:9:in `initialize'

from /usr/lib/ruby/1.9/rexml/document.rb:230:in `new'

from /usr/lib/ruby/1.9/rexml/document.rb:230:in `build'

from /usr/lib/ruby/1.9/rexml/document.rb:43:in `initialize'

from /karma/bin/create_option_list.rb:16:in `new'

from /karma/bin/create_option_list.rb:16:in `block in <main>'

from /karma/bin/create_option_list.rb:12:in `each'

from /karma/bin/create_option_list.rb:12:in `<main>'

root@OpenWrt:~# tail: can't open '/tmp/status.log': No such file or directory

tail: no files

I have googled some but i can't seem to find a solution to the UTF_8 (NameError).

Any help or hints will be much appreciated!

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...