LinuxQuestions.org
Help answer threads with 0 replies.
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 07-05-2007, 12:59 PM   #16
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124

OK, back to basics then. It works when connected directly, that means the problem is in the router (duh ;-)) Reset the router to it's default settings, the manual should tell you how to do this. Next thing to check is if the ethernetcard of your PC is set to recieve it's IP from a DHCP server in the router. It probably has a fixed address, used by your ISP to connect you to their network. That IP address should be programmed into the router via it's web-interface. Then change the static IP address in your PC to DHCP, so the router can assign it an internal IP. When done, restart the networkcard.
 
Old 07-05-2007, 01:09 PM   #17
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
In case it's a dns problem, how about posting the output of:
cat /etc/resolv.conf
ls -l /etc/resolv.conf
 
Old 07-06-2007, 05:36 AM   #18
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I agree with DutchMaster.. it's the router
GlaucoME, can you really confirm that it only happens with the router?
Do you experience downloading problems from the web?

Which debian is it? Or Ubuntu?
 
Old 07-06-2007, 07:55 AM   #19
GlaucoME
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
I'm using Debian now.
First i have installed Ubuntu and find this same problem, so i try the Debian.

My box is set to get IP from the DHCP Server on Router.
The cable modem get IP from DHCP too.

I agree that the problem is in Router, but i don't know where !!!!

I try again now, and i discovery something new:
I can't do 'apt-get update' connected to the router, but after do that connected directly in the cable-modem, i CAN do 'apt-get install xxxxx'.

That seems a little bizarre to me.


The outputs of resolv.conf:
cat:
nameserver 192.168.0.1 // Thats my router
ls -l:
-rw-r--r-- 1 root root 23 2007-07-06 09:43 /etc/resolv.conf


tks for the help everyone.
 
Old 07-06-2007, 08:49 AM   #20
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
:~$cat /etc/resolv.conf
search dsl.inet.fi #my ISP
nameserver 193.210.18.18 #Primary ISP DNS
nameserver 193.210.19.19 #Secondary ISP DNS
nameserver 192.168.1.1 #My router

Sometimes routers don't give the isp's dns correctly to your linux box. Have a look at the modem and copy the dns addresses it has got from it's dhcp to your /etc/resolv.conf as in my example.
 
Old 07-06-2007, 09:12 AM   #21
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Back to Dutch initial post:

Can you click and see this file through the router:
http://security.debian.org/dists/sta...es/Release.gpg

?
 
Old 07-06-2007, 09:45 AM   #22
GlaucoME
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
Problem Solved

I could see the Release.gpg file. But still can't do 'apt-get update'.

After that, i chance my resolv.conf and VOILÁ.
Finally it works.

But i still dont't understand how could everything works, except apt-get update, whitout this changes.

But nevermore, its working now.


Tks to everybody !!!
 
Old 07-15-2007, 02:53 PM   #23
mungulish
Member
 
Registered: Aug 2004
Location: Hungary
Distribution: Debian, OpenSUSE
Posts: 33

Original Poster
Rep: Reputation: 15
Ok. So my problem is solved.
What I did was the following:
1. I changed the MAC address of the ethernet adapter from FF:FF:FF:FF:FF:FF to 00:01:02:03:04:05
2. I ran dhclient. (IPs are assigned dynamically)
3. Rebooted my switch (optional, worked without it, so the problem is not the memory of the switch...)

This solved my problem, but I don't know why... but apt-get is working fine now...
 
  


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
Apache stoped working letsinstalllinu Linux - General 2 01-18-2005 05:07 PM
Wireless stoped working Nuke361 Linux - Newbie 1 05-19-2004 04:43 PM
CDROM stoped working Joey.Dale Linux - General 6 11-27-2003 10:45 PM
CD-ROMS stoped working..... J.T. Mandriva 19 11-13-2003 01:23 AM
mozilla stoped working allohakdan Linux - Newbie 4 10-30-2003 11:49 AM

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

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