LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to share an inet connection with XP (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-share-an-inet-connection-with-xp-224299/)

class_struggle 08-30-2004 09:49 AM

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?

scuzzman 08-30-2004 09:59 AM

setup DHCP on the linux box

masand 08-30-2004 10:00 AM

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

class_struggle 08-30-2004 10:11 AM

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.

scuzzman 08-30-2004 10:18 AM

Code:

[root@localhost ~]# service network restart
try that

class_struggle 08-30-2004 10:18 AM

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.

masand 08-30-2004 10:28 AM

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


All times are GMT -5. The time now is 09:52 AM.