LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 07-18-2004, 02:17 AM   #1
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Rep: Reputation: 16
Unreasonably annoying network problem


I have recently replaced my router, and I'm having trouble with one of the two machines on my home network. Machine B (Sarge) works fine with the new router -- no new configuration was required. But system B (Sid) won't connect no matter what I seem to do (it did connect fine before I replaced the router).

I've compared various files between the two computers: interfaces, hosts, hosts.allow, hosts.deny, resolv.conf. When I make the interfaces file on system B use dhcp (iface eth0 inet dhcp), as on system A, I lose my ethernet connection as well. ifconfig only shows the loopback. When I use static as the setting for eth0 (iface eth0 inet static), the card returns. But the router manual says I need to use dhcp, and since system A (with dhcp) is working, I figure this might be the crux of my problem.

When I use the dhcp setting for eth0 on system B, and then restart networking, it says it can't load the eth0 card. "ifconfig eth0 up" returns no errors, however. But in either case, pinging the router does not work. I get "network is unreachable."

And -- when I do route, the Destination shows as 192.168.1.0 -- which is an ip I don't recognize. The router is 192.168.2.1. On the system that works, it's listed that way in the resolv.conf file, shows that ip in route, and says that's the correct ip in the manual. So I'm pretty sure I also have to change the Destination ip on system B. How do I do that?

And any other helpful suggestions would be most welcome. This is driving me crazy (especially since the Debian networking howto seems to be quite different than my actual Debian systems).

Thanks.
Ross

Last edited by rosslaird; 07-18-2004 at 02:18 AM.
 
Old 07-18-2004, 02:45 AM   #2
rosslaird
Member
 
Registered: Jul 2003
Location: Vancouver
Posts: 76

Original Poster
Rep: Reputation: 16
Well, I haven't rebooted yet, so it may not stick, but I think I got it. I'm now online. The solution was in the interfaces file:

iface eth0 inet static
address 192.168.2.101
gateway 192.168.2.1
netmask 255.255.255.0

The system required all three settings (address, gateway, netmask) plus a static ip address. So much for the router manual.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Annoying SUSE 9.2 Network issue Skywing Linux - Networking 4 03-08-2005 11:57 AM
Annoying network card piece of data Musikolo Linux - Networking 5 07-19-2004 01:14 AM
Network fails fo work in Mandrake 10.0; annoying reboot required chrisrl Linux - Networking 2 03-27-2004 05:44 PM
Annoying network problem in MDK10.0 chrisrl Mandriva 3 03-27-2004 12:19 PM
Very annoying problem therion12 Linux - General 2 04-05-2002 11:58 PM


All times are GMT -5. The time now is 12:25 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration