Ligo help
Gabriel Tzagkarakis
gabriel at stsnet.gr
Mon Sep 10 12:02:51 EEST 2001
On Sat, 8 Sep 2001, Fragiadakis Xaralampos wrote:
> Lipon Pedia
> Thelo Ligia Voi8ia
> Lipon Exo 2 Mixanimata
> sto 1 pou exo to modem etc trexo win2k kai sto alo Slack 7,1
> Auta Lipon ta 2 mixanimata sindeode me kartes diktiou.
> Auto pou thelo na kano einai na mporo na bo net kai apo to mixanima
> pou trexei to slack...
> Ekana merikes prospathies me to netconfig alla den katafera tpt.
> To mixanima me ta Win2k Trexei kai Wingate gia na mpori na bi to alo..
> to error pou mou bgazi einai auto
> babis31 at dark:~$ nslookup nana.irc.gr
> *** Can't find server name for address 10.10.1.1: No information
> *** Default servers are not available
> babis31 at dark:~$
>
> Ti Na kanw gia na peksi to diktio??????
> Opios kseri pls Na mou pi ti na kanw kai POS
1) bale to modem sto linuxi sou
2) set it up (pppsetup sto slack)
3) bale mia duo ip's apo ton dns tou isp sou sto resolv.conf sou
4) bale sto /etc/hosts entries kai gia ta duo mhxanakia sou
5) echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 10.10.1.0/24 -d 0/0 -o ppp0 -j MASQUERADE
gia 2.4.X kernel
alliws ipchains -A forward -s 10.10.1.0/24 -d 0/0 -j MASQ
gia 2.2.X
6) bazeis default gateway thn ip tou linux sto win2k box kai ena dns
tou isp sou kai telos
>
> --
> To box me ta win 2k exei ip 10.10.1.1 kai tou exo dosi onoma talos
> TO box me to slack exei ip 10.10.1.3 kai tou exo dosi to onoma dark
> Oti ali aporia h stixio thelete pite mou!!!!!!!!!!!
> mou ipa pos prepi na kano ip masquarage kai kapios alos pos
> prepi na stiso named...
> --
>
good luck :)
-=Gabriel=-
More information about the Herlug
mailing list