Questions about running a UNIX-like OS (typically Linux) on wired and wireless routers, including flashing, creating, and configuring custom firmware.

learn more… | top users | synonyms

10
votes
3answers
17k views

Find out network traffic per IP

We have one central server which functions as an internet gateway. This server is connected to the internet, and using iptables we forward traffic and share the internet connection among all computers ...
9
votes
2answers
21k views

Why does sh say “not found” when it's definitely there? [duplicate]

Possible Duplicate: “No such file or directory” lies on Optware installed binaries I'm trying to add ebtables to a little router box. I went and got a binary compiled for the ...
8
votes
1answer
2k views

How can I disable UFW logging for a specific event?

My router sends out multicast packets in regular intervals that are blocked by UFW's standard policies. These events are harmless but spam my syslogs and ufwlogs. I can't change the router's behaviour ...
7
votes
2answers
7k views

How to build a gateway from my Linux OS

I want to configure my Linux so that it will be used as a network router (gateway). Can anybody give me some hints on this? (links are welcome!)
6
votes
3answers
14k views

Where is iptables script stored on DD-WRT filesystem?

I have an ASUS RT-N16 router that I've flashed with the open-source DD-WRT firmware. According to my ssh login, I'm running: DD-WRT v24-sp2 mega (c) 2010 NewMedia-NET GmbH Release: 08/07/10 (SVN ...
6
votes
1answer
6k views

How to setup PPPoE with OpenWrt

Probably this is a simple question, but I can't find an answer... I have an ADSL router (Dlink DSL-524T) which runs OpenWrt Backfire 10.03.1. It connects to the internet using PPPoA: this is my /etc/...
5
votes
2answers
18k views

Debian Squeeze as a router

I'm trying to setup Debian Squeeze (ala Dreamplug) as a router. I can't seem to get the pieces to fit together. ETH0: Upstream/internet - DHCP-Client ETH1: Downstream/Lan - 192.168.0.1 DHCP-Server ...
5
votes
2answers
15k views

Linux Networking routing to virtual ip addresses from a different subnet

New to linux networking, had a question about routing to virtual ip addresses from a different subnet. I have three servers (they can all ping each other): A 10.10.51.182 (connected to router Y)...
5
votes
1answer
493 views

ARP request with wrong IP address

I have a strange problem with a Linux router. The setup is like this: host1 === Linux router === host2 a.b.c.d --- a.b.c.e/g.h.i.j --- g.i.h.k Every five minutes host1 tries to reach host2. ...
4
votes
3answers
2k views

What are the interface prefix meanings in ifconfig?

I'm not sure if these have a name, but on most computers I use the interface prefixes are usually: eth- : Ethernet/Wired wlan- : Wireless/WiFi However, on my ASUS RT-N56U, I have the following: ...
4
votes
2answers
3k views

SSH connection refused from inside my LAN

I'm on Fedora 19 and I have a problem with ssh. Ssh is up and running and I can connect when I enter my lan ip. But when I try my server name (blahblah.no-ip.org) I get a connection refused. No-ip is ...
4
votes
2answers
1k views

FreeBSD based routers

I am looking for a FreeBSD based wireless router to hack around it and also use it at home. I saw some listed on www.bsdrouter.org but those seem outdated. Can someone point me to such a product/...
4
votes
1answer
13k views

SSH: Network is unreachable (caused by router)

I've searched solution in Google for 3 days, when I decided to write here. I have a router, so in my house is WLAN. I use laptop when I stay at home. In another city in my office I have a second ...
4
votes
2answers
554 views

configure postfix to accept mail from two WANs

I have a mac server but my question has long left the realm of the GUI. My last hope is a unix forum. I have a cisco router with two WAN ports. The mac uses postfix 2.8.3. I have correctly ...
4
votes
2answers
691 views

Virtual Wireless Access Point

Basically, I want to be able to connect to a wireless network from my laptop. Then, I want my virtual machine to acquire internet access via a bridged connection from ETH0 of the VM to the host’s ...
3
votes
1answer
819 views

Spoof current MAC address to a known address to trick router and register device

I want to connect to a device to the internet, a Roku player, that has its own MAC address. The network that I currently have access to requires that I login using my credentials prior to being ...
3
votes
2answers
3k views

Do I want a Repeater or a Bridge? (OpenWrt)

I'm setting up a network with openwrt. I have a router that I have set up for wifi which I will use as an access point. I want to add another router to my network so that the two can exchange traffic ...
3
votes
1answer
4k views

Redirecting Request on Device in Access Point Mode

I have a Raspberry Pi with a wifi dongle that is configured for Access Point mode (wifi hotspot). When a user is connected, I want to redirect any url they enter to a specified IP (the devices setup/...
3
votes
3answers
835 views

Linux stack for a home network firewall/proxy?

I've got a generic home 'network' where my ISP supplied modem acts as router with a software firewall built-in. My PCs connect directly to this router to access the Internet. I want to place a box in ...
3
votes
1answer
210 views

Using iptables to redirect all traffic to local webserver

I'm trying to redirect all traffic on my wifi router to a local webserver using iptables. I'm not sure I have got the command right and also I want to exclude the router IP (172.16.0.1) from the rule ...
3
votes
2answers
966 views

SSH through router to internal file server

This is a real beginner question, I know. But I really don't seem to be able to wrap my head around the terminology to get what I want working. And since I want to do this on a router that 40-50 ...
3
votes
1answer
2k views

Share Internet Connection from computer to new router

On my linux computer I have an external wlan adapter which is connected wirelessly to internet (an access point). Now I want to connect my linux computer via ethernet cable to a new ddwrt router. This ...
3
votes
2answers
176 views

Multiple machines on single network with same IP

I have a raspberry pi 2 that I'm using for a KODI media center that has the ip address 10.0.0.4. Another pi I just got is showing the same ip (derived from /sbin/ifconfig -a and listed under wlan0 for ...
3
votes
1answer
1k views

Linux workstations intermittently lose internet connections

About three months ago, a strange phenomenon started happening in our network. Firstly, let me describe the network layout (only the details which I think I'll be allowed to divulge): We have a ...
3
votes
2answers
3k views

SSH tunnel to router periodically hangs. TCP problem?

Something weird I've noticed since upgrading my office router to the Buffalo WZR-HP-G300NH. When I remote in using an SSH tunnel, the tunnel will "freeze" pretty often. The freeze lasts 1-2 minutes ...
3
votes
1answer
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
3
votes
0answers
19 views

download rate limiting based on network usage

I have a Debian Wheezy (Open Media Vault) server with a few different downloaders working most of the time. (Primarily FTP) I would like to be able to adjust the download limits of this server based ...
3
votes
1answer
117 views

VMs “forgetting” MAC address of gateway on Ubuntu 14.04 host set up as a gateway using 1 NIC with 2 IP addresses on different subnets

I have an Ubuntu 14.04 server with one NIC. The MAC address on this NIC is assigned (by the data centre's gateway) one IP (X.X.X.100) in one subnet (X.X.X.0/24), with the gateway being in the same ...
3
votes
0answers
36 views

Control browser from command line [duplicate]

I have an old router that I have set up as an AP on my home network. For some reason it loses connectivity every few days and needs a reboot. I would like to set up a script to run once every night ...
3
votes
1answer
222 views

Compile mkvtoolnix for router with customized firmware

I am using my router (asus-rt66u with customized firmware (tomato) as a media server. To get the tools I need, I have been using the optware package manager which has has bunch of cross-compiled ...
3
votes
0answers
229 views

router latency measured by tcpdump increases

I am using tcpdump to measure latency on a linux router, i.e. the delay experienced by packets as they pass through the router (made of Ubuntu 10). For this purpose, I captured packets in the IN and ...
2
votes
1answer
9k views

how to make read only filesystem writable on busybox?

I want to change some files on my router. Firstly i can change everything in /var, but i want to change /etc/fstab. when i try to change it, i get an error message that says filesystem is read only. ...
2
votes
2answers
2k views

What does my router need to act as a name server for my home network?

I am happily using an old PC as a router. Two network cards, Debian wheezy, NAT, ... everything just fine. My home network uses static IPs, which I am also happy with. However, every box on my home ...
2
votes
3answers
2k views

How to setup transparent firewall using ArchLinux

I am trying to setup a Transparent Firewall using ArchLinux. My setup looks like this: (ISP, IP: 10.90.10.254) \ \ \ (eth0-> ip: 10.90.10.1 gateway: 10.90.10.254) +-----------+ | ...
2
votes
2answers
94 views

how do I network my desktop to my laptop?

How do I network my desktop to my laptop? They both use my linksys router wired internet and I have a large selection of distros that I can use once I know what is called for. I run about 3-4 distros ...
2
votes
2answers
2k views

How would I build a linux based router?

I am looking into building a Linux based router out of a home-built Linux server. I don't have much experience with the software required however. I would like the server to run the following ...
2
votes
2answers
6k 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 ...
2
votes
2answers
658 views

Firewall distro to share bandwidth evenly between connected users

I'll first describe my situation. I have a network made by a central x86 server/firewall, 5 access points and 2 unmanaged routers in between. 20 Mbits download and 1 Mbit upload ADSL. Upload is ...
2
votes
1answer
129 views

How to use the same Wi-Fi adapter to connect to a wireless network, and broadcast an AP at the same time?

I have a Wi-Fi router that runs OpenWRT. It connects to my home Wi-Fi and uses it for Internet access. At the same time, it broadcasts an access point itself and it is bridged with its LAN so other ...
2
votes
2answers
193 views

How to get IPs via DHCP, through a router from another DHCP server?

ISP -> OpenBSD box -> Wireless router We have an OpenBSD machine that connects directly to the internet, has dhcp/dns cache "server" on it, and forwards the connection to clients via ethernet cable/...
2
votes
1answer
135 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
2
votes
1answer
330 views

How to build a basic embedded linux on a Qualcomm router?

Not knowing the first thing on how to build a minimal linux system on an embedded device, I'd like to get some pointers in the right direction. Generally speaking, I'd like to know what are the ...
2
votes
1answer
1k 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 ...
2
votes
1answer
2k views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
2
votes
1answer
470 views

Linux Router Load Benchmark

What tools and methods can be used to stress test a Linux-based router/proxy? On the router Squid, Apache Modproxy and Privoxy are installed. The purpose of the stress test is to determine which proxy ...
2
votes
1answer
17 views

Linux router - Throughput speed of clients

I have a computer that is configured as a router with two NIC's, one is connected to Internet, the other is connected to the local network switch. I know that I can get the current throughput of NIC'...
2
votes
0answers
23 views

Multicasting with a Debian Router

I have a local network and I want to use NTP in multicast mode on this LAN. The first step to do this is to get multicast networking to work first. In the network I have 5 Debian machines all ...
2
votes
0answers
48 views

Router setting to access computer via its external IP

I use DD-WRT on my router. A few years ago I happened across a setting that allowed me to access my own computer (e.g. using the browser while a web server was running) using the computer's external ...
2
votes
0answers
159 views

Flash OpenWrt Routers from Telnet

I have two routers. One has Chaos Calmer and the other has Attitude Adjustment. When I turn them on and check arp, nothing comes up. When I check route, the hardware address says (incomplete) but the ...
2
votes
0answers
69 views

Desktop environment makes my router crash, why? [closed]

I'm a beginner Arch Linux user. Last week I decided to install it on my desktop too (Windows 8 dual boot) but for some reasons it makes my router go crazy! I have set it up with Ethernet connection ...