LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-29-2006, 06:09 PM   #1
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
ifup only connects on interval 13, how do I force this?


When I run 'ifup wlan0', I get the following

Code:
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
This didnt connect for me, however the second time I ran it I got this

Code:
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 20
This also didnt connect. But when I ran it the last time, it did connect on interval 13. The above seems like a really random way of trying to connect. Is there a way I can force ifup to always try interval 13 first instead of waiting and retrying all the time?

Thanks for reading,

unholy

<edit>
Today it connected on interval 3 as below:
[CODE]Listening on LPF/wlan0/00:c0:49:52:dc:74
Sending on LPF/wlan0/00:c0:49:52:dc:74
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPOFFER from 192.168.1.1
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
[CODE]

I had to run the command three times to get it to choose this interval. Is there any way to improve the way this connects?

Last edited by unholy; 07-30-2006 at 03:55 AM.
 
Old 07-30-2006, 08:19 PM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
I see you are connecting using a wireless card. It is possible that signal might be a problem. It is also possible that your card may not entirely be supported. I am not a linux wireless guru. Someone else will need to diagnose it if it's a wireless problem (which I'm guessing it is).
 
  


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
Sendmail, interval between mailsending? godzern Linux - General 1 05-02-2006 04:48 PM
how to sleep /create interval in kernel module? b123coder Programming 3 01-04-2005 10:37 AM
hid interval patch some Linux - Newbie 5 12-04-2003 06:28 AM
NTP polling interval in Linux? oswald21 Linux - Networking 1 03-10-2003 03:20 PM
Programmable Interval Timers saintt Linux - General 0 10-19-2001 08:50 AM

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

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