You are not logged in.
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
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
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
Last edited by Rokixz (2007-12-14 15:38:06)
http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!
Offline
Any ideas ?
http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!
Offline
Ok, all warking now, just needed to install firestarter and set the device
http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!
Offline