?
Solved

Linux and the Internet on the hub

Posted on 2002-06-15
10
Medium Priority
?
261 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
Setting up LaraDock for Laravel

Learn how to set up LaraDock in a Laravel project - LaraDock gives us an easy way to run a Laravel application using Docker in a single command.

 
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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

765 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