Ethernet: How can I check my setup?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Guest

Ethernet: How can I check my setup?

#1 Post by Guest » Mon Jan 17, 2005 12:45 am

I am still trying to learn about Linux:

I would be using YOPER if only I could surf the net. It works fine when I install Yoper for the 1st time: Then on subsequent reboots, I cant: Heres a litle more info incase anyone can help. BTW: T41p works with mandrake, suse and Fedora Core 2 no problem. So I guess its to do with my setup?

The laptop is being used as dual boot - XP and YOS.

Everything works fine in XP. Hardware is as follows:

The ADSL modem is a D-Link DSL-302G

The Laptops ethernet adapter is: Intel ® pro/1000 MT Mobile Connection.


So, heres the ifcfg-eth0

ONBOOT=yes
IP=
NETMASK=
BROADCAST=

----------------------------------------------------------

ifconfig:

dd@localhost ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:60:D0:98:E8
inet addr:10.1.1.4 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:549 errors:0 dropped:0 overruns:0 frame:0
TX packets:548 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:540436 (527.7 Kb) TX bytes:108661 (106.1 Kb)
Base address:0x8000 Memory:c0220000-c0240000

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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 cool.gif TX bytes:0 (0.0 cool.gif

dd@localhost ~ $
-----------------------------------------------------------

d@localhost ~ $ iptables -nvL
FATAL: Error inserting ip_tables (/lib/modules/2.6.8.1-3/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
iptables v1.2.11: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.


AS ROOT

Chain INPUT (policy ACCEPT 24 packets, 33329 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 18 packets, 936 bytes)
pkts bytes target prot opt in out source destination
root@localhost dd #



-------------------------------------------------------------

Any help appreciated . I am sure there should be someone here that may be able to point me in the right direction. Yes I have posted on the Yoper site before, only to be told its the "driver" ?

Any response appreciated!

Volker
Junior Member
Junior Member
Posts: 482
Joined: Fri Oct 01, 2004 10:21 am
Location: Dublin, Ireland
Contact:

#2 Post by Volker » Mon Jan 17, 2005 12:59 pm

The ifconfig output shows that data is transmitted and received. So the hardware works fine. Your problem is the tcp/ip setup. Make sure that you have a current DHCP lease, maybe restart dhclient.

Generic tcp/ip debugging hints:

Check the route output, make sure you have a gateway.

You have a private ip number, so the firewall rules must include ip masquerading.

Use tcpdump or ethereal to see what is happening on the wire.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 2 guests