LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't Connect (https://www.linuxquestions.org/questions/linux-networking-3/cant-connect-259210/)

KennieNL 11-25-2004 11:24 AM

Can't Connect
 
Hello,

I've setup Debian this afternoon and i got a problem.
While installing i've let the install search for DHCP/BOOTP but he didn't found anything, now i've to problem that i can't connect to internet.
Does someone got a solution?

Tnx!

Kennie :newbie:

david_ross 11-25-2004 12:36 PM

Do you have a DHCP server?

KennieNL 11-25-2004 12:42 PM

yes, probaly its cose i got a Realtek networkcard and that one is not supported by debian if i'm right, is there a site to d/l them? then i can put the on a cd and use them in linux

Keith106 11-25-2004 12:45 PM

I am in the same situation. There seems to be a number of open questions from people who can't get the network to run.

http://www.linuxquestions.org/questi...hreadid=257709
http://www.linuxquestions.org/questi...hreadid=257461
http://www.linuxquestions.org/questi...hreadid=259183

The first step for getting help is to post the results of running /sbin/ifconfig, /sbin/route, and some other diagnostic programs. Some people seem to have problems with the built in firewall which can be detected and manipulated with "iptables". In my case the configuration programs say that my network card is enabled and working properly, but it just doesn't actually connect to any other machine. I am looking for some sort of diagnostic that can actually notice the network is not working, and yeild a clue as to what might be the source. Sorry I can't help.

-Keith

david_ross 11-25-2004 12:46 PM

The drivers are part of the kernel - you can get an up to date vanilla version from:
http://www.kernel.org

If you want to know your model - can you post the output from:
dmesg | grep -i eth
lspci | grep -i eth

It would also be useful to see what modules you have loaded and what kernel you are using:
lsmod
uname -a

KennieNL 11-25-2004 02:05 PM

Hello

Code:

dmesg | grep -i eth
gives:

eth0: RealTek RTL8139 Fast Ethernet at 0xd800, IRQ 0, 00:50:fc:8b:b3:30

Code:

lspci | grep -i eth
gives:

02:07.0 Ethernet Controller: RealTek Semiconductor Co., Ltd. RTL-8139 (rev 10)

Code:

lsmod
gives:

MODULE SIZE USED BY
af_packet 6136 0 (unused)

Code:

uname -a
gives:
Linux (none) 2.2.20-idepci #1 sat api 20 12:45:19 EST 2002 i686 unknow


Tnx, for the help!

david_ross 11-25-2004 02:26 PM

You are running a very old kernel which is often the case with debian. I'm not sure when that driver was introduced but it is certainly in the later 2.4 and 2.6 kernel trees. I would reccomend that you upgrade to the lastest debian stable version or just update your kernel from: http://www.kernel.org

KennieNL 11-25-2004 02:27 PM

Quote:

Originally posted by david_ross
You are running a very old kernel which is often the case with debian. I'm not sure when that driver was introduced but it is certainly in the later 2.4 and 2.6 kernel trees. I would reccomend that you upgrade to the lastest debian stable version or just update your kernel from: http://www.kernel.org
OK i'll try, i'm running now the default kernel of debian wich is really old yea.

[EDIT]1 n00b question: wich kernel must i've of those on www.kernel.org?
/me n00b hehehehheheheheh[/EDIT]

david_ross 11-25-2004 02:44 PM

I would't go from 2.2 to 2.6 straight away so I would use the latest 2.4 version:
http://kernel.org/pub/linux/kernel/v...2.4.28.tar.bz2

For a good guide - see:
[[Compiling_a_Kernel]]

KennieNL 11-26-2004 03:26 AM

OK this is again n00b question lol,
i've burned the tarball to a cd but how the get the tarball from cd?
i've tried /dev/cdrom but then i get permission denied.

[EDIT]NVM[/EDIT]

enemorales 11-26-2004 04:28 AM

You have to mount your CD. Try something like
Code:

mount /cdrom
or
Code:

mount /mnt/cdrom
These are the common location for mounting the cdrom, but it could be different in your system, so if no one of them work, try looking at the /etc/fstab file to see what it says and mount that.

I'm not sure, but maybe something like

Code:

mount /dev/cdrom
is enough.

Good luck...


All times are GMT -5. The time now is 06:37 PM.