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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-23-2006, 09:56 PM
|
#1
|
|
Member
Registered: Apr 2006
Location: USA
Distribution: (ed)ubuntu
Posts: 85
Rep:
|
Win2k and ubuntu router
I currently have a Win2k with internet connection, needing to attach the Ubuntu box into it. I have tried everything to get the things to match. There are currently no errors, nothing.
192.168.0.1 is router (fairly typical)
Any ideas?
|
|
|
|
04-23-2006, 10:50 PM
|
#2
|
|
Member
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676
Rep:
|
Quote:
I currently have a Win2k with internet connection, needing to attach the Ubuntu box into it. I have tried everything to get the things to match. There are currently no errors, nothing.
192.168.0.1 is router (fairly typical)
|
In order to answer this question one would need to know what you mean by attach the Ubuntu box into it.
What you mean by tried everything.
Where are you looking for errors, and what errors were u expecting.
I am assuming that you are trying to get the Ubuntu box online? If so what is the output of
ifconfig
Can you ping the Win2k box?
|
|
|
|
04-24-2006, 05:00 AM
|
#3
|
|
Member
Registered: Apr 2006
Location: USA
Distribution: (ed)ubuntu
Posts: 85
Original Poster
Rep:
|
Win2k and Ubuntu on internet same time
Quote:
|
Originally Posted by lord-fu
In order to answer this question one would need to know what you mean by attach the Ubuntu box into it.
|
Attach = having both computers on the internet at the same time. Whether through router or whatever, I don't care at this point.
I am fairly comfortable in the Windows world, just needing to learn more for linux.
Quote:
|
Originally Posted by lord-fu
What you mean by tried everything.
Where are you looking for errors, and what errors were u expecting.
I am assuming that you are trying to get the Ubuntu box online? If so what is the output of
ifconfig
Can you ping the Win2k box?
|
TO be honest, was not sure what I was expecting re: errors. Does ipconfig (win) = ifconfig (linux)?
No ping to other computer
|
|
|
|
04-24-2006, 07:15 AM
|
#4
|
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,797
|
First, is the router set up for DHCP? If so, then the Ubuntu box also needs to be set to DHCP.
Assuming that the router and the Ubuntu box are set the same, then you should be able to ping the router.
Please post the output of ifconfig, after checking the above
|
|
|
|
04-24-2006, 01:00 PM
|
#5
|
|
Member
Registered: Apr 2006
Location: USA
Distribution: (ed)ubuntu
Posts: 85
Original Poster
Rep:
|
Quote:
|
Originally Posted by pixellany
First, is the router set up for DHCP? If so, then the Ubuntu box also needs to be set to DHCP.
Assuming that the router and the Ubuntu box are set the same, then you should be able to ping the router.
Please post the output of ifconfig, after checking the above
|
Attempted update of BIOS and system crashed.
Meanwhile, running LIVE. Is there a need to run workgroups to connect the linux and win2k box or is there an easier way?
|
|
|
|
04-25-2006, 09:27 PM
|
#6
|
|
Member
Registered: Apr 2006
Location: USA
Distribution: (ed)ubuntu
Posts: 85
Original Poster
Rep:
|
Followup on ifconfig
Quote:
|
Originally Posted by pixellany
First, is the router set up for DHCP? If so, then the Ubuntu box also needs to be set to DHCP.
Assuming that the router and the Ubuntu box are set the same, then you should be able to ping the router.
Please post the output of ifconfig, after checking the above
|
Here is ifconfig info:
link encap: ethernet MAC: xx xx xx xx xx xx xx
inet address: 192.168.0.122
bcast: 192.168.0.255
Mask: 255.255.255.0
Interrupt: 11 Base Address: 0x5f00
What else is needed?
|
|
|
|
06-04-2006, 05:09 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2006
Posts: 1
Rep:
|
OK
First off, I hate to tell you this, but the information supplied by you is still pretty sparse.
Once you have things working, you will see why I say that.
You have 3 possible scenarios:
1) You have a standalone router, IP address 192.168.0.1, your windows box is 192.168.0.x and the linux box is 192.168.0.122 (the standalone router is playing DHCP server and supplied the linux box with that 122 host IP).
If this is the case, make sure that the default route on the linux box is that of the router ("route -n" to make sure "route add default gw 192.168.0.1" to set)
A "route print" in a command window on the Windows box to double check.
2) Your Windows box is doing Internet Connection Sharing (and ITS Providing the linux box with the 122 host address), then the linux command needs to be the same. (PS: This is like using a quad to tow a pickup... i.e. bad idea)
3) You want the linux box to act as a router .. read up on setting ip_forward as well as use something like shorewall to help set up the masquerading rules in ip tables.
I recommend option 3.
You may want to temporarily switch off the windows firewall to make sure the boxes can ping each other as well
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:07 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
|
|