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

Re: Sharing the internet connection with XP



At 15:55 2005-07-10, you wrote:

----- Original Message ----- From: "Björn Johansson" <bjorn.johansson@4a-consulting.com>
To: "John Fleming" <john@wa9als.com>
Cc: <debian-user@lists.debian.org>
Sent: Sunday, July 10, 2005 7:51 AM
Subject: Re: Sharing the internet connection with XP


At 13:59 2005-07-10, you wrote:
The PC has 2 network cards. The first one is connected to an ethernet ADSL
modem. The second network card is connected to a 100Mbit switch which is
connected to my Powerbook.

I now have a working connection between these 2 computers, I have succesfully
transferred files by ftp, but this is only in the local network. So...
Any suggestions?

Both the PC and the Mac has a static IP address which is used in the local
network. My connection to the internet, there I
get an automatic IP address from
my ISP.


What does ipconfig say? I would edit your /etc/network/interfaces to get a dynamic IP from your XP machine and list the XP's IP as the gateway and you should be done. I guess it should work with a fixed IP as well if you have the gateway right. If you don't get it working easily, send the contents of your /etc/network/interfaces file. - John

Well. I have reconfigured the system as you said.
But the Powerbook can't identify the ADSL modem.
It ONLY works with the PC. Perhaps I should have
said that from the beginning, oops. :-(
But now I know how to do it if I buy another
modem, which I can't do right now btw.
Any suggestion about a good ADSL modem(minimum 8Mbit) which works with Linux?
------------------
You don't need "a DSL modem that works with Linux". If the DSL modem works with WIN XP on the Powerbook, you should be able to share that connection. You said the Powerbook has 2 NICs - one to the modem and one to a hub/router. Anything (Linux, Windows, ?) that you plug into the router should be on the Internet. The things that you connect to the router don't have to know anything specific to your DSL modem. - John
P.S.  You still didn't send your /etc/network/interfaces info...

I will now give you some more information about my network:

1. Connection to local network 2, connected
TCP/IP settings
IP: 192.168.0.1
Netmask: 255.255.255.0
Standard gateway: none

2. 1394 connection, connected (1394 Net Adapter)
TCP/IP settings
IP: 172.20.0.1
Netmask: 255.255.0.0
Standard gateway: none

3. Connection to local network, connected
Connection is now shared
(Realtek RTL8139 Family PCI Fast Ethernet)
TCP/IP settings
IP: automatically from my ISP provider
Netmask: none
Standard gateway: none
DNS: automatically from my ISP provider

When it comes to: /etc/network/interfaces
Here's the information from the mac:

auto lo
iface lo inet loopback

iface NIL inet static
name Ethernet LAN card
address 172.20.0.1
netmask 255.255.0.0
broadcast 172.20.255.255
network 172.20.0.0

auto NIL


So, what happens now is that I can ftp different ftp locations,
but the only thing which I see, is the IP address of that
location. For example: ncftp ftp://www.debian.org
gives me the IP numbers, but I'm unable to connect.

If I add a gateway to the shared network(on the Windows system of course)
then I'm unable to see the IP numbers at all, so that gives me no connection
what's so ever.

Any clues on how I can fix this?
To be able to connect to my Powerbook through my PC, I need to deactive the
shared connection which I create with the Windows guide system. Then FTP
will work again but that would lead me back to square one.. Phew!


Greetings Björn




Reply to: