OS/2, eCS & ArcaOS - Technical > Networking
[SOLVED] Release IP and Refresh IP from DHCP
Martin Iturbide:
Hi Remy
--- Quote from: Remy on July 18, 2023, 10:48:39 pm ---What I do under ClamAV GUI to refresh dhcp
If lan0 used
a/ ifconfig lan0 -arp
b/ ifconfig lan0 down
c/ dhcpmon -T
d/ ifconfig lan0 up
e/ ifconfig lan0 arp
f/ dhcpmon -R
--- End quote ---
As it is, it didn't work, but if I add a "c:\mptn\bin\setup.cmd" run at the end it works for me.
Regards
Remy:
--- Quote from: Martin Iturbide on July 20, 2023, 10:55:35 pm ---Hi Remy
--- Quote from: Remy on July 18, 2023, 10:48:39 pm ---What I do under ClamAV GUI to refresh dhcp
If lan0 used
a/ ifconfig lan0 -arp
b/ ifconfig lan0 down
c/ dhcpmon -T
d/ ifconfig lan0 up
e/ ifconfig lan0 arp
f/ dhcpmon -R
--- End quote ---
As it is, it didn't work, but if I add a "c:\mptn\bin\setup.cmd" run at the end it works for me.
Regards
--- End quote ---
Strange and good to know. Thanks
Roderick Klein:
--- Quote from: Martin Iturbide on July 20, 2023, 10:55:35 pm ---Hi Remy
--- Quote from: Remy on July 18, 2023, 10:48:39 pm ---What I do under ClamAV GUI to refresh dhcp
If lan0 used
a/ ifconfig lan0 -arp
b/ ifconfig lan0 down
c/ dhcpmon -T
d/ ifconfig lan0 up
e/ ifconfig lan0 arp
f/ dhcpmon -R
--- End quote ---
As it is, it didn't work, but if I add a "c:\mptn\bin\setup.cmd" run at the end it works for me.
Regards
--- End quote ---
I am not certain what defines "working" . Is it considered "working" when the network card has an IP address ?
After you ran setup.cmd start dhcpmon at once and check how long it takes before your NIC card gets an IP address assigned from the DHCP server.
In some cases the DHCP client in eCS And ArcaOS can be very slow compared to other DHCP clients and it take a while before an IP addresses is assigned.
Roderick
Andi B.:
--- Quote ---DHCP client in eCS And ArcaOS can be very slow compared
--- End quote ---
I've said it on other places and do it again - the OS/2 included DHCP client is buggy especially when you're on a network with more than one DHCP server. Although it was unusual (you may say even forbidden) in the past in today's environment it's not that unusual anymore. AFAIR OS/2 DHCP client sends DHCP accept messages to the the wrong DHCP server which didn't send to offer message.
Bottom line - don't use OS/2 DHCP client. That's all about why I implemented dhclient (ISC version) to xwlan back then. Something like 'dhclient lan0' sounds like a good replacement to IBMs old DHCP client.
Martin Iturbide:
Hi Andi B.
I have interest to also test your DHCP Client. Since OS/2 wifi does not work at all on my laptop I didn't notice you implemented that.
Can you give me a pointer (link) to your latest version?
Regards
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version