LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-18-2004, 09:07 AM   #1
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Rep: Reputation: 30
DHCP not working in Suse 9.1 - where do I start?


I've had Suse 9.1 for a few weeks and I can still do nothing with it because it won't connect to the internet.

Problem seems to be with DHCP. Here's an extract from the bootlog:

>Setting up network interfaces:
>lo
>lo IP address: 127.0.0.1/8
>done eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
>eth0 configuration: eth-id-00:08:a1:6a:b2:03
>eth0 (DHCP). . . . . . . . . . . . . . . . . . . . . no IP address yet. . . . . . backgrounding. waiting
>checkproc: /sbin/dhcpcd 1800
>eth0 interface could not be set up failed
>setting up service network. . . . . . . . . . . . . . failed

I've looked at the DHCP config file but I have no idea what parameters to fiddle with (except DHCLIENT_WAIT_AT_BOOT, which I changed from 5 to 25 seconds - made no difference).

It's a Compaq Armada 7400 with Realtek clone PCMCIA card connected to Thomson cable modem. PCMCIA seems to start correctly at boot and network card lights flicker, indicating that signal is being received from network.

As a Linux novice, where do I start?

All help would be really appreciated.
 
Old 07-18-2004, 09:27 AM   #2
yongbeng
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
you may check out what is the current ip address by typing this command at the console.

ifconfig -a

I would suggest you can try doing a manual configuration of your System IP first to see if the DHCP of your gateway really works.
 
Old 07-22-2004, 05:34 PM   #3
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
This must be a simple problem... can someone help?... anyone?

What do I look for in the results of ifconfig -a ?

I have tried to manually configure the connection from the command line, using:

# ifconfig eth0 <ipaddress> netmask <address>
# route add default gw <gateway address> (both using the values found in Network Connections under Windows, where the connection works)

Makes no difference. Pinging does not work. There is no connection established.

This is really frustrating... All I want to do is browse the internet. I even paid for this software!

The problem of course is that I don't really know what I'm doing... unlike lots of you guys. But then I thought that Suse was aiming its products at non-techie Windows-defectors like me...

So -

Can some clever expert (preferably a Suse one) please tell me what to try next? I really have no idea, and (yes) I'm on the point of giving up completely on Linux. Before I've even tried it...
 
Old 07-23-2004, 11:36 AM   #4
Vlad-Z
LQ Newbie
 
Registered: Jul 2004
Location: South Alabama
Distribution: RH ES3 / Fedora 1 / SuSE 9.1
Posts: 2

Rep: Reputation: 0
Did you try to input # ifconfig eth0 <ip_addy> <net_mask> up
 
Old 07-23-2004, 06:11 PM   #5
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Calling all ethernet card gurus!

Yep, tried that (albeit tried with the tag 'netmask' added, which you meant). No joy. Thanks anyway.

What I need to know is this:

What commands can I type at the command line to check that the ethernet card actually works? So far it has never worked under Linux or Windows, with or without DHCP.

I ask this on the basis that I have the values for <ipaddress>, <netmask>, <gateway> etc which work fine when the computer is connected to the modem via USB.

All ideas sorely appreciated!

Thanks.
 
Old 08-03-2004, 02:19 PM   #6
errh
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
hold on... your cable modem has a dhcp service? are you really sure? how's your windows configured?

and then... in your last post you wrote that the network card doesn't work under windows either, maybe it's broken or so?
 
Old 09-21-2004, 09:05 AM   #7
archos
LQ Newbie
 
Registered: Sep 2004
Location: Norway
Posts: 1

Rep: Reputation: 0
xp partition might be the problem

Hi
As some other people, i've had the same problem with the "no ip address...jadajadajada. Drove me crazy. The problem in my case startet when I had to boot my winXP partition. (my sister uses it sometimes). Had to reinstall the net.card to make it work in XP. When I came back to linux it didnt work any more.
Turns out XP put my card in powersave or something like that. So I just turned off that option i XP net.card config. and now everthing works fine.
 
Old 09-21-2004, 01:06 PM   #8
rollo
Member
 
Registered: Apr 2004
Location: France
Distribution: Debian Sid (Kanotix)
Posts: 237

Original Poster
Rep: Reputation: 30
Ah okay that could be useful. I should have posted an update, so here it is now:

DHCP started working - I don't know why. I don't think I changed any settings. But not all the time - just 75% of the time. Since that's not good enough, I gave up completely on Linux and went back to Windows.

XP connects to the net thru a USB cable modem. The network card is not currently plugged in, so it doesn't display in Control Panel.

I will plug in the card and try your advice. Then maybe I will be able to go back to Linux.
 
  


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
dhcp doesn't want to start afterburner Linux - Newbie 7 02-26-2008 03:55 AM
DHCP don't start waelaltaqi Linux - Networking 7 11-18-2005 04:09 PM
DHCP won't start Dr. Doerke Linux - Wireless Networking 4 08-15-2005 08:57 PM
Switched from FC2 to SuSE 9.1, now DHCP is not working cdavidson Linux - Networking 0 06-20-2004 03:06 PM
SUSE 9.0- suse help & java web start- take 3mins "before" they start to load Bodkin Linux - Distributions 3 11-16-2003 09:23 AM

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

All times are GMT -5. The time now is 08:53 PM.

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