LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-30-2003, 02:33 PM   #1
Ultrakapy
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, 02:41 PM   #2
superbondbond
Member
 
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, 03:54 PM   #3
Ultrakapy
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, 04:06 PM   #4
Ultrakapy
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.
 
  


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


All times are GMT -5. The time now is 07:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration