LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-07-2003, 11:07 AM   #1
kenoki
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 7.2
Posts: 5

Rep: Reputation: 0
what did I forget to do


Hi all,
at home , we have a small network setup. Cable model goes to a netgear router, there are 3 wxp systems all online and good, but my linux system has no internet access. I used all the same settings for ip address and gateway, the dns servers , netmask ect, and when booting (rh 7.2 fresh install) eth0 comes up without error.
If I try to ping an address or open a website I get no response, as root or a regular user.

Any help would be apreciated.

Thanks,
Marc
 
Old 07-07-2003, 11:11 AM   #2
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Is you router providing DHCP?? or you're configuring manually your NIC ?
 
Old 07-07-2003, 11:11 AM   #3
kenoki
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
manual config, no dhcp
 
Old 07-07-2003, 11:14 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
what do "ifconfig" and "route" say to you?
 
Old 07-07-2003, 11:18 AM   #5
kenoki
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
at work at the moment, box is at home sorry

would I need to enable ipmasq?
 
Old 07-07-2003, 04:50 PM   #6
kenoki
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
any more ideas?
 
Old 07-07-2003, 04:52 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
like i said, provide that information and it should be real obvious what's wrong.
 
Old 07-07-2003, 09:36 PM   #8
kenoki
LQ Newbie
 
Registered: Jul 2003
Distribution: redhat 7.2
Posts: 5

Original Poster
Rep: Reputation: 0
well I played some more and things have gone odd, I am now posting from the linux box here at home, BUT for some reason I can ping addresses here ok, like 192.169.0.* but trying like a "ping ftp.cdrom.com" fails with 100% packet loss

[root@kenoki root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:BA:A5:EB:1B
inet addr:192.168.0.26 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2117 errors:0 dropped:0 overruns:0 frame:0
TX packets:2295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1315323 (1.2 Mb) TX bytes:314394 (307.0 Kb)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:390 errors:0 dropped:0 overruns:0 frame:0
TX packets:390 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25284 (24.6 Kb) TX bytes:25284 (24.6 Kb)


[root@kenoki root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.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.0.1 0.0.0.0 UG 0 0 0 eth0
 
Old 07-08-2003, 10:33 AM   #9
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Maybe you're not getting the DNS servers form your ISP... try typing them manually at /etc/resolv.conf

nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx

Normally you get them automatically by DHCPclient with a script /sbin/dhclient-script
 
Old 07-08-2003, 10:40 AM   #10
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Some ISPs require another line as well. Here is mine for an example:
Code:
domain infoave.net
nameserver 206.74.254.2
nameserver 204.116.57.2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forget the name of the program brianthegreat Fedora 2 12-01-2005 12:11 PM
Y does KDE Forget everything? Boffy Mandriva 4 01-18-2005 11:56 PM
forget password acrors Fedora 1 10-09-2004 01:38 PM
It's over so forget it ! bigjohn General 19 12-30-2003 12:22 AM
Samba Seeming to Forget! chunkymonkey Linux - Software 4 07-21-2003 12:08 PM


All times are GMT -5. The time now is 04:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration