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


  Search this Thread
Old 07-30-2003, 03:33 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Network Configuration to allow internet connection through gateway computer

I've installed Slackware 9 on a computer which also runs WinXP. This machine connects to the internet using another (gateway) machine. I can connect to the net fine from WinXP, but cannot from Slackware 9. How should I configure my Slackware settings in order to connect to the network and internet?? Please be as detailed as possible as I am new to Linux.
Old 07-30-2003, 03:41 PM   #2
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
take a look at /etc/rc.d/rc.inet1

This script is run at boot and sets up your NIC(s). You can edit this file to specify IP, Gateway, or use DHCP for you network card.

Just use any text editor to change, then re-run the script to take effect.
Old 07-30-2003, 04:54 PM   #3
LQ Newbie
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Is that all?

I tried that but it still won't work. Whenever I type in a url I get an error that says I cannot get to the remote host (url i entered) or i cannot recognize the url. Does it matter what my HOSTNAME is?
Old 07-30-2003, 05:06 PM   #4
LQ Newbie
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
It works!!

I initial didn't manually run the script since i thought a reboot would do it. But now that I've run the script manually, it works. Thanks a lot.


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
Combining 2/more ADSL/Internet connection into ONE gateway carboncopy Linux - Networking 1 01-29-2005 08:06 AM
Lost connection to internet after a while, but able to ssh to gateway Covel Linux - Networking 6 07-11-2004 05:38 PM
Lan connection crapped with Windows XP as Internet Gateway lphlee Linux - Networking 3 05-27-2004 06:20 PM
internet gateway problems (iptables configuration) woranl Linux - Networking 11 08-28-2003 12:41 AM
Sharing an internet connection with a Linux client through a 2000 server gateway thuan Linux - Networking 1 08-02-2001 02:55 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:28 PM.

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