LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-22-2004, 06:12 PM   #1
ziox
Member
 
Registered: Apr 2004
Distribution: RedHat, Fedora, Suse, Debian, Gentoo, Mandrake
Posts: 132

Rep: Reputation: 15
Shareing internet connection


HellO ...


PC XP laptop linuxRedHat~9 HOWTOO brows the Internet from the laptop

(proxy??? how?)


XP 192.168.0.1


Linux 192.168.0.11

i tried the proxy setting in linux to 192.168.0.1:8080 and :80 nothing work always connection refused (i stopped iptables)....
...what i suppose to do..?...
 
Old 07-22-2004, 06:54 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
are you trying to use a windows xp pc as a gateway for linux redhat 9 on a laptop? if i am understading you correctly, then first enable ics from the windows machine. now that the connection is shared run redhat-config-network choose as the default gateway the ip address of the windows machine. once that is done have a look at /etc/resolv.conf, edit this file to add the ip address of the gateway box as your nameserver like so

nameserver ip address of gateway

finally, make sure the windows side will allow the connection via the firewall, i have no idea what firewall your using so i have no way of helping you configure it. this is a basic instruction set based on the info you've provided, i hope it helps, w/more info i or we may be able to help you further. i would suggest using static ip's on your lan, as it's easier to setup if your using dial up. if your on some other type of connection, this info would be useful. i hope i've helped at least a little.
good luck.
 
  


Reply



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
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 07:02 PM
Internet shareing Question Neomaster Linux - Networking 2 10-06-2003 07:48 PM
Linux networking and internet shareing prob Neomaster Linux - Networking 5 05-10-2003 03:32 PM

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

All times are GMT -5. The time now is 02:46 PM.

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