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

learn more… | top users | synonyms

9
votes
1answer
2k views

Linux find Wifi Networks trotocol(a/b/g/n) version of all available access points

I do use iwlist wlan0 scanning and it gives me a fair amount of data, but one part is missing. It is protocol version. By protocol I mean (a/b/g/n). It would be very good to have these commands in ...
2
votes
1answer
357 views

How to apply new wireless settings on an OpenWRT router without rebooting it?

After I manually edit the: vi /etc/config/wireless file, what should I do to apply the modifications? Until this day I rebooted the router, but aren't there any better solutions? (and no, www is ...
3
votes
1answer
612 views

Need to improve urlencode function

I need a way to URL encode strings with a shell script on a OpenWRT device running old version of busybox. Right now I ended up with the following code: urlencode() { echo "$@" | awk -v ORS="" '{ ...
3
votes
1answer
7k views

Configure OpenWRT as repeater

At home I'd like to configure one of my wifi routers to serve as a WI-FI signal extender. Since my main router is OpenWrt-based (Backfire 10.1.3), I'd like to use it for that purpose. I've looked ...
3
votes
1answer
117 views

DMA errors on OpenWrt router

I have a WRT160NL router with OpenWrt Backfire (10.03.1, r29592), and there is a 3,5" WD Green 1,5TB HDD attached to it. In the recent time if I read the logs on it with "logread" I can see these ...
0
votes
3answers
2k views

How to make sense of an iptables chain configuration

This is about how to make sense of the chains found in the iptables default configuration on a typical home router running OpenWrt (a stripped down Linux for router devices), but which ultimately may ...
2
votes
1answer
936 views

Allow IP packet forwarding from LAN to modem via router

In short: I'd like to be able to telnet to my modem from my PC via my router. There is a simple home router on 192.168.33.1. It is running OpenWrt. It has the following interfaces defined: br-lan ...
5
votes
1answer
5k views

Have someone ever audited the default OpenWrt firewall rules?

I have an Openwrt 10.03.1 installed from: openwrt-ar71xx-wrt160nl-squashfs-factory.bin (firewall only customized with this: sed 's/REJECT/DROP/g' /etc/config/firewall) - so besides this, IT'S A ...
1
vote
1answer
1k views

How to unlock read-only filesystem on OpenWRT router linux distribution?

I have installed minimal OpenWRT firmware on Linksys router. When I try to modify some of the files withing /etc/ directory for example firewall.user file by using command vi firewall.user it opens ...
1
vote
2answers
550 views

I don't know how to connect preconfigured OpenWRT router to my home network

What I need to do is to connect preconfigured OpenWRT router to another network through WAN cable connection. My router assign the IP address to new router but even if I use this address it still ...
1
vote
0answers
271 views

Is openwrt difficult to use for a novice? [closed]

Background I am very interested in openwrt, I like that it's open source and gives you complete, granular control over your router. I'm going to use my router for a home network (with a nas, htpc ...
1
vote
1answer
467 views

Samba mount isnt mounting when switching to wireless

I have a notebook with Scientific Linux 6.1. I have a wireless router with OpenWrt 10.03 - Wrt160NL. I have a HDD on the router that I share via samba: cat /etc/samba/smb.conf.template [global] ...
3
votes
1answer
3k views

How to configure an OpenWrt 10.03 router to forward an IPv6 connection to the clients?

So I have a TL-WR1043ND router with OpenWrt 10.03 on it. I have clients connected to it through the LAN ports. My ISP provides me a /64 IPv6 block, and I'm using PPPoE authentication. How can I ...
2
votes
2answers
3k views

Force to use specific DNS provider at network

OpenDNS offers a quite simple way for internet filtering by categories. Of course who could get the correct IP address can easily bypass the filter but it would be enough for my expectations. The ...
0
votes
1answer
407 views

Is it possible to use a router with dd-wrt/openWrt/etc as a radar detector?

Maybe a stupid question...but would it be possible to use a router with some kind of linux firmware and a laptop in a car as a radar detector?
0
votes
6answers
3k views

How to upload tcpdumps in realtime to FTP?

I can do tcpdumps with this command: tcpdump -w `date +%F-%Hh-%Mm-%Ss-%N`.pcap src 10.10.10.10 or dst 10.10.10.10 Q: I have an FTP server with username: FTPUSER and password FTPPASSWORD. How can I ...
1
vote
1answer
4k views

D-Link DI-624 H/W ver. D: Flashing OpenWrt

I have a D-Link DI-624 rev. D2 Router. It is based around an Atheros AR2316A-001 chipset, and has 8MB RAM. I opened the device to check for actual parts use in it, and I can confirm, it is indeed the ...
1
vote
2answers
259 views

Fastest hashing method under OpenWRT?

I frequently verify the file integrity on my OpenWrt router by hashing the files. I didn't want to use sha256sum, so I decided to use the faster md5sum. Is there anything even faster available?
1
vote
1answer
616 views

Only allow ssh/vpn on OpenWRT

If I don't want to use wireless encryption, but I still want security and I want to use sshuttle (on the clients, see: https://github.com/apenwarr/sshuttle/) for tunneling everything through an SSH ...
5
votes
2answers
3k views

OpenVPN on OpenWrt

I have a step-by-step guide for OpenVPN on an OpenWRT 10.03 router: (wl500gpv2) Needed packages opkg install openvpn_2.1.1-1_brcm-2.4.ipk kmod-tun_2.4.37.9-1_brcm-2.4.ipk ...
4
votes
1answer
7k views

How to extend my wireless network with OpenWrt

I have two routers, both running OpenWRT 10.04 The first is a WRT160NL router connected to my ISP. I am using it as an access point with the ESSID of "160AP". It's WEP password is "AAAAA" and it's ...
2
votes
1answer
3k views

Find connections per ip on an OpenWRT router?

How can I list the number of connections per client on the FORWARD chain of an OpenWRT router? I know how to list the number of connections per IP address on the router: netstat -ntu | tail -n +3 | ...
2
votes
1answer
2k 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 ...
0
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
5
votes
2answers
4k 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 ...
1
vote
2answers
2k 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
819 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
671 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
324 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
699 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
161 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: ...
11
votes
3answers
4k 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
2k 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
1k 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
966 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
3k 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
2k 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 ...