Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Linux and the Internet on the hub

Posted on 2002-06-15
10
Medium Priority
?
263 Views
Last Modified: 2013-12-15
i have a win2000 computer connected to the internet and connected to a hub. When i boot win2000 on my other notebook connected to the hub internet acccess is fine. i recently installed linux mandrake 8.2 dual boot and when i boot it i don't know how to get it to know that it is connected to a LAN which has internet that is always online. The workgroup that the server is running is MSHOME. I have no idea how to get the internet on linux working. File sharing between windows and linux can wait till another day, i just need the internet going...
0
Comment
Question by:timster692001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 6

Expert Comment

by:st_steve
ID: 7080285
Point the Linux machine to the Windows 2000 machine with connection to the Internet for name resolution. You just need to edit the /etc/resolv.conf file and add in the IP Address of the Windows 2000 computer.

Since you can access the Internet from the other laptop computer, I'm pretty sure you can access the Internet from Linux machine bye a simple edit of this file.

You need to add in /etc/resolv.conf:

nameserver IP_Add_of_Win2k_with_Internet
0
 

Expert Comment

by:PrakashS
ID: 7083307
you need to configure your network card first on Mandrake. I personally use Redhat, and there is a tool called netconf which is used to configure the network card. I am sure you have some tool on Mandrake to do the same.
Now when you configure the n/w card, specify the gateway for your linux box. The gateway is the system (it can be a router or a computer) through which your linux box can see the external world. As far as I understand, you must be having a router/modem which is connected to your ISP and it is also connected to your hub , also it must be having an internal IP (like 192.168.1.1 or something). Now what you need to do is , just configure your n/w card and tell the linux box that the gateway is the IP(internal)  of the router. Your linux machine will be able to browse.
To answere your second question, regarding sharing files with other computers (MS windows machines), you need to start samba server on your linux machine.
I hope this will help you.
0
 

Author Comment

by:timster692001
ID: 7128798
The comment is unsatifactory as i do not have a router. Sorry. ST_steves is closer i believe.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 6

Expert Comment

by:st_steve
ID: 7128818
Have you tried adding that line to /etc/resolv.conf then? If you're using KDE, and you use KPPPD, when it connects to the Internet, it will add an extra entry to that file (grabbed from ISP).

Make sure you got the default routes set up correctly too. You can print the route table using "route" command.

Sometimes I need to issue these two commands:

route del default
route add default gw IP_Add_from_My_ISP_given_ to_My_Computer

Hope this helps?
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7128841
Oops! I was thinking you dial up to the Net from Linux. Route add command should be:

route add default gw IP_Add_of_Win2k_with_Internet
0
 

Author Comment

by:timster692001
ID: 7139750
Hello all again, if you are reading, i have come up with the solution myself. The thing is that you are probably all right, however there are easier ways to do things. I used the Internet Connection Wizard in mandrake 8.2 and used a 3com net driver for my ethernet card. Then i used 'host' as the hostname and an ip of '192.168.0.1' as the server. I set it to get an IP with DHCP on boot and restarted Mandrake, thus connected to the internet when i loaded Mozilla. Things are simple, i just wanted a simple answer, i don't want to edit config files, i don't want to recompile my Kernel. Thank you anyway...
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7139764
I didn't realise there was such a thing as "Internet Connection Wizard" in Mandrake Linux! Oh well, you learn something new everyday, I guess. :)

Contact the moderators of this site, and they should be able to refund your points.
0
 

Expert Comment

by:CleanupPing
ID: 9086609
timster692001:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 9906189

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Transfer to PAQ, and refund points as questioner came to solution by himself

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

pjedmond
EE Cleanup Volunteer
0
 
LVL 1

Accepted Solution

by:
GhostMod earned 0 total points
ID: 9953917
PAQed, with points refunded (50)

GhostMod
Community Support Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question