Creating a linux 'router'

mattg1981

Senior member
Jun 19, 2003
957
0
76
I just bought a new computer but I dont want to go out and buy a new wireless card for it. I have a laptop with a wireless card integrated into it (and is functional under linux) ... Could I use the wireless card to connect to the internet and then plug my new pc into the ethernet port on the notebook to create a simulated router?

maybe access point is a better description of what I want.

if I can, could you guys possibly elaborate on how to do so, cause i would have no idea how to go about doing this.
 

Dravic

Senior member
May 18, 2000
892
0
76
you'll need to connect the pc to the laptop with a crossover cable as they both are end point devices..


then make sure the routing daemon is runing n the linux laptop.


make sure both computers have the same subnet mask, and are on the same network.

then make sure the computer has the laptop's IP address listed as its default gateway.


also make sure you use the same dns server the latop aquires from your isp on the pc

peace