Ubuntu Networking :: Using Desktop As A Wireless Bridge
Nov 19, 2010
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.
So what I'm doing right now is I have my laptop connected through my wireless internet (Ubuntu 9.10), and I have a Xubuntu 9.10 Desktop right next to it with an ethernet cable going from my laptop to the desktop. Right now it says it's connected, but I can't connect to the internet. What I've done is I've gone on both computers and edited the settings for eth0 to share with computers, and I've even gone into the wireless settings on my laptop and edited it so Ivpc 4 setting's method was set to share with computers. I downloaded the bridge utility on my laptop but I don't know what to do with it exactly.
So here's the setup I've got going. Wireless Router ----->Laptop -------->ehternet cable ---------> desktop computer.
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 am trying to get a network bridge configured but every time I make the changes and restart networking (or reboot) eth0 appears to come up OK but I can no longer talk to the outside world via it. With no bridge defined, I can talk to the web using either wireless or wired; wicd is configured to switch to a wired connection when available (got rid of Network Manager. It didn't recognise eth0(!)).
I want to use the bridge so virtual machines (LXC containers) can talk to the web when the machine is wired to the wireless router. Eth0 gets its IP address (192.168.1.4) via DHCP from the router and I want to bridge to another subnet, 192.168.154.n say, and the containers will have fixed IP addresses 192.168.154.101, 102, 103 etc.
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):
Code:
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 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 am trying to configure an external wireless bridge for a few systems to replace a very long, duct taped cable.
I have it set up and it is connecting, at least I can see the pfsense router on the other side and ping any machine in the network.
Here's the issue, I cannot get dhcp to work across the link. I set a static address (dns servers and all) but when I try to ping google i get "Network is Unreachable"
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...
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'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.
how do you manually reassign a wireless bridge in xubuntu 10.04.. Or basically configure it without having to do so through the installation process.. Hopefully there are commands for it.
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.
I want to connect my modem straight to my fedora 13 box, using it as a firewall, and I want to use my wireless card to set up an ad-hoc to give internet to the windows computers in my house. My router has been messing up and I am trying to create a quick fix until I can solve the problem.
My eth0 has internet connectivity but when I use the brctl command to try to create a bridge it doesn't let me add my wireless card, wlan0, and also I lose internet while my eth0 is in a bridge. I am fairly new to Linux.
I have an old laptop, which doesn't work, as the hard drive died, and can't be detected. I only recently considered trying ubuntu, so I put in the live CD, and it started, although it was very slow. Wired Internet worked, but of course there was nowhere to install drivers for wifi.
When I want to connect my Xbox 360 to the internet, the only solution I have currently is to use my working laptop. In windows, I rightclick on both the wifi and ethernet, and bridge them.
Now, this isn't a great solution, because it means nobody else can use the laptop at the same time, so my family basically say I can only use it when nobody else wants to. Which is never. So it occurred to me that since I'd only need to use the ethernet port and the wifi card, I could set it up as a permanent solution to my gaming needs. Obviously a Live CD wouldn't work; it would have to be a live USB. I can easily get that sorted, but is this viable? I don't know if bridging the connections is viable in Ubuntu, but I'm sure there must be some way, considering how versatile it is.
In case it helps, my old laptop is an Inspiron 1525, with Broadcom wifi card. My new laptop (although I doubt this has any relevance) is an Inspiron 1545.
PS - Is 'wireless bridge' the correct term? It sounded about right when I typed the title.
before i used Ubuntu(i was hiding under a rock) i had my wireless network and Ethernet bridged so that i would be able to broad cast my network printer to the home network. i switched to Ubuntu and it is rather annoying to have to shutdown Ubuntu and boot windows just to print a document
I'd like to stream my laptop's audio output wirelessly to my hifi, and my wife's laptop too so must also work from a Mac. I guess if it's based on analogue rather than usb then we could stream the iPod too, but I don't know what's available. Does anyone know how this might be done?
I was wondering if I could create a bridge between two wireless interfaces. So that when there is a WAN that filters MAC's, 2 different computers which aren't in the WAN white list can connect to the WAN via me. Is that possible? And how?
I am a (somewhat) newbie to Linux (but have an extensive Windows background), and I have just installed Debian Squeeze in an old EeePc 701 4G using the netinst version only with the following packages:
Now I would like to install Debian in my main laptop, but I think it won't be able to connect to any wireless networks during setup and before installing firmware-brcm80211 and wireless-tools (its wireless card is a Broadcom 43224AG). That being, and to avoid connecting the computer directly to the router (it is not easy), I would like to bridge the EeePc's wireless connection to my laptop using a cable. I tried using the instructions found at the Debian Wiki, but I couldn't set it up properly.
I'm trying to bridge connections between a wired and a wireless connection in one of my computers. I was told it was impossible due to low-level limitations in the wireless subsystem, but apparently theres a way if you somehow forward packets from one port to the other. Is there a way I can achieve this?
I'm in the process of switching back to Fedora after years of hiatus, but I can't get my wireless card working. The card itself is an Atheros AR2413, and the problem is that it seems to appear OK in various places, BUT it doesn't detect any networks. I'm on Fedora 14.
I will be getting an older PC back in the near future. It is a Pentium 3 with 256 MB RAM and 40 GB HDD. I would like to use it as a media file sharing PC and a jukebox for my living room stereo. I can stream music to my living room using my Linksys WMB54G, unfortunately it only natively supports Windows XP. Does anyone have experience connecting a WMB54G to Linux, particularly a light-weight distro?
I just bought new components to build a new desktop .. it has a MSI A75MA-G55 motherboard but I can not find anyway to connect to a wireless network. I tried to google my problem and read all the manuals that came with my board but no were can I see if it has a wireless adapter build in or not.
Any recommendations as to what card to use? Have Netgear WPN311 and can't find a driver that works. Reading recent posts, sounds like 10.04 is a wireless wasteland.
I have a linksys wireless-b wmp11 network card. Can anyone tell me how to get this up and running? Maverick is up to date as of yesterday and I have the cd that came with the card. I have no way to access the internet on the machine. I am typing this from my laptop.
I just got Ubuntu and I feel like there is going to be a really simple solution but right now I cannot find any information on a solution. I run 9.10 desktop i386 or w/e and I have a wireless connection. The network does not show up when I go the network manager to select a network. No networks show up and all it lets me do is create a new network connection which I have no idea how to do. I think it might have to do with my device recognition, but the network is fine it is just Ubuntu.