Articles

LINUX Internet connection (NEWBIE)

February 23, 2005 at 12:51:06
Specs: Fedora Core 3, AMD/1GB

I am new to Linux. I have Yukon gigabit ETH0 that is active. I can see and interact with the home network (windows pc's), but I can not connect to the Internet.

I have a cable modem connected to a router all pc's are connected to the router. I can connect to the internet from each of the other pc's.


See More: LINUX Internet connection (NEWBIE)

Report •


#1
February 23, 2005 at 12:53:02

I am using DCHP.

Report •

#2
February 24, 2005 at 06:35:40

check networking setting under windows, and set the same for linux, including IP address, gateway, route, and so forth.

Report •

#3
February 24, 2005 at 08:33:19

Post up the outputs of:
$ /sbin/ifconfig eth0
(this contains your IP address, etc)
and
$ /sbin/route
(this should show your default gateway)
and
$ cat /etc/resolv.conf
(this holds your DNS servers)

Some useful example commands:
To set your IP address to 192.168.0.10,
subnet etc:
# ifconfig eth0 192.168.0.10 broadcast
192.168.0.255 netmask 255.255.255.0

To set your gateway as 192.168.0.254:
# /sbin/route add -net default gw
192.168.0.254 netmask 0.0.0.0 metric 1

Try pinging google via IP (216.239.59.99),
if you can then chances are all you need to
do is to put your ISPs DNS servers
into /etc/resolv.conf, eg:
search .
nameserver 158.43.240.3


"...and set the same for linux, including
IP address..."

Er...I'm sure you're aware that you dont
want to use exactly the same IP address as
is being used on another machine, just one
that is in the same subnet.

Report •

Related Solutions

#4
March 11, 2005 at 23:06:52

i had pcqlinux2005 and smartlink 56k voice modem. but i m not able to configure modem in linux. it doesn't detect in linux.
so please give me step by step solution of this problem.

Report •


Ask Question