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
 

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

reply to topic new topic new poll
Topic: internet connection sharing with dsl hd install, need advice< Next Oldest | Next Newest >
dexdex Offline





Group: Members
Posts: 25
Joined: Feb. 2005
Posted: April 15 2005,22:05 QUOTE

HI,
i hope somebody can give me a little help:

i have dsl 1.0rc2 running as hd install an two networkcards (both network cards are running fine and stable) on my laptop:

eth0 is a pcmcia ethernet card connected to the internet via fix ip with setting as follow:
ip:               130.90.200.100 (this is only ip example)
                 255.255.255.0
gateway:     130.90.200.254
nameserver:  130.90.100.30

eth1 is a belkin wireless network card wlan0, at the moment running as Ad-Hoc with WEP encryption and ip setting as follow:
ip:               192.168.0.10
                  255.255.255.0
gateway:      ????? (don't know what to enter here)
ns:              ?????  

So what i have to do to share the internet via my wireless card? Must i change my ip adress at eth1 and the Ad-Hoc? What do I need for this? I read about NAT aso but can't find a good manual. Im new to linux and did some air jump when I get my to network cards running;-) The internet connection at eth0 is running and works fine with firefox. Oh I forgot the laptop is running at the moment as a ssh server for the case this is important?
Back to top
Profile PM 
tronik Offline





Group: Members
Posts: 182
Joined: Dec. 2004
Posted: April 16 2005,15:09 QUOTE

this is more in depth than is going to be covered on these forums. There are plenty of websites that will tell you how to setup your linux machine to be a wireless access point (im going to assume thats what you're trying to do) and route everything else through your other card.

best of luck.


--------------
-william
atlanta, GA, USA

DSL 1.0+2.4.27/sata : P4 2.4norwood : 512ddr2 : nvgf4ti4200-64 : 128mbLexar Jumpdrive Elite
Back to top
Profile PM WEB 
dexdex Offline





Group: Members
Posts: 25
Joined: Feb. 2005
Posted: April 16 2005,17:52 QUOTE

thx for reply, but i didn't think in this way but of course it would be cool my old mitac 5024 notebook as a wireless access point ;-) But at the moment i am only looking for to share the internet connection to only one other computer with wlan card. Thats why i set up the wlan at the moment as Ad-Hoc. So i want to have access with the second computer. Is there a quick solution?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 17 2005,04:09 QUOTE

As quick as you can type:

linux wireless access point

into your google search box.
Back to top
Profile PM 
dexdex
Unregistered






Posted: April 19 2005,12:05 QUOTE

I found a quick solution for my problem (but not over google;-) and post it for guys with same problem, you will need the iptables.dsl for that

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
Back to top
4 replies since April 15 2005,22:05 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: internet connection sharing with dsl hd install

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