Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: how do i share the internet from dsl ?, I want to share the wireless internet< Next Oldest | Next Newest >
pieter Offline





Group: Members
Posts: 3
Joined: June 2007
Posted: Aug. 05 2007,16:12 QUOTE

I want to share the wireless internet i have with more computers, for the rest i got everything running with dsl so it gets time to get that last windows machine ( i still use only for sharing the internet ) away.

my wireless device is ath0  inet addr: 192.168.2.4 Bcast: 192.168.2.255 Mask: 255.255.255.0

my networkcard is eth0 but i don't know how to get the internet out of that one

somebody know what to do? allready thanks
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 05 2007,16:47 QUOTE

Get iptables from mydsl, and then read ip masquerading howto from tldp.org
Also I'd recommend you do a debian-style HD install on that routing machine..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
pieter Offline





Group: Members
Posts: 3
Joined: June 2007
Posted: Aug. 07 2007,11:53 QUOTE

Quote (curaga @ Aug. 05 2007,12:47)

Ok,thanks for the hint.  i got the iptables, tried to work myself trough the reading material but it still don't work... as far as what i understand ( could be wrong ) it is best to seperate the cable network from my computer i use to receive my wireless internet by using a 192.... and a 10.... network address so on my ath0 (wireless) i have a internal address 192.168.1.33 ( and the last number changes everytime when i connect to that signal ) Bcast: 192.168.1.255  Mask: 255.255.255.0.
On my eth0 ( network cable ) i can not get the numbers right, i trie to get working 10.0.0.3 Mask 255.0.0.0 but everything i trie with the rest of the numbers don't work, the network itself works and both machines can ping each other but internet still don't comes through that cable  
Both my systems work with DSL ( debian way install )

somebody knows?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 07 2007,15:35 QUOTE

Did you do the "route" commands from the howto?
As your sharing comp is a "gateway" if others connect through it to internet, so on all client machines you need to type "route add default gw 192.168.1.33/24" (I think that's correct..) to make them connect through that address...


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Aug. 07 2007,15:36 QUOTE

And ip masquerading (=NATting) is needed to make it look to the internet that all packets are coming from the gateway comp, if it isn't on, they look like they came from 192.168.whatever and as that's a private address, they cannot connect you back...

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
5 replies since Aug. 05 2007,16:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: how do i share the internet from dsl ?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code