Page 25 of 26 FirstFirst ... 1523242526 LastLast
Results 361 to 375 of 390

Thread: New Asus RT-N16 Router

  1. #361
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    thira
    Probably it is a bug in old 2.6.22 ALSA/OSS subsystem. Sound support has very low priority at this moment for us, so someone has to find/backport patches from kernel upstream.

  2. #362
    Join Date
    Jul 2007
    Location
    Thailand
    Posts
    21
    Quote Originally Posted by Pedro83 View Post
    Great to hear. I've upgraded to the latest version, loaded modules but need to test it out with some player when at home. Thanks.


    Is there anyone to help me understand how to make bluetooth work (i.e. how to add/build necessary modules e.g. bluez.ko)?
    EDIT: OK, probably not that easy, as I imagined - obviously so if you are not aware of easy solution just ignore my question
    RT-N16 latest firmware I was loaded from wpte's web site, firmware at code.google.com/p/wl500g is only r1943 and no snd-usb-audio but wpte's site is r2xxx with snd-usb-audio.

  3. #363
    Join Date
    Jul 2007
    Location
    Thailand
    Posts
    21
    Quote Originally Posted by lly View Post
    thira
    Probably it is a bug in old 2.6.22 ALSA/OSS subsystem. Sound support has very low priority at this moment for us, so someone has to find/backport patches from kernel upstream.
    Thanks, lly
    Your firmware is excellent.
    I'll wait for patch.
    Last edited by thira; 13-10-2010 at 17:52.

  4. #364

    Usb device names on RT-N16 with Oleg

    I've set up my RT-N16 with Oleg firmware and optware on a usb flashdrive which was detected as /dev/sda. My problem occurs when I plug in my external harddrive on the second usb port. On reboot, the external harddrive is detected as /dev/sda and the flashdrive is detected as /dev/sdb, causing optware and unslung to fail. I've tried editing /etc/fstab to use labels instead of device names but this seems to get overwritten on reboot. Can anyone tell me how device names are setup under Oleg firmware or how I can control the device names assigned to my usb drives?

  5. #365
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    you may use labels or uuids in fstab. To save fstab execute once:
    Code:
    echo /etc/fstab >> /usr/local/.files
    flashfs enabled
    and every time after changes:
    Code:
    flashfs save && flashfs commit && reboot
    here is a tutorial on basic setup: http://wl500g.info/showthread.php?t=10307

  6. #366
    That's brilliant - thanks!
    Just for my own understanding, do I need to
    Code:
     flashfs enabled && flashfs save && flashfs commit && reboot
    because the filesystem is loaded from flash on boot? Also, what is /usr/local/.files used for?

  7. #367
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    Quote Originally Posted by newb View Post
    Just for my own understanding, do I need to
    Code:
     flashfs enabled && flashfs save && flashfs commit && reboot
    it is needed to save flashfs to flash.
    Code:
    flashfs enabled
    is enough to execute only once
    Also, what is /usr/local/.files used for?
    in flashfs are stored contents of /usr/local + files listed in /usr/local/.files

  8. #368
    Great - thanks for all your help - much appreciated.

  9. #369

    Connecting 2.5" USB hard drive to a RT-N16

    What sort of USB hard drives have people successfully connected to a RT-N16 without external power?

    I have a 80GB Seagate IDE drive (ST980815) in a generic housing that works OK, but my 500GB WD Scorpio Blue (WD50000BEVT) in a Nexstar-3 housing connects sometimes but then flakes out.

  10. #370
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by sudo View Post
    What sort of USB hard drives have people successfully connected to a RT-N16 without external power?

    I have a 80GB Seagate IDE drive (ST980815) in a generic housing that works OK, but my 500GB WD Scorpio Blue (WD50000BEVT) in a Nexstar-3 housing connects sometimes but then flakes out.
    It's not really adviced to use a harddrive without a PSU.
    The PSU of the rt-n16 might not pull it off.
    IF you want to use your current hdd, you might want to try a powered USB hub

  11. #371
    The 80GB drive has been working OK for a couple months but the socket is damaged/loose so it disconnects when I bump it.

  12. #372
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by sudo View Post
    The 80GB drive has been working OK for a couple months but the socket is damaged/loose so it disconnects when I bump it.
    hmm... maybe you can bend the clamps with a screwdriver so it stays stuck

  13. #373

    FTP Server

    Does anyone noticed that PURE-FTP compared to other daemons is from far faster on transfer rates?

    PURE-FTPD: 9-11MB/s

    Transferred 76 Files (6,87 GB) in 12 minutes 11 seconds (9,61 MB/s)

    VSFTPD: 6-7MB/s

    PROFTPD: 5-6MB/s

    Pure-FTPD sometimes does 10.8MB/s (10.5MB/s average) but most of the time doesn't reach 10MB/s, don't really understand why these increase of speed happen, but i think its related with some management with other services. (processor & memory usage)

  14. #374
    Yes i know that, but whatever i use simple command-line switches or config file, speeds are the same. It has double performance than PROFTPD and almost the same than VSFTPD, that means much...
    Last edited by hggomes; 28-04-2011 at 12:17.

  15. #375
    Join Date
    Sep 2006
    Location
    Slovakia
    Posts
    34

    L2TP VPN (RT-N16)

    What I wish to do A) connect from my iPad/Mac/anything over secure VPN connection to my home network so I am able to see my files and B) in ideal world to use my home network connections for secure browsing from remote connection.

    I can do the A part of the job over OpenVPN (but only from computer), therefore I would like to switch to PPTP or L2TP which is supported by iOS.

    I understood from wpte that rp-l2tp is implemented ( http://wl500g.info/showthread.php?p=234732 ). I tried to follow theMIROn's guidance ( http://wl500g.info/showthread.php?p=231202 ). But I am unable to connect from remote location to my router's l2tp VPN.

    My current set-up / steps I've done:
    /etc/l2tp/l2tp.conf
    Code:
    global
    load-handler "sync-pppd.so"
    load-handler "cmd.so"
    section sync-pppd
    lns-pppd-opts "file /opt/etc/ppp/options"
    section peer
    peer 0.0.0.0
    mask 0
    lns-handler sync-pppd
    section cmd
    /opt/etc/ppp/options
    Code:
    noauth
    nomppe nomppc
    ktune
    default-asyncmap nopcomp noaccomp
    novj nobsdcomp nodeflate
    lcp-echo-interval 10
    lcp-echo-failure 6
    # vpn clients ip range and netmask
    192.168.100.1:192.168.100.10
    netmask 255.255.255.0
    # vpn clients dns servers
    #ms-dns 192.168.100.1
    #ms-dns 192.168.100.2
    ip-up-script /opt/etc/ppp/ip-up
    ip-down-script /opt/etc/ppp/ip-down
    /tmp/ppp/chap-secrets
    Code:
    #login	server	passwd	IP addresses
    myuser	*	mypass	*
    /opt/etc/ppp/ip-up (chmod +x)
    Code:
    !/bin/sh
    /usr/bin/logger -t L2TP "client connected [$*]"
    iptables -I INPUT 1 -i $1 -j ACCEPT
    iptables -I FORWARD 1 -i $1 -j ACCEPT
    iptables -t nat -A POSTROUTING -o $1 -j MASQUERADE
    /opt/etc/ppp/ip-down (chmod +x)
    Code:
    #!/bin/sh
    /usr/bin/logger -t L2TP "client disconnected [$*]"
    iptables -D INPUT -i $1 -j ACCEPT
    iptables -D FORWARD -i $1 -j ACCEPT
    iptables -t nat -D POSTROUTING -o $1 -j MASQUERADE
    /usr/local/sbin/post-firewall
    Code:
    #!/bin/sh
    #L2TP
    /usr/bin/logger -t L2TP "allow incoming connections [$*]"
    iptables -P INPUT DROP
    iptables -D INPUT -j DROP
    iptables -A INPUT -p tcp -m udp --dport 1701 -j ACCEPT
    
    #OpenVPN access from WAN
    iptables -D INPUT -j DROP
    iptables -I INPUT -p udp --dport 1194 -j ACCEPT
    iptables -t nat -I PREROUTING -i vlan1 -p udp --dport 1194 -j DNAT --to-destination 192.168.1.1:1194
    iptables -A INPUT -j DROP
    
    iptables -I INPUT -i tun0 -j ACCEPT
    iptables -I FORWARD -i tun0 -j ACCEPT
    iptables -I FORWARD -o tun0 -j ACCEPT
    iptables -I OUTPUT -o tun0 -j ACCEPT
    
    #FTP
    iptables -I INPUT -p tcp --dport 21 -j ACCEPT
    iptables -I INPUT -p tcp --dport 55000:60000 -j ACCEPT
    iptables -t nat -A PREROUTING -i vlan1 -p tcp --dport 55000:60000 -j DNAT --to-destination 192.168.1.1
    /usr/local/sbin/post-boot
    Code:
    #!/bin/sh
    /usr/bin/logger -t L2TP "start serving connections [$*]"
    # make sure configs above do exist
    l2tpd
    /usr/local/.files
    Code:
    /etc/fstab
    /usr/local/root/.ssh/id_rsa.pub
    /tmp/etc/passwd
    /tmp/etc/group
    /tmp/ppp/chap-secrets
    /tmp/etc/l2tp/l2tp.conf
    I think (in case I am not totally of topic and l2tp is not meant for this purpose) my weak point is post-firewall as I am total noob in iptables and honestly I don't understand it.
    Please let me know if I should attach any logs that could help you help me. I am not asking for solution (although I would not say no ), a hint with direction would be very appreciated - I am happy to learn something.

    -----------------
    netstat -an | grep 1701
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State 
    udp        0      0 0.0.0.0:1701            0.0.0.0:*
    pss l2tpd
    Code:
    356 ?        S      0:00 l2tpd
    cat syslog.log | grep L2TP
    Code:
    Jan  1 01:00:04 L2TP: allow incoming connections [vlan2 0.0.0.0 br0 192.168.1.1]
    Jan  1 01:00:05 L2TP: allow incoming connections [vlan2 78.102.x.x br0 192.168.1.1]
    Jan  1 01:00:05 L2TP: start serving connections []
    Last edited by Pedro83; 18-07-2011 at 18:38.

Page 25 of 26 FirstFirst ... 1523242526 LastLast

Similar Threads

  1. New Asus RT-N65U Router
    By Omega in forum English Discussion
    Replies: 16
    Last Post: 31-10-2013, 22:55
  2. Asus WL-330N3G Travel Router - 3G Router из коробки
    By Romtron in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 24
    Last Post: 09-09-2013, 15:38
  3. New Asus RT-N66U Router
    By hggomes in forum English Discussion
    Replies: 280
    Last Post: 02-07-2013, 19:29
  4. New Asus RT-AC66U router (5G 802.11ac)
    By Omega in forum English Discussion
    Replies: 22
    Last Post: 12-10-2012, 02:51
  5. New Asus RT-N53 Router
    By hggomes in forum English Discussion
    Replies: 6
    Last Post: 27-09-2011, 05:04

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •