| 1 | iFrom: Paul Chan <webreg@cgbc.org> |
|---|
| 2 | Subject: Re: Realtek RTL8111DL not detected |
|---|
| 3 | Newsgroups: floppyfw.general |
|---|
| 4 | Date: Fri, 19 Feb 2010 01:10:16 +0800 |
|---|
| 5 | Organization: Hyssing.net |
|---|
| 6 | |
|---|
| 7 | On 2/14/2010 6:59 AM, Thomas Lundquist wrote: |
|---|
| 8 | > Thomas Lundquist<baldrick@zelow.no> writes: |
|---|
| 9 | > |
|---|
| 10 | >> Thomas Lundquist<baldrick@zelow.no> writes: |
|---|
| 11 | >> |
|---|
| 12 | >>> The newest one does mention and have a makefile for 2.4 so at least it |
|---|
| 13 | >>> has been working with 2.4 at some point and they may mean to have it |
|---|
| 14 | >>> working aswell. |
|---|
| 15 | >> |
|---|
| 16 | >> And that point was just a few revisions back. r8168-8.013.00 |
|---|
| 17 | >> |
|---|
| 18 | >> Not easy to find and download but I got it. Saved it on my site |
|---|
| 19 | >> aswell. |
|---|
| 20 | >> |
|---|
| 21 | >> Building the whole shebang now, let's see how it all goes. |
|---|
| 22 | > |
|---|
| 23 | > Not too good. The driver is kinda big and poof the pppoe image went |
|---|
| 24 | > too big. |
|---|
| 25 | > |
|---|
| 26 | > Made a separate modules package out of it so you can try it out. |
|---|
| 27 | > |
|---|
| 28 | > http://www.zelow.no/floppyfw/download/floppyfw-3.0/floppyfw-3.0.12rc1/ |
|---|
| 29 | > |
|---|
| 30 | > |
|---|
| 31 | > Thomas. |
|---|
| 32 | |
|---|
| 33 | Thank you for your effort! |
|---|
| 34 | I have downloaded 3.0.12rc1 and tested it. I'm happy to report that |
|---|
| 35 | with a little tweaking, it works! |
|---|
| 36 | |
|---|
| 37 | Summary: |
|---|
| 38 | Using my default configuration and the r8168 driver loaded, the nic |
|---|
| 39 | was partially recognized (no mac address) and no data transfer was |
|---|
| 40 | taking place. After some testing and troubleshooting, was able to |
|---|
| 41 | solve the problem by force assigning a MAC address to the nic in |
|---|
| 42 | config file. |
|---|
| 43 | |
|---|
| 44 | My setup: |
|---|
| 45 | CONNECT_TYPE=STATIC |
|---|
| 46 | |
|---|
| 47 | Here's what I did: |
|---|
| 48 | copied realtek8.ffw to the modules folder |
|---|
| 49 | added line r8168 to modules.lst |
|---|
| 50 | |
|---|
| 51 | Upon bootup, the driver loads with the following message: |
|---|
| 52 | eth0: RTL8168B/8111B at 0xf8817000, 00:00:00:00:00:00, IRQ10 |
|---|
| 53 | |
|---|
| 54 | So, we can see that the nic is detected, but not completely, as there |
|---|
| 55 | is no MAC address. |
|---|
| 56 | |
|---|
| 57 | Cable connects and disconnects are also detected. However, the status |
|---|
| 58 | message is shown twice with minimal detail. |
|---|
| 59 | eg. When I connect a cable to the nic, the following messages are shown: |
|---|
| 60 | r8168: eth0: link up |
|---|
| 61 | r8168: eth0: link up |
|---|
| 62 | |
|---|
| 63 | Which is slightly different from the status message when I connect my |
|---|
| 64 | other nic which shows more detail and is not repeated: |
|---|
| 65 | eth0: link up, 10Mbps, full-duplex, lpa 0x4061 |
|---|
| 66 | Which is slightly different from the status message when I connect my |
|---|
| 67 | other nic which shows more detail and is not repeated: |
|---|
| 68 | eth0: link up, 10Mbps, full-duplex, lpa 0x4061 |
|---|
| 69 | |
|---|
| 70 | Initial ping test: |
|---|
| 71 | when I tried to ping an ip address (8.8.8.8), there was no error |
|---|
| 72 | message showing the ping attempts. All packets simply failed. When I |
|---|
| 73 | used a regular nic, it pinged fine. |
|---|
| 74 | |
|---|
| 75 | Also tried: |
|---|
| 76 | - Commenting out all other network drivers so only r8168 is loaded. |
|---|
| 77 | No difference. |
|---|
| 78 | |
|---|
| 79 | Solution: |
|---|
| 80 | I examined ifconfig, route to no avail. Finally, decided to try |
|---|
| 81 | assigning a MAC address to the nic via config file. |
|---|
| 82 | Used the OUTSIDE_MAC setting in config. |
|---|
| 83 | Success! Was finally able to ping, other computers connected to the |
|---|
| 84 | firewall were also able to access the internet. Everything appears to |
|---|
| 85 | work! |
|---|
| 86 | |
|---|
| 87 | When I connect/disconnect the cable, it still shows the double message |
|---|
| 88 | but that's ok because at least it works! |
|---|
| 89 | |
|---|
| 90 | So, it seems everything is OK. I will continue testing to determine |
|---|
| 91 | speed and stability but the initial results are promising! |
|---|
| 92 | |
|---|
| 93 | Hope that info is helpful and thanks again, |
|---|
| 94 | |
|---|
| 95 | Paul |
|---|
| 96 | |
|---|