internet connection sharing with dsl hd installForum: Networking Topic: internet connection sharing with dsl hd install started by: dexdex Posted by dexdex on April 15 2005,22:05
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? Posted by tronik on April 16 2005,15:09
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. Posted by dexdex on April 16 2005,17:52
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?
Posted by cbagger01 on April 17 2005,04:09
As quick as you can type:linux wireless access point into your google search box. Posted by dexdex on April 19 2005,12:05
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 thatiptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward |