LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't connect to the internet (https://www.linuxquestions.org/questions/linux-newbie-8/cant-connect-to-the-internet-252292/)

tripmix 11-08-2004 01:01 AM

Can't connect to the internet
 
Hi, I'm hopeing someone can point me in the rigth direction here, I'm very new to linux.
Here is my probleme (other than typing this on a xp box) :
I installed Debian Woody 3.0 on my new laptop through my LAN useing a mini cd. I used DHCP to configure my network and evreything worked fine. But when I updated the kernel to 2.4.27 I can't go online anymore. ethernet card is working and DHCP should be enabled from my configurasions of the kernel. Besides that I'm clueless.
Any help at all would be good, like what tools in the debian package I can use to help me or/and what files to edit.

PS: sorry for my bad english and thanks for any help.

ror 11-08-2004 01:38 AM

do an ifconfig.

see if it's up, then ifconfig eth0 (or whatever) up to put it up.

If that doesn't get you an ip do dhcpcd eth0

tripmix 11-08-2004 02:10 AM

Seems my problem is a little bigge than i tougth. I tried ifconfig and it listed eth0, irlan0 and lo.
I don't have dhcpcd and no way to get it whitout my network. But as far as I can tell the IP tables are all there. But I just tried to ping my router and all I get is "network is unreachable" so somthing is very wrong. :scratch: and I cant find anything in the network section here to help me out either.

scuzzman 11-08-2004 06:03 AM

Does
Code:

ifconfig -a
tell you you're pulling an ip from the router? Is it static or DHCP?

ror 11-08-2004 12:00 PM

did you do the dhcpcd as root? It shoudl be there, you can't get a DHCP IP without it.

You can still manually assign an IP with ifconfig (easier with netconfig if there)

tripmix 11-08-2004 08:55 PM

Just wanted to say thanks for the replys and that I got it fixed. And just in case someone wonders I had to disable dhcp and add the IPs manualy to the /etc/network/interfaces file. Haven't realy found out what was wrong whit dhcp. The ifconfig and route commands worked to, but it got reset on reboot.

Edit: I can't get dhcp whitout dhcpcd? then what is the dhclient for? and way isn't it there when I configured the kernel whit dhcp suport? Not realy imprtant anymore but I would still like to know.

ror 11-08-2004 11:41 PM

You were doing dhcpcd not dhcpd right?


All times are GMT -5. The time now is 05:51 PM.