Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Configuring Network, Cant get the internet to work
Binary89
post May 13 2004, 05:09 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 13-May 04
Member No.: 2,945



Hi im a noob...

Please Help me...

I booted Knoppix 3.4 ( live from cd )

Im having problems getting the internet to work. When i load it up i go to Network Card Configure and hit yes to the popup box thats says DCHP or something and i then go to mozzila but it tell me that it cannot resolve the webpage...

I have a P4 2.2 , 512 Ram, Intel Mobo (D845EBG2) and the network card is integrated it seem to detect the card but i dono if its something to do with drivers.
Go to the top of the page
 
+Quote Post
Robert83
post May 14 2004, 07:08 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069



Hi,

What kind of a connection do you have to the internet?

Is that linux box directly connected ?

Or is it connected to a WinXP (or some other WIndows) computer that has some kind of a internet connection?


You need to enter the default gateway and the DNS server in order to be able to view webpages and download stuff.


You can do this in console once your linux computer is up and running.

the first command is

CODE
route


it should show something like this
CODE
[root@demon root]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.10.0    *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.10.1    0.0.0.0         UG    0      0        0 eth0


as you can see my default gw (the computer with the shared internet connection is) 192.168.10.1.

so if you don't have this line, you can add it by typing

CODE
route add default gw 192.168.10.1 (this is example, you should use the ip adress of your gateway computer)


the DNS (name resolution = transform names such as www.google.com to ip adresses [xxx.yyy.zzz.www]
can be set under
/etc/resolv.conf

you can use vi to edit this file
CODE
cd /etc
vi resolv.conf

press i to modify stuff, then enter the nameserver 62.108.117.6 (you must use a different DNS server, just check what does your winxp (or other windows) computer use.
Once you are done editing press ESC , then type :w then ENTER, then type :q then type ENTER.

And it should work.


Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
--------------------
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 02:46 PM