What's new

[Fork] Asuswrt-Merlin on Broadcom MIPS RT-N series

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Status
Not open for further replies.
ipkg: not found

admin@RT-N12D1-2200:/tmp/home/root# ipkg update
-sh: ipkg: not found
admin@RT-N12D1-2200:/tmp/home/root# cd /
admin@RT-N12D1-2200:/# find . -name ipkg
./jffs/tmp/ipkg
./jffs/usr/lib/ipkg
admin@RT-N12D1-2200:/# cd /jffs/tmp
admin@RT-N12D1-2200:/jffs/tmp# ls -l
drwxrwxrwx 2 admin root 0 Oct 19 2014 ipkg
 
admin@RT-N12D1-2200:/tmp/home/root# ipkg update
-sh: ipkg: not found
admin@RT-N12D1-2200:/tmp/home/root# cd /
admin@RT-N12D1-2200:/# find . -name ipkg
./jffs/tmp/ipkg
./jffs/usr/lib/ipkg
admin@RT-N12D1-2200:/# cd /jffs/tmp
admin@RT-N12D1-2200:/jffs/tmp# ls -l
drwxrwxrwx 2 admin root 0 Oct 19 2014 ipkg

/jffs not in path. link /jffs like /opt
 
wget: short write

http://dlcdnet.asus.com/pub/ASUS/LiveUpdate/Release/Wireless/asus_base_apps.tgz - is ~900KB

when untar ~ 1.8MB

Code:
not sure enough space in /jffs for these.[/QUOTE]
admin@RT-N12D1-2200:/jffs/tmp# wget [url]http://dlcdnet.asus.com/pub/ASUS/LiveUpdate/[/url]
Release/Wireless/asus_base_apps.tgz
Connecting to dlcdnet.asus.com (84.91.171.8:80)
[B]wget: short write[/B]
@RT-N12D1-2200:/jffs/bin# ls -l
drwxr-xr-x    2 admin    root             0 Jan  1  1970 bin
-rwxr-xr-x    1 admin    root        113103 Feb 17  2014 opkg
-rwxrwxrwx    1 admin    root             0 Jan  1 00:17 update-alternatives
admin@RT-N12D1-2200:/jffs/bin# opkg update
opkg: line 2: syntax error: unexpected word (expecting ")")
it´s opkg doing something/working here?
 
please post mount - if debugfs loaded

modprobe -r -v wl_high.ko
modprobe -v wl_high.ko --show-depends --dump-modversions

please post the exact command for "mount - if debugfs loaded" because i am a little noob in linux:p

here is the output of what i tried... it says --dump-modversions not recognized...without it works :


admin@RT-N53:/tmp/home/root# lsmod

Module Size Used by Tainted: P
wl_high 1051568 0
nf_nat_sip 3808 0
nf_conntrack_sip 7328 1 nf_nat_sip
nf_nat_h323 6240 0
nf_conntrack_h323 38272 1 nf_nat_h323
nf_nat_rtsp 4560 0
nf_conntrack_rtsp 5600 1 nf_nat_rtsp
nf_nat_ftp 2208 0
nf_conntrack_ftp 6816 1 nf_nat_ftp
ip6table_filter 1376 0
ip6table_mangle 1568 0
ohci_hcd 18192 0
jffs2 115136 1
zlib_deflate 19056 1 jffs2
lzo_decompress 2112 1 jffs2
lzo_compress 1984 1 jffs2
zlib_inflate 13120 1 jffs2
nf_nat_pptp 2176 0
nf_conntrack_pptp 4912 1 nf_nat_pptp
nf_nat_proto_gre 1648 1 nf_nat_pptp
nf_conntrack_proto_gre 3360 1 nf_conntrack_pptp
ehci_hcd 37504 0
usbcore 125824 4 wl_high,ohci_hcd,ehci_hcd
wl 2771024 0
igs 17648 2 wl_high,wl
emf 21152 3 wl_high,wl,igs
et 45632 0
ctf 21456 0

admin@RT-N53:/tmp/home/root# mount

rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)

admin@RT-N53:/tmp/home/root# modprobe -v wl_high.ko --show-depends

insmod /lib/modules/2.6.22.19//lib/modules/2.6.22.19/kernel/drivers/usb/usbcore.ko
insmod /lib/modules/2.6.22.19//lib/modules/2.6.22.19/kernel/drivers/net/emf.ko
insmod /lib/modules/2.6.22.19//lib/modules/2.6.22.19/kernel/drivers/net/igs.ko
insmod /lib/modules/2.6.22.19//lib/modules/2.6.22.19/kernel/drivers/net/wl_high.ko
 
Last edited:
I also did tar -xvzf control.tar.gz

Can´t get GNU wget to run:
Code:
admin@RT-N12D1-2200:/jffs/opt/bin# ls -l
-rwxr-xr-x    1 admin    root        422544 Feb 18  2012 wget
admin@RT-N12D1-2200:/jffs/opt/bin# wget
BusyBox v1.20.2 (2014-08-02 15:54:00 EEST) multi-call binary.

Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]
        [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]
        [--no-check-certificate] [-U|--user-agent AGENT] [-T SEC] URL...

Retrieve files via HTTP or FTP

        -s      Spider mode - only check file existence
        -c      Continue retrieval of aborted transfer
        -q      Quiet
        -P DIR  Save to DIR (default .)
        -T SEC  Network read timeout is SEC seconds
        -O FILE Save to FILE ('-' for stdout)
        -U STR  Use STR for User-Agent header
        -Y      Use proxy ('on' or 'off')

admin@RT-N12D1-2200:/jffs/opt/bin# alias wget=`/jffs/opt/bin/wget`
[B]-sh: /jffs/opt/bin/wget: not found[/B]
admin@RT-N12D1-2200:/jffs/opt/bin# wget
>
 
Last edited:
modprobe -r -v wl_high.ko

modprobe -v wl_high.ko


ASUSWRT-Merlin RT-N53_3.0.0.4 Sun Oct 19 17:45:51 UTC 2014
admin@RT-N53:/tmp/home/root# modprobe -r -v wl_high.ko
admin@RT-N53:/tmp/home/root# modprobe -v wl_high.ko
admin@RT-N53:/tmp/home/root# lsmod
Module Size Used by Tainted: P
wl_high 1051568 0
nf_nat_sip 3808 0
nf_conntrack_sip 7328 1 nf_nat_sip
nf_nat_h323 6240 0
nf_conntrack_h323 38272 1 nf_nat_h323
nf_nat_rtsp 4560 0
nf_conntrack_rtsp 5600 1 nf_nat_rtsp
nf_nat_ftp 2208 0
nf_conntrack_ftp 6816 1 nf_nat_ftp
ip6table_filter 1376 0
ip6table_mangle 1568 0
ohci_hcd 18192 0
jffs2 115136 1
zlib_deflate 19056 1 jffs2
lzo_decompress 2112 1 jffs2
lzo_compress 1984 1 jffs2
zlib_inflate 13120 1 jffs2
nf_nat_pptp 2176 0
nf_conntrack_pptp 4912 1 nf_nat_pptp
nf_nat_proto_gre 1648 1 nf_nat_pptp
nf_conntrack_proto_gre 3360 1 nf_conntrack_pptp
ehci_hcd 37504 0
usbcore 125824 4 wl_high,ohci_hcd,ehci_hcd
wl 2771024 0
igs 17648 2 wl_high,wl
emf 21152 3 wl_high,wl,igs
et 45632 0
ctf 21456 0
admin@RT-N53:/tmp/home/root#

nothing happened...i still can't change the 5ghz control channel...it's still 0 or auto
 
-sh: /jffs/opt/bin/wget: not found

Sorry, error in syntax - alias wget="......."
Need double quote
Code:
admin@RT-N12D1-2200:/# alias wget="/jffs/opt/bin/wget"
admin@RT-N12D1-2200:/# wget
-sh: [B]/jffs/opt/bin/wget: not found[/B]
admin@RT-N12D1-2200:/# ls -l /jffs/opt/bin/
-rwxr-xr-x    1 admin    root        422544 Feb 18  2012 wget

I also did:
Code:
mkdir -p /jffs/etc
cp /rom/etc/profile /jffs/etc/profile
cd /jffs/etc
vi profile
[COLOR="SeaGreen"]#added PATH="/jffs/opt:/jffs/opt/bin:[/COLOR]

cd /jffs/scripts
vi services-start
[COLOR="SeaGreen"]#Added: #!/bin/sh
#	mount --bind /jffs/etc/profile /etc/profile
#	alias wget="/jffs/opt/bin/wget"[/COLOR]
chmod +x services-start
still no results:confused:
 
Last edited:
I made some preparation to increase from default 100(80)mw power to more.

are you try make Reset to Factory Default because some trouble may be in settings.

P.S по-русски можем общаться на форуме wl500g.info

Thanks, restoring to factory defaults helped me.
 
Changelog

What is the changelog for your mod 7a vs 7b. I have noted that there is already the b version for RT-N16, and I have the 7a installed.
 
- mod7b, 28.10.2014
- Based on Merlin 376.48 beta2 (ASUS 3.0.0.4.376_2769) source
- add DNSFilter for all models(for RT-N10U and RT-N15U by external web kit)
- in JFFS during initial format prepare folder structure, create startup scripts files and symlinks for external web kit
- SSH if JFFS used store keys there
(in plans same for OpenVPN)
- for models RT-N10P and all modifications RT-N12* add OpenVPN, SNMP
(need tesed)
-------------------------------------------------------------------------------------------------------------------
CAUTION!!!!!!! according to limitation size of NVRAM NOT RECOMMENDED setup and use all firmware features at same time.
-------------------------------------------------------------------------------------------------------------------

- for USB models - RT-N10U, RT-N15U extended features support by external web kit:
a) https
b) wimax (more modems have internal storage or microSD card-reader)
c) OpenVPN
d) SNMP
e) mediaserver (from asusware is buggy)
f) WebDAV
п) DNSFilter
h) CloudSync (not asusware)
i) cloudsync clients: dropbox client, samba client, ftp client
j) NFS server

- for USB model RT-N14UHP extended features support by external web kit:
a) WebDAV
b) CloudSync (не asusware)
c) cloudsync clients: dropbox client, samba client, ftp client
d) NFS сервер
(all others present in firmware)

- for RT-N16 add cloudsync clients: dropbox client, samba client, ftp client

-------------------------------------------------------------------------------------------------------------------
CAUTION!!!!!!! according to limitation size of NVRAM NOT RECOMMENDED setup and use all firmware features at same time.
-------------------------------------------------------------------------------------------------------------------
- for USB models RT-N16 and RT-N14UHP for external disks used Texura drivers for NTFS, HFS+, FAT
- for USB models RT-N10U and RT-N15U used ntfs-3g

to install external web kit:
- connect external USB disk (recommended ext2/ext3)
- on Administration page enable acces by telnet and/or ssh
- enter to route console
- download file prepare_external_kit.sh (wget ftp://78.25.8.242/pub/ASUS/ASUSWRT_MODDED/mod7b/prepare_external_kit.sh)
- make it executable chmod +x prepare_external_kit.sh
- and run ./prepare_external_kit.sh
 
Last edited:
Status
Not open for further replies.

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top