You are not logged in.

#1 2007-12-14 13:40:50

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

[solved]Internet share

Hi all, I've got 2 Arch pcs. in one pc(router) I've got 2 network cards, and crossover cable. I've pluged that into that pc's, and following instructions http://wiki.archlinux.org/index.php/Internet_Share I do what it was wroted, but it's not working allready. Where is a problem ?

My first card using DHCP connection and second(share) stable. Other computer is using stable too. How to set dns name ?

Last edited by Rokixz (2007-12-14 19:14:23)


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#2 2007-12-14 14:09:28

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: [solved]Internet share

The computer acting as the router (the one connected directly to the Internet) has to have the primary and secondary DNS servers added to /etc/resolv.conf
In the computer shearing the connection you should add in /etc/rc.conf the address of your router as the gateway, like this:

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

Notice that 192.168.0.1 is an example, you should use the address of your computer which may be the same or something totally different.

R.

Offline

#3 2007-12-14 14:25:50

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: [solved]Internet share

My resolv.conf is:

# Generated by dhcpcd for interface eth1
search splius.lt
nameserver 62.80.224.2
nameserver 62.80.224.4

I set this into another pc.

My /etc/rc.conf is:

eth1="dhcp"
eth0="eth0 192.168.0.1 netmask 255.255.255.0"


INTERFACES=(lo eth0 eth1)

gateway="192.168.5.1"
ROUTES=(!gateway)

I set this gateway to another pc, ip - 192.168.0.2  . My sharing card is eth0

Still not working sad

Last edited by Rokixz (2007-12-14 15:38:06)


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#4 2007-12-14 16:28:47

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: [solved]Internet share

Any ideas ?


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#5 2007-12-14 17:23:56

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: [solved]Internet share

Ok, all warking now, just needed to install firestarter and set the device smile


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

Board footer

Powered by FluxBB