Q. Im trying to share the internet through a wireless connection on my linux laptop, through to my xbox 360 (via ethernet cable)
A. Bridging, for example, links the two network adapters so that Ethernet frames flow freely between them, just as if they were connected on a simple hub. All of the traffic heard on one interface is passed through to the other.
You can set up a bridge so that the computer itself does not participate in the network at all, essentially transforming the computer into an overpriced Ethernet repeater. But more likely you will want to access the Internet as well as bridge traffic between the ports. That isn't complicated, either.
Bridging requires the bridge-utils package, a standard component of every modern Linux distribution that provides the command-line utility brctl.
To create a bridge between your network adapters, begin by taking both adapters offline with the ifdown command. In our example eth0/eth1 setup, run sudo ifdown eth0 and sudo ifdown eth1 from the command line.
Next, create the bridge with sudo brctl addbr bridge0. The addbr command creates a new "virtual" network adapter named bridge0. You then connect your real network adapters to the bridge with addif: sudo brctl addif bridge0 eth0 adds the first adapter, and sudo brctl addif bridge0 eth1 adds the second.
Once configured, you activate the bridge0 virtual adapter just as you would a normal, physical Ethernet card. You can assign it a static IP address with a command like sudo ifconfig bridge0 192.168.1.100 netmask 255.255.255.0, or tell it to retrieve its configuration via DHCP with sudo dhclient bridge0.
You can then attach as many computers, hub, switches, and other devices as you want through the machine's Ethernet port, and they will all be able to see and communicate with each other. On the downside, if you have a lot of traffic, your computer will spend some extra energy passing all of those Ethernet frames back and forth across the two adapters.
You can set up a bridge so that the computer itself does not participate in the network at all, essentially transforming the computer into an overpriced Ethernet repeater. But more likely you will want to access the Internet as well as bridge traffic between the ports. That isn't complicated, either.
Bridging requires the bridge-utils package, a standard component of every modern Linux distribution that provides the command-line utility brctl.
To create a bridge between your network adapters, begin by taking both adapters offline with the ifdown command. In our example eth0/eth1 setup, run sudo ifdown eth0 and sudo ifdown eth1 from the command line.
Next, create the bridge with sudo brctl addbr bridge0. The addbr command creates a new "virtual" network adapter named bridge0. You then connect your real network adapters to the bridge with addif: sudo brctl addif bridge0 eth0 adds the first adapter, and sudo brctl addif bridge0 eth1 adds the second.
Once configured, you activate the bridge0 virtual adapter just as you would a normal, physical Ethernet card. You can assign it a static IP address with a command like sudo ifconfig bridge0 192.168.1.100 netmask 255.255.255.0, or tell it to retrieve its configuration via DHCP with sudo dhclient bridge0.
You can then attach as many computers, hub, switches, and other devices as you want through the machine's Ethernet port, and they will all be able to see and communicate with each other. On the downside, if you have a lot of traffic, your computer will spend some extra energy passing all of those Ethernet frames back and forth across the two adapters.
How do I clone my Operating System for use on another machine?
Q. I have 2 laptops. One runs Windows 7. The other runs linux.
I also have a 2TB USB hard drive.
Both laptops are legally owned. So is Windows 7 (from the one laptop).
How do I "clone" Windows 7 and put it on the linux laptop?
I also have a 2TB USB hard drive.
Both laptops are legally owned. So is Windows 7 (from the one laptop).
How do I "clone" Windows 7 and put it on the linux laptop?
A. You wouldn't. The first thing that would happen would be the windows genuine warning. Secondly, the hardware isn't the same which would only compound your problems.
How do I go about installing windows after linux is already on my hard drive?
Q. I recently installed mandriva linux on my laptop but I realized I'm going to need to put windows back on the computer to play a couple of games I can't get to work with wine. Whats the process for installing a dual boot of linux and windows with linux already being installed?
A. How to dual boot Linux and Windows XP (Linux installed first)
http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_installed_first.htm
The above tutorial relates to Ubuntu 8.04 LTS and XP however it may be useful nonetheless.
LUg.
http://apcmag.com/how_to_dual_boot_linux_and_windows_xp_linux_installed_first.htm
The above tutorial relates to Ubuntu 8.04 LTS and XP however it may be useful nonetheless.
LUg.
Nec Projector Review
Plastic Shed Reviews
Ati Graphic Reviews
Nurse Uniforms Reviews
Cabochons Reviews
Inflatable Water Slides Reviews
Barcode Scanner Reviews
No comments:
Post a Comment