It needs to be set in network.iniG@К wrote:Привет
Не нашел как настроить IP вручную для сети (роутер не назначает ip адрес, возможно не работает DHCP)
In the future, netstat should also be able to do it.
It needs to be set in network.iniG@К wrote:Привет
Не нашел как настроить IP вручную для сети (роутер не назначает ip адрес, возможно не работает DHCP)
Code: Select all
path db '/sys/network.ini'
Code: Select all
mcall 76, API_IPv4 + 3, edx
Code: Select all
mov ebx , API_IPv4+3
mov bh, [device]
mcall 76, , edx
invoke ini.get_str, path, str_ipconfig, str_gateway, inibuf, 16, 0
mov edx, inibuf
call Ip2dword
mov ebx , API_IPv4+9
mov bh, [device]
mcall 76, , edx
invoke ini.get_str, path, str_ipconfig, str_dns, inibuf, 16, 0
mov edx, inibuf
call Ip2dword
mov ebx , API_IPv4+5
mov bh, [device]
mcall 76, , edx
invoke ini.get_str, path, str_ipconfig, str_subnet, inibuf, 16, 0
mov edx, inibuf
call Ip2dword
mov ebx , API_IPv4+7
mov bh, [device]
mcall 76, API_IPv4 + 7, edx
Zeroconf работает с network.ini IP адрес устанавливается в loopbackG@К wrote: И еще нужно изменить код, при обращении к api-ipv4
hidnplayr wrote: I did not understand
Do you still have it? It can be made to work with latest AR81xx driver but have been unable to test.punk_joker wrote:Не определяется сетевуха в последней ночной сборке: Ethernet controller: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet (rev c0)
Users browsing this forum: No registered users and 1 guest