On Wednesday 07 February 2001 19:45, Yann Ouellet wrote:
> Hi,
>               I recently sent an email regarding the internet connection sharing in
> linux from a Windows Box. In fact, I formatted the whole system and
> reinstalled win98SE to use ICS and get rid of Sygate. Everything works fine
> in windows, i can access the internet, email, ftps, etc... from my windows.
> But i can't manage to make it work in linux. There's a netcfg, drakconf and
> bla bla bla... I need help!
>
>
>       Here are some specs of my network.
>
>       PC.1 Dual-Boot(Windows98SE and Linux MDK7.2) --> CLIENT
>       IP: 192.168.0.2
>       Gateway: 192.168.0.1
>       DNS Server: 192.168.0.1 (DNS server of my ISP: 204.101.251.1 and
> 204.101.251.2)--> The ICS conf Doc says it     doesn't need the ISP DNS
> server if it works with the gateway. It worked so i left it with the
> gateway.
>
>       PC.2 Single-Boot (Windows98SE)  --> Server With ICS.
>       IP: 192.168.0.1
>       HostName: PI
>       DNS Server Search: 204.101.251.1 and 204.101.251.2
>
>
>       The ICS isn't set to DHCP.
>
>                                                               Thanks!

Here's what to do, asuming you already have your ethernet card configured an 
running.

/etc/sysconfig/network

NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=your.host.name
DOMAINNAME=the.domain.name.of.your.provider
GATEWAY=192.168.0.1 

/etc/hosts
127.0.0.1       localhost.localdomain localhost
192.168.0.2     your.host.name your

/etc/resolv.conf

search the.domain.name.of.your.provider
nameserver x.x.x.x
nameserver x.x.x.y

Using the ip addresses provided to you.  I'm using dhcp now, and it works 
with just nameserver 192.168.0.1, but I didn't have any luck when using a 
specific ip address instead of dhcp.

/etc/sysconfig/

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes

This one isn't quite right, because I now use dhcp.  You need to remove the 
BOOTPROTO line and add an IPADDR=192.168.0.2 but I don't remember the format.


-- 
Collins Richey
Denver Area

Reply via email to