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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-30-2004, 09:49 AM
|
#1
|
Member
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121
Rep:
|
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?
|
|
|
08-30-2004, 09:59 AM
|
#2
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
setup DHCP on the linux box
|
|
|
08-30-2004, 10:00 AM
|
#3
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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
|
|
|
08-30-2004, 10:11 AM
|
#4
|
Member
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121
Original Poster
Rep:
|
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.
|
|
|
08-30-2004, 10:18 AM
|
#5
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
Code:
[root@localhost ~]# service network restart
try that
|
|
|
08-30-2004, 10:18 AM
|
#6
|
Member
Registered: Nov 2003
Location: where rock meets hard place
Distribution: 1- Knoppix 2-Gentoo
Posts: 121
Original Poster
Rep:
|
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.
|
|
|
08-30-2004, 10:28 AM
|
#7
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
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 05:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|