LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2004, 03:28 PM   #1
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Rep: Reputation: 15
XP/Mandrake 9.2 Internet Connection Sharing problem


Hi. I've been reading all sorts of tutorials about internet connection sharing, but none of them seem to work, so I've decided to come here.

Forgive me for using my computer names, but I find it easier to referr to each machine that way.

Basically, I have Rei, a computer running Windows XP and my main computer, and Usagi, an ancient 120mhz computer running Mandrake 9.2. I want to use Usagi as a second internet workstation using a dial-up connection on Rei. Here is a basic diagram of the system:

INTERNET -- (Dial-up modem)--> REI [XP] --(Ethernet Crossover Cable) --> USAGI [MDK 9.2]

I've set up Rei to use the IP 192.168.0.1, subnet 255.255.255.0, while I've set up Usagi to use the IP 192.168.0.2, subnet 255.255.255.0, gateway 192.168.0.1.

This is all good and fair, I've set up connection sharing on the dial-up connection on Rei, and in the Mandrake Control Centre MDK9.2 recognises when it's connected to the internet.

Here lies my problem: I cannot access web pages at all using either Konqueror or Mozilla since I keep getting timeout errors on port 80. I have no idea as to why this is happening since Usagi can actually access the internet via Rei. It just seems that Rei cannot forward html pages to Usagi.

So can anyone help me out on this please? Any help will be greatly appreciated. Thanks.

P.S. one last thing. I can't seem to permanently change my hostname. When I edit the /etc/hosts file like so:

127.0.0.1 localhost usagi

it always reverts back to:

127.0.0.1 localhost

on reboot. The hostname section in the mandrake control panel doesn't seem to work either, it never changes the name from localhost. As for the Hostname <hostname> prompt, it only lasts until the reboot. The /etc/hostname file also does not exist. Does anyone know how to solve this too? Thanks.
 
Old 05-09-2004, 05:02 PM   #2
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
in /etc/hosts
leave the local host as is
and add a new line with the new ip addy 192.168.0.2

for adding /etc/hostname
#gedit (or edit tool) /etc/hostname &
it will say there is no such file but still open ur editor add wotever u want to add and save and then it will be added to /etc


also check on winxp that ur firewall is set to medium
 
Old 05-09-2004, 05:31 PM   #3
jsm008us
LQ Newbie
 
Registered: Apr 2004
Location: Palm Beach Gdns, FL
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
I am planning to have something kind of like that, having my computer with Gentoo connect via crossover to a laptop with a wireless card to my router:
{Gentoo}---Crossover Cable---{Laptop}---Wireless---{Router}---Internet

will it work?


P.S. This is a temp soloution until I have my wireless drivers installed!

Also, I have Kernel 2.4, should I first upgrade to Kernel 2.6 (Gentoo Linux)
 
Old 05-09-2004, 09:55 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
DoddyUK, be sure you have a DNS nameserver lsited on your Mandy box, or you won't be able to surf website names. That's entered in /etc/resolv.conf , if you don't already know.
 
Old 05-10-2004, 07:10 AM   #5
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Original Poster
Rep: Reputation: 15
Okay, the hostname advice worked this time, it kept the name even after several reboots. Thanks for that.

Also, what exactly do I need to enter for the DNS nameserver? I can't enter an IP address since I'm on dial-up, and my IP changes every time I connect to the internet.
 
Old 05-10-2004, 07:32 AM   #6
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Call your ISP and ask them what the IP is of theirs. That's how pages resolve in the first place.

Usually, they will give you two, a primary and a secondary.
 
Old 05-10-2004, 02:44 PM   #7
DoddyUK
Member
 
Registered: May 2004
Location: Plymouth, Devon, Great Britain
Distribution: Fedora Core 3, Windows XP
Posts: 52

Original Poster
Rep: Reputation: 15
Ok, problem solved now. It turns out it was Keiro Firewall 4 on the XP machine that was stopping the connection. Thanks for your help anyway.

Okay, time to look for a new firewall... I hope XP's internal firewall will do for now...
 
Old 05-10-2004, 02:56 PM   #8
mermxx
Member
 
Registered: Apr 2004
Location: Wales
Distribution: rh9, winxp
Posts: 411

Rep: Reputation: 30
jsm 008 us
u will prob be best putting up a separate post re ur prob so u will get some advice from people that know more about wireless networking :-)
 
Old 05-10-2004, 08:35 PM   #9
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Actually, the firewall will likely work, if you enable local sharing (doing this from memory). Or, you could try Seagate's. Its free for personal use still, isn't it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.1 internet connection sharing with windows XP problem dbancajas Linux - Networking 1 07-02-2005 02:51 AM
Internet Connection Sharing Mandrake 10.0 smadim2 Linux - Networking 3 06-24-2004 01:12 AM
Internet connection sharing and Mandrake 9.0 tronchaser Mandriva 8 03-03-2004 10:19 AM
Internet connection sharing using Mandrake 9.2 doctorwebbox Linux - Networking 0 02-04-2004 03:06 PM
Help with Internet Connection Sharing using Mandrake please Stevetgn Linux - Newbie 5 07-13-2003 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration