Skip to Content.
Sympa Menu

baslinux - Re: [BL] gateway between two laptops

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] gateway between two laptops
  • Date: Thu, 21 Aug 2008 16:36:03 +0000 (UTC)

Message from Steven
===================
Sindi wrote:

Do you have instructions on how to set up the default gateway handy?

route add default gw xxx.xxx.xxx.xxx

I posted my experiences with this to BL a few years ago.

You also need rpc.portmap rpc.mountd rpc.nfsd on one machine and three modules (sunrpc lockd nfsd) and rpc.portmap on the other.

See tcpip1.tgz for the above rpc files.

See http://keesan.freeshell.org/bl/rpc-on
and http://keesan.freeshell.org/bl/nfs-on

You run nfs-on on the client computer and rpc-on on the gateway (server?) computer (with the wireless card, connected to the internet) and you need the 'big' (or bare.i Slackware) kernel (or my latest 2.4.31 kernel).


Hi Steven, hi Sindi,

I finally tried to setup the gateway from one notebook through
another notebook to the internet.

- both laptops are running BL3 without add-ons

- the gateway machine has a PCI network card and a PCMCIA wifi-card

- the client machine has a PCMCIA network card

- the connection is a cross-wired cable

I am pretty sure now, that the hardware is ok and recognized.

What I did:

- initialize the network cards

- ifconfig eth0 192.168.1.1 on GW machine

- ifconfig eth0 192.168.1.2 on client machine

- route add default gw 192.168.1.1 on client machine


- udhpcd -i eth1 on GW machine, returning
IP = 10.0.0.2 and DNS = 10.0.0.138

(I don't think I needed that part - you just have to assign IP numbersand know what they are on both machines).


The result:

- both machines ping to each other

- GW machine is online

- client machine pings to 10.0.0.2

- client machine does not ping to 10.0.0.138 and has no
connection to the internet

Probably there is still one step missing (ip forwarding?).

See my scripts. Several steps missing.
Sindi


Any ideas?

Christof


________________________________________________________________

Ceskobratrska cirkev evangelicka - Betlemska kaple na Zizkove
Prokopova 4/216, 130 00 Praha 3, Czech Republic
Tel. (+420) 222 78 06 73 / 222 78 20 02 / 603 18 87 53
http://www.volny.cz/cce.zizkov


-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org





Archive powered by MHonArc 2.6.24.

Top of Page