![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 5
|
Wireless Laptop as Ethernet Bridge
I have a wifi a card in my laptop. I would like to take the signal i get from my wireless access point and connect my PS2 or my other laptop up to the internet/network through the ethernet cord on my laptop
So it would look like this Modem>Router>Ubuntu WiFi> Ethernet/Cat5 Device Any help would be appreciated.. I suppose i could bridge the connection between my wifi and ethernet cord but im not 100% sure how to do that.. i am semi-new to Ubuntu but i know the basics and a little bit more, so any hints you could give me would be amazing =]] Thank you, and hope to hear back soon. -Robert |
|
|
|
|
|
#2 |
|
5 Cups of Ubuntu
![]() |
Re: Wireless Laptop as Ethernet Bridge
That shouldn't be too hard. I've done it once too.
You need to install bridge-utils. Then you'll have to do something like: Code:
brctl addif br0 ifconfig br0 up Code:
ip addr del 192.168.11.14/24 dev wlan0 ip addr add 192.168.11.24/24 dev br0 route add default gw 192.168.11.1 Code:
brctl addif br0 wlan0 brctl addif br0 eth0 Good luck (ofcourse you need to replace the interface names and ip's if their named/numbered differently) |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 5
|
Re: Wireless Laptop as Ethernet Bridge
Thank you for replying so quick Friek..
I had a bunch of stuff here but it doesnt apply anymore so i am just gonna edit it out =] Please read next post though, im still having issues. Last edited by allnightarockin; December 6th, 2007 at 01:08 AM.. Reason: Outdated Post. |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 5
|
Re: Wireless Laptop as Ethernet Bridge
I decided to try and figure it out myself..didnt workout so well
br1= My bridge 192.168.1.147 = My Local IP How i thought to make a bridge in BRCTL [Bridge-Utils] you type Code:
sudo addbr br1 Code:
ifconfig br1 up Code:
ip addr del 192.168.1.127/24 dev eth1 ip addr add 192.168.1.24/24 dev br1 route add default gw 192.168.1.1 Code:
brctl addif br1 eth1 brctl addif brq eth0 i fixed it by typing ifconfig br1 down. then deleting the bridge in BRCTL Do you know what could be going on?? Screen Shot with ip info: ![]() My routing configuration after my last attempt (when i deleted it all) Terminal: Code:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 link-local * 255.255.0.0 U 1000 0 0 eth1 default DD-WRT 0.0.0.0 UG 0 0 0 eth1 im just not 100% sure how to set it up Last edited by allnightarockin; December 6th, 2007 at 01:10 AM.. Reason: Added/Fixed Typo's |
|
|
|
|
|
#6 | |
|
First Cup of Ubuntu
![]() Join Date: Oct 2005
Location: Montpellier, France
Beans: 4
Ubuntu 8.04 Hardy Heron
|
Re: Wireless Laptop as Ethernet Bridge
Quote:
I tried to do all this bridging thing yesterday, did what you told (but before I found this thread). Off course it didn't work, but I didn't understand why... now I have a real, true final answer (rare in Linux world sometimes). thanks also to allnightarockin for the perfect title Cheers |
|
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2007
Beans: 5
|
Re: Wireless Laptop as Ethernet Bridge
Good Link, thank you!
Will read more into it tonight =] |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|