Asus RT-N13U B1 - DD-wrt thread

Status
Not open for further replies.
OK got the offline file-system working . You don't need to re-install the Optware if you already have it installed .

Download and install this firmware using ASUS Firmware Restoration Utility:
DD-WRT v24-sp2 (06/14/11) std
(SVN revision 17201)-fsmod-v4


Just add this to Administration > Commands
Code:
sleep 5
EXT3="YES";EXT3P="part1";EXT32="YES";EXT3P2="part2";mkdir /tmp/etc/config
if [ "$EXT3" == "YES" ]; then echo "Found" >> /tmp/etc/config/fs.wanup; fi
if [ "$EXT32" == "YES" ]; then echo "Found">> /tmp/etc/config/fs.wanup; fi
echo "mount -o rw -t ext3 /dev/discs/disc0/$EXT3P /opt" >> /tmp/etc/config/fs.wanup
echo "mount -o rw -t ext3 /dev/discs/disc0/$EXT3P2 /mnt" >> /tmp/etc/config/fs.wanup
chmod +x /tmp/etc/config/fs.wanup
sh /tmp/etc/config/fs.wanup
echo "nobody:*:65000:65000:nobody:/mnt:/bin/false" >> /etc/passwd

and do Save Startup.

If you have transmission installed then add this to the script :
Code:
sleep 60
iptables -I INPUT -p tcp -d 192.168.1.1 --dport 25000 -j logaccept
/opt/bin/transmission-daemon -g /opt/data/torrents/.config/transmission-daemon

NOTE: This script is for 2 EXT3 partitions(/opt and /mnt) so if you have other type of filesystem or more than 2 partitions to mount then change the script accordingly.
 
Homeshop does not provide warranty dude... U will get the warranty from the dealer itself. Just keep the bill Handy.

My box itself said 3 years.

Warranty is given by Rashi and not homeshop18:)...So chill and enjoy

bajaj151 said:
Offtopic : Why Homeshop18 providing 1 year warranty on Asus RT N13U B.1 unlike 3 years by others ??
 
Hi,

Thanks for the great tutorial. worked great for me.

But i have a wired problem.
I need to access the URL https://loginban.tataindicombroadband.in:8443/ and enter my login details in order to access internet and the session is valid only for 11 hours . so i will be accessing frequently.

But the problem is i am not able to open this URL after installing dd-wrt and optware.
If i connect the wan cable to my machine i can access the url but through router i am not able to access.
I get the error message saying page cannot be found.

Please help me regarding this.. Do i need to open port 8443 for this?

Thanks.
 
Hi guys .I am planning to get this router soon. I need to know whether I can connect the utstarcom UT300R2U DSL modem to this router?? Will the router connect to BSNL boradband automatically???

Also will a 3.5" seagate 500GB powered usb drive works with the router flawlessly or I need to get a Ext. Hard disk separately??

Found the answer to my above query..

Can anyone confirm whether I can get this from CTC hyderabad??
 
I executed the commands via telnet and also added them in firewall section.
but still i am not able to open the website.

The site you provided showed
8443 Stealth pcsync-https.
 
Thanks a lot.
I was able to solve the problem.
The domain was not getting resolved to ip.
i tried https://172.31.7.196:8443/home and it worked.
and also automated the internet connection login .

script used is as follows.

wget -q -t=3 -T=5 Google -O /tmp/index.google &> /dev/null
if [ ! -s /tmp/index.google ];then
echo "Internet is Not working. Testing ISP" >>/opt/log

wget -q -t=3 -T=5 :::::New day on the web ::::: -O /tmp/index.tata &> /dev/null
if [ -s /tmp/index.tata ];then
echo "ISP is UP. Trying to Login" >>/opt/log
#curl login script
curl -k -A "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 GTB6 (.NET CLR 3.5.30729)" -e https://172.31.7.196:8443/home -b relcookie -d "user=username&username=yourusername%40vsnl.net&ServerList=vsnl.net&password=password&save=2" "https://172.31.7.196:8443/user/refresh/home" --connect-timeout 15 --max-time 20 --retry 2 --retry-delay 5
delete index.tata file
unlink /tmp/index.tata
else
echo "ISP is Down" >>/opt/log
fi

else
echo "Internet seems ok..." >>/opt/log
unlink /tmp/index.google
fi

change username, password and ip if required in the above script to make it work.
you can run script in startup.

Thanks.
 
Just tested it ... DD-WRT works with Reliance Netconnet broadband + [Huawei EC150]... works good shared the net on laptop and mobile simultaneously :) and speed were 300kBps north :)
 
Just to add if you would added the ip in iptables it could have resolved but anyways curl helps one suggestion would be to run a ping instead of www.
 
Thanks for suggestion dinjo. I will implement it today.

I have one more question.

In The auto mount code we have --echo "wget http://home.karneval.cz/10102207/fs.gz -P /tmp/root" >> /tmp/etc/config/fs.wanup

which requires internet to be on for the wget to work.

can we have it auto mounted even when isp is not working. ie cant we store that file in router??
 
For now we cannot the only alternative offline solution is download that file and hfs on your pc and host the file locally and its quite evident that pc must be on with the http server when you are restarting the router

Sent from my Blade using Tapatalk
 
To recognize ext3 partition in Windows get Ext2FSD install and run the service then you can read write on Ext3 partition too on windows.

Ext2Fsd Project

Added some more info on first page.
 
You just need to check 1st Page nothing else.

EDIT - Is that B1 model since packaging make me think its not a B1 model confirm at your end.
 
Status
Not open for further replies.