Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-Oct-2005, 07:48
Andreas
Guest
 
Posts: n/a
Default WLan and DHCP

Hello,
I have installed OpenSuse 10on my home pc. Everything works fine, except for
the wireless lan. I use a common fritz.box running a usual DSL-Router and
DHCP-Server. For now, WEP-128 bit encryption is used. My Linux pc seems to
connect correctly using the WEP encryption, but the DHCP afterwards fails.
The log provided by the fritz.box lists my pc correctly, including an
assigned IP-address. But on the pc the dhcp client fails with an error
message saying:
time out waiting for DHCP_ACK response (/var/log/messages)

Are there any options for the dhcp client I could set ?
Unfortunately, it is not possible to use fixed IP-Addresses

Thanks for any help

best regards
andreas


  #2 (permalink)  
Old 30-Oct-2005, 09:34
Freek
Guest
 
Posts: n/a
Default Re: WLan and DHCP

Andreas wrote:

> Hello,
> I have installed OpenSuse 10on my home pc. Everything works fine, except
> for the wireless lan. I use a common fritz.box running a usual DSL-Router
> and DHCP-Server. For now, WEP-128 bit encryption is used. My Linux pc
> seems to connect correctly using the WEP encryption, but the DHCP
> afterwards fails. The log provided by the fritz.box lists my pc correctly,
> including an assigned IP-address. But on the pc the dhcp client fails with
> an error message saying:
> time out waiting for DHCP_ACK response (/var/log/messages)
>
> Are there any options for the dhcp client I could set ?
> Unfortunately, it is not possible to use fixed IP-Addresses


As root did you look at the result of the command without quotes
"ifstatus-dhcp wlan0"? You can also replace status with up or down which
starts or stops the DHCP process associated with the mentioned device.
Obviously the device needs to be up for this command to work. You can add
without quotes "-o debug" to get more information.
You may also look in the file /etc/sysconfig/network/dhcp and experiment
with changed values of the parameters in that file.
If nothing helps you may need to catch, with tcpdump the IP-packets on the
ports 67 and 68 and look for the ACK, which I believe is there, however the
fritz.box may send it in a format not recognized by the DHCP process in
SuSE.
I have the same type of problem, however Windows XP does not recognize the
DHCP conversation and SuSE Linux does.

--
Freek
  #3 (permalink)  
Old 30-Oct-2005, 10:47
James Knott
Guest
 
Posts: n/a
Default Re: WLan and DHCP

Andreas wrote:

> Hello,
> I have installed OpenSuse 10on my home pc. Everything works fine, except
> for the wireless lan. I use a common fritz.box running a usual DSL-Router
> and DHCP-Server. For now, WEP-128 bit encryption is used. My Linux pc
> seems to connect correctly using the WEP encryption, but the DHCP
> afterwards fails. The log provided by the fritz.box lists my pc correctly,
> including an assigned IP-address. But on the pc the dhcp client fails with
> an error message saying:
> time out waiting for DHCP_ACK response (/var/log/messages)
>
> Are there any options for the dhcp client I could set ?
> Unfortunately, it is not possible to use fixed IP-Addresses


DHCP won't work, if WEP is not configured correctly. If possible, try
connecting without WEP and then if that works enable WEP and solve your
problem with it.


--
Do Centrinos have mass?
  #4 (permalink)  
Old 04-Nov-2005, 12:12
Alberto de_la_Torre
Guest
 
Posts: n/a
Default Re: WLan and DHCP

Where is the documentation which shows the commands you reference?

i.e. ifstatus-dhcp, ifup-dhcp, ifdown-dhcp

from revision to revision these seem to change and I've never been able to
find a good source explaning the architecture and their use for each
version. i.e. 9.1, 9.2, 9.3, 10.0, etc.

On Sun, 30 Oct 2005 15:34:46 +0000, Freek wrote:

> Andreas wrote:
>
>> Hello,
>> I have installed OpenSuse 10on my home pc. Everything works fine, except
>> for the wireless lan. I use a common fritz.box running a usual DSL-Router
>> and DHCP-Server. For now, WEP-128 bit encryption is used. My Linux pc
>> seems to connect correctly using the WEP encryption, but the DHCP
>> afterwards fails. The log provided by the fritz.box lists my pc correctly,
>> including an assigned IP-address. But on the pc the dhcp client fails with
>> an error message saying:
>> time out waiting for DHCP_ACK response (/var/log/messages)
>>
>> Are there any options for the dhcp client I could set ?
>> Unfortunately, it is not possible to use fixed IP-Addresses

>
> As root did you look at the result of the command without quotes
> "ifstatus-dhcp wlan0"? You can also replace status with up or down which
> starts or stops the DHCP process associated with the mentioned device.
> Obviously the device needs to be up for this command to work. You can add
> without quotes "-o debug" to get more information.
> You may also look in the file /etc/sysconfig/network/dhcp and experiment
> with changed values of the parameters in that file.
> If nothing helps you may need to catch, with tcpdump the IP-packets on the
> ports 67 and 68 and look for the ACK, which I believe is there, however the
> fritz.box may send it in a format not recognized by the DHCP process in
> SuSE.
> I have the same type of problem, however Windows XP does not recognize the
> DHCP conversation and SuSE Linux does.


  #5 (permalink)  
Old 06-Nov-2005, 05:58
Freek
Guest
 
Posts: n/a
Default Re: WLan and DHCP

Alberto de_la_Torre wrote:

> Where is the documentation which shows the commands you reference?
>
> i.e. ifstatus-dhcp, ifup-dhcp, ifdown-dhcp
>
> from revision to revision these seem to change and I've never been able to
> find a good source explaning the architecture and their use for each
> version. i.e. 9.1, 9.2, 9.3, 10.0, etc.


The specific dhcp version for if{up,down,status} is not documented but the
others you can find information on these commands with "man:/ifup" in
Konqueror. The commands itself are all scripts and you can find them
in /sbin where you also find the scripts with "-dhcp" in the names.

--
Freek
 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2