LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DHCP problem with wireless network (https://www.linuxquestions.org/questions/slackware-14/dhcp-problem-with-wireless-network-394328/)

SlackPingo 12-18-2005 08:51 PM

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

mjjzf 12-19-2005 01:53 AM

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

dunric 12-19-2005 05:37 AM

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>
.

richcoosa19 12-19-2005 07:30 AM

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.

SlackPingo 12-19-2005 06:02 PM

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]=""
.

erickFis 12-20-2005 05:26 AM

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?

mjjzf 12-20-2005 05:46 AM

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.

beagle2 12-20-2005 05:56 AM

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.

Alien Bob 12-20-2005 07:47 AM

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

beagle2 12-20-2005 08:10 AM

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.

SlackPingo 12-20-2005 12:52 PM

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.

beagle2 12-20-2005 01:06 PM

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 ]

richcoosa19 12-21-2005 06:23 AM

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.

Alien Bob 12-21-2005 07:59 AM

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

beagle2 12-21-2005 09:32 AM

Ok then, just a thought


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