User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

I can't bridge an AX88179 dongle with Pi's ethernet

Tue Jun 09, 2015 9:17 am

Greetings. I would tell the whole story from very beginning.

At first, I have a 100Mbps home network. A Pi 2 is acting as NAS in it. So I have:
1, A router, wired speed at 100Mbps, wireless at 300Mbps(never reached).
2, A Pi 2 connected to the router via its original Ethernet port.
3, My laptop connect to the router via Ethernet port. It is an 1Gbps adapter, but working at 100Mbps with the router.

Then I read on this forum that Pi could be faster if I give it an 1Gbps dongle.
So I get an AX88179 dongle with USB ID 0b95:1790

Now Pi has two interfaces: eth0(its original) and eth1(AX88179). I connect them like:
1, Pi's eth0 connected to the router.
2, Pi's eth1 connected to my laptop.
3, eth0 and eth1 is bridged.

I wish to get a faster link between my laptop and Pi. When powered up, laptop did says its link is at 1Gbps.
However, I found that this link is not stable.
When move big files via samba, Windows laptop will report "network error, check your wire"(I'm using a Chinese version, so don't know the exact English message), Pi's /var/log/samba/log.mylaptop would say:
[2015/06/09 14:21:15.820183, 0] smbd/process.c:534(init_smb_request)
init_smb_request: invalid bcc number 15360 (wct = 12, size 63)

/var/log/syslog says nothing.

The link is faster, but useless, as it drops.

I doubted driver, whose name is ax88179_178a.ko. So I got a new one from ASIX, compile and test, same result.

Then I worried about the coexistence of 100Mbps and 1Gbps in the same bridge. But it's not the problem, bridge could have interfaces at different speed: http://www.linuxfoundation.org/collabor ... y_and_cost

As it could be a hardware failure, so I connected the AX88179 to the router, so it operate at 100Mbps. It works.
And after given an IP, connected the AX88179 with my laptop, so operating at 1Gbps. It works either.

It's just refuse to work in a bridge situation.
So I'm posting this to ask if anyone has an AX88179 either (maybe from another OEM), and he/she could bridge it with Pi's original Ethernet port successfully?
Or any advice is appreciate.

Return to “General discussion”