tektok Posted June 28, 2011 Share Posted June 28, 2011 Hi there, I'm trying very hard to use jasager on a TL-WR1043ND router, but i encountered some problems. what I basically did: -got OpenWrt working -downloaded several librarys and stuff and installed them -downloaded the tarball and untared it from root directory -created the symlink now, jasager does not start when i try to >> /etc/init.d/jasager start it gives me theses error messages and I have no idea, what they mean: ruby: symbol 'errno': can't handle reloc type 0x2f /etc/rc.common: line 1: httpd: not found I would gladly appreciate any help Quote Link to comment Share on other sites More sharing options...
tektok Posted July 2, 2011 Author Share Posted July 2, 2011 sorry for double post, but I could not find the edit button I know get these errors: (I changed httpd to uhttpd) -------------------------------------------------- ruby: symbol 'errno': can't handle reloc type 0x2f socket(): Address family not supported by protocol -------------------------------------------------- I googlled it and the sockets thing is always somehow related to IPv6 ?! can I somehow force IPv4, or does any one have any idea? Quote Link to comment Share on other sites More sharing options...
loozr Posted July 3, 2011 Share Posted July 3, 2011 May i ask which version of Ruby you got installed? I think that the jasager scripts does not work in Ruby 1.9.2, but i may be wrong..? Quote Link to comment Share on other sites More sharing options...
tektok Posted July 3, 2011 Author Share Posted July 3, 2011 yeah, my version is 1.9.2-p0-1 should I downgrade all the ruby packages? to 1.8.6-p36-1? Quote Link to comment Share on other sites More sharing options...
tektok Posted July 3, 2011 Author Share Posted July 3, 2011 ok, i downgraded all the ruby* packages (libruby aswell) -> first had to remove the others (--force-downgrade did not work), then add the architecture "mips" to the opkg.conf file, but then it finally worked now, when I do >> /etc/init.d/jasager start it just does nothing -> I added a "&" to the end hereis what >> ps gives me: PID USER VSZ STAT COMMAND 1 root 1364 S init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [events/0] 5 root 0 SW [khelper] 8 root 0 SW [async/mgr] 41 root 0 SW [sync_supers] 43 root 0 SW [bdi-default] 45 root 0 SW [kblockd/0] 70 root 0 SW [kswapd0] 71 root 0 SW [aio/0] 72 root 0 SW [crypto/0] 84 root 0 SW [mtdblockd] 90 root 0 SW [ar71xx-spi] 223 root 0 SW [ipolldevd] 277 root 0 SWN [jffs2_gcd_mtd3] 292 root 1356 S /bin/sh /etc/init.d/rcS S boot 293 root 1364 S init 294 root 1360 S /bin/sh /etc/init.d/rcS S boot 295 root 1356 S logger -s -p 6 -t sysinit 312 root 1368 S syslogd -C16 314 root 1352 S klogd 328 root 776 S /sbin/hotplug2 --override --persistent --set-worker / 459 root 0 SW [cfg80211] 465 root 0 SW [khubd] 514 root 0 SW [phy0] 738 root 1452 S hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd 941 root 1440 S /bin/sh /etc/rc.common /etc/rc.d/S50jasager boot 942 root 1140 S /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid 948 root 2456 R ruby /karma/bin/create_option_list.rb 949 root 1196 S /usr/sbin/dropbear -p 22 -P /var/run/dropbear.1.pid 950 root 1372 S -ash 980 root 1440 S /bin/sh /etc/rc.common /etc/init.d/jasager start 986 root 2456 R ruby /karma/bin/create_option_list.rb 1494 root 1772 S /usr/sbin/uhttpd -f -h /www -r wlanAP -x /cgi-bin -t 1554 root 1440 S /bin/sh /etc/rc.common /etc/init.d/jasager start 1560 root 2456 R ruby /karma/bin/create_option_list.rb 1561 root 1356 R ps and >> netstat -ap Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN 1494/uhttpd tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN 942/dropbear tcp 0 52 192.168.1.1:ssh 192.168.1.73:52654 ESTABLISHED 949/dropbear netstat: /proc/net/tcp6: No such file or directory netstat: /proc/net/udp6: No such file or directory netstat: /proc/net/raw6: No such file or directory Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ] DGRAM 624 738/hostapd /var/run/hostapd-phy0/wlan0 unix 5 [ ] DGRAM 150 312/syslogd /dev/log unix 2 [ ] DGRAM 851 942/dropbear unix 2 [ ] DGRAM 711 295/logger unix 2 [ ] DGRAM 153 314/klogd I can connect to 192.168.1.1 but not to ..:1471 Quote Link to comment Share on other sites More sharing options...
digininja Posted July 9, 2011 Share Posted July 9, 2011 tcp 0 0 0.0.0.0:www 0.0.0.0:* LISTEN 1494/uhttpd The web server is listening on port 80, try connecting to that and see what you get. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.