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 01-06-2006, 02:44 PM   #1
tstolber
LQ Newbie
 
Registered: Jan 2006
Location: Bedford
Distribution: Debian Woody
Posts: 3

Rep: Reputation: 0
Starting DHCP to work with 3c95x on eth0


Hi

I have set my debian machine up with two 3com 3c905tx NICs using the 3c95x driver. It modprobe'd ok and I have the 3c95x load at boot in /etc/modules.

I am using an NTL cable broadband modem, using the ethernet connection.

I actualy had my machine working when I set it up the other day and I could use the internet using lynx. I could ping all addresses and DNS was obviously working due to the /etc/resolv.conf file.

I think my problem is that I haven't told the eth0 to start or that DHCP doesn't work? Or perhaps that I need to tell the eth0 to work with the 3c95x.

I am a bit of a noob with linux but very keen. I know I have most of it right here because i was working, I just can't remember the last thing that I did to get it to work!

Your help is greatly appreciated

Thanks
 
Old 01-06-2006, 04:41 PM   #2
redgren
Member
 
Registered: Nov 2004
Distribution: Debian,Homebrew
Posts: 54

Rep: Reputation: 15
Please report the results of the following commands:
'ifconfig'
'cat /etc/network/interfaces'

That should tell what your network settins are and how it is setup to boot.
 
Old 01-07-2006, 05:12 AM   #3
tstolber
LQ Newbie
 
Registered: Jan 2006
Location: Bedford
Distribution: Debian Woody
Posts: 3

Original Poster
Rep: Reputation: 0
Hi Thanks for your reply

To start with when I ifconfig I get

lo Link encap:Local Loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:112 (112.0 b) TX bytes:112 (112.0 b)

cat /etc/network/interfaces

# The loopback interface
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp

If have also tried using the following (which I know to be correct)

iface etho inet static
address ###.###.###.###
netmask 255.255.255.0
gateway ###.###.###.###

This then allows me to ping the address but nothing else.

If I use ifconfig eth0 i get

Link encap: Ethernet HWaddr 00:##:##:##:##:##
inet addr: 82.4.220.184 Bcast:255.255.255.255 Mask:255;255;255;0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:12
collisions:0 txqueuelen:100
RX bytes:112 (0.0 b) TX bytes:112 (3,1 KiB)
Interupt:4 Base Address:0xb000

I use ifup eth0 and it says interface eth0 already configured. So I assume that it must have grabbed an address via DHCP?

I am pretty sure that all my config files are correct as this set up worked the other day!

I also did /etc/init.d/networking restart and got

Reconfiguring netwtok interfaces: eth0 Initial media type MII.
eth0: MII #24 status 7894, link partner capability 0000, setting half-duplex

/* --- Comment - system waits for a while --- */

PING 82.4.220.254 (82.4.220.254): 56 bytes

--- 82.4.220.254 ping statistics ---
1 packets transmited, 0 packets received, 100% packet loss
done.

So it seems to get an IP via DHCP but doesn't set the network up properly? The IP address 82.4.220.254 is the gateway address I have been getting on the windows machine with DHCP.

I think the problem is to do with getting the 3c95x module (which loads at boot) to work with the network interface but I am not sure.

I greatly appreciate your help!

Any thoughts?
 
  


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
dhcp already configured on eth0 alltaken Linux - Newbie 15 05-24-2005 07:30 PM
Problem withInternet, DHCP, connect with eth0 down work, connect with eth0 up not zowey Linux - Networking 1 03-12-2004 10:05 AM
booting eth0 with DHCP ridertech Linux - Networking 5 02-19-2004 06:25 PM
Starting wlan0 instead of eth0 eo697 Linux - Networking 2 10-12-2003 05:02 PM
Yet again (DHCP/ETH0 issues) v4mofo Linux - Networking 1 09-21-2002 08:10 PM

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

All times are GMT -5. The time now is 01:20 AM.

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