RTL8169 on real hardware not able to send packages
Posted: Wed May 13, 2020 3:48 pm
Hello everyone,
I am trying to setup a RTL8169 driver.
So far I used the tutorial on osdev.org and added the interrupt function so the interrupts are working.
After this, I decided to look for incoming packets by sending "sudo dhclient" from my Linux computer to my computer with my OS on it.
The computer caused an interrupt and I can see what the system is sending to my computer.
So far so good.
Now I'm trying to send data to the network (the same package as I received earlier since I know this package is alright):
https://github.com/AdeRegt/SanderOSUSB/ ... 8169.c#L58
This function is not causing an interrupt and polling seems not to work (stays on 0x40 forever). Also, I cannot see it is sent with Wireshark.
Im testing this on real hardware.
I hope someone can help me.
I am trying to setup a RTL8169 driver.
So far I used the tutorial on osdev.org and added the interrupt function so the interrupts are working.
After this, I decided to look for incoming packets by sending "sudo dhclient" from my Linux computer to my computer with my OS on it.
The computer caused an interrupt and I can see what the system is sending to my computer.
So far so good.
Now I'm trying to send data to the network (the same package as I received earlier since I know this package is alright):
https://github.com/AdeRegt/SanderOSUSB/ ... 8169.c#L58
This function is not causing an interrupt and polling seems not to work (stays on 0x40 forever). Also, I cannot see it is sent with Wireshark.
Im testing this on real hardware.
I hope someone can help me.