LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-18-2005, 11:43 PM   #1
biojayc
Member
 
Registered: Mar 2005
Location: Dallas TX
Distribution: Kubuntu 6.10
Posts: 80

Rep: Reputation: 15
dhclient v. dhcpcd


what are the differences and which is better?

I ask because I'm trying to get Ubuntu logged in to a 802.1x wireless server and I'm having problems. I'm using xsupplicant, and it seems to connect okay (it says authenticated) and it then runs dhcpcd, which is what I'm using, but it never gets an IP. I'm trying to figure out why, so any help would be great. thanx.
 
Old 04-19-2005, 04:35 PM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Same, same but different. None is better or worse, just different ways of implementing doing the same thing. I have never used dhcpd, always dhclient. If it isnt getting an IP address it isnt a problem with dhcpd or dhclient, its a configuration issue. Basically its requesting an IP and the router isnt doling one out for some reason, usually due to security setup. Check if you can connect w/out WPA first, then when you can enable WPA and try again.
Regards
Chris
 
Old 04-19-2005, 06:30 PM   #3
biojayc
Member
 
Registered: Mar 2005
Location: Dallas TX
Distribution: Kubuntu 6.10
Posts: 80

Original Poster
Rep: Reputation: 15
I'm not exactly sure what WPA is. The campus has two types of connections. On campus, there is the 802.11 connection that uses a WEP key. I can connect to that no problem. Because of that, I believe that dhcpcd works just fine.

However, in my apartment, it's an 802.1x connection, and I'm not sure how to get that working. I'm not sure what you mean by with/without WPA.
 
Old 04-19-2005, 06:38 PM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Sorry, I thought by xsupplicant you meant you were using WPA which is a security measure for wireless networks. You'd know if you were using it. You will be using 802.11 in your apartment if it is wireless however I'm not sure why it wont grant you an IP without more info. I'm guessing that any encryption you have set is stopping it authenticating and registering with the wireless server but this is just guess work.
 
Old 04-19-2005, 09:03 PM   #5
biojayc
Member
 
Registered: Mar 2005
Location: Dallas TX
Distribution: Kubuntu 6.10
Posts: 80

Original Poster
Rep: Reputation: 15
>>Sorry, I thought by xsupplicant you meant you were using WPA which is a security measure for wireless networks. You'd know if you were using it. You will be using 802.11 in your apartment if it is wireless however I'm not sure why it wont grant you an IP without more info. I'm guessing that any encryption you have set is stopping it authenticating and registering with the wireless server but this is just guess work.>>

http://www.utdallas.edu/ir/cats/netw...21x/linux.html

This is a link to the instructions I used to try and get it to work.

I made a few changes to the config file, but basically did exactly what is listed.

when I run xsupplicant, I do "xsupplicant -d2 -f" so that I get a printout of what is happening. When I do this, it usually get's to the point where it says that it's authenticated, and then it just stops there and does nothing else. when I type "ps aux" it says that dhcpcd-bin is running, but when I ifconfig, there is no ip. and ofcourse, I can't get online or anything. any ideas?
 
Old 04-29-2005, 07:34 PM   #6
funkothealmight
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
Alright this is weird but i go to utdallas and this is how i got it to work, if you leave the config file supplied by utdallas as is (leaving dhclient how it is in the config file) then you can log on just as it says to. In the area of a minute after setting your password in xsupplicant dhclient will try to get an ip adress, it will most likely fail. After it fails, then startup dhcpcd (with the same wireless interface as you were using with xsupplicant and dhclient). After dhcpcd finishes you should be able to see your ip address when you run ifconfig. Hope it helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Toss dhcpcd in favor of dhclient tisource SUSE / openSUSE 3 03-15-2005 03:23 PM
dhcpcd / dhclient problems tomap Linux - Wireless Networking 1 11-01-2004 03:49 PM
dhcpcd + dhclient issues.. Digital_Err0r Linux - Software 1 04-04-2004 07:09 PM
Mandrake Users: no dhcpcd command? Try dhclient lostlyre Linux - Networking 0 04-02-2004 02:16 PM
dhclient helloworld Linux - Networking 2 03-06-2001 07:57 PM

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

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