LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   what did I forget to do (https://www.linuxquestions.org/questions/linux-networking-3/what-did-i-forget-to-do-70696/)

kenoki 07-07-2003 10:07 AM

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

angelrod 07-07-2003 10:11 AM

Is you router providing DHCP?? or you're configuring manually your NIC ?

kenoki 07-07-2003 10:11 AM

manual config, no dhcp

acid_kewpie 07-07-2003 10:14 AM

what do "ifconfig" and "route" say to you?

kenoki 07-07-2003 10:18 AM

at work at the moment, box is at home sorry :(

would I need to enable ipmasq?

kenoki 07-07-2003 03:50 PM

any more ideas?

acid_kewpie 07-07-2003 03:52 PM

like i said, provide that information and it should be real obvious what's wrong.

kenoki 07-07-2003 08:36 PM

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

angelrod 07-08-2003 09:33 AM

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

fancypiper 07-08-2003 09:40 AM

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



All times are GMT -5. The time now is 08:56 PM.