LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2003, 09:05 PM   #31
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47

DogMeat482
Quote:
From man ifcfg
NEEDHOSTNAME
Controls whether or not the hostname is changed to what is sup-
plied by the DHCP server. Valid settings are yes or no, default
is no.
If you have a router between your computer and the dsl-modem you probably don't need this set to yes. Some ISP's want to give your computer a hostname when you connect, but if you are using a router it will get the new hostname.

Also you can remove the IPADDR="192.168.1.101" since you are using dhcp.
 
Old 11-18-2003, 10:46 AM   #32
DogMeat482
LQ Newbie
 
Registered: Nov 2003
Location: West Virginia, USA
Distribution: Mandrake 9.1
Posts: 8

Rep: Reputation: 0
Thanks /bin/bash

I made the changes you recommended, but haven't had the time to check 'em out yet. I'll let you know. Been a little preoccupied lately, due to the passing of a close friend. I'll get to it as soon as I can.

Thanks for your help.

BTW, it is a cable modem, not DSL, but you're right. Router is taking care of the DHCP.
 
Old 11-20-2003, 01:00 AM   #33
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
I changed the file and restarted the network; no effect.
 
Old 11-20-2003, 03:47 AM   #34
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
Nope, nothing comes up. I've disabled both shorewall and iptables from the Mandrake Control Center.
You can't disable shorewall from mcc. You can disable smoothwall from mcc. If you have shorewall running you need to turn it off, or remove it till you get this problem fixed.


Quote:
I changed the file and restarted the network; no effect.
That doesn't tell me anything, what file? What was it? What changes did you make? What does ifconfig show? What does route show?

Could you post the two files I've asked you to post?
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
 
Old 11-20-2003, 04:35 AM   #35
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
ifcfg-eth0:
Code:
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
DHCP_HOSTNAME=John
NEEDHOSTNAME=yes
network:
Code:
HOSTNAME=John
NETWORKING=yes
GATEWAY=192.168.1.1
 
Old 11-20-2003, 05:36 AM   #36
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
What does iptables -L show?

You should check iptables if you are not sure if you have shorewall running or not. If you have any rules and you don't know for sure what they are doing then run the iptables flush script I posted earlier.
 
Old 11-20-2003, 06:16 AM   #37
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Even if shorewall is running you should be able to clear all rules this way:
service iptables stop
That should set all your default policies to ACCEPT.
The restart the network:
service network restart
If you still don't have an ip then set it manually like this:

# ifconfig eth0 192.168.1.4 netmask 255.255.255.0

If you can't ping the router then do a ping sweep:
nmap -sP 192.168.1.0/24

If you still can't reach the router then use ethereal or tcpdump to verify the pings are actually leaving the port:

tcpdump -i eth0
ping -c1 -w4 192.168.1.1

If you still can't reach the router then you need to go into windows and login to the router and verify the IP. Also check if the router is set to ignore all pings. Check if it is set to filter any IP's of any HardWare address.
 
Old 11-20-2003, 08:25 AM   #38
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
I'll check that stuff later, but..
Quote:

If you still can't reach the router then you need to go into windows and login to the router and verify the IP.
What do you mean?

Quote:
Also check if the router is set to ignore all pings. Check if it is set to filter any IP's of any HardWare address.
1. No; I've always been able to ping the router from any Windows computer on the network.
2. No, AFAIK, there's no way to do this from the router configuration settings.
 
Old 11-20-2003, 09:15 AM   #39
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
What do you mean?
You should (from windows) point your browser at http://192.168.1.1 and you should be able to login to the router and verify the settings. You did say you could do that in post #16
Quote:
Yes, there is an interface I am allowed to access for my network at 192.168.1.1(the router's IP).
One option you need to look for is if the router has a group of ip's set aside for static ip assignment. Most routers will have the ability to assign dhcp ip or static ones.
 
Old 11-20-2003, 11:14 PM   #40
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
Ah, yes...no configuration on the router's end is required to use a static IP for any computer.
 
Old 11-22-2003, 07:13 AM   #41
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
nmap's output:
Code:
nmap -sP 192.168.1.0/24

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
WARNING:  Could not determine what interface to route packets through to 192.168.1.0, changing ping scantype to ICMP ping only
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
sendto in sendpingquery returned -1 (should be 8)!
sendto: Network is unreachable
Nmap run completed -- 256 IP addresses (0 hosts up) scanned in 84 seconds
 
Old 11-22-2003, 07:14 AM   #42
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
iptables is set to accept all packets.

This is what I got when pinging the router a few times:
Code:
tcpdump -i eth0
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0
21:04:51.706982 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:51.865144 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:04:51.865338 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST (DF)
21:04:51.866464 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:51.866516 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:51.866563 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:51.866614 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:51.866661 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:51.866889 192.168.1.4.netbios-dgm > 192.168.1.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:04:52.704722 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:53.704721 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:53.864990 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865078 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865114 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865151 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865188 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865226 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST (DF)
21:04:53.865372 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865406 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865440 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865473 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865507 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:53.865541 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST (DF)
21:04:55.865008 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:55.865113 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:55.865152 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:55.865189 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:55.865225 192.168.1.4.netbios-ns > 192.168.1.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:04:55.865263 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): QUERY; REQUEST; BROADCAST (DF)
21:04:56.715436 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:57.714724 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:58.714725 arp who-has 192.168.1.1 tell 192.168.1.4
21:04:58.864931 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:00.864929 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:01.725882 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:02.724721 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:02.865026 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:03.724721 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:04.865020 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:06.735721 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:06.865134 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:06.865247 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:07.734733 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:08.734722 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:08.864998 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:08.865218 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:10.864911 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:10.865184 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:12.864951 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:12.865893 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:14.864915 localhost.local.netbios-ns > 169.254.255.255.netbios-ns: NBT UDP PACKET(137): REGISTRATION; REQUEST; BROADCAST (DF)
21:05:14.865199 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:14.865799 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:14.865845 localhost.local.netbios-dgm > 169.254.255.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:05:15.746476 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:16.744726 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:17.744722 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:20.755345 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:21.754735 arp who-has 192.168.1.1 tell 192.168.1.4
21:05:22.754741 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:04.865017 192.168.1.4.netbios-dgm > 192.168.1.255.netbios-dgm: NBT UDP PACKET(138) (DF)
21:06:07.780446 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:08.774749 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:09.774754 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:10.805063 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:11.804734 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:12.804741 arp who-has 192.168.1.1 tell 192.168.1.4
21:06:28.736989
75 packets received by filter
0 packets dropped by kernel

Last edited by johnleemk; 11-22-2003 at 07:15 AM.
 
Old 11-22-2003, 09:07 AM   #43
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
tcpdump -i eth0
tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: listening on eth0

You need to do ifconfig first:
Code:
# ifconfig eth0 192.168.1.4 netmask 255.255.255.0
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:4F:F3:C1:0C:0C
          inet addr:192.168.1.4  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24341 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19451 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:27463525 (26.1 Mb)  TX bytes:1786087 (1.7 Mb)
          Interrupt:11 Base address:0xe400
 
Old 11-22-2003, 09:59 AM   #44
johnleemk
Member
 
Registered: Sep 2003
Location: Malaysia
Distribution: Slackware 9.1
Posts: 145

Original Poster
Rep: Reputation: 15
Yes, I realised that, so immediately after launching tcpdump, that's what I did. Actually I'd already done it, but it hadn't taken effect, so I had to do it again. As you can see, tcpdump mentions 192.168.1.4.
 
Old 11-22-2003, 10:36 AM   #45
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Whats the output of this:
iptables -L
 
  


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
need Network install HELP for Mandrake 9.2! using network.img w/ cable modem physans Mandriva 6 02-25-2004 03:15 PM
Mandrake network legin Linux - Networking 8 10-14-2003 07:27 AM
Network in Mandrake Demon Linux - Hardware 2 02-25-2003 03:28 PM
new network adapter under mandrake single network firewall nerip Linux - Networking 3 08-03-2002 02:13 PM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM

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

All times are GMT -5. The time now is 05:13 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