LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2004, 10:49 AM   #1
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Rep: Reputation: 15
trying to share an inet connection with XP


I have an XP box connected by 56k modem to the internet.
I have a linux box connected via ethernet to the windows box.
After having assigned private IP addresses, the linux box now "sees" the windows box.
I have set the appropriate internet connection in XP to "sharing".
What else do I have to do to get linux box connected in this manner?
 
Old 08-30-2004, 10:59 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
setup DHCP on the linux box
 
Old 08-30-2004, 11:00 AM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
just do this
share the internet connection from the Xp machine(rifgt click on connection,go to advanced and choose share his connection),it will make the ip adresss of the win machine as
192.168.0.1


then on ur linux machine set the setings of eth0 to get ip adress automatically
u can do this by
#setup
go to network
choose "obtain ip address automaticaly"
exit from that

#service network restart

and u r done
open up a web browser--mozilla, konqueror,etc etc

i am using this kind of setup only

regards
 
Old 08-30-2004, 11:11 AM   #4
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks for the help, but I'm not quite there yet.

I prefer to use bash to get this going. I thought "pump" might be the command I need for the DHCP, but I'm finding it tricky.

masand you seem to be referring to some gui. as I say, looking for the bash equivalent.
 
Old 08-30-2004, 11:18 AM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Code:
[root@localhost ~]# service network restart
try that
 
Old 08-30-2004, 11:18 AM   #6
class_struggle
Member
 
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121

Original Poster
Rep: Reputation: 15
solved

OK, I just solved it.

I used "pump" to relase the interface first, and then I pumped the NIC again, so as to renew the connection.

All solved, thanks for efforts to help.
 
Old 08-30-2004, 11:28 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by class_struggle
Thanks for the help, but I'm not quite there yet.

I prefer to use bash to get this going. I thought "pump" might be the command I need for the DHCP, but I'm finding it tricky.

masand you seem to be referring to some gui. as I say, looking for the bash equivalent.
hi
good that u got ur problem solved
also i am not refering to gui
run
#setup
and u will see, u do not need to be running X for this

regards
 
  


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
Problem with getting up the inet connection. velder Mandriva 8 09-10-2004 05:23 PM
Connection to Inet problems control_x Linux - Networking 3 09-06-2004 09:01 PM
connection to network via inet and router sowas Linux - Networking 3 07-28-2004 01:37 PM
Inet connection times out zzZoiDzz Linux - Networking 1 01-19-2004 01:33 AM
Just screwed my inet connection :( Q-collective Linux - Software 27 06-30-2003 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration