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 - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-23-2004, 12:53 PM   #1
ihristov
LQ Newbie
 
Registered: Jun 2004
Distribution: XUbuntu 6.06
Posts: 27

Rep: Reputation: 15
Suse dhcpcd problems


The standard DHCP client (dhcpcd) that comes with Suse 9.1 does not work with the DHCP server build into some wireless access points. In particular the Linksys ones. I have a Linksys A+B. A friend of mine has a Linksys G. It fails to obtain an address from both of them.

The same computer with the same network card runs fine with static configuration and is able to obtain an IP address if run with Windows. And yes, I did restart the access point after Windows was shutdown (to clear the arp cache).

I tried to change some config options in /etc/sysinit/network/dhcp to no avail.
I also tried to find (or compile) a version of pump, but could not do so.

Any idea how to fix this?
 
Old 10-23-2004, 04:16 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Yeah, sure... That's why I can use my laptop, desktop, wireless or wired with any of the 3 linksys wireless routers I have to hook up to for internet access depending on where I am located...

How about, you've configured your wireless card wrong, and the router, and suse, are working just fine?
 
Old 10-25-2004, 10:03 AM   #3
ihristov
LQ Newbie
 
Registered: Jun 2004
Distribution: XUbuntu 6.06
Posts: 27

Original Poster
Rep: Reputation: 15
Maybe not

I don't know where does your arrogance comes from, but I am not posting just random issues. When I say it does not work, it does not and it is not because of my "configuration".

I have been around the block (several times) and I am capable of determining a simple issue like that, believe me.

If what are you saying is true, could you explain to me how come the same card works just fine when configured statically and does not when configured to use DHCP. BTW: There is nothing to "configure" for DHCP. That is the whole point, isn't it?

When I said wireless access point I did not explain that I am using a normal "wired" network card to connect via a cable to the "access point". In this case is practically a router.

Also, I have 2 subnets, one for the normal network, which uses a DHCP server of a Linux box. If I connect to that network it works just fine. If I then connect to the port on the Linksys it does not obtain an address.

In fact I have tried this with 3 different cards, on 3 different computers, no difference. It always works when attached to the DHCP server on the Linux box, never works when attached to the Linksys AP.

Please, refrain to post when you are not contributing toward a solution.

BTW: I see it says you are using Suse 9.0, whereas I am using Suse 9.1

Last edited by ihristov; 10-25-2004 at 10:05 AM.
 
Old 10-26-2004, 07:00 PM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
I have suse 9.1 as well. I just havent bothered to update the profile. You kinda don't pay attention to the version number after you've changed the thing 5 or 6 times. And I did post something useful.

NOTHING is wrong with suse's dhcp or with the interface to Linksys routers. Other people can use them just fine. So there is definately something wrong, with JUST your install of suse. And you should check the settings and try again rather than assuming its the operating systems problem or the routers problem.
 
Old 10-27-2004, 02:42 AM   #5
electronique
Member
 
Registered: Mar 2004
Location: Menomonie, WI
Distribution: SuSE 9.2, Slackware Current, Arch Linux 0.7
Posts: 119

Rep: Reputation: 15
why do you need dhcpd

As far as I know you do not need the DHCP Daemon, it is a Daemon to act AS A DHCP SERVER not to get information from your DHCP server, I have had no problems with DHCP, wired or wireless on any SuSE box I Have configured... the dhcpd allows a computer to be loaded with a minimal install of linux to act as a router albeit much faster than a router... (even a CISCO 2600 Catalyst has a processor with speeds equivalent to a cutting edge 486DX!) so I'm not sure you even need this. Check the network settings tab of YaST and make sure you're wireless card('s) are supported and configured properly... if they are not you might have to use ndiswrapper or something like linuxant.
 
Old 10-27-2004, 10:28 AM   #6
ihristov
LQ Newbie
 
Registered: Jun 2004
Distribution: XUbuntu 6.06
Posts: 27

Original Poster
Rep: Reputation: 15
dhcpcd IS the DHCP CLIENT daemon. It is different that the dhcpd which is the server.

My problems are still there. I suppose no one else is experiencing them, which is kind of puzzling, but as I said already all computers work just fine.

When connected to a different network they obtain IP addresses just fine, then in the network where the Linksys is the DHCP server they do not obtain and address.

I suppose the logical assumption is that there is some kind of misconfiguration somewhere. I was hoping someone would suggest what to check to figure it out.
 
Old 10-28-2004, 05:47 AM   #7
ignorant_savant
Member
 
Registered: Oct 2004
Location: Phoenix, AZ
Distribution: Slackware, SuSE
Posts: 54

Rep: Reputation: 15
I had a similiar problem, and only half solved it. I wrote a file in /etc/sysconfig/network/ifcfg-wlan0 based on info in the ./wireless and ./ifcfg.template in the same directory. Ican now obtain a IP address from a router

My problems now are:
A.) Will not work on bootup.
B.) Will not obtain DNS information from router.

Has to be something in either a script or config file but don't know where.

If someone else knows, please drop a line.
 
Old 10-28-2004, 12:22 PM   #8
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
I had a similar problem with a D-LINK wireless (and wired) DSL router --it works fine on a 'Doze box.
To get it to work I can still use it to provide me with a dynamic IP address --but I had to set the DNS IP numbers that I use to connect to my ISP manually. I didn't need to set a default gateway either.


If I just let DHCP do it then it would put 192.168.1.1 in the first DNS box and (which is the address of the router).
Clearing that out and inserting the real DNS numbers worked (although I'd really like to have the whole thing completely automatic as if I connect to a different Network then the DNS names will be different.

So problem is 1/2 solved.

Anybody got any ideas how I can fix this completely --- it's the same on SUSE 9.0 as well as 9.1


BTW I'm using a bog standard Wired LAN card for testing -- I'll use Wifi later.

My previous router didn't have DHCP so I had to set everything manually --this still works with this router but I'd like to use DHCP to completely get all the DNS stuff automatically.

Cheers all.

Last edited by 1kyle; 10-28-2004 at 12:24 PM.
 
Old 10-29-2004, 12:51 AM   #9
ignorant_savant
Member
 
Registered: Oct 2004
Location: Phoenix, AZ
Distribution: Slackware, SuSE
Posts: 54

Rep: Reputation: 15
Smile Figured bootup problem

Actually read the tutorial and editted the /etc/sysconfig/kernel file.

Still having DNS problems.
 
  


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
dhcpcd problems relpats_eht Slackware 3 09-18-2005 07:07 PM
dhcpcd problems drobe011 Slackware 1 07-09-2005 09:32 PM
SUSE dhcpcd problem vu_t_nguyen Linux - Wireless Networking 1 03-28-2005 08:22 PM
Can't get IP using DHCPcd with Suse 9+, wpc 2.5 user_tx Linux - Wireless Networking 7 03-13-2005 11:29 PM
dhcpcd issue. wlan0. Suse 9.2 bank Linux - Wireless Networking 2 12-09-2004 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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