Recent content by VinceV

  • 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!

  1. V

    Auto Login script for ISP

    OK, how did you create the login.sh file? Did you create it on your Windows computer and put it on a USB drive? If so, I think that is the problem. The file has DOS-style line endings (\r\n) instead of UNIX-style (\n). Do this: sed -i 's/\r//' login.sh and try running it again.
  2. V

    Auto Login script for ISP

    Hmm, something isn't right here... Can you double-check the script file? Maybe run "cat login.sh" and post a screenshot...
  3. V

    Auto Login script for ISP

    Eh, nothing's impossible. :) Put this into something like login.sh and run it: #!/bin/sh USERNAME=your_username_here PASSWORD=your_password_here HOST=reliancebroadband.co.in URL=/reliance/login.do QUERY=?action=doLoginSubmit CONTENT="userId=$USERNAME&password=$PASSWORD"...
  4. V

    Auto Login script for ISP

    Hmm, the site is setting a cookie. I wonder if that has something to do with it. Try disabling cookies in your web browser and see if that breaks your ability to login from the browser... -Vince
  5. V

    Auto Login script for ISP

    Well, darn. Try this:USERNAME=your_username_here \ PASSWORD=your_password_here \ HOST=reliancebroadband.co.in \ URL=/reliance/login.do \ QUERY=?action=doLoginSubmit \ sh -c 'CONTENT="userId=$USERNAME&password=$PASSWORD"; CONTENT_LENGTH=`echo $CONTENT|wc -c`; REQUEST="POST $URL$QUERY...
  6. V

    Auto Login script for ISP

    See if running this from the router is able to log you in: USERNAME=your_username_here \ PASSWORD=your_password_here \ HOST=reliancebroadband.co.in \ URL=/reliance/login.do?action=doLoginSubmit \ sh -c 'CONTENT="userId=$USERNAME&password=$PASSWORD"; CONTENT_LENGTH=`echo $CONTENT|wc -c`...
  7. V

    Using RT-N66U as Local DNS server

    You just need to add your hosts to the /etc/hosts file. Enable/format JFFS if you haven't already Create /jffs/configs/hosts.add with your host IP addresses and names Reboot Your hosts.add file should contain content like this: 1.2.3.4 my.host.name 1.2.3.5 other.host.name 1.2.3.6...
  8. V

    System health alerts?

    Merlin, would you be interested in a patch that implemented a basic "system health" alert in the Web GUI? I'm thinking to the right of the SSID indicators at the top of each page. The issue where minidlna fills up the tmpfs is the main motivation here and would probably just start as a way...
  9. V

    Access modem configuration page

    Okay, now try running this command: iptables -t nat -I POSTROUTING -o `nvram get wan0_ifname` -j MASQUERADE If that works, it sounds like it's just a problem with the JFFS scripts... Can you verify that the scripts are in place and correct?
  10. V

    RT-AC66U + RT-N66U users plz help

    The SharePort feature isn't really that simple... It would require Asus to develop software drivers for Windows and MacOS. Unfortunately, it's not something that can just be enabled real quick... The Asus routers DO support both SMB and NFS sharing, so you should be able to get that...
  11. V

    Network shares problem

    Yeah this is actually more complicated than I was thinking... I don't know what the "correct" solution is... Probably to force the user to choose a specific media path before enabling the media server.
  12. V

    Scheduling rebooting??

    Actually, you don't need two separate crontab entries. Use this as your time spec: 5 0,6 * * *
  13. V

    Access modem configuration page

    Okay, none of your interfaces have an address on your modem's subnet... What happens if you run this command: ifconfig `nvram get wan0_ifname`:0 192.168.1.2 netmask 255.255.255.0 Do you get any error messages? Does it add an address to your WAN interface? Can you ping the modem?
  14. V

    Scheduled reboot set up issue

    Just to confirm, can you run: ls -l /jffs/scripts/services-start cat /jffs/scripts/services-start and paste the results here.
  15. V

    Scheduled reboot set up issue

    Your router will reboot 60 times tomorrow morning: 6:00 6:01 6:02 6:03 etc...
Top