Internet Connection Sharing with Linux
Hello,
I would like to have all traffic from the ethernet connection out through the wireless (basically using the box as a router) however I am having some trouble doing this. I have done this before on Windows however I am having some trouble doing this on linux, I have tried using Squid Proxy however I am having some trouble using configuring/using it. I am using Yellow Dog Linux however I am willing to change to any other distro as long as it is compatable with PS3 (as this is what im using linux on) Many thanks |
Well squid is an http proxy, so that won't help you in the slightest if you do want to route... which is it? You've not described the IP addressing here, normally a mixed wired and wireless LAN will still just use the same network, in which case you wouldn't route at all, just bridge. if you do need to route, then it should just be a case of enabling ip forwarding and masquerading - http://www.ibiblio.org/pub/linux/doc...ple-HOWTO.html
|
Yes, sorry you are correct I do just want to bridge, is it possible to still use Masquerading to do this or is there something else I need to do?
EDIT: Bridge, not route sorry again. I just want to bridge. |
right, so it should just be a case of taking both interfaces and making a br0 interface out of the two of them. http://tldp.org/HOWTO/BRIDGE-STP-HOW...he-bridge.html
|
Ok, I've installed "bridge-utils-1.1-2" as this is the only version I can find. (all the links on the page you gave me come up as forbidden)
And now if I run "brctl addbr bridgename" I get the response: "Cannot add bridge: Invalid arguement" Any ideas? |
well if you're doing it literally, "bridgename" is indeed not valid. call it "br0"
|
I've tried calling it a range of names including br0, nothing seems to work unfortunatly
|
I'm not sure if this will help at all but here is the output from the ifconfig command:
Quote:
|
this mite help:
http://www.linuxquestions.org/questi...6/#post3804866 |
mite????
|
I succeed to install the wireless card drive,but I found that the configuration of it was difficult for me to do it ...
|
Always fails on the last line of that script saying "SIOCADDRT: Network is unreachable".
Ive changed the eth1 port for wlan0 and the gateway to that of my router and the IP address of the other machine I wish to share my connection with. Still no luck |
Quote:
_____ i found this: http://www.scyld.com/pipermail/realt...ry/000392.html Quote:
|
I've had no luck what-so-ever.
It only seems that the last line doesnt work, any ideas? |
As was stated in the post just ahead of your last post, you need to provide your routing table now.
|
All times are GMT -5. The time now is 09:16 PM. |