What the heck?
Before isntalling my Cable Modem and Router (which replaced my previous switch), I had all the computers in the house networked together (this INCLUDES the slackware linux box). Well, now that I got cable, the DHCP auto-assigned IPs to all win computers, and I set the IP for the slackware box to the necessary subnet mask and IP. However... it still isn't working. I can't even PING my XP Prof comp from my linux comp. Does anyone have an insight or experience in this? Any help would be appreciated.
|
Ok so now your web router is handling DHCP. And you set your the IP on your Slack box by hand? First question is that IP in use by another computer? Tell us the output of thse commands from your Slack box:
ifconfig ifconfig -a route -n ping 127.0.0.1 ping <IP of gateway> ping 216.239.51.99 ping www.google.com cat /etc/resolv.conf --tarballedtux |
ifconfig(note, I set this as static because the DHCP didn't want to work. And the IP is NOT in use by another computer)=
eth0 Link encap: ethernet HWaddr 00:A0:C9:EA:57:34 inet addr:192.168.2.99 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:7 dropped:0 overruns:0 carrier:7 collisions:0 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:882 (882.0 b) Interrupt9 Base address:0x8000 Memory:84100000-84100038 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:35 errors:0 dropped:0 overruns:0 frame:0 TX packets:35 errors:7 dropped:0 overruns:0 carrier:7 collisions:0 txqueuelen:0 RX bytes:3428 (3.3 Kb) TX bytes:3428 (3.3 Kb) ifconfig -a= [Same as ifconfig] route -n= Kernal IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.2.1 0.0.0.0 UG 1 0 0 eth0 |
Pinging IP of Router[gateway] (192.168.2.1):
8 packets transmitted, 0 packets received, 100% packet loss Ping 216.239.51.99 24 packets transmitted, 0 packets received, 100% packet loss It isn't configured for an internet connection, so it wouldn't ping google. root@hoseserver:~# cat /etc/resolv.conf search waed.cof root@hoseserver:~# _ Also, note that I don't need the linux box online-only networked correctly so that I can access it's files freely. Furthermore, the IP and subnet mask for my LAN is 192.168.2.X and 255.255.255.0 The router's IP address is 192.168.2.1 |
What's the outpout of: iptables -L -n -v
You should add "nameserver" entries to /etc/resolv.conf :resolv.conf search waed.cof nameserver <primary nameserver> nameserver <secondary nameserver if any> [/end resolv.conf] --tarballedtux |
root@hoseserver:~# iptables -L -n -v
modprobe: Can't open dependencies file /lib/modules/2.5.50/modules.dep (No such file or directory) iptables v1.2.7a: can't initialize iptables table 'filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded. root@hoseserver:~# _ What's a nameserver? I'm not familiar with that. Is that like a DNS server? or what? O.o |
yes u have to specify the name server(DNS) address in ur /etc/resolv.conf file and if u r using any specifci
domain then u have to mention the domain name also which distribution u r using anyway? |
I don't see why I have to use a domain for a LAN filesharing server that will not be accessed online. I didn't have to do that before. I had it set up before cable got installed, then when the dynamic host configuration protocol came in... the whole thing was botched. In changed it's IP address accordingly but it still ain't working. How can I get it to return to being networked?
edit: Well, i set it for DHCP under netconfig and it isn't responded to my DHCP server (192.168.2.1). I don't get it. =\ I also manually changed the IP and it still won't interface or ping my other computers. During reboot, it has two eth0 remarks: e100: eth0 NIC Link is Up 100 Mbps Full duplex e100: eth0 NIC Link is Down dhcpcd[44]: timed out waiting for a valid DHCP server response Edit2: Well, i got it's DHCP working and I can ping the router, but I still can't ping the other computers. Any ideas? |
All times are GMT -5. The time now is 07:36 PM. |