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 08-16-2005, 07:26 AM   #1
massi
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
problems with Kubuntu+D-Link G604T+FTP or apt-get


I'm running Kubuntu and have a bit of a problem with network.
Everything else works, but apt-get fails to connect. Any FTP downloads aren't working either.
My router is D-Link G604T with NAT enabled.
Also a problem occured during installation, but I got rid of it, when I unplugged the ethernet cable for the installation. With the cable connected it stuck, however, to something related to apt configuration and network.
 
Old 08-16-2005, 08:39 AM   #2
eerwitt
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
First thing I would do is see if you can connect to the internet, then if it is a localized problem with ftp check to make sure your router isn't blocking outbound ftp. Then see if you can even get a clean route, just try and telnet to port 21 on the servers listed in your apt-sources.list.
 
Old 08-16-2005, 09:10 AM   #3
massi
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
The network is working fine. Even FTP works good on Windows. On Kubuntu the only problems seem to be FTP and especially apt-get.
I am really a newbie, and I actually don't know how to use Telnet...
 
Old 08-16-2005, 09:21 AM   #4
eerwitt
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Hehe no prob.
I have not used kubuntu but since it is derived from debian I will give you the steps I would check on a debian box.
First I would do a:
$ cat /etc/apt/sources.list
you will see lines like the following:
deb http://mirrors.kernel.org/debian/ testing main contrib non-free
deb-src http://mirrors.kernel.org/debian/ testing main

deb http://security.debian.org/ testing/updates main
yours will most likely be ftp:// so strip out everything except the hostname and do the following:
$ telnet mirrors.kernel.org 21
if it connects then it will say "welcome to <hostname>" or the version of ftpd software they are using.
if it connects hit Ctrl + ] and enter to quit then type in quit.
if this works then you are able to connect on port 21 then please dump the error you are getting with apt
 
Old 08-16-2005, 09:47 AM   #5
massi
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I tried that, nothing happened, it just said "Trying 1.0.0.0..." and nothing else...
I've opened up the port 21 in my router config, so that _should_ not be the matter..
Any more ideas?
 
Old 08-16-2005, 09:50 AM   #6
eerwitt
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Yep, please post your /etc/apt/sources.list.
 
Old 08-16-2005, 09:51 AM   #7
massi
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
## The following lines pertain to supported packages:
deb http://archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://archive.ubuntu.com/ubuntu hoary main restricted

## The following lines pertain to security updates:
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

## Uncomment after release to continue getting updates:
deb http://archive.ubuntu.com/ubuntu hoary-updates main restricted

## IMPORTANT:
## Software from the following repositories are ENTIRELY UNSUPPORTED by
## the Ubuntu team, and may not be under a free licence. This means that
## software in these repositories WILL NOT receive any review or updates
## from the Ubuntu security team either. These packages are provided as a
## service to our users and nothing more.

## Uncomment the following two lines to add software from the 'universe' and
## 'multiverse' repositories:
deb http://archive.ubuntu.com/ubuntu hoary universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary universe multiverse

## Uncomment the following line to add Java software:
# deb http://jrfonseca.dyndns.org/debian/ ./

## backports and extras
#deb http://backports.ubuntuforums.org/backports hoary-extras main universe multiverse restricted
#deb http://backports.ubuntuforums.org/backports hoary-backports main universe multiverse restricted

## mplayer
#deb ftp://ftp.nerim.net/debian-marillat/ stable main
#deb ftp://ftp.nerim.net/debian-marillat/ unstable main
#deb ftp://ftp.nerim.net/debian-marillat/ testing main

## great KDE-software like amaroK, Qt-GTK-engine, OpenOffice.org-Qt
#deb http://archive.kalyxo.org/ staging main
## mirror of above
#deb http://kalyxo-archive.mornfall.net/ staging main

## kubuntu digikam, kipi-plugins
deb http://www.mpe.mpg.de/~ach/kubuntu/hoary ./
deb-src http://www.mpe.mpg.de/~ach/kubuntu/hoary ./

## suomenkielinen oikoluku / Finnish non-free spelling software "Soikko"
#deb http://elonen.iki.fi/code/unofficial-debs/ ./

## Official Debian sources
#deb ftp://ftp.fi.debian.org/debian/ sarge main contrib non-free
#deb ftp://ftp.fi.debian.org/debian/ unstable main contrib non-free

## Horde
#deb http://debian.opal.dhs.org unstable main contrib non-free
#deb http://debian.opal.dhs.org sarge main contrib non-free
 
Old 08-16-2005, 11:57 AM   #8
eerwitt
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
What is the error that apt gives you when you try to connect? Everything looks pretty good in your sources.list
 
Old 08-22-2005, 05:50 AM   #9
massi
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Original Poster
Rep: Reputation: 0
With all the servers in the list it just gives
"Err http://security.ubuntu.com hoary-security Release.gpg
Could not connect to security.ubuntu.com:80 (1.0.0.0), connection timed out"
(seems the problem wasn't with the port since it's 80, not 21..?)
 
Old 08-23-2005, 06:07 PM   #10
shix
LQ Newbie
 
Registered: Aug 2005
Posts: 1

Rep: Reputation: 0
I have the same router, your linux its ok, the problem is the router + linux, internet only works a few time in linux, and it works perfectly with windows, strange for a router with a linux as firmware.

you can know more about the router here:

http://www.seattlewireless.net/index.cgi/DlinkDslG604t

And here you have modified firmwares:

http://mcmcc.bat.ru/dlinkt/?C=M;O=A
 
  


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
D-Link G604T Ubuntu 5.10 michaelharg Linux - Hardware 0 10-16-2005 12:54 PM
D-link G604T adsl wireless router problem linux_yearner Linux - Wireless Networking 2 10-11-2005 08:54 AM
D-Link G604T and DNS cm0901 Linux - Networking 4 09-28-2005 03:12 PM
Networking. D-Link DSL G604T LAN DNS issues. limes.whatlimes Linux - Networking 4 09-21-2005 03:49 AM
D-Link DSL-G604T AppZ Linux - Wireless Networking 5 05-31-2005 11:55 AM

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

All times are GMT -5. The time now is 06:15 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