Ubuntu :: 10.10 - Apache ETC And Network Bridging

Feb 24, 2011

I'm a web developer etc. Came from using Windows - Love Ubuntu, alot. I installed Apache, PHP5, MySQL etc. Where can I access the htdocs? I've searched everywhere for the index file, but I cannot seem to find it. Now, my second question is. How can I bridge my connection from my wireless to my xbox 360? It was relatively easy on Windows 7 (however it is my native OS, had it since I was a kid). But since I'm new (today) to Ubuntu, I have no Clue What to do.

Also, the dns servers are like, 10.x.x.x.x - However on my router it's 192.168.2.1, for both 1 and 2. On my xbox, when I had it bridged from my laptop to my xbox (on 7), it worked fine while manually setting ip and DNS servers to that of my laptop, however if I use the same settings for my xbox with Ubuntu, it will say can't connect using a static IP, then when I auto define the settings, the IP works etc, but the DNS servers cannot communicate with xbox.com. (Even if I leave them as 192.168.2.1).

View 2 Replies


ADVERTISEMENT

OpenSUSE Network :: Xen Networking Without Bridging

Mar 5, 2010

you can do secondary interfaces (virtual interfaces?) for your virtual machines (domU's) and not loose your eth0 to the bridge. Is there documentaion on Xen in OpenSUSE without bridging?

View 6 Replies View Related

Debian Configuration :: Network Namespace Bridging

Jan 27, 2016

My task is to create network namespace, so it can be used to perform some other tasks from it.

Debian 8.2 is used in VMWare virtual machine on windows 7. I have also tried same things with Raspbian on Raspberry Pi 2, but same problems appear.

First, i have followed tutorial https://lwn.net/Articles/580893/ to create pair of virtual ethernet interfaces.

Now i have veth0 in global namespace with ip address 10.1.1.2/24, and veth1 in netns1 namespace with ip address 10.1.1.1/24, and i was able to ping each one from another

Next, i have followed tutorial [URL] ..... to bridge eth0 and veth0, so i can access internet from netns1 namespace.

- First, i have deleted ip addresses for both eth0 and veth0
interfaces, and set them do DOWN state.
- New bridge is created (br0) and both interfaces (eth0 and veth0) are
added to it.
- Then both interfaces are set to UP state, and i run "dhclient br0" to
assign ip address to br0.

From global namespace now it is possible to run "ping google.com" (and br0 interface is used), but from netns1 namespace i get error "Network is unreachable".

$ ip addr show
Code: Select all    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host
           valid_lft forever preferred_lft forever
 
[CODE]....

View 2 Replies View Related

General :: Bridging Network Interfaces Hangs On Getting IP

Aug 14, 2011

I have two physical NICs (eth2 & eth3) with eth2 connecting to the home router/dhcp server and eth3 connecting to another machine which needs access to the internet. I'm trying to create a bridge so that the second machine on eth3 can be connected on the lan. I've tried the following, however it hangs when attempting to get an IP address from the router. Likewise, attempting to give it a static route doesn't seem to work either.

$ sudo aptitude install bridge-utils
$ sudo ifconfig eth2 down
$ sudo ifconfig eth3 down
$ sudo brctl addbr br0
$ sudo brctl addif br0 eth2 eth3
$ sudo dhclient br0 # this hangs and fails to get a dhcp address

I've tried to ensure my routing table mimics what it looks like when using eth2 normally, I cannot hit the gateway at all.

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 br0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 br0

I attempted an 'arping' to the MAC address of the router while I had eth2/3 bridged, but it failed to obtain it's IP address as well. One interesting thing I noticed was that attempting to bring down the bridge & reactivate my internet on eth2, I was having trouble pinging the gateway. It turned out 'ipmasq' had been installed and was running causing odd problems. When I stopped the ipmasq service, my internet started working properly again. I removed the 'ipmasq' package entirely and tried bridging the NICs again thinking it may have been causing problems, but it still failed.

View 1 Replies View Related

Slackware :: Bridging Two Network Interfaces On The Same Motherboard?

Oct 5, 2010

Just recently set up a Slackware 13.1 partition. I'm really enjoying how it works so far, but I have one problem I just can't seem to find the right solution to, and was hoping for some assistance. Here is the basic setup. The Slackware box has eth0 connected to my wired router, and eth1 goes to an xbox running Xbmc. What I require is that the Xbox gets it's own DHCP IP from the router. In other versions of Linux I accomplish this by using bridge-utils. In Arch Linux I accomplish this by having this in /etc/rc.conf:

Code:
eth0="eth0 up"
eth1="eth1 up"
br0="dhcp"
INTERFACES=(lo eth0 eth1 br0)
and this in /etc/conf.d/bridges:

[Code]...

I know I'm close here, but I just can't get it to bring the network up with the bridge by restarting the networking, or rebooting.

View 9 Replies View Related

Fedora Networking :: Does Network Manager In F15 Support Bridging

Aug 24, 2011

does Network Manager in Fedora 15 support bridging and if so, can you configure the bridge using your wireless interface? All of the information I've come across so far said that you can NOT create a bridge using a wireless interface, and that Network Manager doesn't support bridging, but this info was also from Fedora 12 and below, so I don't know if it's still relevant for Fedora 15. I would certainly hope that by now you can make a bridge from a wireless interface. Even the lowly VMware Player offers this option.

View 2 Replies View Related

CentOS 5 Networking :: Network Bridging MAC Conflicts In KVM After System Rebuild?

Mar 24, 2011

After restoring from a hardware failure, I cannot get bridging to work again. I reinstalled the host version 5.5, and copied the .img file back onto the rebuilt machine. I also had the network scripts and iptables backed up. Through virt-manager I re-attached the virtual machine, and when I boot it, I get a MAC address conflict on the vm's eth0; "Device eth0 has a different MAC address than expected". The vm had a static ip address.

[root@trngvh ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
HWADDR=00:24:81:E4:FC:02

[code]....

View 10 Replies View Related

Debian :: Debian 5.0 Network-Manager Interfers With Vnet0 Bridging To Eth0 For Virt-manager

May 27, 2009

i'm trying to install virt-manager , to run a couple of virtual machines, i created a virtual nic vnet0 and bridged it to my eth0, i have configured the /etc/network/interfaces file with proper static ip, but i beleive the network manager is renaming my nic to eth1 and causing all kinds of problems. I uninstalled network manager and now i can ping anywhere in the network, but not outside it. ie google.com

View 5 Replies View Related

Ubuntu :: Bridging Connections Between XP?

Jul 22, 2010

I've been trying to access the internet on my desktop running 10.4 x64 through my laptop running windows XP. The laptop has a wireless connection and I'm trying to use an ethernet cable to bridge the connections. I've hooked them both up, and under Network Connections in XP I selected my wireless connection and the 1394 connection and right-clicked to bridge, and it does. But ubuntu doesn't want to pick it up.

View 1 Replies View Related

Ubuntu Networking :: Bridging LAN And Wireless Connection?

Feb 11, 2011

Here's the story running 10.10 on my box with a wireless N adapter I'm about to go get a XBox with the built in wireless but the problem is that the XBox does not pick up 5ghz. Any way to connect the XBox with a ethernet cable to my motherboard and bridge those connections so the XBox can get network access?

View 1 Replies View Related

Ubuntu Networking :: 10.10 - Bridging Wireless Connection To XP

Apr 1, 2011

My laptop, which is my main machine, is running Ubuntu 10.10 I am bridging my wireless connection on my laptop to my Dell desktop; but I have somewhat of an issue. I was able to bridge the connection with ease, but the IP the XP machine has been assigned is not in my subnet. The issue is that I need to port forward to this machine, but my router doesn't recognize that the PC is on the network because it has a random IP. I've tried assigning a static IP on the XP machine itself, but it doesn't change...

View 2 Replies View Related

Ubuntu Networking :: Apache 2 Only In Local Network?

Mar 4, 2010

How to make apache 2 accessible only on the local network? I have installed it in the easy way (but not the best, probably):

Code:

sudo apt-get install apache2 php5 php5-mysql mysql-server

And now I want to make apache only accessible in my local network.

View 2 Replies View Related

Ubuntu Networking :: Apache Error But Only Via Network

May 4, 2010

I have an Apache set up to server some static html and php files which all work fine. The php and statics include image links which fail, but only when accessed over a real network - if I connect to http://localhost or http://[myIP address] from the system itself, I get images just fine. The failure in Firefox is "The image http://blah-blah.png cannot be displayed because it contains errors" (any image, have used binary diff to ensure no copying errors)

Some details:
The system is running Ubuntu 10.4, with all the latest patches, and apache 2.2.14-5ubuntu8
Doing wget of a php/html file results in precisely the correct content being saved. Doing the same with the PNG I get the file, but it has approx 294 bytes of garbage before the <89>PNG, which includes the http header:

(binary stuff cut)HTTP/1.1 200 OK^M
Date: Tue, 04 May 2010 13:28:41 GMT^M
Server: Apache/2.2.14 (Ubuntu)^M
Last-Modified: Tue, 04 May 2010 08:29:36 GMT^M
ETag: "9fb4f-1004-485c082855fd1"^M
Accept-Ranges: bytes^M
Content-Length: 4100^M
Keep-Alive: timeout=15, max=100^M
Connection: Keep-Alive^M
Content-Type: image/png^M
^M
<89>PNG^M...

I have an Atheros Communications AR8131 Gigabit Ethernet controller using DHCP for network config. Everything else seems to be working exactly as expected. I re-iterate, if I connect from the system to it's own IP address. I have tried connecting from various clients including non-Linux ones, images get served with garbage up front I have no idea where to start debugging this (having worked out what is really happening).

View 7 Replies View Related

OpenSUSE Network :: Cannot Run Apache On 11.4

Jun 15, 2011

I've a server with opensuse 11.4 (from a 11.3 upgrade), but I can't run Apache.. I've tried latest version (official repository and Apache repository), but it give me always same error:

[error] (38)Function not implemented: apr_socket_accept: (client socket)

I've have removed and reinstalled apr/apr-utils also, but nothing..

View 2 Replies View Related

Ubuntu Servers :: OpenVPN: Routing Versus Bridging

Apr 21, 2010

Just curious to see what everyone's opinion on using routing vs. bridging for openVPN. I'm installing openVPN on a linux box that I'm using as a router. What I was wondering was your opinions on which one of these two options to use.

View 2 Replies View Related

Ubuntu Networking :: Bridging Wireless With Ethernet Port?

Apr 29, 2010

I have a Dell Studio 1501 Laptop and I want to bridge the wireless with the ethernet port so I can hook my xbox360 to my laptop.

I've spent the last 2 hours trying different techniques but nothing is working.

I'm running Ubuntu 9.10 so the last thing I tried was going into the network manager, clicking on wired, editing the ethernet port and allowing it to share. This did nothing.

I tried to share the connect with firestarter but that did not work either.

View 2 Replies View Related

Ubuntu Networking :: Bridging Connections Laptop Xbox

Nov 2, 2010

I know my way around windows but my Vista files got corrupted a few days ago and thats why i decided to use Ubuntu.Well anyway, this is my problem.Ive got a Acer5920 Laptop and an Xbox. My xbox is in the living room and Id like to connect it to the internet. When i had vista i used bridged connection. :Xbox => ethernet port of my laptop bridged with wlan of laptop => router.Bridging connections on vista is fairly easy but I have no clue how to bridge connections on ubuntu.

View 2 Replies View Related

Ubuntu Networking :: Bridging Internet Connections And OpenVPN?

Jul 13, 2011

I'm trying to set up an openVPN server for a small office. I've gotten the server running, and configured keys, and been able to connect to the server. The trouble is that once I connect with my windows machine to the server, I am unable to bridge through to the www. I have combed through so many settings and tutorials, and I am confused as to how to set up the interfaces configuration file. Here's a sample of my routing table:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
XXX.XXX.XXX.0 * 255.255.255.128 U 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
default XXX.XXX.XXX.1 0.0.0.0 UG 100 0 0 eth0

How should I be configuring this so that when I'm in the VPN I can get through to the internet?

View 9 Replies View Related

Ubuntu Servers :: Setup Bridging While Setting Up OpenVPN

Sep 1, 2011

I'm currently trying to set up OpenVPN on my Ubuntu Server, however I'm having trouble setting up bridging. I am following the tutorial for bridging that is located on the Wiki here: [URL] At the current time my /etc/network/interfaces looks like this (default from Ubuntu install):

[Code]...

View 9 Replies View Related

Ubuntu :: Can't Access Apache Server On The Local Network

Oct 11, 2010

I'm trying to set up a small Intranet system to run OpenERP or similar using browser-based clients. I have an Ubuntu machine running 10.04 desktop edition to act as a temporary/testing server until we set up a proper, dedicated machine with 10.04 server edition. I have installed Apache2 from the repos and it is up and running fine - locally. That is the problem, I can't access the server from other machines on the LAN. Ping works, btw. So I've been reading tutorials and howtos for the past week, but for the life of me, I can't find what I'm doing wrong. The standard Apache setup seems to be made to "just work", so although I've looked at the various configuration files mentioned in the tutorials, I haven't actually changed anything.

View 9 Replies View Related

Fedora Networking :: Don't Seem To Get Our Bridging With Protocol

Jul 12, 2011

We are running in to a issue where we don't seem to get our bridging to work as we expected. Meaning passing all traffic from Point A to Point B. As explained below:

[Code]...

This is the original connection. Now we are adding our Linux IP impairment box for IP tables in between Application Server A and Router X so the figure would look as below: Application Server A --> IP Impairment box --> Router X --> router Y --> Application Server B

The issue we are having is When a packets are sent from Server A to Server B they are going through for PING, TCP, UDP, but for BGP the connection is established at a TCP level (SYN, SYN-ACK, ACK), but the BGP OPEN packet does not get through and our BGP relation ship does not come up between Application Server A and B. Application Server A and B are a routers also but there are applications running on those router. BGP is underlying protocol used for Application Server A to be talking with Application Server B and getting routes for each other.

Even with the iptables empty (all rules default ACCEPT) we still can't seem to get these BGP OPEN's through. We see both sides of the application servers sending BGP OPEN's, but the Linux bridge never passes those packets to the other side of the bridge. Tracking the BGP packets, we see the packets at iptables raw PREROUTING and filter FORWARD tables but the packet doesn't get out the other interface.

View 2 Replies View Related

Networking :: HDLC To Ethernet Bridging?

Aug 17, 2010

Have upgraded HDLC version for 2.4.20 kernel from 1.02 to 1.14. And recompiled the kernel and HDLC driver. Also it requires sethdlc utility for configuring HDLC and driver parameters which was found on the internet where the patch for HDLC was found. Having done that with kernel and driver reloded, when you try to configure HDLC interface for HDLC and physical parameters as follows:

#sethdlc hdlc0 hdlc nrzi no-parity

error is thrown

hdlc0: Unable to set HDLC protocol information: Operation not supported.

Currently the driver doesnt support configuration of physical parameter.

But can you configure the HDLC protocol parameters for the interface having modified the HDLC version in the kernel 2.4.20. Basically the HDLC interface has to be configured and bridged with existing Ethernet interface using Brctl utility.

View 1 Replies View Related

Networking :: Bridging Configured But Not Working?

Jan 17, 2011

I have configured bridging based on information from a few web pages Google found. Traffic is being seen (using tcpdump) on both interfaces that are configured. However, the traffic is not going between them. What could be missing?The bridging machine has 3 NICS: eth0, eth1, eth2. eth0 is configured normally with an IP address (I can login via ssh to it just fine). The bridge is named br0 and uses eth1 and eth2 (a dual NIC card for convenience identifying which NICs are the bridge).

A script executes these commands:
Code:
bash-4.1# /etc/rc.d/rc.bridge-up br0 eth1 eth2
EXECUTING brctl addbr br0

[code]...

View 6 Replies View Related

Networking :: Bridging Wireless To Wired?

Aug 22, 2010

I am trying to share my internet access using the following setup.

A Linksys WRT54G v5 router that is connected to my cable modem in my basement. I want the signal to be picked up by my Hawking HWABN1 and sent through a Linksys BEFSR41 to my Ubuntu desktop running 9.04.

I'm pretty sure the Hawking is receiving the signal because when I check the devices in the wireless router setting the IP shows up. I can't seem to get anything whether it is hooked up to the BEFSR41 or straight to the desktop and Ubuntu tells me I'm offline and I'm not getting an IP.

I have a WinXP laptop that I have used to run the Hawking setup and it is supposed to be accessible through a web based interface similar to the routers.

View 5 Replies View Related

CentOS 5 Networking :: Bonding Or Bridging?

Jul 19, 2011

I am confused as to what is going on with a particular box that I am working with.As you can see in the attached ifconfig print out, one eth port is basically only used as a output while the other is only really used as an input.I connect to the box via 10.20.40.104 for ssh,ftp,http,etc.I just want to know the name of what is happening (is it bonding,bridging?) and maybe some information about where it is configured.I looked in modprobe.conf

eth0 Link encap:Ethernet HWaddr 00:1E:C9:EE:5A:91
inet addr:10.20.40.105 Bcast:10.20.40.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c9ff:feee:5a91/64 Scope:Link

View 6 Replies View Related

Ubuntu Networking :: Bridging Firewall - How To Block Incoming Traffic

May 2, 2010

I have a ubuntu computer set up as bridge between gateway and lan, with the lan connected to eth0 and gateway on eth1.

I'm trying to get it to basically block everything incoming except for the ports i specify, but also allow outgoing traffic. I've found, tried, modified som examples i found on the web, but still it wont block incoming traffic (ie, im still able to reach my webserver)

These are the rules, and i can't figure out why it wont block:

Code:
#!/bin/bash
iptables -F
iptables -X
iptables -I INPUT -i eth1 -j DROP

[Code].....

View 1 Replies View Related

Ubuntu Networking :: Intel 4965 And Wifi To Ethernet Bridging?

Aug 10, 2010

I have been trying to get my laptop to share its wireless connection to my older, wireless-less, computers through its ethernet port. So far, I have not been able to make it work. As far as I know, what I am trying to do is called network bridging. The method I have been trying so far is to run these commands as root:

Code:
ifconfig wlan0 -promisc
brctl addbr br0
brctl addif br0 wlan0
brctl addif br0 eth0
ifconfig br0 up

Each time I do this, the system running as a bridge loses connection, and the system being bridged to never gets a connection. My hardware is:

Code:
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)02:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)

View 3 Replies View Related

Ubuntu Networking :: Seting Up DHCP Server, Bridging, NAS And Samba?

Jan 29, 2011

I have been trying for the last few weeks to set up my network but don't see to be getting anywhere. This is what I'd like: I can get Internet on the server but cant work out how to bridge the connection and setup a dhcp server out of eth1. I have installed dhcp3-server and bridge-utils but can't seem to configure them right. The modem uses IP 10.0.0.1 and gateway 10.0.0.138 I'd like to leave the modem settings alone if possible. I don't care what the network IP addresses are but I thought it might be easier to see the difference if they were 192.168.0.0

I am using 10.10 64bit desktop edition for the server/desktop. The laptop has Ubuntu 10.10 and win7 duel boot (Not really worried about getting windows working) HTPC is XBMC Freak on an Asrock ion 330. The desktop is broken at the moment. (ram packed it in) will be running a version of ubuntu at some stage (need funds for more ram). I know there are lots of tutorials out there I just can't find one that explains what I wont to do in easy to understand terms and is up-to-date.

View 3 Replies View Related

Ubuntu Networking :: Bridging 3G Dongle Internet To Wireless Router?

Aug 11, 2011

I dont know if its possible or not ? I'm using 3G dongle (ppp0 interface) for connecting to internet on my laptop running ubuntu 11.04 , now i want to share this 3G connection to my wireless router(Trendnet TEW-652BRP) through eth0 interface in simple my connection should be like this

INTERNET<<<3G WIRELESS MODEM<<<LAPTOP----WIRED CONNECTION TO WIRELESS ROUTER<<<OTHER DEVICES (LIKE ANDROID MOBILE/LAPTOPS SHOULD CONNECT THROUGH THIS WI-FI CONNECTION)

View 9 Replies View Related

Networking :: Two Nics Setup With No Bridging But Still Seem To Bridge?

Jun 29, 2010

I'm trying to setup a Centos box to act as a backup server for our intranet between stores. I have two interfaces in it, the first one is currently connected to my local network and is using dhcp to get its ip address and such, the second one is set to a static ip address and is connected to an independent network that just has a DigiBoard Portserver hooked to it and no connection to the regular network. What I am doing is using ssh to portforward the telnet port on this box to the main server so when you telnet into the box from the second interface using the portserver you get connected to the main server.

I plan on using this over DSL lines as a backup when our main dervice goes out to allow the portservers at the remote locations to seemlessly connect to the main server by just moving the network cable from the local net to the backup server. My problem is that when I have the everything working I am able to ping the second interface ip address from the normal network even though the secondary card does not in anyway externally connect to the network, this is a problem.

Eventually I want to duplicate the main server address so that the normal portservers and other terminals on the remote site will not have to be reconfigured to access the backup server. All I want is to be able to tell the managers is to switch a cable while the main connection is down and not have to manage a bunch of config files to get the store back up. Right now if I duplicate the main server ip address and it is accessible through the first interface I'm guessing I'll see all kinds of problems relating to duplicate ip addresses on the network. I've tried some routing and iptable stuff but I'm not real familiar with either so I had no luck. Is there someway to block the internal connection between the two interfaces so the only thing that sees the duplicate ip address is the second interface?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved