LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2005, 10:21 AM   #16
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30

# ping -c 1 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 192.168.0.1 64 chars, ret=-1

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

the same results when I try 192.168.1.1 which is the default adsl modem/router ip address

according to
http://www.debian-administration.org/articles/210


#apt-get –purge remove dhcpcd
#apt-get install dhcp-client
#ifconfig eth0 down; ifconfig eth0 up; ifconfig eth0

# ifconfig eth0 down; ifconfig eth0 up; ifconfig eth0
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
eth0: error fetching interface information: Device not found

*******************************************************************************
# ifconfig
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)



************************************************************************

I changed the /etc/network/interface to dhcp setup as follows
************************************************************
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
#auto eth0
#iface eth0 inet static
# address 192.168.0.1
# netmask 255.255.255.0
# network 192.168.0.0
# broadcast 192.168.0.255
# gateway 192.168.0.1


# The primary network interface - use DHCP to find our address
auto eth0
iface eth0 inet dhcp
************************************************************

but I am getting this error
************************************************************
# /etc/init.d/networking restart
* /etc/network/options is deprecated.
Setting up IP spoofing protection...done (rp_filter).
Reconfiguring network interfaces...ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

gre0: unknown hardware address type 778
eth0: ERROR while getting interface flags: No such device
gre0: unknown hardware address type 778
Bind socket to interface: No such device
exiting.
Failed to bring up eth0.
done.

not sure if the following helps:
When I am booting, I noticed in the boot-up message
Fail to bring up eth0. dhcpd3 failed to start: check syslog for diagnosis.
my switch guide booklet does not say any thing about an up-link-port.

Last edited by ekdya; 11-05-2005 at 11:34 AM.
 
Old 11-05-2005, 07:36 PM   #17
mraray
Member
 
Registered: Sep 2005
Posts: 49

Rep: Reputation: 15
Hi,

It looks like the driver for your network card is not loaded. if
ifconfig eth0

gives you an error - than we have a problem.

What brand of ethernet card is it?


Cheers,
Andrew
 
Old 11-06-2005, 12:22 AM   #18
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
netgear FA311/312 PCI Adapter as detected by w2k which is installed on dha1. and w2k did not report any problem with its driver. even though I did not set it with my w2k box yet. remember that I have a w2k box and debian box, the debian box has a w2k duel boot, this w2k is on hda1.

Last edited by ekdya; 11-06-2005 at 12:44 AM.
 
Old 11-07-2005, 03:42 PM   #19
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Original Poster
Rep: Reputation: 30
I built the nic deriver into the kernel and it is working good now, I can brows the net from both boxes. thank you very much for all your help

but when I
#apt-get update
Err http://ftp.us.debian.org testing/main Packages
Could not connect to ftp.us.debian.org:80 (1.0.0.0), connection timed out
Err http://secure-testing.debian.net etch/security-updates/main Packages
Could not connect to secure-testing.debian.net:80 (1.0.0.0), connection timed out
0% [Connecting to secure-testing.debian.net (1.0.0.0)] [Connecting to ftp.us.debian.org (1.0.0.0)]

Last edited by ekdya; 11-07-2005 at 03:47 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Internet Connection Sharing explorer Mandriva 1 03-17-2005 06:25 PM
Internet connection sharing mark_booze Linux - Newbie 22 01-02-2004 12:37 AM
internet connection sharing Sathe Linux - Newbie 4 12-05-2001 08:59 PM
internet connection sharing Danobri Linux - Networking 14 07-21-2001 11:50 PM
Internet Connection Sharing qsilver Linux - Networking 1 07-19-2001 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration