Ubuntu Networking :: Using Tomato Router As Wireless Bridge
Feb 5, 2010
Using Ubuntu Server 9.10 x64 and a tomato router to act as a wireless bridge to connect to another router. The reason I ask is because I do have the router set on WDS mode on the tomato firmware. I think I have it configured to the best of my ability, but when the interface is up, the signal doesn't get pushed out (no received packets) and it gives something at the bottom of an ifconfig eth0 "Interrupt:28".
I'm trying to set up my router, with tomato firmware, to save the bandwidth usage information. One of the 'save history' choices is "CIFS" ... I'm lost as to how to create this save area..anyone able to give me a link to a 'how to' ...or if you've done it, perhaps a step by step?
I've managed to confirm that I can reach my home network via ssh from a remote location through my SMC Barricade when it is directly connected to the desktop machine but when the second router is put back into the chain ssh requests time out. The second router is a Linksys WRT 54GL running the Tomato firmware. The chain looks like this: ISP's router (bridged) --> Barricade -->WRT54GL-->desktop
The Barricade has port 22 forwarded to the Linksys' WAN address and it in turn forwards to the desktop address. It appears that it is a setting on the Linksys firmware that is preventing the remote connection. I've looked through the various settings many times but cannot see anything that would cause the problem.
What are the pros and cons of various current model ADSL modem routers for use with DD-WRT, OpenWRT or Tomato? There are, of course, hardware compatibility lists (HCLs) for each of these (DD-WRT, OpenWRT and Tomato) but many of the models are no longer available and there are so many that researching them all would be onerous. Many pages on the Internet recommend the WRTG54L and that would be great but it is no longer an option except second user which is increasingly difficult. What are the pros and cons of the various chipsets: ADM5120, AR7, IXP4xx and BCM63xx?
I have a device that must use a real IP address. Currently, my ISP uses DHCP and I can have up to 4 real IP address assigned. However, the cable modem only have 1 ethernet port and it's connected to my router (running Tomato, but can run DD-wrt or other Openwrt if required). Question stems from how I can connect the additional device, requiring a real IP? would be to get a switch and connect to the CM, Router, and Device. But alas, I want to avoid this route, since:
my wiring cabinet in my home is drawing lots of power and heat already Device will be unprotected by any firewall unable to monitor the traffic to/from device.Besides, what would be the FUN in that? what I want to do is to configure the router, so that one of the switchport is removed from the normal br0 bridge. Instead, I want to make it behave like a switch on the WAN port. What's the best way of doing this? Should I create another bridge on the WAN & the device port? Can a single port belongs to two bridges? or would I need to create a subinterface first? Would I need a DHCP-relay? Am I expecting too much from my poor cheapie router?
+------+ | CM | +--++--+ || +----WAN---------------+
The challenge: I am trying to setup a piece of hardware that is transparent to the network that transfers ip packets between two interfaces without adding a "hop". Details The particular problem I'm having is that one interface is ppp, the other is ethernet. It is trivial to setup a bridge between two ethernet devices but I am having trouble finding anything for ppp<->ethernet.
Here, the ppp link is an internet connection, and the ethernet connection has exactly one device attached. Once the ppp link is negotiated, I want the ppp peer to think it's talking directly with the device on my ethernet interface and I want the device on my ethernet interface to think it's talking directly to the ppp peer.
Current solution: The best solution I currently have is to alter the routing table. When the ppp link is negotiated, I am given an ip address. I add a route that directs everything to that ip address to the eth0 device. I also set a default route to the ppp device. Now, anything that comes from the ethernet side gets forwarded to the ppp side, and anything directed towards my ip address gets forwarded to the eth0 side.
My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.
I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.
I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.
So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?
Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.
We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.
I am trying to connect networks connected via locked down wireless routers. Here is the setup:
Internet <-> eth0 - server - eth1 providing DHCP <-> hub <-> wired clients & to WiFi router with NAT & DHCP <-> WiFi clients.
I want the wired clients and the WiFi clients to be able to talk to each other directly, but the locked down WiFi router (meraki) is in the way. the wired clients get their IP address from the server, the wireless clients get theirs from the meraki WiFi router. I can't reconfigure the WiFi router to bridged mode without paying meraki a sizeable annual license fee. What options are out there to get through the WiFi router? I came across OpenVPN and ethernet bridging, but broke networking on the server when trying to configure the br0 interface. I followed these instructions: [URL]
I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.
As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?
My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
I have spent the last 24 hours trying to work a wireless bridge (a D-Link DAP-1522) into my network configuration. It would connect to our gateway here at home (some 2WIRE piece of garbage AT&T hands out, but I digress), and two computers (an Ubuntu Desktop and an Ubuntu Server) would connect via the bridge.
The bridge SEEMS to connect to the router, and indeed, the Ubuntu Desktop PC is able to access the internet. The server, however, is not, and neither computer can communicate with the other (ping, SSH, etc.) furthermore, the router recognizes the presence of these two computers on some level, but does not seem to know their IP addresses (I assume this is related to the computers' inability to communicate).
Before I get too far into this, here are a few links/items for the sake of clarity. The first is a shoddy diagram of my (proposed) network topology, for all of you out there who, like myself, understand things visually:[url]
This is the output from running "ifconfig eth0" on the Ubuntu Desktop PC, which sits behind the bridge. The PC is connected, and can ping hosts across the Internet, but can only ping the router locally (that is, it can't ping any other device in the house, on either side of the bridge):
The router uses wireless encryption, not MAC addresses, to restrict access/traffic, and all wireless devices (including the bridge) have been provided with the proper credentials. There shouldn't be any devices being denied access on account of their MAC address. In fact, the router's control panel lists the PC and the Server among the recognized devices (even lists their MAC addresses), but provides no IP address and always considers the two computers to be "offline." And yet, I am writing this very post from the Ubuntu PC. Sigh.
I am very comfortable with computers, and reasonably comfortable with Ubuntu/Linux and the Linux command line -- I've been using the operating system for just over a year now -- but networking issues have always been perched right on the edge of my understanding. In short, it's likely this issue has more to do with me than it does with the hardware itself (although the more forums I browse, the more I start to doubt this bridge...).
I have a wireless network that is upstairs, i cannot run a cable down here, however i've got 3 boxes that i want to run as servers..
1. Desktop running 10.10 (the one with the wireless card) 2. Server running 9.10 (no wireless card.. is currently connected through a wireless B gaming bridge) 3. An old P4 that I will be putting 9.10 on and running as a server.
Take the Desktop that has the working wireless card as my normal desktop and also running as a passthrough for the switch to go to the other two while still allowing all of the port forwarding to the other two to be handled by the router upstairs so basically what I want to do is this
Everything i've come across so far has been for going from a wired router to turn a box into a wireless AP unfortunately i need the reverse.. a wireless bridge. if someone can point me in the right direction (or i'm not against hand holding if it's available.
I first want to say that I am very new to Ubuntu so please forgive any ignorance I have successfully given internet access to my xbox by connecting it via crossover cable to my ubuntu 10.04 laptop and given the eth0 settings "share with other computers" My issue is that the ip address being given to the xbox is 10.42.43.10
How can I change this ip address given, or use a static ip address (ie 192.168.x.x) because using this ip address keeps my xbox from accessing windows shares on WORKGROUP on my 192.168.x.x network.
I have a Windows 7 machine which is having issues with a Linksys Rangeplus wireless card, specifically kernel dumps every couple of hours. I have an old (really old) tower sitting in my room which I would like to turn into a wireless bridge so that I could connect the windows box to the internet without dealing with the blue screens. I plan on using Knoppix as I have it available already, but if it would be easier with another distro I can always download it. If this doesn't work I'm going to have to buy an old WRT54G offline and convert that with DD-WRT...
I've tried everything listed in these forums but every time I run sudo iwconfig wlan0 mode master Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Invalid argument.
I tried the STA drivers and get the same thing except the kernel module loaded is wl instead of b43. Is it even possible to set this card to master mode? I can't find jack on the net. uname -r 2.6.31-19-generic
I want to create the following network: I have a Belkin 54g ADSL Router/Modem connected to ADSL I connect my laptop (Ubuntu 8.04) wirelessly to this router I have a Netgear DGN2000 Router/Modem with NO connection to ADSL I connect my desktop to the Netgear using a wired connection I want to bridge the two routers and use the internet on the desktop
The Belkin 54g Router setup has options for Wireless Bridge.. I have selected "Enable Wireless Bridging"; as far as I can tell there is no corresponding option in the Netgear DGN2000's settings to act as a wireless bridge. I have changed the ESSID, Security, and Channel all to the same settings and when I turn on the Netgear router the signal strength of the network dramatically increases. I am unsure whether this is the "Bridge" connected... or if the Netgear's signal is just drowning out the Belkin's signal. In any case I cannot use the internet when connected to the network with the Netgear turned on. What do I do?
Or is there some way I can share internet like this: wireless wired ADSL--->Belkin54g----------->Laptop-------------->Desktop
The reason for this is I can connect to the internet on my ps3 through my laptop, and I can stream from my laptop to ps3 through wired connection. This works fine in windows 7 all I had to do was right click bridge connections. As I dual boot I don't want to have to make any changes to the settings on the ps3.
My interfaces are: eth0 - wired wlan0 - wireless
I installed bridge-utils and created a bridge and added both eth0 and wlan0 to it. However I could not get it to work. I have also tried internet sharing through network manager and firestarter.
My setup is above, I hope it comes out OK on this forum, and someone can understand what its supposed to be! My problem is I am not sure how to get [PC] to be able to see [Internet]. From [Laptop] I can get both networks to work, and have tried using brctl to bridge them, but as soon as I do "ifconfig br0 up" neither network... works anymore (cant ping either router).
My current network setup at home is all wired, and that's worked for me so far. Now I want to set up a wireless connection on my Linux box that I can connect to with both my laptop and my Nintendo DS. I'd like to be able to host a wireless network from the Linux box, connect to it with some other wireless device, and have the wireless device communicate with the router, the internet, and other computers on the wired network. I have the wired network set up (statically configured) as eth0. Other network adapters present on the system are eth1 (not in use) and wlan0, wlan1, and wlan2 (identical cards, remnants from the last time I experimented with wireless).
So I guess my question comes in two parts: 1) How do I set up wlan0 such that it can host? Is Ad-hoc mode okay for this, or do I need to set it up in Master mode? 2) How do I forward connections between the wireless net and the router? Note that I will be using WEP, as it is all that the NDS supports. I'd like to set up MAC filtering as well, but not until after I get something that works.
I want to set up a bridge using bridge-utils within /etc/network/interfaces like is shown here in this guide: [URL] The problem is that, at the same time, I want eth0 to have a specific static IP address. Right now I have a configuration for eth0. This guide tells me that I should not configure eth0 outside of the br0 configuration.
Those are my authentication capabilities, obviously. I am using a WEP encryption for my wireless router and according to this, it will not allow me to connect. Is there anyway to allow that? The wireless card works just fine in Windows, even on the same network encryption type. Using a Intel Wireless/Pro 4965 ag. Note* this is my mother's router and whatnot. She won't change it the encryption type.
I installed a Tenda W322P wireless card in my dual-boot PC running both Windows XP and Ubuntu 11.04. The card worked straight out of the box on XP, but does not function correctly under Ubuntu. My apologies for any missing/irrelevant information, I am having to post this from the Windows boot so the Ubuntu settings are not directly available at the same time as internet access.I followed the process detailed here htURL...to install and configure the driver (I believe from reading other sites that this card is the Ralink RT3062 chipset), blacklisted the original RT2860 driver that was in use (couldn't even get the card to scan for wireless networks with the default driver) and restarted the interface.
Since then, sudo iwlist scan can find my wireless router but when I attempt to connect to it, it seems to enter a loop of requesting the WEP key then pausing for a while before re-requesting the key. I know I have the key value correct because it is copied and pasted from the same text file I used to copy and paste into the passkey field on the Windows boot. Attempting to connect to the router using Ubuntu also has the rather unfortunate side-effect of crashing the wireless router, killing off all other device connections until the router has been reset.
I wonder what is your opinion about the best method for using an ADSL modem. Router or bridge? I did read some articles that say "that the bridge mode gives you more stability and has higher speed". Is that true?
Furthermore, you suggest any alternative to "pppoeconf"? I've been getting this errors ( in the plog), related to "PAD packet loss" and also errors in "PPPOE Discovery", even when I am connected. When this things starts to show up on the log, my connection "pauses" for some seconds. I do not feel very safe with this program.
i have dlink dir-300 router which i flashed to dd-wrt v24 preSP2 (Build13064. I wish to try openwrt now,but i do not know how is openwrt Different from dd-wrt? Does any one have any info regarding this? All i read was openwrt is much more linux like than dd-wrt.