LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-29-2003, 07:45 PM   #1
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
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.

Last edited by Diablotrickster; 08-29-2003 at 07:46 PM.
 
Old 08-29-2003, 07:54 PM   #2
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
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
 
Old 08-29-2003, 08:10 PM   #3
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 08-29-2003, 08:15 PM   #4
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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

Last edited by Diablotrickster; 08-29-2003 at 08:16 PM.
 
Old 08-29-2003, 08:51 PM   #5
tarballedtux
Member
 
Registered: Aug 2001
Location: Off the coast of Madadascar
Posts: 498

Rep: Reputation: 30
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
 
Old 08-29-2003, 08:57 PM   #6
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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
 
Old 08-30-2003, 01:16 AM   #7
sashhoney
Member
 
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
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?
 
Old 08-30-2003, 09:27 AM   #8
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
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?

Last edited by Diablotrickster; 08-30-2003 at 09:44 AM.
 
  


Reply



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
why the heck..... bvav22 Linux - Software 10 05-11-2005 08:37 PM
What the heck .. Xvium Linux - Hardware 2 04-11-2005 12:51 AM
What the heck??? scrible Linux - Newbie 10 01-03-2005 06:38 PM
What the heck is THIS ?? Post Modern Linux - Security 5 10-14-2004 03:53 PM
What in the heck is this??? slackMeUp Slackware 2 04-05-2004 04:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration