Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Joseph,
        can u ping an external ip or hostname for example yahoo.com ? 
( I guess cable sets everything automatic as it uses DHCP so you 
don`t need to set anything or the linux box [at least it worked for me 
when I was running sharing with Redhat all I needed to do was to plugin
the *USB* modem) .... if yes .. for internet sharing just do the script 
ramon told to do and be sure that ipchains are not running. If you are 
running iptables and ipchains at the same time one of them will freak.

AiR.

- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joseph Markham
Sent: Tuesday, February 04, 2003 4:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [LINUX.ORG.MT] Mandrake 9.0 and internet connection sharing


Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Hi,

Thanks for the replies....

No, my internet connection is working fine on my linux box..... so that
does not seem to be a problem....Secondly, I can ping both pcs so the
home network does not seem a problem either....And I am using a cable
modem so I don't think I'm using pppd, because my linux box thinks it's
on a LAN since the connection to my cable modem is via a NIC.

I'm going round in circles using the mandrake wizards.

Joseph


- -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeroen Vriesman
Sent: Tuesday, February 04, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [LINUX.ORG.MT] Mandrake 9.0 and internet connection sharing

Instructions to unsubscribe from this list at the end of the message
- ---------------------------------------------------------------------
Several things are happening at the same time here.

First of all, you don't seem to have any internet connection.

when you run /etc/rc.d/init.d/internet start

see if pppd starts, and what messages do you see in /var/log/messages ?

When you have the internet connection working, configure the second NIC,
connected to your son's PC with an address like 10.1.1.1/255.255.255.0,
and your son's machine with 10.1.1.2/255.255.255.0, and set the default
gateway of your son's machine to 10.1.1.1
That doesn't give you any shared connection yet, but now you should be
able to ping from one machine to the other.

After that you should configre 'ipmasquerading' on your linux box.

make the following script: /etc/rc.d/init.d/ipmasq:

begin script:

#
#
# chkconfig: - 2345 33 33
# description: ipmasquerading
#
#

echo "1" >/proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

end script.

and then type 'chkconfig ipmasq on'

After that your son's computer and yours should be able to access the
internet simultaniously. (that is, if you first found what pppd did
wrong).

cheers,
Jeroen.



On Tue, 4 Feb 2003 15:06:26 +0100
"Joseph Markham" <[EMAIL PROTECTED]> wrote:

> Instructions to unsubscribe from this list at the end of the message
> ---------------------------------------------------------------------
> Hi,
> 
> I've tried to use internet connection sharing on my LM 9.0 box but
with
> no success. I have 2 pcs at home, mine ( which is the one doing the
> sharing with 1 nic connected to the cable modem & the other to my
> internal network ) and my son's ( which is connected to mine ).
> Everything works fine in windoze. In windoze, all is fine. I use
windoze
> XP with dynamic IP addressing on the Internet nic and static on the
home
> nic. My son's PC uses dynamic IP addressing.
> 
> In linux, sharing does not work. Moreover, after I ran the wizard, the
> linux update process does not work & I cannot download security
updates.
> 
> Finally, I cannot get samba to work. My son's PC has an icon showing
my
> linux box but if I click on it, the bloody thing asks me for a
password.
> I set up samba using webmin.
> 
> Any ideas?
> 
> Joseph
> Mandrake User
> 
> ---------------------------------------------------------------------
> You received this message because you are subscribed to the linux
> mailing list. If you do not wish to continue receiving this mailing
> list, please send a mail message to [EMAIL PROTECTED]
> containing only the text "unsubscribe linux"
> 
- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"

- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"

- ---------------------------------------------------------------------
You received this message because you are subscribed to the linux
mailing list. If you do not wish to continue receiving this mailing
list, please send a mail message to [EMAIL PROTECTED]
containing only the text "unsubscribe linux"
containing only the text "unsubscribe $LIST"

Reply via email to