Opened 4 years ago

Closed 18 months ago

#5961 closed bug (fixed)

Haiku keeps reverting to DHCP

Reported by: DaaT Owned by: axeld
Priority: normal Milestone: R1
Component: Preferences/Network Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

For some reason Haiku can't get an IP from my wireless router, so I set my card to static, in the networks preflet. But even after doing that, no matter how many times, Haiku keeps changing my card back to DHCP, which results in me losing connectivity (since it gets only a 169.xxxxx IP address).

Attachments (2)

interfaces.zip (352 bytes) - added by DaaT 4 years ago.
interfaces.2.zip (352 bytes) - added by DaaT 4 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 4 years ago by DaaT

Forgot to mention that it's not Alpha 2 specific, it has happened ever since wifi has worked on my card (few months ago, thanks to Colin's work).

comment:2 Changed 4 years ago by anevilyak

  • Component changed from Network & Internet to Servers/net_server
  • Owner changed from nobody to axeld

comment:3 Changed 4 years ago by axeld

  • Component changed from Servers/net_server to Preferences/Network
  • Version changed from R1/alpha2 to R1/Development

The network preferences application looks severly broken for more than one adapter.

It should work flawlessly if you use "ifconfig" from a Terminal to set the static configuration, does it?

In any case, could you attach your /boot/common/settings/network/interfaces file that the Network preferences application created?

Changed 4 years ago by DaaT

Changed 4 years ago by DaaT

comment:4 Changed 4 years ago by DaaT

Axel, thanks for the tip. Setting the interface to static via ifconfig seems to have helped. At least I've been online for 2 whole minutes now :)

As you requested, I'm attaching the interfaces file.

P.S.: Sorry for the double attachment, Web+ gave me an error when trying to upload the file but it seems to have done it.

comment:5 Changed 4 years ago by DaaT

It seems I spoke too soon (though I'll test it again ASAP). Few minutes after being online for one hour straight, I lost connection. ifconfig still gave me the same settings but I couldn't go anywhere. I tried setting it to auto and static once again (all via Terminal) but no go.

comment:6 Changed 4 years ago by anevilyak

That sounds like a different problem from the original, since if DHCP had been the culprit in this instance, you would've seen ifconfig revert back to a 169.254.x.x IP.

comment:7 Changed 4 years ago by bbjimmy

For me, the dhcp aquires an IP ... then re-aquires ... forcing me to close the browser and re start it. Seting to static does not reesolve the problem as it will re-aquire an ip anyway.

This only happens if the wifi detects more than one wireless connection.

comment:8 Changed 3 years ago by phoudoin

Does the issue still present after the net_server DHCP changes made since?

comment:9 Changed 18 months ago by DaaT

This doesn't happen anymore, this ticket can be closed.

comment:10 Changed 18 months ago by diver

  • Resolution set to fixed
  • Status changed from new to closed

Closing, thanks for the feedback.

Note: See TracTickets for help on using tickets.