LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-18-2005, 08:51 PM   #1
SlackPingo
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Question DHCP problem with wireless network


Folks, I'm trying an authentication required network:

Card driver ............OK
Interface associated....OK
Authentication..........OK

But, #dhcpcd -d <INTERFACE> fails!!! I'm using Slakw 10.2 with 2.6.13.

Any help please?
ThanX
 
Old 12-19-2005, 01:53 AM   #2
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
How do you know the driver checks out? Have you recompiled the kernel and had to recompile the driver?

Last edited by mjjzf; 12-19-2005 at 02:01 AM.
 
Old 12-19-2005, 05:37 AM   #3
dunric
Member
 
Registered: Jul 2004
Distribution: Void Linux, former Slackware
Posts: 498

Rep: Reputation: 100Reputation: 100
Don't know if I correctly understand your question but don't require your dhcp server some proper hostname in DHCP request ? Something like
Code:
dhcpcd -h <hostname> <interface>
.
 
Old 12-19-2005, 07:30 AM   #4
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
Dude I'm not 100% on what all these arguments you are passing dhcpcd are. All I ever pass it at most is the interface name .

Why don't we start by giving us a lsmod and lspci output to see if everything is in-fact config'ed correctly. Also give us your /etc/rc.d/rc.inet1.conf contents so we can see if your eth0 interface is set to use dhcp.

Have you recompiled your kernel? If so you may have compiled in your nic driver, in which case some stuff can go quirky.

Last edited by richcoosa19; 12-19-2005 at 07:36 AM.
 
Old 12-19-2005, 06:02 PM   #5
SlackPingo
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Question

root@hyw:~# lsmod
Module Size Used by
driverloader 322192 0
snd_pcm_oss 46240 0
snd_mixer_oss 15872 1 snd_pcm_oss
ohci_hcd 18436 0
ehci_hcd 29704 0
intel_agp 19356 1
uhci_hcd 29584 0
i2c_piix4 7824 0
i2c_core 16656 1 i2c_piix4
snd_cmipci 28704 0
gameport 11144 1 snd_cmipci
snd_pcm 75016 2 snd_pcm_oss,snd_cmipci
snd_page_alloc 7556 1 snd_pcm
snd_opl3_lib 8832 1 snd_cmipci
snd_timer 19716 2 snd_pcm,snd_opl3_lib
snd_hwdep 6944 1 snd_opl3_lib
snd_mpu401_uart 5888 1 snd_cmipci
snd_rawmidi 19232 1 snd_mpu401_uart
snd_seq_device 6924 2 snd_opl3_lib,snd_rawmidi
snd 45572 10 snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,sn
d_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 6880 1 snd
evdev 7296 0
nls_utf8 1792 1
ntfs 182672 1
agpgart 28616 1 intel_agp
psmouse 29956 0
reiserfs 223216 1


root@hyw:~# lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0c.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface
00:0d.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC AGP (rev 7a)



/etc/rc.d/rc.inet1.conf (part)


IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
.
 
Old 12-20-2005, 05:26 AM   #6
erickFis
Member
 
Registered: Jun 2003
Location: Brasil
Distribution: Slackware 13.1_64 Gold Edition
Posts: 209

Rep: Reputation: 32
Almost same problem here.

when I try #dhclient ath0, the dhclient says "ath0: not found".

BUT when I try #dhcpcd ath0, it works fine!

Why?
 
Old 12-20-2005, 05:46 AM   #7
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Now, that would be because you don't have dhclient installed.
Dhcpcd is a basic Slackware feature. I usually use
# iwconfig ra0 essid [my_essid] && dhcpcd ra0
if I am in the command line mood. I usually use Wifi-Radar, thought.
 
Old 12-20-2005, 05:56 AM   #8
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Looks like you have wireless card with acx 111 chipset - dont see module loaded - you might need ndiswrapper or this http://www.houseofcraig.net/acx100_howto.php - good guide there on checking out if you have correct driver for the card.

Last edited by beagle2; 12-20-2005 at 06:08 AM.
 
Old 12-20-2005, 07:47 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
By the looks of it:
Quote:
root@hyw:~# lsmod
Module Size Used by
driverloader 322192 0
He is using the Linuxant driverloader which is a commercial alternative to ndiswrapper (or rather, ndiswrapper is the free alternative to driverloader).

There is a FAQ at http://www.linuxant.com/driverloader/wlan/faq.php does that help? Maybe you do need to look at the alternatives as pointed out here, in case driverloader does not work for you.

Eric
 
Old 12-20-2005, 08:10 AM   #10
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Yup, Alien Bob has it there - only thing I would add is that if its a d-link card then I would confirm you have correct driver - d-link seem to name their products very similarly and they require different drivers ie DWL-520+, DWL-G520, DWL-G520+, DWL-G520M and so on.
 
Old 12-20-2005, 12:52 PM   #11
SlackPingo
LQ Newbie
 
Registered: Dec 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Question

I've tried other card -ASUS WL-167g - with original linux driver, but DHCP also fails after successful authentication. I'm down myself :-( cos I have no idea where is the problem. I can see all networks in range under Slackw, and I can connect without problem under Windows XP using the same cards. The radius and remote dhcp server are the same. I've tryed ndiswrapper, linuxant, ACX100, and others and other. I've recompile new kernel and drivers. Have fresh slackw installation many times. Have no firewall. But I've no IP address.
 
Old 12-20-2005, 01:06 PM   #12
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Well Im lost as well but try this from http://oob.freeshell.org/nzwireless/dhcpd.html
Testing DHCPD

Test that configuration is working by executing the command;

[root@accesspoint root]# service dhcpd start

Which should produce the following output. If it doesn't and you get a failed message instead, chances are you have made a syntax error in the configuration file. The error message should give you clues where to look.

Starting dhcpd: [ OK ]
 
Old 12-21-2005, 06:23 AM   #13
richcoosa19
Member
 
Registered: Nov 2002
Location: Rome, GA, USA
Distribution: Slackware 10.1 and Gentoo 2005.1 from Stage 1
Posts: 84

Rep: Reputation: 15
You need not run that command unless you are wanting to setup a dhcp server on this machine. The command dhcpd starts the dhcp daemon which answers dhcp requests. The command dhcpcd is the dhcp client daemon which asks for dhcp requests. These programs are the exact opposite of each other. If you type dhcpcd ath0. You should get an IP address given to you by your dhcp server (usually a home router or your ISP). dhclient is an offshoot of dhcpcd, both are supposed to do the same thing, Get an IP address and network information dynamically from your dhcp server. dhcpcd is made by the ISC (Internet Software Consortium) who write dhcpd, bind, innd, and many other widely used internet programs.
 
Old 12-21-2005, 07:59 AM   #14
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by beagle2
# service dhcpd start

Which should produce the following output. If it doesn't and you get a failed message instead, chances are you have made a syntax error in the configuration file. The error message should give you clues where to look.

Starting dhcpd: [ OK ]
This is very Redhat specific. Slackware does not have this at all.

Eric
 
Old 12-21-2005, 09:32 AM   #15
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Ok then, just a thought
 
  


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
Connecting to a DHCP wireless network Calltor Linux - Wireless Networking 15 10-13-2005 07:08 PM
Problem with network wireless conf dhcp jorfermo Linux - Wireless Networking 0 01-14-2005 03:42 AM
Wireless Network card DHCP wont get address debugging and troubleshooting help uuplunkeruu Linux - Wireless Networking 2 03-27-2004 04:08 PM
university dhcp network problem mwa Linux - Networking 18 12-08-2003 12:14 AM
DHCP network problem MasterC Linux From Scratch 4 06-10-2002 08:39 AM

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

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