A GNU/Linux based firmware program for embedded devices such as residential gateways and routers.

learn more… | top users | synonyms

2
votes
1answer
1k views

Limit the max connections per IP using OpenWRT?

Would the following iptables command on an OpenWRT router assure that no one client has more than 50 active connections? $ iptables -I FORWARD -m connlimit --connlimit-above 50 -j REJECT ...
-1
votes
2answers
3k views

Traffic counter on openwrt?

Are there any (not a resource hog) solutions to have statistics about the traffic on an OpenWrt router? :O e.g.: traffic per IP address, monthly statistics, etc. :O
4
votes
2answers
3k views

How to limit P2P/torrent traffic on an OpenWrt 10.03 router?

We have a WRT160NL router with OpenWRT 10.03, and a 60-70 Mbit connection (from ISP, don't ask why). This router can do 30-35 Mbit on ethernet(i mean cable)..ok! There are ~7 PC's using this Wireless ...
0
votes
2answers
1k views

How can I update my dynamic DNS under OpenWRT?

I have an OpenWrt 10.03, and I need to update my dynamic DNS account (e.g., OpenDNS or DYNDNS) when my IP changes. How can I do this from the terminal?
1
vote
1answer
749 views

OpenWRT mount/boot ethernet HDD

I'm thinking about buying a cheap router and setting up OpenWRT with apache and ftp on it. My idea is to buy an ethernet enclosure & a HDD and hook it up to OpenWRT to replace flash root ...
2
votes
1answer
620 views

Good OpenWRT alternative? [duplicate]

Possible Duplicate: Open Source router firmware options? I own an ASUS wl-520gU (4 LAN, 1 WAN, WiFi, 1 USB, 4mb flash rom, 16mb ram. Broadcom BCM5354 @ 240). I am going to use it as a ...
2
votes
2answers
290 views

non-case-sensitive sed - OpenWrt

the input would be like this in a file: <sCripT and the parsing looks like this: sed -i "s/<script//g" SOMETHING.html the "/gi" is not good, because OpenWrt doesn't knows it (busybox..): ...
1
vote
2answers
621 views

OpenWrt ssh host identification with dyndns

If i ssh to my remote OpenWrt router ["via DynDNS"] I get the message @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ Ok, i delete the old line in ~/.ssh/known_hosts, add the new one ...
2
votes
1answer
147 views

Only output printable chars OpenWrt

perl is not a very good idea, because it's an OpenWrt router, so not enough space for it. "cat -v" doesn't works, because it doesn't supports the "-v" option Any ideas? :\ Here's a bad text: ...
8
votes
3answers
3k views

Zero-fill numbers to 2 digits with sed

Input: 201103 1 /mnt/hdd/PUB/SOMETHING 201102 7 /mnt/hdd/PUB/SOMETH ING 201103 11 /mnt/hdd/PUB/SO METHING 201104 3 /mnt/hdd/PUB/SOMET HING 201106 1 /mnt/hdd/PUB/SOMETHI NG Desired output: 201103 ...
2
votes
1answer
1k views

Ideas for securing OpenVPN on an OpenWrt router

I put an OpenVPN server on port 1194 on an OpenWrt 10.03 router: echo "nameserver 8.8.8.8" > /etc/resolv.conf; opkg update; opkg install luci-app-openvpn openvpn openssl-util openssh-sftp-server ...
2
votes
1answer
3k views

How to connect to OpenVPN with NetworkManager

I have installed an OpenVPN server on my OpenWrt 10.03 router [freshly flashed]: https://pastebin.com/raw.php?i=hRECWuf1 echo "nameserver 8.8.8.8" > /etc/resolv.conf; opkg update; opkg install ...
1
vote
1answer
954 views

IPTABLES rule for separating users

I have an OpenWrt 10.03 router [ IP: 192.168.1.1 ], and it has a DHCP server pool: 192.168.1.0/24 - clients are using it through wireless/wired connection. Ok! Here's the catch: I need to separate ...
1
vote
1answer
3k views

What firmware works with a D-Link DIR-600?

I'm planning on getting a D-Link DIR-600 to be used as a WLAN access point, and for WEP/WPA certificate management. I know it works with DD-WRT, and OpenWRT, but not Tomato. Now, I've been looking ...
1
vote
0answers
827 views

How to setup PPTP on OpenWRT?

I'm trying to configure OpenWrt so clients can connect using PPTP. When I try to connect with networkmanager from a Fedora 14 box that's connected through Wifi, I get "failed to connect". opkg ...
2
votes
1answer
2k views

How do I reimage OpenWRT?

How do I reimage openwrt in such a way that all my settings will be lost. I've been having some issues, and I want to ensure that it's not a lingering setting, I want this to be a fresh install.
3
votes
4answers
2k views

DNS Troubleshoot. Campus domain does not resolve when using campus network

I am having a very odd DNS issue. I live on-campus and the university provides Internet access with my rent, but I can not get access to the university websites. I am hoping to get direction on how to ...
3
votes
2answers
1k views

How do I use dhcpcd in openwrt instead of udhcpc?

I'm trying to determine the reason my router is not syncing up to my ISP, I do suspect snafu on their end so I'm trying to replicate my desktops setup which includes using dhcpcd. Problem is I don't ...