Re: [RH] internet sharing problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hey, thanx for answering, just got back from school :-) ... well i have
cable but aint using a hub or switch (i'm in a financial low conjuncture and
for now don't have the money to buy one, maybe i should start staying at
home in the weekend ... nah) ... so i connected my sisters pc on mine and
then mine with internet (cable)! but since you used it for eth - eth
connection it should work ...

i'll give it a try

thanx for responding,

cu

yttrium
----- Original Message -----
From: "Malcolm Hunter" <malcolm.hunter@gmx.co.uk>
To: <psyche-list@redhat.com>
Sent: Wednesday, October 16, 2002 1:50 AM
Subject: Re: [RH] internet sharing problem


> On Tuesday 15 October 2002 19:36, Yttrium wrote:
> > well first i got to say i'm still learning linux and i'm starting to =
> >  really enjoy it but the problem is that my sister's pc is connected to
=
> >  mine to acces the internet and so when i want to try linux out it has
to =
> >  be when she aint online ... so i wanted to share my internet connection
=
> >  ... and i entered the following script to rc.local ... i made this file
=
> >  called rc.firewall which contains the following:
> >
> >  #!/bin/sh
> >  # DHCP Internet and Connection Sharing Script
> >  # Coded by Mayhem (C)2000
> >
> >  #DHCP
> >  <insert either PUMP or DHCP 2.0 code here as above>
> >
> >  # Net Sharing
> >  echo '1' > /proc/sys/net/ipv4/ip_forward
> >  /sbin/ipchains -A input -j ACCEPT -i eth1 -s 0/0 67 -d 0/0 68 -p udp
> >  /sbin/ipchains -P forward DENY
> >  /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
> >
> >  the problem probably is that my sister's pc has the following ip =
> >  192.168.0.2 which has been entered manualy and het ethernet card is =
> >  looking for a server with ip 192.168.0.1 (she's running win98) and all
=
> >  was entered manualy through w2k!
> >  so when i made those changes to linux with rc.local it always says it =
> >  failed the connection ...
> >
> >  please can someone help me? i really want this to work so i can start =
> >  using linux for 24/24??? thanx in advance ...=20
> >
> >  cu
> >
> > yttrium
> >
> > P.S. if this is a kinda 'stupid' question i'm really sorry ;-)
>
> Hi Yttrium,
>
> Is it dialup, dsl or cable? I use IPCop on a 486 PC as a firewall. I've
only
> used it eth-eth, but it can do dialup and dsl (I believe).
>
> Regards,
> Malcolm
> --
> KDE Proof-Reading Team
> KDE British English Conversion Team
>
>
>
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list
>



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux